From 0d38d2f8bb3b1b5716971c3dde18edab43ae8090 Mon Sep 17 00:00:00 2001 From: Steven Ulrich Date: Mon, 14 Oct 2024 13:25:23 +0200 Subject: [PATCH 1/2] fix: adjust EML examples --- .../transformation_protocol.txt | 1376 +++++++++++++---- .../input.xml | 0 .../Beispiel_23_9581ce65/log.txt | 3 + .../Beispiel_23_9581ce65/output.json | 293 ++++ .../Beispiel_23_9581ce65/output.xml | 287 ++++ .../Beispiel_23_d0ca163a/output.json | 293 ---- .../Beispiel_23_d0ca163a/output.xml | 287 ---- .../Beispiel_23_d0ca163a_9581ce65/input.xml | 407 +++++ .../Beispiel_23_d0ca163a_9581ce65/log.txt | 3 + .../Beispiel_23_d0ca163a_9581ce65/output.json | 293 ++++ .../Beispiel_23_d0ca163a_9581ce65/output.xml | 287 ++++ .../Beispiel_24_77b6e755/log.txt | 3 - .../Beispiel_24_77b6e755/output.json | 344 ----- .../Beispiel_24_77b6e755/output.xml | 334 ---- .../input.xml | 0 .../Beispiel_24_77b6e755_a409358a/log.txt | 5 + .../Beispiel_24_77b6e755_a409358a/output.json | 344 +++++ .../Beispiel_24_77b6e755_a409358a/output.xml | 334 ++++ .../Beispiel_24_a409358a/input.xml | 437 ++++++ .../Beispiel_24_a409358a/log.txt | 5 + .../Beispiel_24_a409358a/output.json | 344 +++++ .../Beispiel_24_a409358a/output.xml | 334 ++++ .../Beispiel_25_cd31610e/output.json | 280 ---- .../Beispiel_25_cd31610e/output.xml | 277 ---- .../input.xml | 0 .../Beispiel_25_cd31610e_dae573db/log.txt | 3 + .../Beispiel_25_cd31610e_dae573db/output.json | 280 ++++ .../Beispiel_25_cd31610e_dae573db/output.xml | 277 ++++ .../Beispiel_25_dae573db/input.xml | 422 +++++ .../Beispiel_25_dae573db/log.txt | 3 + .../Beispiel_25_dae573db/output.json | 280 ++++ .../Beispiel_25_dae573db/output.xml | 277 ++++ .../Beispiel_50_c0cfd125/output.json | 312 ---- .../Beispiel_50_c0cfd125/output.xml | 307 ---- .../input.xml | 0 .../Beispiel_50_c0cfd125_ddc83056/log.txt | 3 + .../Beispiel_50_c0cfd125_ddc83056/output.json | 312 ++++ .../Beispiel_50_c0cfd125_ddc83056/output.xml | 307 ++++ .../Beispiel_50_ddc83056/input.xml | 432 ++++++ .../Beispiel_50_ddc83056/log.txt | 3 + .../Beispiel_50_ddc83056/output.json | 312 ++++ .../Beispiel_50_ddc83056/output.xml | 307 ++++ .../Beispiel_51_63c98839/output.json | 296 ---- .../Beispiel_51_63c98839/output.xml | 289 ---- .../input.xml | 0 .../Beispiel_51_63c98839_deda8f97/log.txt | 3 + .../Beispiel_51_63c98839_deda8f97/output.json | 296 ++++ .../Beispiel_51_63c98839_deda8f97/output.xml | 289 ++++ .../Beispiel_51_deda8f97/input.xml | 420 +++++ .../Beispiel_51_deda8f97/log.txt | 3 + .../Beispiel_51_deda8f97/output.json | 296 ++++ .../Beispiel_51_deda8f97/output.xml | 289 ++++ .../Beispiel_52_2980d248/output.json | 296 ---- .../Beispiel_52_2980d248/output.xml | 289 ---- .../input.xml | 0 .../Beispiel_52_2980d248_6f193f8b/log.txt | 3 + .../Beispiel_52_2980d248_6f193f8b/output.json | 296 ++++ .../Beispiel_52_2980d248_6f193f8b/output.xml | 289 ++++ .../Beispiel_52_6f193f8b/input.xml | 420 +++++ .../Beispiel_52_6f193f8b/log.txt | 3 + .../Beispiel_52_6f193f8b/output.json | 296 ++++ .../Beispiel_52_6f193f8b/output.xml | 289 ++++ .../input.xml | 0 .../Beispiel_53_465f1638/log.txt | 3 + .../Beispiel_53_465f1638/output.json | 325 ++++ .../Beispiel_53_465f1638/output.xml | 317 ++++ .../Beispiel_53_f5386f17/output.json | 325 ---- .../Beispiel_53_f5386f17/output.xml | 317 ---- .../Beispiel_53_f5386f17_465f1638/input.xml | 417 +++++ .../Beispiel_53_f5386f17_465f1638/log.txt | 3 + .../Beispiel_53_f5386f17_465f1638/output.json | 325 ++++ .../Beispiel_53_f5386f17_465f1638/output.xml | 317 ++++ .../output.json | 293 ---- .../output.xml | 287 ---- .../input.xml | 0 .../log.txt | 3 + .../output.json | 293 ++++ .../output.xml | 287 ++++ .../input.xml | 0 .../Rez_Nr1_VerordnungArzt_9581ce65/log.txt | 3 + .../output.json | 293 ++++ .../output.xml | 287 ++++ .../output.json | 293 ---- .../output.xml | 287 ---- .../input.xml | 407 +++++ .../log.txt | 3 + .../output.json | 293 ++++ .../output.xml | 287 ++++ .../output.json | 293 ---- .../output.xml | 287 ---- .../input.xml | 0 .../log.txt | 3 + .../output.json | 293 ++++ .../output.xml | 287 ++++ .../output.json | 293 ---- .../output.xml | 287 ---- .../input.xml | 0 .../log.txt | 3 + .../output.json | 293 ++++ .../output.xml | 287 ++++ .../input.xml | 418 +++++ .../log.txt | 3 + .../output.json | 293 ++++ .../output.xml | 287 ++++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../06_request_taskClose_8d0f44ed/log.txt | 3 - .../06_request_taskClose_8d0f44ed/output.json | 125 -- .../06_request_taskClose_8d0f44ed/output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../06_request_taskClose_c8335ed8/log.txt | 3 - .../06_request_taskClose_c8335ed8/output.json | 125 -- .../06_request_taskClose_c8335ed8/output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../06_request_taskClose_null/input.xml | 90 ++ .../06_request_taskClose_null}/log.txt | 0 .../06_request_taskClose_null/output.json | 134 ++ .../06_request_taskClose_null/output.xml | 138 ++ .../08_response_taskDispense_00c96c80/log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../08_response_taskDispense_816796a2/log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 91 ++ .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 121 -- .../output.xml | 123 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../log.txt | 3 - .../output.json | 121 -- .../output.xml | 123 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../log.txt | 3 - .../output.json | 121 -- .../output.xml | 123 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 82 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 82 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 209 --- .../output.xml | 198 --- .../input.xml | 0 .../log.txt | 3 + .../output.json | 218 +++ .../output.xml | 209 +++ .../input.xml | 98 ++ .../log.txt | 3 + .../output.json | 218 +++ .../output.xml | 209 +++ .../log.txt | 3 - .../output.json | 121 -- .../output.xml | 123 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../log.txt | 3 - .../output.json | 121 -- .../output.xml | 123 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../log.txt | 3 - .../output.json | 121 -- .../output.xml | 123 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 82 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 121 -- .../output.xml | 123 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../log.txt | 3 - .../output.json | 121 -- .../output.xml | 123 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 82 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 121 -- .../output.xml | 123 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../input.xml | 86 ++ .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../FT_V1_MedicationDispense_d2e37ab5/log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../FT_V1_MedicationDispense_dba0fee1/log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../FT_V2_MedicationDispense_71a9d48e/log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../FT_V2_MedicationDispense_ce40a8d8/log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 91 ++ .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 91 ++ .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 91 ++ .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 91 ++ .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 91 ++ .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 91 ++ .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 91 ++ .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 108 ++ .../output.xml | 113 ++ .../log.txt | 3 - .../output.json | 99 -- .../output.xml | 102 -- .../input.xml | 60 + .../log.txt | 0 .../output.json | 108 ++ .../output.xml | 113 ++ .../log.txt | 3 - .../output.json | 99 -- .../output.xml | 102 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 108 ++ .../output.xml | 113 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 108 ++ .../output.xml | 113 ++ .../log.txt | 3 - .../output.json | 99 -- .../output.xml | 102 -- .../input.xml | 60 + .../log.txt | 0 .../output.json | 108 ++ .../output.xml | 113 ++ .../log.txt | 3 - .../output.json | 99 -- .../output.xml | 102 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 108 ++ .../output.xml | 113 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 88 ++ .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 122 -- .../output.xml | 124 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 91 ++ .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 0 .../WS_V1_MedicationDispense_5906fd7f/log.txt | 2 + .../output.json | 134 ++ .../output.xml | 138 ++ .../WS_V1_MedicationDispense_bead4326/log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 134 ++ .../output.xml | 138 ++ .../WS_V1_MedicationDispense_f928bb5f/log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 91 ++ .../log.txt | 2 + .../output.json | 134 ++ .../output.xml | 138 ++ .../WS_V2_MedicationDispense_5008abb4/log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 91 ++ .../WS_V2_MedicationDispense_95db25e9/log.txt | 2 + .../output.json | 134 ++ .../output.xml | 138 ++ .../WS_V2_MedicationDispense_d6799e8c/log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 134 ++ .../output.xml | 138 ++ .../WS_V3_MedicationDispense_2b8b7bec/log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 134 ++ .../output.xml | 138 ++ .../WS_V3_MedicationDispense_b3753083/log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 91 ++ .../WS_V3_MedicationDispense_c3437dfc/log.txt | 2 + .../output.json | 134 ++ .../output.xml | 138 ++ .../WS_V4_MedicationDispense_336380fd/log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 134 ++ .../output.xml | 138 ++ .../WS_V4_MedicationDispense_749b8a4f/log.txt | 3 - .../output.json | 125 -- .../output.xml | 127 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 91 ++ .../WS_V4_MedicationDispense_9d575775/log.txt | 2 + .../output.json | 134 ++ .../output.xml | 138 ++ .../input.xml | 83 + .../log.txt | 2 + .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 0 .../Beispiel_22_4863d1fb/log.txt | 2 + .../Beispiel_22_4863d1fb/output.json | 190 +++ .../Beispiel_22_4863d1fb/output.xml | 195 +++ .../Beispiel_22_ba4e7121/output.json | 190 --- .../Beispiel_22_ba4e7121/output.xml | 195 --- .../Beispiel_22_ba4e7121_4863d1fb/input.xml | 373 +++++ .../Beispiel_22_ba4e7121_4863d1fb/log.txt | 2 + .../Beispiel_22_ba4e7121_4863d1fb/output.json | 190 +++ .../Beispiel_22_ba4e7121_4863d1fb/output.xml | 195 +++ .../input.xml | 0 .../FT_V1_VerordnungArzt_4863d1fb/log.txt | 2 + .../FT_V1_VerordnungArzt_4863d1fb/output.json | 190 +++ .../FT_V1_VerordnungArzt_4863d1fb/output.xml | 195 +++ .../FT_V1_VerordnungArzt_4986252f/output.json | 190 --- .../FT_V1_VerordnungArzt_4986252f/output.xml | 195 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 190 +++ .../output.xml | 195 +++ .../FT_V1_VerordnungArzt_525fb142/output.json | 190 --- .../FT_V1_VerordnungArzt_525fb142/output.xml | 195 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 190 +++ .../output.xml | 195 +++ .../FT_V2_VerordnungArzt_2f7fa888/output.json | 190 --- .../FT_V2_VerordnungArzt_2f7fa888/output.xml | 195 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 190 +++ .../output.xml | 195 +++ .../FT_V2_VerordnungArzt_4863d1fb/input.xml | 373 +++++ .../FT_V2_VerordnungArzt_4863d1fb/log.txt | 2 + .../FT_V2_VerordnungArzt_4863d1fb/output.json | 190 +++ .../FT_V2_VerordnungArzt_4863d1fb/output.xml | 195 +++ .../FT_V2_VerordnungArzt_a0a0fa28/output.json | 190 --- .../FT_V2_VerordnungArzt_a0a0fa28/output.xml | 195 --- .../input.xml | 373 +++++ .../log.txt | 2 + .../output.json | 190 +++ .../output.xml | 195 +++ .../Beispiel_16_6e2b78ab/output.json | 243 --- .../Beispiel_16_6e2b78ab/output.xml | 242 --- .../input.xml | 0 .../Beispiel_16_6e2b78ab_ec6059d9/log.txt | 2 + .../Beispiel_16_6e2b78ab_ec6059d9/output.json | 243 +++ .../Beispiel_16_6e2b78ab_ec6059d9/output.xml | 242 +++ .../Beispiel_16_ec6059d9/input.xml | 444 ++++++ .../Beispiel_16_ec6059d9/log.txt | 2 + .../Beispiel_16_ec6059d9/output.json | 243 +++ .../Beispiel_16_ec6059d9/output.xml | 242 +++ .../Beispiel_17_01142458/output.json | 250 --- .../Beispiel_17_01142458/output.xml | 250 --- .../input.xml | 0 .../Beispiel_17_01142458_9c85a2a5/log.txt | 2 + .../Beispiel_17_01142458_9c85a2a5/output.json | 250 +++ .../Beispiel_17_01142458_9c85a2a5/output.xml | 250 +++ .../Beispiel_17_9c85a2a5/input.xml | 408 +++++ .../Beispiel_17_9c85a2a5/log.txt | 2 + .../Beispiel_17_9c85a2a5/output.json | 250 +++ .../Beispiel_17_9c85a2a5/output.xml | 250 +++ .../input.xml | 0 .../Beispiel_18_218b581d/log.txt | 2 + .../Beispiel_18_218b581d/output.json | 276 ++++ .../Beispiel_18_218b581d/output.xml | 274 ++++ .../Beispiel_18_fe99181f/output.json | 276 ---- .../Beispiel_18_fe99181f/output.xml | 274 ---- .../Beispiel_18_fe99181f_218b581d/input.xml | 428 +++++ .../Beispiel_18_fe99181f_218b581d/log.txt | 2 + .../Beispiel_18_fe99181f_218b581d/output.json | 276 ++++ .../Beispiel_18_fe99181f_218b581d/output.xml | 274 ++++ .../Beispiel_19_9eb9d0af/output.json | 242 --- .../Beispiel_19_9eb9d0af/output.xml | 243 --- .../input.xml | 0 .../Beispiel_19_9eb9d0af_cf0d4980/log.txt | 2 + .../Beispiel_19_9eb9d0af_cf0d4980/output.json | 242 +++ .../Beispiel_19_9eb9d0af_cf0d4980/output.xml | 243 +++ .../Beispiel_19_cf0d4980/input.xml | 406 +++++ .../Beispiel_19_cf0d4980/log.txt | 2 + .../Beispiel_19_cf0d4980/output.json | 242 +++ .../Beispiel_19_cf0d4980/output.xml | 243 +++ .../Beispiel_21_1_c1bbfd8b/output.json | 248 --- .../Beispiel_21_1_c1bbfd8b/output.xml | 250 --- .../input.xml | 0 .../Beispiel_21_1_c1bbfd8b_cd6d3a17/log.txt | 2 + .../output.json | 248 +++ .../output.xml | 250 +++ .../Beispiel_21_1_cd6d3a17/input.xml | 396 +++++ .../Beispiel_21_1_cd6d3a17/log.txt | 2 + .../Beispiel_21_1_cd6d3a17/output.json | 248 +++ .../Beispiel_21_1_cd6d3a17/output.xml | 250 +++ .../Beispiel_21_2_67ebe8c1/output.json | 248 --- .../Beispiel_21_2_67ebe8c1/output.xml | 250 --- .../input.xml | 0 .../Beispiel_21_2_67ebe8c1_d9118e05/log.txt | 2 + .../output.json | 248 +++ .../output.xml | 250 +++ .../Beispiel_21_2_d9118e05/input.xml | 396 +++++ .../Beispiel_21_2_d9118e05/log.txt | 2 + .../Beispiel_21_2_d9118e05/output.json | 248 +++ .../Beispiel_21_2_d9118e05/output.xml | 250 +++ .../input.xml | 0 .../Beispiel_29_726e6cdd/log.txt | 2 + .../Beispiel_29_726e6cdd/output.json | 227 +++ .../Beispiel_29_726e6cdd/output.xml | 229 +++ .../Beispiel_29_a90c2e57/output.json | 227 --- .../Beispiel_29_a90c2e57/output.xml | 229 --- .../Beispiel_29_a90c2e57_726e6cdd/input.xml | 370 +++++ .../Beispiel_29_a90c2e57_726e6cdd/log.txt | 2 + .../Beispiel_29_a90c2e57_726e6cdd/output.json | 227 +++ .../Beispiel_29_a90c2e57_726e6cdd/output.xml | 229 +++ .../input.xml | 0 .../Beispiel_58_9356774b/log.txt | 2 + .../Beispiel_58_9356774b/output.json | 227 +++ .../Beispiel_58_9356774b/output.xml | 229 +++ .../Beispiel_58_97f6247a/output.json | 227 --- .../Beispiel_58_97f6247a/output.xml | 229 --- .../Beispiel_58_97f6247a_9356774b/input.xml | 370 +++++ .../Beispiel_58_97f6247a_9356774b/log.txt | 2 + .../Beispiel_58_97f6247a_9356774b/output.json | 227 +++ .../Beispiel_58_97f6247a_9356774b/output.xml | 229 +++ .../input.xml | 0 .../WS_BK_V1_VerordnungArzt_218b581d/log.txt | 2 + .../output.json | 239 +++ .../output.xml | 240 +++ .../output.json | 239 --- .../output.xml | 240 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 239 +++ .../output.xml | 240 +++ .../output.json | 239 --- .../output.xml | 240 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 239 +++ .../output.xml | 240 +++ .../output.json | 239 --- .../output.xml | 240 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 239 +++ .../output.xml | 240 +++ .../input.xml | 414 +++++ .../WS_BK_V2_VerordnungArzt_218b581d/log.txt | 2 + .../output.json | 239 +++ .../output.xml | 240 +++ .../output.json | 239 --- .../output.xml | 240 --- .../input.xml | 414 +++++ .../log.txt | 2 + .../output.json | 239 +++ .../output.xml | 240 +++ .../output.json | 248 --- .../WS_MV1_VerordnungArzt_6cd22004/output.xml | 250 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 248 +++ .../output.xml | 250 +++ .../output.json | 248 --- .../WS_MV1_VerordnungArzt_855669ce/output.xml | 250 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 248 +++ .../output.xml | 250 +++ .../WS_MV1_VerordnungArzt_cd6d3a17/input.xml | 396 +++++ .../WS_MV1_VerordnungArzt_cd6d3a17/log.txt | 2 + .../output.json | 248 +++ .../WS_MV1_VerordnungArzt_cd6d3a17/output.xml | 250 +++ .../output.json | 248 --- .../WS_MV2_VerordnungArzt_0e20c760/output.xml | 250 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 248 +++ .../output.xml | 250 +++ .../output.json | 248 --- .../WS_MV2_VerordnungArzt_d1c94e5f/output.xml | 250 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 248 +++ .../output.xml | 250 +++ .../WS_MV2_VerordnungArzt_d9118e05/input.xml | 396 +++++ .../WS_MV2_VerordnungArzt_d9118e05/log.txt | 2 + .../output.json | 248 +++ .../WS_MV2_VerordnungArzt_d9118e05/output.xml | 250 +++ .../output.json | 242 --- .../output.xml | 243 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 242 +++ .../output.xml | 243 +++ .../output.json | 242 --- .../output.xml | 243 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 242 +++ .../output.xml | 243 +++ .../input.xml | 406 +++++ .../WS_Unfall_VerordnungArzt_cf0d4980/log.txt | 2 + .../output.json | 242 +++ .../output.xml | 243 +++ .../WS_V1_VerordnungArzt_86dcf637/output.json | 250 --- .../WS_V1_VerordnungArzt_86dcf637/output.xml | 250 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 250 +++ .../output.xml | 250 +++ .../input.xml | 0 .../WS_V1_VerordnungArzt_9c85a2a5/log.txt | 2 + .../WS_V1_VerordnungArzt_9c85a2a5/output.json | 250 +++ .../WS_V1_VerordnungArzt_9c85a2a5/output.xml | 250 +++ .../WS_V1_VerordnungArzt_e065344f/output.json | 250 --- .../WS_V1_VerordnungArzt_e065344f/output.xml | 250 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 250 +++ .../output.xml | 250 +++ .../WS_V2_VerordnungArzt_1951fd21/output.json | 250 --- .../WS_V2_VerordnungArzt_1951fd21/output.xml | 250 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 250 +++ .../output.xml | 250 +++ .../WS_V2_VerordnungArzt_68631a1b/output.json | 250 --- .../WS_V2_VerordnungArzt_68631a1b/output.xml | 250 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 250 +++ .../output.xml | 250 +++ .../input.xml | 0 .../WS_V2_VerordnungArzt_9c85a2a5/log.txt | 2 + .../WS_V2_VerordnungArzt_9c85a2a5/output.json | 250 +++ .../WS_V2_VerordnungArzt_9c85a2a5/output.xml | 250 +++ .../WS_V3_VerordnungArzt_9c85a2a5/input.xml | 408 +++++ .../WS_V3_VerordnungArzt_9c85a2a5/log.txt | 2 + .../WS_V3_VerordnungArzt_9c85a2a5/output.json | 250 +++ .../WS_V3_VerordnungArzt_9c85a2a5/output.xml | 250 +++ .../WS_V3_VerordnungArzt_a07c7844/output.json | 250 --- .../WS_V3_VerordnungArzt_a07c7844/output.xml | 250 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 250 +++ .../output.xml | 250 +++ .../WS_V3_VerordnungArzt_f7577903/output.json | 250 --- .../WS_V3_VerordnungArzt_f7577903/output.xml | 250 --- .../input.xml | 408 +++++ .../log.txt | 2 + .../output.json | 250 +++ .../output.xml | 250 +++ .../WS_V4_VerordnungArzt_9c85a2a5/input.xml | 408 +++++ .../WS_V4_VerordnungArzt_9c85a2a5/log.txt | 2 + .../WS_V4_VerordnungArzt_9c85a2a5/output.json | 250 +++ .../WS_V4_VerordnungArzt_9c85a2a5/output.xml | 250 +++ .../WS_V4_VerordnungArzt_ea19671f/output.json | 250 --- .../WS_V4_VerordnungArzt_ea19671f/output.xml | 250 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 250 +++ .../output.xml | 250 +++ .../WS_V4_VerordnungArzt_fa6f0220/output.json | 250 --- .../WS_V4_VerordnungArzt_fa6f0220/output.xml | 250 --- .../input.xml | 408 +++++ .../log.txt | 2 + .../output.json | 250 +++ .../output.xml | 250 +++ .../input.xml | 0 .../002_document_to_sign_02ad9b11/log.txt | 2 + .../002_document_to_sign_02ad9b11/output.json | 212 +++ .../002_document_to_sign_02ad9b11/output.xml | 215 +++ .../002_document_to_sign_02fcf3a5/output.json | 233 --- .../002_document_to_sign_02fcf3a5/output.xml | 236 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 233 +++ .../output.xml | 236 +++ .../input.xml | 0 .../002_document_to_sign_05168195/log.txt | 2 + .../002_document_to_sign_05168195/output.json | 212 +++ .../002_document_to_sign_05168195/output.xml | 215 +++ .../002_document_to_sign_0854ff7a/output.json | 212 --- .../002_document_to_sign_0854ff7a/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_09045269/output.json | 212 --- .../002_document_to_sign_09045269/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_09e5d103/log.txt | 2 + .../002_document_to_sign_09e5d103/output.json | 212 +++ .../002_document_to_sign_09e5d103/output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_0b82f30f/log.txt | 2 + .../002_document_to_sign_0b82f30f/output.json | 212 +++ .../002_document_to_sign_0b82f30f/output.xml | 215 +++ .../002_document_to_sign_0d6a22d4/output.json | 233 --- .../002_document_to_sign_0d6a22d4/output.xml | 236 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 233 +++ .../output.xml | 236 +++ .../input.xml | 0 .../002_document_to_sign_0d9bb3b8/log.txt | 2 + .../002_document_to_sign_0d9bb3b8/output.json | 212 +++ .../002_document_to_sign_0d9bb3b8/output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_0fdadb04/log.txt | 2 + .../002_document_to_sign_0fdadb04/output.json | 212 +++ .../002_document_to_sign_0fdadb04/output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_10feb16e/log.txt | 2 + .../002_document_to_sign_10feb16e/output.json | 212 +++ .../002_document_to_sign_10feb16e/output.xml | 215 +++ .../002_document_to_sign_11cffc5c/output.json | 212 --- .../002_document_to_sign_11cffc5c/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_12931066/log.txt | 2 + .../002_document_to_sign_12931066/output.json | 212 +++ .../002_document_to_sign_12931066/output.xml | 215 +++ .../002_document_to_sign_13ef7eed/output.json | 212 --- .../002_document_to_sign_13ef7eed/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_141bdd95/output.json | 212 --- .../002_document_to_sign_141bdd95/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_14d9b2f3/log.txt | 2 + .../002_document_to_sign_14d9b2f3/output.json | 212 +++ .../002_document_to_sign_14d9b2f3/output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_16b1f573/log.txt | 2 + .../002_document_to_sign_16b1f573/output.json | 212 +++ .../002_document_to_sign_16b1f573/output.xml | 215 +++ .../002_document_to_sign_16ca6d24/output.json | 212 --- .../002_document_to_sign_16ca6d24/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_1906d211/log.txt | 2 + .../002_document_to_sign_1906d211/output.json | 212 +++ .../002_document_to_sign_1906d211/output.xml | 215 +++ .../002_document_to_sign_19a7bde6/output.json | 212 --- .../002_document_to_sign_19a7bde6/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_1b51052c/output.json | 212 --- .../002_document_to_sign_1b51052c/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_1be382e5/log.txt | 2 + .../002_document_to_sign_1be382e5/output.json | 212 +++ .../002_document_to_sign_1be382e5/output.xml | 215 +++ .../002_document_to_sign_1c646da7/output.json | 212 --- .../002_document_to_sign_1c646da7/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_1ed8eaa8/output.json | 212 --- .../002_document_to_sign_1ed8eaa8/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_230dc009/log.txt | 2 + .../002_document_to_sign_230dc009/output.json | 212 +++ .../002_document_to_sign_230dc009/output.xml | 215 +++ .../002_document_to_sign_265b0953/output.json | 212 --- .../002_document_to_sign_265b0953/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_29aa5ba0/log.txt | 2 + .../002_document_to_sign_29aa5ba0/output.json | 212 +++ .../002_document_to_sign_29aa5ba0/output.xml | 215 +++ .../002_document_to_sign_2a985325/output.json | 212 --- .../002_document_to_sign_2a985325/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_2aa2072e/output.json | 212 --- .../002_document_to_sign_2aa2072e/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_2b62d10b/log.txt | 2 + .../002_document_to_sign_2b62d10b/output.json | 212 +++ .../002_document_to_sign_2b62d10b/output.xml | 215 +++ .../002_document_to_sign_2cbc202c/output.json | 212 --- .../002_document_to_sign_2cbc202c/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_2d9e5916/output.json | 212 --- .../002_document_to_sign_2d9e5916/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_2ddcab15/log.txt | 2 + .../002_document_to_sign_2ddcab15/output.json | 233 +++ .../002_document_to_sign_2ddcab15/output.xml | 236 +++ .../002_document_to_sign_2e209d67/output.json | 234 --- .../002_document_to_sign_2e209d67/output.xml | 237 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 234 +++ .../output.xml | 237 +++ .../input.xml | 0 .../002_document_to_sign_35469770/log.txt | 2 + .../002_document_to_sign_35469770/output.json | 212 +++ .../002_document_to_sign_35469770/output.xml | 215 +++ .../002_document_to_sign_37c652cb/input.xml | 381 +++++ .../002_document_to_sign_37c652cb/log.txt | 2 + .../002_document_to_sign_37c652cb/output.json | 212 +++ .../002_document_to_sign_37c652cb/output.xml | 215 +++ .../002_document_to_sign_3bc18bf8/output.json | 212 --- .../002_document_to_sign_3bc18bf8/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_3f310f6f/output.json | 212 --- .../002_document_to_sign_3f310f6f/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_4149362e/input.xml | 381 +++++ .../002_document_to_sign_4149362e/log.txt | 2 + .../002_document_to_sign_4149362e/output.json | 212 +++ .../002_document_to_sign_4149362e/output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_41ecb9a7/log.txt | 2 + .../002_document_to_sign_41ecb9a7/output.json | 212 +++ .../002_document_to_sign_41ecb9a7/output.xml | 215 +++ .../002_document_to_sign_45a9ad90/input.xml | 381 +++++ .../002_document_to_sign_45a9ad90/log.txt | 2 + .../002_document_to_sign_45a9ad90/output.json | 212 +++ .../002_document_to_sign_45a9ad90/output.xml | 215 +++ .../002_document_to_sign_475e9667/input.xml | 402 +++++ .../002_document_to_sign_475e9667/log.txt | 2 + .../002_document_to_sign_475e9667/output.json | 233 +++ .../002_document_to_sign_475e9667/output.xml | 236 +++ .../002_document_to_sign_4c861d6d/input.xml | 381 +++++ .../002_document_to_sign_4c861d6d/log.txt | 2 + .../002_document_to_sign_4c861d6d/output.json | 212 +++ .../002_document_to_sign_4c861d6d/output.xml | 215 +++ .../002_document_to_sign_4ee123e6/output.json | 212 --- .../002_document_to_sign_4ee123e6/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_4f51deff/input.xml | 403 +++++ .../002_document_to_sign_4f51deff/log.txt | 2 + .../002_document_to_sign_4f51deff/output.json | 234 +++ .../002_document_to_sign_4f51deff/output.xml | 237 +++ .../002_document_to_sign_4ff8a848/input.xml | 381 +++++ .../002_document_to_sign_4ff8a848/log.txt | 2 + .../002_document_to_sign_4ff8a848/output.json | 212 +++ .../002_document_to_sign_4ff8a848/output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_5093c3ab/log.txt | 2 + .../002_document_to_sign_5093c3ab/output.json | 212 +++ .../002_document_to_sign_5093c3ab/output.xml | 215 +++ .../002_document_to_sign_550e0973/output.json | 212 --- .../002_document_to_sign_550e0973/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_55258d43/output.json | 212 --- .../002_document_to_sign_55258d43/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_5665652f/output.json | 212 --- .../002_document_to_sign_5665652f/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_5d6fae1d/input.xml | 381 +++++ .../002_document_to_sign_5d6fae1d/log.txt | 2 + .../002_document_to_sign_5d6fae1d/output.json | 212 +++ .../002_document_to_sign_5d6fae1d/output.xml | 215 +++ .../002_document_to_sign_5da0791f/output.json | 212 --- .../002_document_to_sign_5da0791f/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_5ed8a5cd/output.json | 212 --- .../002_document_to_sign_5ed8a5cd/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_5f3e877b/input.xml | 381 +++++ .../002_document_to_sign_5f3e877b/log.txt | 2 + .../002_document_to_sign_5f3e877b/output.json | 212 +++ .../002_document_to_sign_5f3e877b/output.xml | 215 +++ .../002_document_to_sign_617b672a/input.xml | 381 +++++ .../002_document_to_sign_617b672a/log.txt | 2 + .../002_document_to_sign_617b672a/output.json | 212 +++ .../002_document_to_sign_617b672a/output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_62dd6004/log.txt | 2 + .../002_document_to_sign_62dd6004/output.json | 212 +++ .../002_document_to_sign_62dd6004/output.xml | 215 +++ .../002_document_to_sign_670603fd/output.json | 212 --- .../002_document_to_sign_670603fd/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_6f96c033/output.json | 212 --- .../002_document_to_sign_6f96c033/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_76455c58/output.json | 212 --- .../002_document_to_sign_76455c58/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_78aebb81/output.json | 212 --- .../002_document_to_sign_78aebb81/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_7b9e2504/output.json | 212 --- .../002_document_to_sign_7b9e2504/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_7c15a984/log.txt | 2 + .../002_document_to_sign_7c15a984/output.json | 212 +++ .../002_document_to_sign_7c15a984/output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_7fe0b57d/log.txt | 2 + .../002_document_to_sign_7fe0b57d/output.json | 212 +++ .../002_document_to_sign_7fe0b57d/output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_80a43c33/log.txt | 2 + .../002_document_to_sign_80a43c33/output.json | 212 +++ .../002_document_to_sign_80a43c33/output.xml | 215 +++ .../002_document_to_sign_83c10e2d/output.json | 212 --- .../002_document_to_sign_83c10e2d/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_840ab9b1/output.json | 234 --- .../002_document_to_sign_840ab9b1/output.xml | 237 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 234 +++ .../output.xml | 237 +++ .../002_document_to_sign_862aa430/output.json | 234 --- .../002_document_to_sign_862aa430/output.xml | 237 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 234 +++ .../output.xml | 237 +++ .../002_document_to_sign_89383746/output.json | 212 --- .../002_document_to_sign_89383746/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_8e4b0bfe/output.json | 212 --- .../002_document_to_sign_8e4b0bfe/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_902668fe/input.xml | 381 +++++ .../002_document_to_sign_902668fe/log.txt | 2 + .../002_document_to_sign_902668fe/output.json | 212 +++ .../002_document_to_sign_902668fe/output.xml | 215 +++ .../002_document_to_sign_90d5dd65/input.xml | 381 +++++ .../002_document_to_sign_90d5dd65/log.txt | 2 + .../002_document_to_sign_90d5dd65/output.json | 212 +++ .../002_document_to_sign_90d5dd65/output.xml | 215 +++ .../002_document_to_sign_9102a310/output.json | 212 --- .../002_document_to_sign_9102a310/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_94ddf2c1/output.json | 212 --- .../002_document_to_sign_94ddf2c1/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_9645a6a3/log.txt | 2 + .../002_document_to_sign_9645a6a3/output.json | 212 +++ .../002_document_to_sign_9645a6a3/output.xml | 215 +++ .../002_document_to_sign_968173c9/output.json | 212 --- .../002_document_to_sign_968173c9/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_9c9429a1/input.xml | 381 +++++ .../002_document_to_sign_9c9429a1/log.txt | 2 + .../002_document_to_sign_9c9429a1/output.json | 212 +++ .../002_document_to_sign_9c9429a1/output.xml | 215 +++ .../002_document_to_sign_a0b1a2cd/output.json | 212 --- .../002_document_to_sign_a0b1a2cd/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_a39897e0/log.txt | 2 + .../002_document_to_sign_a39897e0/output.json | 212 +++ .../002_document_to_sign_a39897e0/output.xml | 215 +++ .../002_document_to_sign_a3c77b03/input.xml | 381 +++++ .../002_document_to_sign_a3c77b03/log.txt | 2 + .../002_document_to_sign_a3c77b03/output.json | 212 +++ .../002_document_to_sign_a3c77b03/output.xml | 215 +++ .../002_document_to_sign_a4f05dcd/output.json | 212 --- .../002_document_to_sign_a4f05dcd/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_ab9f6a4e/log.txt | 2 + .../002_document_to_sign_ab9f6a4e/output.json | 212 +++ .../002_document_to_sign_ab9f6a4e/output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_ad686294/log.txt | 2 + .../002_document_to_sign_ad686294/output.json | 212 +++ .../002_document_to_sign_ad686294/output.xml | 215 +++ .../002_document_to_sign_ad7148f1/output.json | 212 --- .../002_document_to_sign_ad7148f1/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_aedad2dd/output.json | 234 --- .../002_document_to_sign_aedad2dd/output.xml | 237 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 234 +++ .../output.xml | 237 +++ .../input.xml | 0 .../002_document_to_sign_b0589d4c/log.txt | 2 + .../002_document_to_sign_b0589d4c/output.json | 212 +++ .../002_document_to_sign_b0589d4c/output.xml | 215 +++ .../002_document_to_sign_b0ce4ff1/input.xml | 381 +++++ .../002_document_to_sign_b0ce4ff1/log.txt | 2 + .../002_document_to_sign_b0ce4ff1/output.json | 212 +++ .../002_document_to_sign_b0ce4ff1/output.xml | 215 +++ .../002_document_to_sign_b1146a3f/output.json | 212 --- .../002_document_to_sign_b1146a3f/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_b4bf1696/input.xml | 381 +++++ .../002_document_to_sign_b4bf1696/log.txt | 2 + .../002_document_to_sign_b4bf1696/output.json | 212 +++ .../002_document_to_sign_b4bf1696/output.xml | 215 +++ .../002_document_to_sign_bbc51505/input.xml | 381 +++++ .../002_document_to_sign_bbc51505/log.txt | 2 + .../002_document_to_sign_bbc51505/output.json | 212 +++ .../002_document_to_sign_bbc51505/output.xml | 215 +++ .../002_document_to_sign_bcba7c06/output.json | 212 --- .../002_document_to_sign_bcba7c06/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_bddb1f9e/input.xml | 402 +++++ .../002_document_to_sign_bddb1f9e/log.txt | 2 + .../002_document_to_sign_bddb1f9e/output.json | 233 +++ .../002_document_to_sign_bddb1f9e/output.xml | 236 +++ .../002_document_to_sign_bf973351/input.xml | 403 +++++ .../002_document_to_sign_bf973351/log.txt | 2 + .../002_document_to_sign_bf973351/output.json | 234 +++ .../002_document_to_sign_bf973351/output.xml | 237 +++ .../input.xml | 0 .../002_document_to_sign_bfd34b90/log.txt | 2 + .../002_document_to_sign_bfd34b90/output.json | 212 +++ .../002_document_to_sign_bfd34b90/output.xml | 215 +++ .../002_document_to_sign_c2ad19ce/output.json | 212 --- .../002_document_to_sign_c2ad19ce/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_c3479bd3/output.json | 212 --- .../002_document_to_sign_c3479bd3/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_c60771b5/output.json | 233 --- .../002_document_to_sign_c60771b5/output.xml | 236 --- .../input.xml | 402 +++++ .../log.txt | 2 + .../output.json | 233 +++ .../output.xml | 236 +++ .../002_document_to_sign_c79c0fe3/input.xml | 403 +++++ .../002_document_to_sign_c79c0fe3/log.txt | 2 + .../002_document_to_sign_c79c0fe3/output.json | 234 +++ .../002_document_to_sign_c79c0fe3/output.xml | 237 +++ .../002_document_to_sign_c7ac3a7c/input.xml | 381 +++++ .../002_document_to_sign_c7ac3a7c/log.txt | 2 + .../002_document_to_sign_c7ac3a7c/output.json | 212 +++ .../002_document_to_sign_c7ac3a7c/output.xml | 215 +++ .../002_document_to_sign_c88ccdf7/input.xml | 381 +++++ .../002_document_to_sign_c88ccdf7/log.txt | 2 + .../002_document_to_sign_c88ccdf7/output.json | 212 +++ .../002_document_to_sign_c88ccdf7/output.xml | 215 +++ .../002_document_to_sign_cae47569/output.json | 212 --- .../002_document_to_sign_cae47569/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_cb7063e3/input.xml | 381 +++++ .../002_document_to_sign_cb7063e3/log.txt | 2 + .../002_document_to_sign_cb7063e3/output.json | 212 +++ .../002_document_to_sign_cb7063e3/output.xml | 215 +++ .../002_document_to_sign_cb78899c/output.json | 212 --- .../002_document_to_sign_cb78899c/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_cc2415eb/output.json | 212 --- .../002_document_to_sign_cc2415eb/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_ce4b1eb6/output.json | 212 --- .../002_document_to_sign_ce4b1eb6/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_cec6c127/output.json | 212 --- .../002_document_to_sign_cec6c127/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_d45686e2/output.json | 212 --- .../002_document_to_sign_d45686e2/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_dac55c3e}/input.xml | 0 .../002_document_to_sign_dac55c3e/log.txt | 2 + .../002_document_to_sign_dac55c3e/output.json | 212 +++ .../002_document_to_sign_dac55c3e/output.xml | 215 +++ .../002_document_to_sign_dbeccf45/output.json | 212 --- .../002_document_to_sign_dbeccf45/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_dd2d2c6b/output.json | 212 --- .../002_document_to_sign_dd2d2c6b/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_dd6f3569/output.json | 212 --- .../002_document_to_sign_dd6f3569/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_df31f167/input.xml | 381 +++++ .../002_document_to_sign_df31f167/log.txt | 2 + .../002_document_to_sign_df31f167/output.json | 212 +++ .../002_document_to_sign_df31f167/output.xml | 215 +++ .../002_document_to_sign_df4a4b64/input.xml | 381 +++++ .../002_document_to_sign_df4a4b64/log.txt | 2 + .../002_document_to_sign_df4a4b64/output.json | 212 +++ .../002_document_to_sign_df4a4b64/output.xml | 215 +++ .../input.xml | 0 .../002_document_to_sign_df6aff69/log.txt | 2 + .../002_document_to_sign_df6aff69/output.json | 233 +++ .../002_document_to_sign_df6aff69/output.xml | 236 +++ .../002_document_to_sign_e17e8259/input.xml | 381 +++++ .../002_document_to_sign_e17e8259/log.txt | 2 + .../002_document_to_sign_e17e8259/output.json | 212 +++ .../002_document_to_sign_e17e8259/output.xml | 215 +++ .../002_document_to_sign_e4726de8/output.json | 212 --- .../002_document_to_sign_e4726de8/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_e4a92e97/input.xml | 381 +++++ .../002_document_to_sign_e4a92e97/log.txt | 2 + .../002_document_to_sign_e4a92e97/output.json | 212 +++ .../002_document_to_sign_e4a92e97/output.xml | 215 +++ .../002_document_to_sign_e55e8bba/output.json | 212 --- .../002_document_to_sign_e55e8bba/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_e6706910/input.xml | 403 +++++ .../002_document_to_sign_e6706910/log.txt | 2 + .../002_document_to_sign_e6706910/output.json | 234 +++ .../002_document_to_sign_e6706910/output.xml | 237 +++ .../002_document_to_sign_f25d9001/output.json | 233 --- .../002_document_to_sign_f25d9001/output.xml | 236 --- .../input.xml | 402 +++++ .../log.txt | 2 + .../output.json | 233 +++ .../output.xml | 236 +++ .../002_document_to_sign_f276a8fc/output.json | 212 --- .../002_document_to_sign_f276a8fc/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_f4c61557/output.json | 212 --- .../002_document_to_sign_f4c61557/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_f731f36c/input.xml | 381 +++++ .../002_document_to_sign_f731f36c/log.txt | 2 + .../002_document_to_sign_f731f36c/output.json | 212 +++ .../002_document_to_sign_f731f36c/output.xml | 215 +++ .../002_document_to_sign_f88786be/input.xml | 381 +++++ .../002_document_to_sign_f88786be/log.txt | 2 + .../002_document_to_sign_f88786be/output.json | 212 +++ .../002_document_to_sign_f88786be/output.xml | 215 +++ .../002_document_to_sign_f8d80421/output.json | 212 --- .../002_document_to_sign_f8d80421/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../002_document_to_sign_f9c4ff65/input.xml | 381 +++++ .../002_document_to_sign_f9c4ff65/log.txt | 2 + .../002_document_to_sign_f9c4ff65/output.json | 212 +++ .../002_document_to_sign_f9c4ff65/output.xml | 215 +++ .../002_document_to_sign_fb9ea88e/input.xml | 381 +++++ .../002_document_to_sign_fb9ea88e/log.txt | 2 + .../002_document_to_sign_fb9ea88e/output.json | 212 +++ .../002_document_to_sign_fb9ea88e/output.xml | 215 +++ .../002_document_to_sign_fce076cc/input.xml | 381 +++++ .../002_document_to_sign_fce076cc/log.txt | 2 + .../002_document_to_sign_fce076cc/output.json | 212 +++ .../002_document_to_sign_fce076cc/output.xml | 215 +++ .../002_document_to_sign_feff6e76/output.json | 212 --- .../002_document_to_sign_feff6e76/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../003_document_to_sign_004ef082/output.json | 212 --- .../003_document_to_sign_004ef082/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../003_document_to_sign_12875f19/input.xml | 381 +++++ .../003_document_to_sign_12875f19/log.txt | 2 + .../003_document_to_sign_12875f19/output.json | 212 +++ .../003_document_to_sign_12875f19/output.xml | 215 +++ .../003_document_to_sign_1e697f5a/output.json | 212 --- .../003_document_to_sign_1e697f5a/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../003_document_to_sign_25e815da/log.txt | 2 + .../003_document_to_sign_25e815da/output.json | 212 +++ .../003_document_to_sign_25e815da/output.xml | 215 +++ .../input.xml | 0 .../003_document_to_sign_3817df9f/log.txt | 2 + .../003_document_to_sign_3817df9f/output.json | 212 +++ .../003_document_to_sign_3817df9f/output.xml | 215 +++ .../003_document_to_sign_39ea3447/output.json | 212 --- .../003_document_to_sign_39ea3447/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../003_document_to_sign_3a052e22/log.txt | 2 + .../003_document_to_sign_3a052e22/output.json | 212 +++ .../003_document_to_sign_3a052e22/output.xml | 215 +++ .../input.xml | 0 .../003_document_to_sign_3cb47bc5/log.txt | 2 + .../003_document_to_sign_3cb47bc5/output.json | 212 +++ .../003_document_to_sign_3cb47bc5/output.xml | 215 +++ .../003_document_to_sign_3fb29ad6/output.json | 212 --- .../003_document_to_sign_3fb29ad6/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../003_document_to_sign_4d68c364/input.xml | 381 +++++ .../003_document_to_sign_4d68c364/log.txt | 2 + .../003_document_to_sign_4d68c364/output.json | 212 +++ .../003_document_to_sign_4d68c364/output.xml | 215 +++ .../003_document_to_sign_53d1cfe9/output.json | 212 --- .../003_document_to_sign_53d1cfe9/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../003_document_to_sign_59da5b8a/output.json | 212 --- .../003_document_to_sign_59da5b8a/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../003_document_to_sign_5e9c3c5a/output.json | 212 --- .../003_document_to_sign_5e9c3c5a/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../003_document_to_sign_6b244b96/input.xml | 381 +++++ .../003_document_to_sign_6b244b96/log.txt | 2 + .../003_document_to_sign_6b244b96/output.json | 212 +++ .../003_document_to_sign_6b244b96/output.xml | 215 +++ .../003_document_to_sign_6e19e753/output.json | 212 --- .../003_document_to_sign_6e19e753/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../003_document_to_sign_7e017904/output.json | 212 --- .../003_document_to_sign_7e017904/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../003_document_to_sign_90b31bf4/input.xml | 381 +++++ .../003_document_to_sign_90b31bf4/log.txt | 2 + .../003_document_to_sign_90b31bf4/output.json | 212 +++ .../003_document_to_sign_90b31bf4/output.xml | 215 +++ .../003_document_to_sign_9963336d/input.xml | 381 +++++ .../003_document_to_sign_9963336d/log.txt | 2 + .../003_document_to_sign_9963336d/output.json | 212 +++ .../003_document_to_sign_9963336d/output.xml | 215 +++ .../003_document_to_sign_9965d2f7/output.json | 212 --- .../003_document_to_sign_9965d2f7/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../003_document_to_sign_a40b9e5a/output.json | 212 --- .../003_document_to_sign_a40b9e5a/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../003_document_to_sign_a49d100a/input.xml | 381 +++++ .../003_document_to_sign_a49d100a/log.txt | 2 + .../003_document_to_sign_a49d100a/output.json | 212 +++ .../003_document_to_sign_a49d100a/output.xml | 215 +++ .../003_document_to_sign_a79dd76f/input.xml | 381 +++++ .../003_document_to_sign_a79dd76f/log.txt | 2 + .../003_document_to_sign_a79dd76f/output.json | 212 +++ .../003_document_to_sign_a79dd76f/output.xml | 215 +++ .../003_document_to_sign_c44d90eb/input.xml | 381 +++++ .../003_document_to_sign_c44d90eb/log.txt | 2 + .../003_document_to_sign_c44d90eb/output.json | 212 +++ .../003_document_to_sign_c44d90eb/output.xml | 215 +++ .../003_document_to_sign_ee45abcb/input.xml | 381 +++++ .../003_document_to_sign_ee45abcb/log.txt | 2 + .../003_document_to_sign_ee45abcb/output.json | 212 +++ .../003_document_to_sign_ee45abcb/output.xml | 215 +++ .../003_document_to_sign_f3b90767/output.json | 212 --- .../003_document_to_sign_f3b90767/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../003_document_to_sign_fd771be7/output.json | 212 --- .../003_document_to_sign_fd771be7/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../004_document_to_sign_0169e0e6/output.json | 212 --- .../004_document_to_sign_0169e0e6/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../004_document_to_sign_93c38d8d/log.txt | 2 + .../004_document_to_sign_93c38d8d/output.json | 212 +++ .../004_document_to_sign_93c38d8d/output.xml | 215 +++ .../004_document_to_sign_c80f28e3/input.xml | 381 +++++ .../004_document_to_sign_c80f28e3/log.txt | 2 + .../004_document_to_sign_c80f28e3/output.json | 212 +++ .../004_document_to_sign_c80f28e3/output.xml | 215 +++ .../004_document_to_sign_fb58223d/output.json | 212 --- .../004_document_to_sign_fb58223d/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../005_document_to_sign_04ef6989/log.txt | 2 + .../005_document_to_sign_04ef6989/output.json | 212 +++ .../005_document_to_sign_04ef6989/output.xml | 215 +++ .../input.xml | 0 .../005_document_to_sign_207902f9/log.txt | 2 + .../005_document_to_sign_207902f9/output.json | 212 +++ .../005_document_to_sign_207902f9/output.xml | 215 +++ .../input.xml | 0 .../005_document_to_sign_251cee33/log.txt | 2 + .../005_document_to_sign_251cee33/output.json | 212 +++ .../005_document_to_sign_251cee33/output.xml | 215 +++ .../005_document_to_sign_2745328a/output.json | 212 --- .../005_document_to_sign_2745328a/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../005_document_to_sign_50200ff7/output.json | 212 --- .../005_document_to_sign_50200ff7/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../005_document_to_sign_8e04dafe/output.json | 212 --- .../005_document_to_sign_8e04dafe/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../input.xml | 0 .../005_document_to_sign_9e9b3d77/log.txt | 2 + .../005_document_to_sign_9e9b3d77/output.json | 212 +++ .../005_document_to_sign_9e9b3d77/output.xml | 215 +++ .../005_document_to_sign_d9759800/output.json | 212 --- .../005_document_to_sign_d9759800/output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../009_document_to_sign_4aec765d/output.json | 233 --- .../009_document_to_sign_4aec765d/output.xml | 236 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 233 +++ .../output.xml | 236 +++ .../009_document_to_sign_57eabb67/output.json | 212 --- .../009_document_to_sign_57eabb67/output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../009_document_to_sign_7adc4492/input.xml | 402 +++++ .../009_document_to_sign_7adc4492/log.txt | 2 + .../009_document_to_sign_7adc4492/output.json | 233 +++ .../009_document_to_sign_7adc4492/output.xml | 236 +++ .../009_document_to_sign_d04a95ee/input.xml | 381 +++++ .../009_document_to_sign_d04a95ee/log.txt | 2 + .../009_document_to_sign_d04a95ee/output.json | 212 +++ .../009_document_to_sign_d04a95ee/output.xml | 215 +++ .../016_document_to_sign_355db86f/output.json | 233 --- .../016_document_to_sign_355db86f/output.xml | 236 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 233 +++ .../output.xml | 236 +++ .../016_document_to_sign_71606533/input.xml | 402 +++++ .../016_document_to_sign_71606533/log.txt | 2 + .../016_document_to_sign_71606533/output.json | 233 +++ .../016_document_to_sign_71606533/output.xml | 236 +++ .../023_document_to_sign_2d819774/output.json | 233 --- .../023_document_to_sign_2d819774/output.xml | 236 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 233 +++ .../output.xml | 236 +++ .../023_document_to_sign_7b2ca3fe/input.xml | 402 +++++ .../023_document_to_sign_7b2ca3fe/log.txt | 2 + .../023_document_to_sign_7b2ca3fe/output.json | 233 +++ .../023_document_to_sign_7b2ca3fe/output.xml | 236 +++ .../Beispiel_10_1_0904076e/output.json | 225 --- .../Beispiel_10_1_0904076e/output.xml | 230 --- .../input.xml | 0 .../Beispiel_10_1_0904076e_c44ddc5b/log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../Beispiel_10_1_c44ddc5b/input.xml | 408 +++++ .../Beispiel_10_1_c44ddc5b/log.txt | 2 + .../Beispiel_10_1_c44ddc5b/output.json | 225 +++ .../Beispiel_10_1_c44ddc5b/output.xml | 230 +++ .../input.xml | 0 .../Beispiel_10_2_7031f7f3/log.txt | 2 + .../Beispiel_10_2_7031f7f3/output.json | 225 +++ .../Beispiel_10_2_7031f7f3/output.xml | 230 +++ .../Beispiel_10_2_d27c0e14/output.json | 225 --- .../Beispiel_10_2_d27c0e14/output.xml | 230 --- .../Beispiel_10_2_d27c0e14_7031f7f3/input.xml | 408 +++++ .../Beispiel_10_2_d27c0e14_7031f7f3/log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../Beispiel_10_3_552a0944/output.json | 225 --- .../Beispiel_10_3_552a0944/output.xml | 230 --- .../input.xml | 0 .../Beispiel_10_3_552a0944_f70585e0/log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../Beispiel_10_3_f70585e0/input.xml | 408 +++++ .../Beispiel_10_3_f70585e0/log.txt | 2 + .../Beispiel_10_3_f70585e0/output.json | 225 +++ .../Beispiel_10_3_f70585e0/output.xml | 230 +++ .../input.xml | 0 .../Beispiel_10_4_15da065c/log.txt | 2 + .../Beispiel_10_4_15da065c/output.json | 224 +++ .../Beispiel_10_4_15da065c/output.xml | 229 +++ .../Beispiel_10_4_2f23f99c/output.json | 224 --- .../Beispiel_10_4_2f23f99c/output.xml | 229 --- .../Beispiel_10_4_2f23f99c_15da065c/input.xml | 407 +++++ .../Beispiel_10_4_2f23f99c_15da065c/log.txt | 2 + .../output.json | 224 +++ .../output.xml | 229 +++ .../Beispiel_11_1a369537/output.json | 205 --- .../Beispiel_11_1a369537/output.xml | 208 --- .../input.xml | 0 .../Beispiel_11_1a369537_690a7f01/log.txt | 2 + .../Beispiel_11_1a369537_690a7f01/output.json | 205 +++ .../Beispiel_11_1a369537_690a7f01/output.xml | 208 +++ .../Beispiel_11_690a7f01/input.xml | 379 +++++ .../Beispiel_11_690a7f01/log.txt | 2 + .../Beispiel_11_690a7f01/output.json | 205 +++ .../Beispiel_11_690a7f01/output.xml | 208 +++ .../input.xml | 0 .../Beispiel_12_14f3cff7/log.txt | 2 + .../Beispiel_12_14f3cff7/output.json | 217 +++ .../Beispiel_12_14f3cff7/output.xml | 220 +++ .../Beispiel_12_2aa01d66/output.json | 217 --- .../Beispiel_12_2aa01d66/output.xml | 220 --- .../Beispiel_12_2aa01d66_14f3cff7/input.xml | 396 +++++ .../Beispiel_12_2aa01d66_14f3cff7/log.txt | 2 + .../Beispiel_12_2aa01d66_14f3cff7/output.json | 217 +++ .../Beispiel_12_2aa01d66_14f3cff7/output.xml | 220 +++ .../Beispiel_13_8d85e45c/output.json | 217 --- .../Beispiel_13_8d85e45c/output.xml | 221 --- .../input.xml | 0 .../Beispiel_13_8d85e45c_ee9d3b92/log.txt | 2 + .../Beispiel_13_8d85e45c_ee9d3b92/output.json | 217 +++ .../Beispiel_13_8d85e45c_ee9d3b92/output.xml | 221 +++ .../Beispiel_13_ee9d3b92/input.xml | 397 +++++ .../Beispiel_13_ee9d3b92/log.txt | 2 + .../Beispiel_13_ee9d3b92/output.json | 217 +++ .../Beispiel_13_ee9d3b92/output.xml | 221 +++ .../Beispiel_14_63ade791/output.json | 209 --- .../Beispiel_14_63ade791/output.xml | 211 --- .../input.xml | 0 .../Beispiel_14_63ade791_753fff3b/log.txt | 2 + .../Beispiel_14_63ade791_753fff3b/output.json | 209 +++ .../Beispiel_14_63ade791_753fff3b/output.xml | 211 +++ .../Beispiel_14_753fff3b/input.xml | 384 +++++ .../Beispiel_14_753fff3b/log.txt | 2 + .../Beispiel_14_753fff3b/output.json | 209 +++ .../Beispiel_14_753fff3b/output.xml | 211 +++ .../input.xml | 0 .../Beispiel_15_34abcf97/log.txt | 2 + .../Beispiel_15_34abcf97/output.json | 198 +++ .../Beispiel_15_34abcf97/output.xml | 204 +++ .../Beispiel_15_b8505bd0/output.json | 198 --- .../Beispiel_15_b8505bd0/output.xml | 204 --- .../Beispiel_15_b8505bd0_34abcf97/input.xml | 388 +++++ .../Beispiel_15_b8505bd0_34abcf97/log.txt | 2 + .../Beispiel_15_b8505bd0_34abcf97/output.json | 198 +++ .../Beispiel_15_b8505bd0_34abcf97/output.xml | 204 +++ .../input.xml | 0 .../medicationPzn/Beispiel_1_44420ed9/log.txt | 2 + .../Beispiel_1_44420ed9/output.json | 203 +++ .../Beispiel_1_44420ed9/output.xml | 208 +++ .../Beispiel_1_f12fa769_44420ed9}/input.xml | 0 .../Beispiel_1_f12fa769_44420ed9/log.txt | 2 + .../Beispiel_1_f12fa769_44420ed9/output.json | 203 +++ .../Beispiel_1_f12fa769_44420ed9/output.xml | 208 +++ .../Beispiel_1_f40a23d0/output.json | 203 --- .../Beispiel_1_f40a23d0/output.xml | 208 --- .../Beispiel_1_f40a23d0_44420ed9/input.xml | 384 +++++ .../Beispiel_1_f40a23d0_44420ed9/log.txt | 2 + .../Beispiel_1_f40a23d0_44420ed9/output.json | 203 +++ .../Beispiel_1_f40a23d0_44420ed9/output.xml | 208 +++ .../input.xml | 0 .../Beispiel_2_2b6860ab_6d5162b2/log.txt | 2 + .../Beispiel_2_2b6860ab_6d5162b2/output.json | 210 +++ .../Beispiel_2_2b6860ab_6d5162b2/output.xml | 214 +++ .../Beispiel_2_6d5162b2}/input.xml | 0 .../medicationPzn/Beispiel_2_6d5162b2/log.txt | 2 + .../Beispiel_2_6d5162b2/output.json | 210 +++ .../Beispiel_2_6d5162b2/output.xml | 214 +++ .../Beispiel_2_d5f08b4e/output.json | 210 --- .../Beispiel_2_d5f08b4e/output.xml | 214 --- .../Beispiel_2_d5f08b4e_6d5162b2/input.xml | 396 +++++ .../Beispiel_2_d5f08b4e_6d5162b2/log.txt | 2 + .../Beispiel_2_d5f08b4e_6d5162b2/output.json | 210 +++ .../Beispiel_2_d5f08b4e_6d5162b2/output.xml | 214 +++ .../Beispiel_30_1ab932b8/output.json | 198 --- .../Beispiel_30_1ab932b8/output.xml | 204 --- .../input.xml | 0 .../Beispiel_30_1ab932b8_846d07e6/log.txt | 2 + .../Beispiel_30_1ab932b8_846d07e6/output.json | 198 +++ .../Beispiel_30_1ab932b8_846d07e6/output.xml | 204 +++ .../Beispiel_30_846d07e6/input.xml | 372 +++++ .../Beispiel_30_846d07e6/log.txt | 2 + .../Beispiel_30_846d07e6/output.json | 198 +++ .../Beispiel_30_846d07e6/output.xml | 204 +++ .../input.xml | 0 .../Beispiel_31_7f12495e/log.txt | 2 + .../Beispiel_31_7f12495e/output.json | 198 +++ .../Beispiel_31_7f12495e/output.xml | 204 +++ .../Beispiel_31_e0cb3cbc/output.json | 198 --- .../Beispiel_31_e0cb3cbc/output.xml | 204 --- .../Beispiel_31_e0cb3cbc_7f12495e/input.xml | 372 +++++ .../Beispiel_31_e0cb3cbc_7f12495e/log.txt | 2 + .../Beispiel_31_e0cb3cbc_7f12495e/output.json | 198 +++ .../Beispiel_31_e0cb3cbc_7f12495e/output.xml | 204 +++ .../Beispiel_32_318de3dd/output.json | 198 --- .../Beispiel_32_318de3dd/output.xml | 204 --- .../input.xml | 0 .../Beispiel_32_318de3dd_6f404894/log.txt | 2 + .../Beispiel_32_318de3dd_6f404894/output.json | 198 +++ .../Beispiel_32_318de3dd_6f404894/output.xml | 204 +++ .../Beispiel_32_6f404894/input.xml | 369 +++++ .../Beispiel_32_6f404894/log.txt | 2 + .../Beispiel_32_6f404894/output.json | 198 +++ .../Beispiel_32_6f404894/output.xml | 204 +++ .../input.xml | 0 .../Beispiel_33_1f339db0/log.txt | 2 + .../Beispiel_33_1f339db0/output.json | 198 +++ .../Beispiel_33_1f339db0/output.xml | 204 +++ .../Beispiel_33_34200096/output.json | 198 --- .../Beispiel_33_34200096/output.xml | 204 --- .../Beispiel_33_34200096_1f339db0/input.xml | 369 +++++ .../Beispiel_33_34200096_1f339db0/log.txt | 2 + .../Beispiel_33_34200096_1f339db0/output.json | 198 +++ .../Beispiel_33_34200096_1f339db0/output.xml | 204 +++ .../Beispiel_34_7fd5f6de/output.json | 198 --- .../Beispiel_34_7fd5f6de/output.xml | 204 --- .../input.xml | 0 .../Beispiel_34_7fd5f6de_d38c02fa/log.txt | 2 + .../Beispiel_34_7fd5f6de_d38c02fa/output.json | 198 +++ .../Beispiel_34_7fd5f6de_d38c02fa/output.xml | 204 +++ .../Beispiel_34_d38c02fa/input.xml | 372 +++++ .../Beispiel_34_d38c02fa/log.txt | 2 + .../Beispiel_34_d38c02fa/output.json | 198 +++ .../Beispiel_34_d38c02fa/output.xml | 204 +++ .../input.xml | 0 .../Beispiel_35_b942313c/log.txt | 2 + .../Beispiel_35_b942313c/output.json | 198 +++ .../Beispiel_35_b942313c/output.xml | 204 +++ .../Beispiel_35_f54e7067/output.json | 198 --- .../Beispiel_35_f54e7067/output.xml | 204 --- .../Beispiel_35_f54e7067_b942313c/input.xml | 372 +++++ .../Beispiel_35_f54e7067_b942313c/log.txt | 2 + .../Beispiel_35_f54e7067_b942313c/output.json | 198 +++ .../Beispiel_35_f54e7067_b942313c/output.xml | 204 +++ .../Beispiel_36_143798dc/output.json | 198 --- .../Beispiel_36_143798dc/output.xml | 204 --- .../input.xml | 0 .../Beispiel_36_143798dc_c48d0fb5/log.txt | 2 + .../Beispiel_36_143798dc_c48d0fb5/output.json | 198 +++ .../Beispiel_36_143798dc_c48d0fb5/output.xml | 204 +++ .../Beispiel_36_c48d0fb5/input.xml | 383 +++++ .../Beispiel_36_c48d0fb5/log.txt | 2 + .../Beispiel_36_c48d0fb5/output.json | 198 +++ .../Beispiel_36_c48d0fb5/output.xml | 204 +++ .../Beispiel_37_78ff5d32/output.json | 198 --- .../Beispiel_37_78ff5d32/output.xml | 204 --- .../input.xml | 0 .../Beispiel_37_78ff5d32_7d1f08b4/log.txt | 2 + .../Beispiel_37_78ff5d32_7d1f08b4/output.json | 198 +++ .../Beispiel_37_78ff5d32_7d1f08b4/output.xml | 204 +++ .../Beispiel_37_7d1f08b4/input.xml | 372 +++++ .../Beispiel_37_7d1f08b4/log.txt | 2 + .../Beispiel_37_7d1f08b4/output.json | 198 +++ .../Beispiel_37_7d1f08b4/output.xml | 204 +++ .../input.xml | 0 .../Beispiel_38_60e48db8/log.txt | 2 + .../Beispiel_38_60e48db8/output.json | 198 +++ .../Beispiel_38_60e48db8/output.xml | 204 +++ .../Beispiel_38_fb26a25e/output.json | 198 --- .../Beispiel_38_fb26a25e/output.xml | 204 --- .../Beispiel_38_fb26a25e_60e48db8/input.xml | 372 +++++ .../Beispiel_38_fb26a25e_60e48db8/log.txt | 2 + .../Beispiel_38_fb26a25e_60e48db8/output.json | 198 +++ .../Beispiel_38_fb26a25e_60e48db8/output.xml | 204 +++ .../Beispiel_39_23d155d0/output.json | 198 --- .../Beispiel_39_23d155d0/output.xml | 204 --- .../input.xml | 0 .../Beispiel_39_23d155d0_acf39375/log.txt | 2 + .../Beispiel_39_23d155d0_acf39375/output.json | 198 +++ .../Beispiel_39_23d155d0_acf39375/output.xml | 204 +++ .../Beispiel_39_acf39375/input.xml | 372 +++++ .../Beispiel_39_acf39375/log.txt | 2 + .../Beispiel_39_acf39375/output.json | 198 +++ .../Beispiel_39_acf39375/output.xml | 204 +++ .../Beispiel_3_PKV_1f6ef093/output.json | 220 --- .../Beispiel_3_PKV_1f6ef093/output.xml | 224 --- .../input.xml | 0 .../Beispiel_3_PKV_1f6ef093_328ad940/log.txt | 2 + .../output.json | 220 +++ .../output.xml | 224 +++ .../Beispiel_3_PKV_328ad940}/input.xml | 0 .../Beispiel_3_PKV_328ad940/log.txt | 2 + .../Beispiel_3_PKV_328ad940/output.json | 220 +++ .../Beispiel_3_PKV_328ad940/output.xml | 224 +++ .../Beispiel_3_fc33c82b_328ad940/input.xml | 406 +++++ .../Beispiel_3_fc33c82b_328ad940/log.txt | 2 + .../Beispiel_3_fc33c82b_328ad940/output.json | 220 +++ .../Beispiel_3_fc33c82b_328ad940/output.xml | 224 +++ .../input.xml | 0 .../Beispiel_40_50926152/log.txt | 2 + .../Beispiel_40_50926152/output.json | 198 +++ .../Beispiel_40_50926152/output.xml | 204 +++ .../Beispiel_40_ec1c5acd/output.json | 198 --- .../Beispiel_40_ec1c5acd/output.xml | 204 --- .../Beispiel_40_ec1c5acd_50926152/input.xml | 372 +++++ .../Beispiel_40_ec1c5acd_50926152/log.txt | 2 + .../Beispiel_40_ec1c5acd_50926152/output.json | 198 +++ .../Beispiel_40_ec1c5acd_50926152/output.xml | 204 +++ .../Beispiel_41_2a94fb4b/output.json | 198 --- .../Beispiel_41_2a94fb4b/output.xml | 204 --- .../input.xml | 0 .../Beispiel_41_2a94fb4b_e9de4852/log.txt | 2 + .../Beispiel_41_2a94fb4b_e9de4852/output.json | 198 +++ .../Beispiel_41_2a94fb4b_e9de4852/output.xml | 204 +++ .../Beispiel_41_e9de4852/input.xml | 372 +++++ .../Beispiel_41_e9de4852/log.txt | 2 + .../Beispiel_41_e9de4852/output.json | 198 +++ .../Beispiel_41_e9de4852/output.xml | 204 +++ .../Beispiel_42_f5df70a6/output.json | 198 --- .../Beispiel_42_f5df70a6/output.xml | 204 --- .../input.xml | 0 .../Beispiel_42_f5df70a6_fe9200db/log.txt | 2 + .../Beispiel_42_f5df70a6_fe9200db/output.json | 198 +++ .../Beispiel_42_f5df70a6_fe9200db/output.xml | 204 +++ .../Beispiel_42_fe9200db/input.xml | 372 +++++ .../Beispiel_42_fe9200db/log.txt | 2 + .../Beispiel_42_fe9200db/output.json | 198 +++ .../Beispiel_42_fe9200db/output.xml | 204 +++ .../Beispiel_43_22d245d1/output.json | 198 --- .../Beispiel_43_22d245d1/output.xml | 204 --- .../input.xml | 0 .../Beispiel_43_22d245d1_91c262e7/log.txt | 2 + .../Beispiel_43_22d245d1_91c262e7/output.json | 198 +++ .../Beispiel_43_22d245d1_91c262e7/output.xml | 204 +++ .../Beispiel_43_91c262e7/input.xml | 383 +++++ .../Beispiel_43_91c262e7/log.txt | 2 + .../Beispiel_43_91c262e7/output.json | 198 +++ .../Beispiel_43_91c262e7/output.xml | 204 +++ .../input.xml | 0 .../Beispiel_45_5702a4b8/log.txt | 2 + .../Beispiel_45_5702a4b8/output.json | 198 +++ .../Beispiel_45_5702a4b8/output.xml | 204 +++ .../Beispiel_45_bb4ce485/output.json | 198 --- .../Beispiel_45_bb4ce485/output.xml | 204 --- .../Beispiel_45_bb4ce485_5702a4b8/input.xml | 372 +++++ .../Beispiel_45_bb4ce485_5702a4b8/log.txt | 2 + .../Beispiel_45_bb4ce485_5702a4b8/output.json | 198 +++ .../Beispiel_45_bb4ce485_5702a4b8/output.xml | 204 +++ .../Beispiel_49_68570de1/output.json | 198 --- .../Beispiel_49_68570de1/output.xml | 204 --- .../input.xml | 0 .../Beispiel_49_68570de1_baac1cdd/log.txt | 2 + .../Beispiel_49_68570de1_baac1cdd/output.json | 198 +++ .../Beispiel_49_68570de1_baac1cdd/output.xml | 204 +++ .../Beispiel_49_baac1cdd/input.xml | 369 +++++ .../Beispiel_49_baac1cdd/log.txt | 2 + .../Beispiel_49_baac1cdd/output.json | 198 +++ .../Beispiel_49_baac1cdd/output.xml | 204 +++ .../input.xml | 0 .../medicationPzn/Beispiel_4_5f66314e/log.txt | 2 + .../Beispiel_4_5f66314e/output.json | 218 +++ .../Beispiel_4_5f66314e/output.xml | 223 +++ .../Beispiel_4_cd2e731a_5f66314e}/input.xml | 0 .../Beispiel_4_cd2e731a_5f66314e/log.txt | 2 + .../Beispiel_4_cd2e731a_5f66314e/output.json | 218 +++ .../Beispiel_4_cd2e731a_5f66314e/output.xml | 223 +++ .../Beispiel_4_ee308df9/output.json | 218 --- .../Beispiel_4_ee308df9/output.xml | 223 --- .../Beispiel_4_ee308df9_5f66314e/input.xml | 425 +++++ .../Beispiel_4_ee308df9_5f66314e/log.txt | 2 + .../Beispiel_4_ee308df9_5f66314e/output.json | 218 +++ .../Beispiel_4_ee308df9_5f66314e/output.xml | 223 +++ .../input.xml | 0 .../Beispiel_54_d390d0d3/log.txt | 2 + .../Beispiel_54_d390d0d3/output.json | 198 +++ .../Beispiel_54_d390d0d3/output.xml | 204 +++ .../Beispiel_54_dff1953b/output.json | 198 --- .../Beispiel_54_dff1953b/output.xml | 204 --- .../Beispiel_54_dff1953b_d390d0d3/input.xml | 372 +++++ .../Beispiel_54_dff1953b_d390d0d3/log.txt | 2 + .../Beispiel_54_dff1953b_d390d0d3/output.json | 198 +++ .../Beispiel_54_dff1953b_d390d0d3/output.xml | 204 +++ .../Beispiel_55_10ddea96/output.json | 200 --- .../Beispiel_55_10ddea96/output.xml | 204 --- .../input.xml | 0 .../Beispiel_55_10ddea96_a6949071/log.txt | 2 + .../Beispiel_55_10ddea96_a6949071/output.json | 200 +++ .../Beispiel_55_10ddea96_a6949071/output.xml | 204 +++ .../Beispiel_55_a6949071/input.xml | 372 +++++ .../Beispiel_55_a6949071/log.txt | 2 + .../Beispiel_55_a6949071/output.json | 200 +++ .../Beispiel_55_a6949071/output.xml | 204 +++ .../input.xml | 0 .../Beispiel_56_414ca393/log.txt | 2 + .../Beispiel_56_414ca393/output.json | 198 +++ .../Beispiel_56_414ca393/output.xml | 204 +++ .../Beispiel_56_bc08cd5c/output.json | 198 --- .../Beispiel_56_bc08cd5c/output.xml | 204 --- .../Beispiel_56_bc08cd5c_414ca393/input.xml | 372 +++++ .../Beispiel_56_bc08cd5c_414ca393/log.txt | 2 + .../Beispiel_56_bc08cd5c_414ca393/output.json | 198 +++ .../Beispiel_56_bc08cd5c_414ca393/output.xml | 204 +++ .../input.xml | 0 .../Beispiel_57_3a1c45f8/log.txt | 2 + .../Beispiel_57_3a1c45f8/output.json | 198 +++ .../Beispiel_57_3a1c45f8/output.xml | 204 +++ .../Beispiel_57_855147c1/output.json | 198 --- .../Beispiel_57_855147c1/output.xml | 204 --- .../Beispiel_57_855147c1_3a1c45f8/input.xml | 377 +++++ .../Beispiel_57_855147c1_3a1c45f8/log.txt | 2 + .../Beispiel_57_855147c1_3a1c45f8/output.json | 198 +++ .../Beispiel_57_855147c1_3a1c45f8/output.xml | 204 +++ .../input.xml | 0 .../Beispiel_60_2f97abb5/log.txt | 2 + .../Beispiel_60_2f97abb5/output.json | 218 +++ .../Beispiel_60_2f97abb5/output.xml | 222 +++ .../Beispiel_60_bc27f419/output.json | 218 --- .../Beispiel_60_bc27f419/output.xml | 222 --- .../Beispiel_60_bc27f419_2f97abb5/input.xml | 475 ++++++ .../Beispiel_60_bc27f419_2f97abb5/log.txt | 2 + .../Beispiel_60_bc27f419_2f97abb5/output.json | 218 +++ .../Beispiel_60_bc27f419_2f97abb5/output.xml | 222 +++ .../Beispiel_6_5287e4ed/output.json | 211 --- .../Beispiel_6_5287e4ed/output.xml | 217 --- .../input.xml | 0 .../Beispiel_6_5287e4ed_9ad99a8f/log.txt | 2 + .../Beispiel_6_5287e4ed_9ad99a8f/output.json | 211 +++ .../Beispiel_6_5287e4ed_9ad99a8f/output.xml | 217 +++ .../Beispiel_6_9ad99a8f/input.xml | 445 ++++++ .../medicationPzn/Beispiel_6_9ad99a8f/log.txt | 2 + .../Beispiel_6_9ad99a8f/output.json | 211 +++ .../Beispiel_6_9ad99a8f/output.xml | 217 +++ .../input.xml | 0 .../medicationPzn/Beispiel_7_aea2f4c5/log.txt | 2 + .../Beispiel_7_aea2f4c5/output.json | 190 +++ .../Beispiel_7_aea2f4c5/output.xml | 195 +++ .../Beispiel_7_c806b0e8/output.json | 190 --- .../Beispiel_7_c806b0e8/output.xml | 195 --- .../Beispiel_7_c806b0e8_aea2f4c5/input.xml | 368 +++++ .../Beispiel_7_c806b0e8_aea2f4c5/log.txt | 2 + .../Beispiel_7_c806b0e8_aea2f4c5/output.json | 190 +++ .../Beispiel_7_c806b0e8_aea2f4c5/output.xml | 195 +++ .../Beispiel_8_0097fa46/output.json | 205 --- .../Beispiel_8_0097fa46/output.xml | 208 --- .../input.xml | 0 .../Beispiel_8_0097fa46_0428d416/log.txt | 2 + .../Beispiel_8_0097fa46_0428d416/output.json | 205 +++ .../Beispiel_8_0097fa46_0428d416/output.xml | 208 +++ .../Beispiel_8_0428d416/input.xml | 393 +++++ .../medicationPzn/Beispiel_8_0428d416/log.txt | 2 + .../Beispiel_8_0428d416/output.json | 205 +++ .../Beispiel_8_0428d416/output.xml | 208 +++ .../Beispiel_9_45f28601/output.json | 198 --- .../Beispiel_9_45f28601/output.xml | 204 --- .../input.xml | 0 .../Beispiel_9_45f28601_914b7619/log.txt | 2 + .../Beispiel_9_45f28601_914b7619/output.json | 198 +++ .../Beispiel_9_45f28601_914b7619/output.xml | 204 +++ .../Beispiel_9_914b7619/input.xml | 382 +++++ .../medicationPzn/Beispiel_9_914b7619/log.txt | 2 + .../Beispiel_9_914b7619/output.json | 198 +++ .../Beispiel_9_914b7619/output.xml | 204 +++ .../input.xml | 0 .../log.txt | 2 + .../output.json | 218 +++ .../output.xml | 223 +++ .../output.json | 218 --- .../output.xml | 223 --- .../input.xml | 425 +++++ .../log.txt | 2 + .../output.json | 218 +++ .../output.xml | 223 +++ .../output.json | 218 --- .../output.xml | 223 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 218 +++ .../output.xml | 223 +++ .../output.json | 190 --- .../output.xml | 195 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 190 +++ .../output.xml | 195 +++ .../output.json | 190 --- .../output.xml | 195 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 190 +++ .../output.xml | 195 +++ .../input.xml | 0 .../log.txt | 2 + .../output.json | 190 +++ .../output.xml | 195 +++ .../output.json | 190 --- .../output.xml | 195 --- .../input.xml | 373 +++++ .../log.txt | 2 + .../output.json | 190 +++ .../output.xml | 195 +++ .../input.xml | 373 +++++ .../log.txt | 2 + .../output.json | 190 +++ .../output.xml | 195 +++ .../output.json | 190 --- .../output.xml | 195 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 190 +++ .../output.xml | 195 +++ .../output.json | 211 --- .../output.xml | 213 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 211 +++ .../output.xml | 213 +++ .../output.json | 211 --- .../output.xml | 213 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 211 +++ .../output.xml | 213 +++ .../input.xml | 0 .../PZN_KB_V1_VerordnungArzt_753fff3b/log.txt | 2 + .../output.json | 211 +++ .../output.xml | 213 +++ .../output.json | 211 --- .../output.xml | 213 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 211 +++ .../output.xml | 213 +++ .../input.xml | 386 +++++ .../PZN_KB_V2_VerordnungArzt_753fff3b/log.txt | 2 + .../output.json | 211 +++ .../output.xml | 213 +++ .../output.json | 211 --- .../output.xml | 213 --- .../input.xml | 386 +++++ .../log.txt | 2 + .../output.json | 211 +++ .../output.xml | 213 +++ .../output.json | 225 --- .../output.xml | 230 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../input.xml | 0 .../PZN_MV1_VerordnungArzt_c44ddc5b/log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../output.json | 225 --- .../output.xml | 230 --- .../input.xml | 408 +++++ .../log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../output.json | 225 --- .../output.xml | 230 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../PZN_MV2_VerordnungArzt_7031f7f3/input.xml | 408 +++++ .../PZN_MV2_VerordnungArzt_7031f7f3/log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../output.json | 225 --- .../output.xml | 230 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../output.json | 225 --- .../output.xml | 230 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../output.json | 225 --- .../output.xml | 230 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../PZN_MV3_VerordnungArzt_f70585e0/input.xml | 408 +++++ .../PZN_MV3_VerordnungArzt_f70585e0/log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../input.xml | 0 .../PZN_MV4_VerordnungArzt_15da065c/log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../output.json | 225 --- .../output.xml | 230 --- .../input.xml | 408 +++++ .../log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../output.json | 225 --- .../output.xml | 230 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 +++ .../output.xml | 230 +++ .../output.json | 205 --- .../output.xml | 208 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 205 +++ .../output.xml | 208 +++ .../output.json | 205 --- .../output.xml | 208 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 205 +++ .../output.xml | 208 +++ .../input.xml | 379 +++++ .../PZN_Noctu_VerordnungArzt_690a7f01/log.txt | 2 + .../output.json | 205 +++ .../output.xml | 208 +++ .../output.json | 213 --- .../output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 213 +++ .../output.xml | 215 +++ .../PZN_Nr1_VerordnungArzt_281a985c/input.xml | 414 +++++ .../PZN_Nr1_VerordnungArzt_281a985c/log.txt | 2 + .../output.json | 213 +++ .../output.xml | 215 +++ .../output.json | 213 --- .../output.xml | 215 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 213 +++ .../output.xml | 215 +++ .../input.xml | 0 .../PZN_Nr2_VerordnungArzt_aea2f4c5/log.txt | 2 + .../output.json | 190 +++ .../output.xml | 195 +++ .../output.json | 190 --- .../output.xml | 195 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 190 +++ .../output.xml | 195 +++ .../output.json | 190 --- .../output.xml | 195 --- .../input.xml | 368 +++++ .../log.txt | 2 + .../output.json | 190 +++ .../output.xml | 195 +++ .../input.xml | 0 .../PZN_Nr3_VerordnungArzt_44420ed9/log.txt | 2 + .../output.json | 203 +++ .../output.xml | 208 +++ .../output.json | 203 --- .../output.xml | 208 --- .../input.xml | 384 +++++ .../log.txt | 2 + .../output.json | 203 +++ .../output.xml | 208 +++ .../output.json | 203 --- .../output.xml | 208 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 203 +++ .../output.xml | 208 +++ .../input.xml | 0 .../PZN_Nr4_VerordnungArzt_0428d416/log.txt | 2 + .../output.json | 205 +++ .../output.xml | 208 +++ .../output.json | 205 --- .../output.xml | 208 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 205 +++ .../output.xml | 208 +++ .../output.json | 205 --- .../output.xml | 208 --- .../input.xml | 393 +++++ .../log.txt | 2 + .../output.json | 205 +++ .../output.xml | 208 +++ .../output.json | 198 --- .../output.xml | 204 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 +++ .../output.xml | 204 +++ .../PZN_Nr5_VerordnungArzt_34abcf97/input.xml | 388 +++++ .../PZN_Nr5_VerordnungArzt_34abcf97/log.txt | 2 + .../output.json | 198 +++ .../output.xml | 204 +++ .../output.json | 198 --- .../output.xml | 204 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 +++ .../output.xml | 204 +++ .../input.xml | 0 .../PZN_Nr6_VerordnungArzt_14f3cff7/log.txt | 2 + .../output.json | 217 +++ .../output.xml | 220 +++ .../output.json | 217 --- .../output.xml | 220 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 217 +++ .../output.xml | 220 +++ .../output.json | 217 --- .../output.xml | 220 --- .../input.xml | 396 +++++ .../log.txt | 2 + .../output.json | 217 +++ .../output.xml | 220 +++ .../output.json | 213 --- .../output.xml | 219 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 213 +++ .../output.xml | 219 +++ .../input.xml | 0 .../PZN_Nr7_VerordnungArzt_9ad99a8f/log.txt | 2 + .../output.json | 213 +++ .../output.xml | 219 +++ .../output.json | 213 --- .../output.xml | 219 --- .../input.xml | 447 ++++++ .../log.txt | 2 + .../output.json | 213 +++ .../output.xml | 219 +++ .../output.json | 217 --- .../output.xml | 221 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 217 +++ .../output.xml | 221 +++ .../output.json | 217 --- .../output.xml | 221 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 217 +++ .../output.xml | 221 +++ .../PZN_Nr8_VerordnungArzt_ee9d3b92/input.xml | 397 +++++ .../PZN_Nr8_VerordnungArzt_ee9d3b92/log.txt | 2 + .../output.json | 217 +++ .../output.xml | 221 +++ .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 217 +++ .../output.json | 212 --- .../output.xml | 217 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 217 +++ .../output.json | 212 --- .../output.xml | 217 --- .../input.xml | 428 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 217 +++ .../output.json | 210 --- .../output.xml | 214 --- .../input.xml | 0 .../log.txt | 2 + .../output.json | 210 +++ .../output.xml | 214 +++ .../input.xml | 0 .../log.txt | 2 + .../output.json | 210 +++ .../output.xml | 214 +++ .../output.json | 210 --- .../output.xml | 214 --- .../input.xml | 396 +++++ .../log.txt | 2 + .../output.json | 210 +++ .../output.xml | 214 +++ .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../transformation_protocol.txt | 40 +- .../input.xml | 0 .../log.txt | 3 + .../output.json | 120 ++ .../output.xml | 107 ++ .../output.json | 120 -- .../output.xml | 107 -- .../input.xml | 0 .../log.txt | 3 + .../output.json | 120 ++ .../output.xml | 107 ++ .../output.json | 120 -- .../output.xml | 107 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 127 ++ .../output.xml | 132 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 121 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 127 ++ .../output.xml | 132 ++ .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 121 -- .../log.txt | 3 - .../output.json | 118 -- .../output.xml | 120 -- .../input.xml | 83 + .../log.txt | 2 + .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 20 - .../output.xml | 18 - .../input.xml | 0 .../log.txt | 2 + .../output.json | 20 + .../output.xml | 18 + .../output.json | 77 - .../output.xml | 70 - .../input.xml | 0 .../log.txt | 2 + .../output.json | 77 + .../output.xml | 70 + .../Beispiel_1_44420ed9/input.xml | 384 +++++ .../medicationPzn/Beispiel_1_44420ed9/log.txt | 2 + .../Beispiel_1_44420ed9/output.json | 203 +++ .../Beispiel_1_44420ed9/output.xml | 208 +++ .../Beispiel_1_f12fa769/output.json | 203 --- .../Beispiel_1_f12fa769/output.xml | 208 --- .../Beispiel_2_2b6860ab/output.json | 210 --- .../Beispiel_2_2b6860ab/output.xml | 214 --- .../Beispiel_2_6d5162b2/input.xml | 396 +++++ .../medicationPzn/Beispiel_2_6d5162b2/log.txt | 2 + .../Beispiel_2_6d5162b2/output.json | 210 +++ .../Beispiel_2_6d5162b2/output.xml | 214 +++ .../Beispiel_3_328ad940/input.xml | 406 +++++ .../medicationPzn/Beispiel_3_328ad940/log.txt | 2 + .../Beispiel_3_328ad940/output.json | 220 +++ .../Beispiel_3_328ad940/output.xml | 224 +++ .../Beispiel_3_fc33c82b/output.json | 220 --- .../Beispiel_3_fc33c82b/output.xml | 224 --- .../Beispiel_4_5f66314e/input.xml | 425 +++++ .../medicationPzn/Beispiel_4_5f66314e/log.txt | 2 + .../Beispiel_4_5f66314e/output.json | 218 +++ .../Beispiel_4_5f66314e/output.xml | 223 +++ .../Beispiel_4_cd2e731a/output.json | 218 --- .../Beispiel_4_cd2e731a/output.xml | 223 --- .../output.json | 212 --- .../output.xml | 215 --- .../input.xml | 381 +++++ .../log.txt | 2 + .../output.json | 212 +++ .../output.xml | 215 +++ .../output.json | 49 - .../output.xml | 46 - .../input.xml | 0 .../log.txt | 2 + .../output.json | 49 + .../output.xml | 46 + .../log.txt | 3 - .../output.json | 85 - .../output.xml | 86 -- .../input.xml | 0 .../log.txt | 3 + .../output.json | 85 + .../output.xml | 86 ++ .../log.txt | 3 - .../output.json | 75 - .../output.xml | 75 - .../input.xml | 0 .../log.txt | 3 + .../output.json | 75 + .../output.xml | 75 + .../input.xml | 0 .../log.txt | 3 + .../output.json | 76 + .../output.xml | 76 + .../log.txt | 3 - .../output.json | 76 - .../output.xml | 76 - .../log.txt | 3 - .../output.json | 56 - .../output.xml | 54 - .../input.xml | 0 .../log.txt | 3 + .../output.json | 56 + .../output.xml | 54 + .../input.xml | 0 .../log.txt | 2 + .../output.json | 44 + .../output.xml | 42 + .../output.json | 44 - .../output.xml | 42 - .../output.json | 44 - .../output.xml | 42 - .../input.xml | 0 .../log.txt | 2 + .../output.json | 44 + .../output.xml | 42 + .../input.xml | 0 .../log.txt | 2 + .../output.json | 39 + .../output.xml | 36 + .../output.json | 39 - .../output.xml | 36 - 3426 files changed, 316966 insertions(+), 129533 deletions(-) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Beispiel_23_d0ca163a => Beispiel_23_9581ce65}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Beispiel_24_77b6e755 => Beispiel_24_77b6e755_a409358a}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Beispiel_25_cd31610e => Beispiel_25_cd31610e_dae573db}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Beispiel_50_c0cfd125 => Beispiel_50_c0cfd125_ddc83056}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Beispiel_51_63c98839 => Beispiel_51_63c98839_deda8f97}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Beispiel_52_2980d248 => Beispiel_52_2980d248_6f193f8b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Beispiel_53_f5386f17 => Beispiel_53_465f1638}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Rez_Nr1_VerordnungArzt_6b905d63 => Rez_Nr1_VerordnungArzt_6b905d63_9581ce65}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Rez_Nr1_VerordnungArzt_e2b9bad6 => Rez_Nr1_VerordnungArzt_9581ce65}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0 => Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Rez_parenterale_Zytostatika_VerordnungArzt_042df730 => Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_a7854089 => 008_Request_MedicationDispense_0474ec05}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationCompounding/Beispiel_23_d0ca163a => medicationDispense/008_Request_MedicationDispense_0474ec05}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_2bcb39ce => 008_Request_MedicationDispense_076ea66c}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationCompounding/Beispiel_25_cd31610e => medicationDispense/008_Request_MedicationDispense_076ea66c}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_14610226 => 008_Request_MedicationDispense_14610226_c9011d4b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationCompounding/Beispiel_50_c0cfd125 => medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_e3418508 => 008_Request_MedicationDispense_15850937}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationCompounding/Beispiel_51_63c98839 => medicationDispense/008_Request_MedicationDispense_15850937}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_15a4f10b => 008_Request_MedicationDispense_15a4f10b_de72e8de}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationCompounding/Beispiel_52_2980d248 => medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationCompounding/Beispiel_53_f5386f17 => medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_f1564ba7 => 008_Request_MedicationDispense_2f0c013c}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63 => medicationDispense/008_Request_MedicationDispense_2f0c013c}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_543ea2ca => 008_Request_MedicationDispense_357fb680}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6 => medicationDispense/008_Request_MedicationDispense_357fb680}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_64342c02 => 008_Request_MedicationDispense_466b70a6}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0 => medicationDispense/008_Request_MedicationDispense_466b70a6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_490093ae => 008_Request_MedicationDispense_490093ae_f9a262d7}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730 => medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_4ebfa209 => 008_Request_MedicationDispense_4ebfa209_c8f501a7}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationFreeText/Beispiel_22_ba4e7121 => medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_506e4daf => 008_Request_MedicationDispense_506e4daf_ddedee4f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationFreeText/FT_V1_VerordnungArzt_4986252f => medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationFreeText/FT_V1_VerordnungArzt_525fb142 => medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationFreeText/FT_V2_VerordnungArzt_2f7fa888 => medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_687dff01 => 008_Request_MedicationDispense_687dff01_cb5b4379}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28 => medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_909027dd => 008_Request_MedicationDispense_70a68a32}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_16_6e2b78ab => medicationDispense/008_Request_MedicationDispense_70a68a32}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_d8468bee => 008_Request_MedicationDispense_7757f253}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_17_01142458 => medicationDispense/008_Request_MedicationDispense_7757f253}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_7be52e28 => 008_Request_MedicationDispense_7be52e28_fe8a28dd}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_18_fe99181f => medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_809395bb => 008_Request_MedicationDispense_809395bb_a21e7dbb}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_19_9eb9d0af => medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_21_1_c1bbfd8b => medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_d71fba4b => 008_Request_MedicationDispense_948d7373}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_21_2_67ebe8c1 => medicationDispense/008_Request_MedicationDispense_948d7373}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_fa474a74 => 008_Request_MedicationDispense_9e291e49}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_29_a90c2e57 => medicationDispense/008_Request_MedicationDispense_9e291e49}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_58_97f6247a => medicationDispense/008_Request_MedicationDispense_a21e7dbb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7 => medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73 => medicationDispense/008_Request_MedicationDispense_c8f501a7}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38 => medicationDispense/008_Request_MedicationDispense_c9011d4b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b => medicationDispense/008_Request_MedicationDispense_cb5b4379}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_MV1_VerordnungArzt_6cd22004 => medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_MV1_VerordnungArzt_855669ce => medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_MV2_VerordnungArzt_0e20c760 => medicationDispense/008_Request_MedicationDispense_ddedee4f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f => medicationDispense/008_Request_MedicationDispense_de72e8de}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54 => medicationDispense/008_Request_MedicationDispense_e3418508_15850937}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851 => medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V1_VerordnungArzt_86dcf637 => medicationDispense/008_Request_MedicationDispense_f9a262d7}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V1_VerordnungArzt_e065344f => medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V2_VerordnungArzt_1951fd21 => medicationDispense/008_Request_MedicationDispense_fe8a28dd}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_0159fb4f => 009_Request_MedicationDispense_0159fb4f_5b32c036}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V2_VerordnungArzt_68631a1b => medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_31f38335 => 009_Request_MedicationDispense_11863590}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V3_VerordnungArzt_a07c7844 => medicationDispense/009_Request_MedicationDispense_11863590}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_1473f940 => 009_Request_MedicationDispense_1473f940_f9f80ea9}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V3_VerordnungArzt_f7577903 => medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_1f42e5b7 => 009_Request_MedicationDispense_1f42e5b7_8f932795}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V4_VerordnungArzt_ea19671f => medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_2789ac6b => 009_Request_MedicationDispense_2789ac6b_efe8874f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V4_VerordnungArzt_fa6f0220 => medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_a86d9701 => 009_Request_MedicationDispense_2bd690cf}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_02fcf3a5 => medicationDispense/009_Request_MedicationDispense_2bd690cf}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_305be6c9 => 009_Request_MedicationDispense_305be6c9_c916d235}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_0854ff7a => medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_41e06295 => 009_Request_MedicationDispense_30b0bdfb}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_09045269 => medicationDispense/009_Request_MedicationDispense_30b0bdfb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_0d6a22d4 => medicationDispense/009_Request_MedicationDispense_31f38335_11863590}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_11cffc5c => medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_46b4d2a7 => 009_Request_MedicationDispense_46b4d2a7_f671e4a6}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_13ef7eed => medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_cb07b09c => 009_Request_MedicationDispense_4a30f8e0}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_141bdd95 => medicationDispense/009_Request_MedicationDispense_4a30f8e0}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_c30c0754 => 009_Request_MedicationDispense_4dbd54be}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_16ca6d24 => medicationDispense/009_Request_MedicationDispense_4dbd54be}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_5113c40f => 009_Request_MedicationDispense_5113c40f_efd6ebf9}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_19a7bde6 => medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_59d671a6 => 009_Request_MedicationDispense_59d671a6_cc07c2ac}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_1b51052c => medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_1c646da7 => medicationDispense/009_Request_MedicationDispense_5b32c036}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_622316fe => 009_Request_MedicationDispense_622316fe_800e0802}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_1ed8eaa8 => medicationDispense/009_Request_MedicationDispense_622316fe_800e0802}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_69d3fc0d => 009_Request_MedicationDispense_69d3fc0d_88ceb1e2}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_265b0953 => medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_c591a1e2 => 009_Request_MedicationDispense_7fd8a33d}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_2a985325 => medicationDispense/009_Request_MedicationDispense_7fd8a33d}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_2aa2072e => medicationDispense/009_Request_MedicationDispense_800e0802}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_87e0742e => 009_Request_MedicationDispense_87e0742e_89b0bda6}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_2cbc202c => medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_2d9e5916 => medicationDispense/009_Request_MedicationDispense_88ceb1e2}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_2e209d67 => medicationDispense/009_Request_MedicationDispense_89b0bda6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_8dcafef9 => 009_Request_MedicationDispense_8dcafef9_e8fc0f90}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_3bc18bf8 => medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_3f310f6f => medicationDispense/009_Request_MedicationDispense_8f932795}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_d1d6a359 => 009_Request_MedicationDispense_91e812db}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_4ee123e6 => medicationDispense/009_Request_MedicationDispense_91e812db}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_a6f5fbec => 009_Request_MedicationDispense_95b01d68}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_550e0973 => medicationDispense/009_Request_MedicationDispense_95b01d68}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_e8d5ccd4 => 009_Request_MedicationDispense_9b046560}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_55258d43 => medicationDispense/009_Request_MedicationDispense_9b046560}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_5665652f => medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_5da0791f => medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_5ed8a5cd => medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_c48e8331 => 009_Request_MedicationDispense_c48e8331_f64fd7b4}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_670603fd => medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_6f96c033 => medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_76455c58 => medicationDispense/009_Request_MedicationDispense_c916d235}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_78aebb81 => medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_7b9e2504 => medicationDispense/009_Request_MedicationDispense_cc07c2ac}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_83c10e2d => medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_840ab9b1 => medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_862aa430 => medicationDispense/009_Request_MedicationDispense_e8fc0f90}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_89383746 => medicationDispense/009_Request_MedicationDispense_efd6ebf9}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_8e4b0bfe => medicationDispense/009_Request_MedicationDispense_efe8874f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.xml rename ePA-eML-Examples/{ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21 => ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_9102a310 => medicationDispense/009_Request_MedicationDispense_f64fd7b4}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_94ddf2c1 => medicationDispense/009_Request_MedicationDispense_f671e4a6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_968173c9 => medicationDispense/009_Request_MedicationDispense_f9f80ea9}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{010_Request_MedicationDispense_71f76f82 => 010_Request_MedicationDispense_71f76f82_b7698c22}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_a0b1a2cd => medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{010_Request_MedicationDispense_a00e4916 => 010_Request_MedicationDispense_a00e4916_b5ff96d1}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_a4f05dcd => medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{010_Request_MedicationDispense_a8177c29 => 010_Request_MedicationDispense_a8177c29_f08aa035}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_ad7148f1 => medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_aedad2dd => medicationDispense/010_Request_MedicationDispense_b5ff96d1}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_b1146a3f => medicationDispense/010_Request_MedicationDispense_b7698c22}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_bcba7c06 => medicationDispense/010_Request_MedicationDispense_f08aa035}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{011_Request_MedicationDispense_d356fb06 => 011_Request_MedicationDispense_03b61c19}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_c2ad19ce => medicationDispense/011_Request_MedicationDispense_03b61c19}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{011_Request_MedicationDispense_72acb68b => 011_Request_MedicationDispense_251c9cea}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_c3479bd3 => medicationDispense/011_Request_MedicationDispense_251c9cea}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{011_Request_MedicationDispense_56e40195 => 011_Request_MedicationDispense_56e40195_8f3ff291}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_c60771b5 => medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{011_Request_MedicationDispense_6dcbcf82 => 011_Request_MedicationDispense_6dcbcf82_f976d60f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_cae47569 => medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_cb78899c => medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_cc2415eb => medicationDispense/011_Request_MedicationDispense_8f3ff291}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_ce4b1eb6 => medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_cec6c127 => medicationDispense/011_Request_MedicationDispense_f976d60f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{013_Request_MedicationDispense_91805a70 => 013_Request_MedicationDispense_27819d94}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_d45686e2 => medicationDispense/013_Request_MedicationDispense_27819d94}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_dbeccf45 => medicationDispense/013_Request_MedicationDispense_91805a70_27819d94}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{014_Request_MedicationDispense_2d9f6ecc => 014_Request_MedicationDispense_0926ecff}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_dd2d2c6b => medicationDispense/014_Request_MedicationDispense_0926ecff}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{014_Request_MedicationDispense_e08671c3 => 014_Request_MedicationDispense_227cd07a}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_dd6f3569 => medicationDispense/014_Request_MedicationDispense_227cd07a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_e4726de8 => medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_e55e8bba => medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{06_request_taskClose_8d0f44ed => 06_request_taskClose_8d0f44ed_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_f25d9001 => medicationDispense/06_request_taskClose_8d0f44ed_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{06_request_taskClose_c8335ed8 => 06_request_taskClose_c8335ed8_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_f276a8fc => medicationDispense/06_request_taskClose_c8335ed8_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_f4c61557 => medicationDispense/06_request_taskClose_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{08_response_taskDispense_00c96c80 => 08_response_taskDispense_00c96c80_dffbfd6a}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_f8d80421 => medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{08_response_taskDispense_816796a2 => 08_response_taskDispense_816796a2_dffbfd6a}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_feff6e76 => medicationDispense/08_response_taskDispense_816796a2_dffbfd6a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_004ef082 => medicationDispense/08_response_taskDispense_dffbfd6a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5 => 160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_1e697f5a => medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_39ea3447 => medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a => 160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_3fb29ad6 => medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_53d1cfe9 => medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a => 160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_59da5b8a => medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_5e9c3c5a => medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7 => 160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_6e19e753 => medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_7e017904 => medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170 => 160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_9965d2f7 => medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_a40b9e5a => medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021 => 160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e => 160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_f3b90767 => medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_fd771be7 => medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf => 160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/004_document_to_sign_0169e0e6 => medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/004_document_to_sign_fb58223d => medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.627.91_medicationdispense_WST_69fc18af => 160.000.226.436.627.91_medicationdispense_WST_69fc18af_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/005_document_to_sign_2745328a => medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/005_document_to_sign_50200ff7 => medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551 => 160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/005_document_to_sign_8e04dafe => medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/005_document_to_sign_d9759800 => medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2 => 160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/009_document_to_sign_4aec765d => medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/009_document_to_sign_57eabb67 => medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f => 160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/016_document_to_sign_355db86f => medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/023_document_to_sign_2d819774 => medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557 => 160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_10_1_0904076e => medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_10_2_d27c0e14 => medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280 => 3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_10_3_552a0944 => medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_10_4_2f23f99c => medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{FT_V1_MedicationDispense_d2e37ab5 => FT_V1_MedicationDispense_d2e37ab5_ee46e774}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_11_1a369537 => medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{FT_V1_MedicationDispense_dba0fee1 => FT_V1_MedicationDispense_dba0fee1_ee46e774}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_12_2aa01d66 => medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_13_8d85e45c => medicationDispense/FT_V1_MedicationDispense_ee46e774}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{FT_V2_MedicationDispense_71a9d48e => FT_V2_MedicationDispense_5b829135}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_14_63ade791 => medicationDispense/FT_V2_MedicationDispense_5b829135}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_15_b8505bd0 => medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{FT_V2_MedicationDispense_ce40a8d8 => FT_V2_MedicationDispense_ce40a8d8_5b829135}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_1_f40a23d0 => medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Arbeitsunfall_MedicationDispense_da9f6c16 => PZN_Arbeitsunfall_MedicationDispense_8c020e02}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_2_d5f08b4e => medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_30_1ab932b8 => medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Arbeitsunfall_MedicationDispense_f9152f90 => PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_31_e0cb3cbc => medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Impfstoff_V1_MedicationDispense_c07427b0 => PZN_Impfstoff_V1_MedicationDispense_5b2f09be}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_32_318de3dd => medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_33_34200096 => medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Impfstoff_V1_MedicationDispense_cf59e842 => PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_34_7fd5f6de => medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Impfstoff_V2_MedicationDispense_07de96d9 => PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_35_f54e7067 => medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Impfstoff_V2_MedicationDispense_d4094807 => PZN_Impfstoff_V2_MedicationDispense_504e3bb8}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_36_143798dc => medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_37_78ff5d32 => medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_KB_V1_MedicationDispense_3ffce413 => PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_38_fb26a25e => medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_39_23d155d0 => medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_KB_V1_MedicationDispense_d0c706f7 => PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_3_PKV_1f6ef093 => medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_KB_V2_MedicationDispense_c88dda5e => PZN_KB_V2_MedicationDispense_22871e5b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_40_ec1c5acd => medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_41_2a94fb4b => medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_KB_V2_MedicationDispense_e15e0e6e => PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_42_f5df70a6 => medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV1_MedicationDispense_ff62fffa => PZN_MV1_MedicationDispense_999bde79}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_43_22d245d1 => medicationDispense/PZN_MV1_MedicationDispense_999bde79}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV1_MedicationDispense_ac65a7dd => PZN_MV1_MedicationDispense_ac65a7dd_999bde79}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_45_bb4ce485 => medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_49_68570de1 => medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV2_MedicationDispense_13174b10 => PZN_MV2_MedicationDispense_13174b10_4eaadf76}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_4_ee308df9 => medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_54_dff1953b => medicationDispense/PZN_MV2_MedicationDispense_4eaadf76}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV2_MedicationDispense_8e9be6d3 => PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_55_10ddea96 => medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV3_MedicationDispense_1f2b9024 => PZN_MV3_MedicationDispense_1f2b9024_b60dfbab}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_56_bc08cd5c => medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV3_MedicationDispense_f8a54a6e => PZN_MV3_MedicationDispense_b60dfbab}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_57_855147c1 => medicationDispense/PZN_MV3_MedicationDispense_b60dfbab}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_60_bc27f419 => medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV4_MedicationDispense_b6caabd2 => PZN_MV4_MedicationDispense_6df0c60b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_6_5287e4ed => medicationDispense/PZN_MV4_MedicationDispense_6df0c60b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_7_c806b0e8 => medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV4_MedicationDispense_ca4f715f => PZN_MV4_MedicationDispense_ca4f715f_6df0c60b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_8_0097fa46 => medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Noctu_MedicationDispense_6be89a62 => PZN_Noctu_MedicationDispense_6be89a62_89a81399}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_9_45f28601 => medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Noctu_MedicationDispense_85f77ac6 => PZN_Noctu_MedicationDispense_85f77ac6_89a81399}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c => medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f => medicationDispense/PZN_Noctu_MedicationDispense_89a81399}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr1_MedicationDispense_33953e1e => PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af => medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr1_MedicationDispense_9b57e5f0 => PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c => medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8 => medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr2_MedicationDispense_18c8a02c => PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c => medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr2_MedicationDispense_e8ef58d9 => PZN_Nr2_MedicationDispense_dceee4a2}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a => medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1 => medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr3_MedicationDispense_010703d3 => PZN_Nr3_MedicationDispense_010703d3_c0e79dec}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d => medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr3_MedicationDispense_1c8e47c9 => PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448 => medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_MV1_VerordnungArzt_14b48655 => medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr4_MedicationDispense_23d1bb9f => PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_MV1_VerordnungArzt_ed826199 => medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr4_MedicationDispense_53bf9d9a => PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_MV2_VerordnungArzt_301a581a => medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_MV2_VerordnungArzt_720f0d95 => medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr5_MedicationDispense_2d57a72a => PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6 => medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr5_MedicationDispense_45961b32 => PZN_Nr5_MedicationDispense_45961b32_61cbdbb3}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_MV3_VerordnungArzt_57bd7756 => medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_MV4_VerordnungArzt_438bae6b => medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr6_MedicationDispense_96ee4a1e => PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_MV4_VerordnungArzt_94137fee => medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr6_MedicationDispense_bf7af439 => PZN_Nr6_MedicationDispense_bf7af439_f2a598ff}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e => medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Noctu_VerordnungArzt_6442b691 => medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr7_MedicationDispense_0c8edd57 => PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d => medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr7_MedicationDispense_2e46d353 => PZN_Nr7_MedicationDispense_2e46d353_e378bc5a}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr1_VerordnungArzt_9123419b => medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63 => medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr8_MedicationDispense_08300ec5 => PZN_Nr8_MedicationDispense_08300ec5_c9455210}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr2_VerordnungArzt_d639673c => medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr8_MedicationDispense_c882728b => PZN_Nr8_MedicationDispense_c882728b_c9455210}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e => medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612 => medicationDispense/PZN_Nr8_MedicationDispense_c9455210}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Unfall_MedicationDispense_1c30eb50 => PZN_Unfall_MedicationDispense_1c30eb50_37d8e326}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad => medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Unfall_MedicationDispense_c1fb48a7 => PZN_Unfall_MedicationDispense_37d8e326}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf => medicationDispense/PZN_Unfall_MedicationDispense_37d8e326}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db => medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_aut_idem_MedicationDispense_c63f83a3 => PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1 => medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr6_VerordnungArzt_1971398c => medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_aut_idem_MedicationDispense_fada6955 => PZN_aut_idem_MedicationDispense_fada6955_c85a4b74}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1 => medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{Rez_Nr1_MedicationDispense_d8994a8a => Rez_Nr1_MedicationDispense_a8df5484}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b => medicationDispense/Rez_Nr1_MedicationDispense_a8df5484}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9 => medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{Rez_Nr1_MedicationDispense_f4875d9c => Rez_Nr1_MedicationDispense_f4875d9c_a8df5484}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr8_VerordnungArzt_42486c99 => medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{Rez_parenterale_Zytostatika_MedicationDispense_6e50847e => Rez_parenterale_Zytostatika_MedicationDispense_2e184592}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e => medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3 => medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{Rez_parenterale_Zytostatika_MedicationDispense_a3d47106 => Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef => medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_BK_V1_MedicationDispense_9dd5e1aa => WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed => medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe => medicationDispense/WS_BK_V1_MedicationDispense_b1a77067}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_BK_V1_MedicationDispense_b9ca692c => WS_BK_V1_MedicationDispense_b9ca692c_b1a77067}/input.xml (100%) rename ePA-eML-Examples/{ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99 => ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_BK_V2_MedicationDispense_48c15070 => WS_BK_V2_MedicationDispense_48c15070_dec2d0aa}/input.xml (100%) rename ePA-eML-Examples/{ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350 => ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_BK_V2_MedicationDispense_c90cd97e => WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa}/input.xml (100%) rename ePA-eML-Examples/{ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b => ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/input.xml rename ePA-eML-Examples/{ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891 => ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_MV1_MedicationDispense_9ff7ec9a => WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6}/input.xml (100%) rename ePA-eML-Examples/{ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769 => ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_MV1_MedicationDispense_d697d945 => WS_MV1_MedicationDispense_ac31e7a6}/input.xml (100%) rename ePA-eML-Examples/{ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab => ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/input.xml rename ePA-eML-Examples/{ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b => ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_MV2_MedicationDispense_72e8c90f => WS_MV2_MedicationDispense_361ee9e0}/input.xml (100%) rename ePA-eML-Examples/{ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a => ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/input.xml rename ePA-eML-Examples/{ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003 => ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_MV2_MedicationDispense_80760961 => WS_MV2_MedicationDispense_80760961_361ee9e0}/input.xml (100%) rename ePA-eML-Examples/{ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f => ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_Unfall_MedicationDispense_01dee893 => WS_Unfall_MedicationDispense_01dee893_f23d8d7f}/input.xml (100%) rename ePA-eML-Examples/{ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af => ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_Unfall_MedicationDispense_dc4c994a => WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f}/input.xml (100%) rename ePA-eML-Examples/{ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef => ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/input.xml rename ePA-eML-Examples/{ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74 => ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V1_MedicationDispense_f928bb5f => WS_V1_MedicationDispense_5906fd7f}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V1_MedicationDispense_bead4326 => WS_V1_MedicationDispense_bead4326_5906fd7f}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V2_MedicationDispense_5008abb4 => WS_V2_MedicationDispense_5008abb4_95db25e9}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V2_MedicationDispense_d6799e8c => WS_V2_MedicationDispense_d6799e8c_95db25e9}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V3_MedicationDispense_2b8b7bec => WS_V3_MedicationDispense_2b8b7bec_c3437dfc}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V3_MedicationDispense_b3753083 => WS_V3_MedicationDispense_b3753083_c3437dfc}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V4_MedicationDispense_336380fd => WS_V4_MedicationDispense_336380fd_9d575775}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V4_MedicationDispense_749b8a4f => WS_V4_MedicationDispense_749b8a4f_9d575775}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/{Beispiel_22_ba4e7121 => Beispiel_22_4863d1fb}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/{FT_V1_VerordnungArzt_525fb142 => FT_V1_VerordnungArzt_4863d1fb}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/{FT_V1_VerordnungArzt_4986252f => FT_V1_VerordnungArzt_4986252f_4863d1fb}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/{FT_V2_VerordnungArzt_a0a0fa28 => FT_V1_VerordnungArzt_525fb142_4863d1fb}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/{FT_V2_VerordnungArzt_2f7fa888 => FT_V2_VerordnungArzt_2f7fa888_4863d1fb}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_16_6e2b78ab => Beispiel_16_6e2b78ab_ec6059d9}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_17_01142458 => Beispiel_17_01142458_9c85a2a5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_18_fe99181f => Beispiel_18_218b581d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_19_9eb9d0af => Beispiel_19_9eb9d0af_cf0d4980}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_21_1_c1bbfd8b => Beispiel_21_1_c1bbfd8b_cd6d3a17}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_21_2_67ebe8c1 => Beispiel_21_2_67ebe8c1_d9118e05}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_29_a90c2e57 => Beispiel_29_726e6cdd}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_58_97f6247a => Beispiel_58_9356774b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_BK_V1_VerordnungArzt_f0255f73 => WS_BK_V1_VerordnungArzt_218b581d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_BK_V1_VerordnungArzt_7dc8dca7 => WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_BK_V2_VerordnungArzt_b4263a0b => WS_BK_V1_VerordnungArzt_f0255f73_218b581d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_BK_V2_VerordnungArzt_19ee1a38 => WS_BK_V2_VerordnungArzt_19ee1a38_218b581d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_MV1_VerordnungArzt_6cd22004 => WS_MV1_VerordnungArzt_6cd22004_cd6d3a17}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_MV1_VerordnungArzt_855669ce => WS_MV1_VerordnungArzt_855669ce_cd6d3a17}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_MV2_VerordnungArzt_0e20c760 => WS_MV2_VerordnungArzt_0e20c760_d9118e05}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_MV2_VerordnungArzt_d1c94e5f => WS_MV2_VerordnungArzt_d1c94e5f_d9118e05}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_Unfall_VerordnungArzt_2d950b54 => WS_Unfall_VerordnungArzt_2d950b54_cf0d4980}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_Unfall_VerordnungArzt_c49e3851 => WS_Unfall_VerordnungArzt_c49e3851_cf0d4980}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V1_VerordnungArzt_86dcf637 => WS_V1_VerordnungArzt_86dcf637_9c85a2a5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V2_VerordnungArzt_1951fd21 => WS_V1_VerordnungArzt_9c85a2a5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V1_VerordnungArzt_e065344f => WS_V1_VerordnungArzt_e065344f_9c85a2a5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V3_VerordnungArzt_f7577903 => WS_V2_VerordnungArzt_1951fd21_9c85a2a5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V2_VerordnungArzt_68631a1b => WS_V2_VerordnungArzt_68631a1b_9c85a2a5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V4_VerordnungArzt_fa6f0220 => WS_V2_VerordnungArzt_9c85a2a5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V3_VerordnungArzt_a07c7844 => WS_V3_VerordnungArzt_a07c7844_9c85a2a5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V4_VerordnungArzt_ea19671f => WS_V4_VerordnungArzt_ea19671f_9c85a2a5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_78aebb81 => 002_document_to_sign_02ad9b11}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_02fcf3a5 => 002_document_to_sign_02fcf3a5_475e9667}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_76455c58 => 002_document_to_sign_05168195}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_0854ff7a => 002_document_to_sign_0854ff7a_fce076cc}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_09045269 => 002_document_to_sign_09045269_45a9ad90}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_11cffc5c => 002_document_to_sign_09e5d103}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_f4c61557 => 002_document_to_sign_0b82f30f}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_0d6a22d4 => 002_document_to_sign_0d6a22d4_bddb1f9e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_19a7bde6 => 002_document_to_sign_0d9bb3b8}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_d45686e2 => 002_document_to_sign_0fdadb04}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_94ddf2c1 => 002_document_to_sign_10feb16e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_968173c9 => 002_document_to_sign_12931066}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_13ef7eed => 002_document_to_sign_13ef7eed_df4a4b64}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_141bdd95 => 002_document_to_sign_141bdd95_617b672a}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_feff6e76 => 002_document_to_sign_14d9b2f3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_cec6c127 => 002_document_to_sign_16b1f573}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_16ca6d24 => 002_document_to_sign_16ca6d24_5d6fae1d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_670603fd => 002_document_to_sign_1906d211}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_1b51052c => 002_document_to_sign_1b51052c_fb9ea88e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_c2ad19ce => 002_document_to_sign_1be382e5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_1c646da7 => 002_document_to_sign_1c646da7_4149362e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_1ed8eaa8 => 002_document_to_sign_1ed8eaa8_37c652cb}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_a4f05dcd => 002_document_to_sign_230dc009}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_265b0953 => 002_document_to_sign_265b0953_4ff8a848}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_9102a310 => 002_document_to_sign_29aa5ba0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_2a985325 => 002_document_to_sign_2a985325_4c861d6d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_2aa2072e => 002_document_to_sign_2aa2072e_902668fe}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_2cbc202c => 002_document_to_sign_2b62d10b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_2d9e5916 => 002_document_to_sign_2d9e5916_f88786be}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_c60771b5 => 002_document_to_sign_2ddcab15}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_2e209d67 => 002_document_to_sign_2e209d67_4f51deff}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_b1146a3f => 002_document_to_sign_35469770}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_3bc18bf8 => 002_document_to_sign_3bc18bf8_a3c77b03}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_3f310f6f => 002_document_to_sign_3f310f6f_e17e8259}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_5da0791f => 002_document_to_sign_41ecb9a7}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_4ee123e6 => 002_document_to_sign_4ee123e6_9c9429a1}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_7b9e2504 => 002_document_to_sign_5093c3ab}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_550e0973 => 002_document_to_sign_550e0973_bbc51505}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_55258d43 => 002_document_to_sign_55258d43_5f3e877b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_5665652f => 002_document_to_sign_5665652f_90d5dd65}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_5ed8a5cd => 002_document_to_sign_5ed8a5cd_c88ccdf7}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_f8d80421 => 002_document_to_sign_62dd6004}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_6f96c033 => 002_document_to_sign_6f96c033_b4bf1696}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_8e4b0bfe => 002_document_to_sign_7c15a984}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_f276a8fc => 002_document_to_sign_7fe0b57d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_e55e8bba => 002_document_to_sign_80a43c33}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_83c10e2d => 002_document_to_sign_83c10e2d_dac55c3e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_840ab9b1 => 002_document_to_sign_840ab9b1_c79c0fe3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_862aa430 => 002_document_to_sign_862aa430_bf973351}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_89383746 => 002_document_to_sign_89383746_b0ce4ff1}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_cc2415eb => 002_document_to_sign_9645a6a3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_a0b1a2cd => 002_document_to_sign_a0b1a2cd_f9c4ff65}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_dd2d2c6b => 002_document_to_sign_a39897e0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_ce4b1eb6 => 002_document_to_sign_ab9f6a4e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_cae47569 => 002_document_to_sign_ad686294}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_ad7148f1 => 002_document_to_sign_ad7148f1_c7ac3a7c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_aedad2dd => 002_document_to_sign_aedad2dd_e6706910}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_e4726de8 => 002_document_to_sign_b0589d4c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_bcba7c06 => 002_document_to_sign_bcba7c06_f731f36c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_cb78899c => 002_document_to_sign_bfd34b90}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_c3479bd3 => 002_document_to_sign_c3479bd3_cb7063e3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/output.xml rename ePA-eML-Examples/{ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003 => ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_dbeccf45 => 002_document_to_sign_dbeccf45_e4a92e97}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_dd6f3569 => 002_document_to_sign_dd6f3569_df31f167}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_f25d9001 => 002_document_to_sign_df6aff69}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_004ef082 => 003_document_to_sign_004ef082_12875f19}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_1e697f5a => 003_document_to_sign_1e697f5a_c44d90eb}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_f3b90767 => 003_document_to_sign_25e815da}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_59da5b8a => 003_document_to_sign_3817df9f}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_39ea3447 => 003_document_to_sign_39ea3447_4d68c364}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_fd771be7 => 003_document_to_sign_3a052e22}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_a40b9e5a => 003_document_to_sign_3cb47bc5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_3fb29ad6 => 003_document_to_sign_3fb29ad6_6b244b96}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_53d1cfe9 => 003_document_to_sign_53d1cfe9_ee45abcb}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_5e9c3c5a => 003_document_to_sign_5e9c3c5a_9963336d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_6e19e753 => 003_document_to_sign_6e19e753_a49d100a}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_7e017904 => 003_document_to_sign_7e017904_90b31bf4}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_9965d2f7 => 003_document_to_sign_9965d2f7_a79dd76f}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{004_document_to_sign_0169e0e6 => 004_document_to_sign_0169e0e6_c80f28e3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{004_document_to_sign_fb58223d => 004_document_to_sign_93c38d8d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{005_document_to_sign_50200ff7 => 005_document_to_sign_04ef6989}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{005_document_to_sign_8e04dafe => 005_document_to_sign_207902f9}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{005_document_to_sign_2745328a => 005_document_to_sign_251cee33}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{005_document_to_sign_d9759800 => 005_document_to_sign_9e9b3d77}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{009_document_to_sign_4aec765d => 009_document_to_sign_4aec765d_7adc4492}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{009_document_to_sign_57eabb67 => 009_document_to_sign_57eabb67_d04a95ee}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{016_document_to_sign_355db86f => 016_document_to_sign_355db86f_71606533}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{023_document_to_sign_2d819774 => 023_document_to_sign_2d819774_7b2ca3fe}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_10_1_0904076e => Beispiel_10_1_0904076e_c44ddc5b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_10_2_d27c0e14 => Beispiel_10_2_7031f7f3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_10_3_552a0944 => Beispiel_10_3_552a0944_f70585e0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_10_4_2f23f99c => Beispiel_10_4_15da065c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_11_1a369537 => Beispiel_11_1a369537_690a7f01}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_12_2aa01d66 => Beispiel_12_14f3cff7}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_13_8d85e45c => Beispiel_13_8d85e45c_ee9d3b92}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_14_63ade791 => Beispiel_14_63ade791_753fff3b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_15_b8505bd0 => Beispiel_15_34abcf97}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_1_f40a23d0 => Beispiel_1_44420ed9}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.xml rename ePA-eML-Examples/{ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769 => ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_2_d5f08b4e => Beispiel_2_2b6860ab_6d5162b2}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/output.xml rename ePA-eML-Examples/{ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab => ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_30_1ab932b8 => Beispiel_30_1ab932b8_846d07e6}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_31_e0cb3cbc => Beispiel_31_7f12495e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_32_318de3dd => Beispiel_32_318de3dd_6f404894}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_33_34200096 => Beispiel_33_1f339db0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_34_7fd5f6de => Beispiel_34_7fd5f6de_d38c02fa}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_35_f54e7067 => Beispiel_35_b942313c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_36_143798dc => Beispiel_36_143798dc_c48d0fb5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_37_78ff5d32 => Beispiel_37_78ff5d32_7d1f08b4}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_38_fb26a25e => Beispiel_38_60e48db8}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_39_23d155d0 => Beispiel_39_23d155d0_acf39375}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_3_PKV_1f6ef093 => Beispiel_3_PKV_1f6ef093_328ad940}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/output.xml rename ePA-eML-Examples/{ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b => ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_40_ec1c5acd => Beispiel_40_50926152}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_41_2a94fb4b => Beispiel_41_2a94fb4b_e9de4852}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_42_f5df70a6 => Beispiel_42_f5df70a6_fe9200db}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_43_22d245d1 => Beispiel_43_22d245d1_91c262e7}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_45_bb4ce485 => Beispiel_45_5702a4b8}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_49_68570de1 => Beispiel_49_68570de1_baac1cdd}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_4_ee308df9 => Beispiel_4_5f66314e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.xml rename ePA-eML-Examples/{ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a => ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_54_dff1953b => Beispiel_54_d390d0d3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_55_10ddea96 => Beispiel_55_10ddea96_a6949071}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_56_bc08cd5c => Beispiel_56_414ca393}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_57_855147c1 => Beispiel_57_3a1c45f8}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_60_bc27f419 => Beispiel_60_2f97abb5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_6_5287e4ed => Beispiel_6_5287e4ed_9ad99a8f}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_7_c806b0e8 => Beispiel_7_aea2f4c5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_8_0097fa46 => Beispiel_8_0097fa46_0428d416}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_9_45f28601 => Beispiel_9_45f28601_914b7619}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Arbeitsunfall_VerordnungArzt_9d0a648c => PZN_Arbeitsunfall_VerordnungArzt_5f66314e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f => PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Impfstoff_V1_VerordnungArzt_73dde0af => PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c => PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Impfstoff_V2_VerordnungArzt_56af13b8 => PZN_Impfstoff_V1_VerordnungArzt_914b7619}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c => PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_KB_V1_VerordnungArzt_11769c6a => PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_KB_V1_VerordnungArzt_7479a5b1 => PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_KB_V2_VerordnungArzt_dc3ee448 => PZN_KB_V1_VerordnungArzt_753fff3b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_KB_V2_VerordnungArzt_4132b49d => PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV1_VerordnungArzt_14b48655 => PZN_MV1_VerordnungArzt_14b48655_c44ddc5b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV1_VerordnungArzt_ed826199 => PZN_MV1_VerordnungArzt_c44ddc5b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV2_VerordnungArzt_301a581a => PZN_MV2_VerordnungArzt_301a581a_7031f7f3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV2_VerordnungArzt_720f0d95 => PZN_MV2_VerordnungArzt_720f0d95_7031f7f3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV3_VerordnungArzt_4474f7d6 => PZN_MV3_VerordnungArzt_4474f7d6_f70585e0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV3_VerordnungArzt_57bd7756 => PZN_MV3_VerordnungArzt_57bd7756_f70585e0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV4_VerordnungArzt_438bae6b => PZN_MV4_VerordnungArzt_15da065c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV4_VerordnungArzt_94137fee => PZN_MV4_VerordnungArzt_94137fee_15da065c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Noctu_VerordnungArzt_16489c9e => PZN_Noctu_VerordnungArzt_16489c9e_690a7f01}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Noctu_VerordnungArzt_6442b691 => PZN_Noctu_VerordnungArzt_6442b691_690a7f01}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr1_VerordnungArzt_08de8f6d => PZN_Nr1_VerordnungArzt_08de8f6d_281a985c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr1_VerordnungArzt_9123419b => PZN_Nr1_VerordnungArzt_9123419b_281a985c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr2_VerordnungArzt_d639673c => PZN_Nr2_VerordnungArzt_aea2f4c5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr2_VerordnungArzt_bcffbf63 => PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr3_VerordnungArzt_9ac0942e => PZN_Nr3_VerordnungArzt_44420ed9}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr3_VerordnungArzt_b2afa612 => PZN_Nr3_VerordnungArzt_b2afa612_44420ed9}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr4_VerordnungArzt_d3c47fcf => PZN_Nr4_VerordnungArzt_0428d416}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr4_VerordnungArzt_c2530fad => PZN_Nr4_VerordnungArzt_c2530fad_0428d416}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr5_VerordnungArzt_1dac39db => PZN_Nr5_VerordnungArzt_1dac39db_34abcf97}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr5_VerordnungArzt_d94a9be1 => PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr6_VerordnungArzt_548c78d1 => PZN_Nr6_VerordnungArzt_14f3cff7}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr6_VerordnungArzt_1971398c => PZN_Nr6_VerordnungArzt_1971398c_14f3cff7}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr7_VerordnungArzt_50c3377b => PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr7_VerordnungArzt_d70e53f9 => PZN_Nr7_VerordnungArzt_9ad99a8f}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr8_VerordnungArzt_42486c99 => PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr8_VerordnungArzt_b6596f2e => PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Unfall_VerordnungArzt_e9c5bdef => PZN_Unfall_VerordnungArzt_5a3458b0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Unfall_VerordnungArzt_993f87d3 => PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_aut_idem_VerordnungArzt_6c2315ed => PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_aut_idem_VerordnungArzt_c3a1abbe => PZN_aut_idem_VerordnungArzt_6d5162b2}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.xml rename ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/{5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99 => 5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/output.xml rename ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/{76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350 => 76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/output.xml rename ePA-eML-Examples/ExampleTestData/valid/medicationDispense/{26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5 => 26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/log.txt delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/output.xml rename ePA-eML-Examples/ExampleTestData/valid/medicationDispense/{Example-MedicationDispense_1_4_95ab7ff7 => Example-MedicationDispense_1_4_3465270a}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/log.txt delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/log.txt delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/output.xml create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/input.xml create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/output.xml rename ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/{0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b => 0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/output.xml rename ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/{86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891 => 86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.xml create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/input.xml create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/output.xml create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/input.xml create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.xml create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/input.xml create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/output.xml create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/input.xml create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/output.xml create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/input.xml create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/output.xml rename ePA-eML-Examples/ExampleTestData/valid/medicationPzn/{fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f => fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/log.txt delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/output.xml rename ePA-eML-Examples/ExampleTestData/valid/organization/{cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db => cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/log.txt delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/output.xml rename ePA-eML-Examples/ExampleTestData/valid/organization/{cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973 => cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/output.xml rename ePA-eML-Examples/ExampleTestData/valid/organization/{cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383 => cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/log.txt delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/log.txt delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/output.xml rename ePA-eML-Examples/ExampleTestData/valid/organization/{cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9 => cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/output.xml rename ePA-eML-Examples/ExampleTestData/valid/practitioner/{4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af => 4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/output.xml rename ePA-eML-Examples/ExampleTestData/valid/practitioner/{4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef => 4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.xml rename ePA-eML-Examples/ExampleTestData/valid/unknown/{c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74 => c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/log.txt create mode 100644 ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.json create mode 100644 ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.xml delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/output.json delete mode 100644 ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/output.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/transformation_protocol.txt b/ePA-eML-Examples/ExampleRepoTestData/transformation_protocol.txt index 63bf9860..391f126f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/transformation_protocol.txt +++ b/ePA-eML-Examples/ExampleRepoTestData/transformation_protocol.txt @@ -1,682 +1,1376 @@ +Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/input.xml + transform to valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/input.xml + transform to valid/medicationPzn/Beispiel_3_fc33c82b_328ad940 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/input.xml + transform to valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/input.xml + transform to valid/medicationPzn/Beispiel_1_f12fa769_44420ed9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/input.xml + transform to valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/input.xml + transform to valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/input.xml + transform to valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/input.xml + transform to valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/input.xml + transform to valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/input.xml + transform to valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/input.xml + transform to valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/input.xml + transform to valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/input.xml + transform to valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/input.xml + transform to valid/medicationPzn/003_document_to_sign_004ef082_12875f19 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/input.xml + transform to valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/input.xml + transform to valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/input.xml + transform to valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/input.xml + transform to valid/medicationPzn/002_document_to_sign_b1146a3f_35469770 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/input.xml + transform to valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/input.xml + transform to valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/input.xml + transform to valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/input.xml + transform to valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/input.xml + transform to valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/input.xml + transform to valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/input.xml + transform to valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/input.xml + transform to valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/input.xml + transform to valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/input.xml + transform to valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/input.xml + transform to valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/input.xml + transform to valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/input.xml + transform to valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/input.xml + transform to valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/input.xml + transform to valid/medicationPzn/002_document_to_sign_141bdd95_617b672a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/input.xml + transform to valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/input.xml + transform to valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/input.xml + transform to valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/input.xml + transform to valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/input.xml + transform to valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/input.xml + transform to valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/input.xml + transform to valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/input.xml + transform to valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/input.xml + transform to valid/medicationPzn/Beispiel_11_1a369537_690a7f01 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/input.xml + transform to valid/medicationPzn/Beispiel_43_22d245d1_91c262e7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/input.xml + transform to valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/input.xml + transform to valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/input.xml + transform to valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/input.xml + transform to valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/input.xml + transform to valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/input.xml + transform to valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/input.xml + transform to valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/input.xml + transform to valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/input.xml + transform to valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/input.xml + transform to valid/medicationPzn/Beispiel_33_34200096_1f339db0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/input.xml + transform to valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/input.xml + transform to valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/input.xml + transform to valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/input.xml + transform to valid/medicationPzn/Beispiel_32_318de3dd_6f404894 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/input.xml + transform to valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/input.xml + transform to valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/input.xml + transform to valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/input.xml + transform to valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/input.xml + transform to valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/input.xml + transform to valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/input.xml + transform to valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/input.xml + transform to valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/input.xml + transform to valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/input.xml + transform to valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/input.xml + transform to valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/input.xml + transform to valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/input.xml + transform to valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/input.xml + transform to valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/input.xml + transform to valid/medicationPzn/Beispiel_8_0097fa46_0428d416 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/input.xml + transform to valid/medicationPzn/002_document_to_sign_670603fd_1906d211 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/input.xml + transform to valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/input.xml + transform to valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/input.xml + transform to valid/medicationPzn/Beispiel_14_63ade791_753fff3b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/input.xml + transform to valid/medicationPzn/Beispiel_55_10ddea96_a6949071 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/input.xml + transform to valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/input.xml + transform to valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/input.xml + transform to valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/input.xml + transform to valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/input.xml + transform to valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/input.xml + transform to valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/input.xml + transform to valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/input.xml + transform to valid/medicationPzn/Beispiel_40_ec1c5acd_50926152 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/input.xml + transform to valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/input.xml + transform to valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/input.xml + transform to valid/medicationPzn/002_document_to_sign_09045269_45a9ad90 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/input.xml + transform to valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/input.xml + transform to valid/medicationPzn/Beispiel_9_45f28601_914b7619 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/input.xml + transform to valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/input.xml + transform to valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/input.xml + transform to valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/input.xml + transform to valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/input.xml + transform to valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/input.xml + transform to valid/medicationPzn/Beispiel_35_f54e7067_b942313c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/input.xml + transform to valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/input.xml + transform to valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/input.xml + transform to valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/input.xml + transform to valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/input.xml + transform to valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/input.xml + transform to valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/input.xml + transform to valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/input.xml + transform to valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/input.xml + transform to valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/input.xml + transform to valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/input.xml + transform to valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/input.xml + transform to valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/input.xml + transform to valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/input.xml + transform to valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/input.xml + transform to valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/input.xml + transform to valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/input.xml + transform to valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/input.xml + transform to valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/input.xml + transform to valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/input.xml + transform to valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/input.xml + transform to valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/input.xml + transform to valid/medicationPzn/016_document_to_sign_355db86f_71606533 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/input.xml + transform to valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/input.xml + transform to valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/input.xml + transform to valid/medicationPzn/Beispiel_39_23d155d0_acf39375 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/input.xml + transform to valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/input.xml + transform to valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/input.xml + transform to valid/medicationPzn/002_document_to_sign_968173c9_12931066 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/input.xml + transform to valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/input.xml + transform to valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/input.xml + transform to valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/input.xml + transform to valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/input.xml + transform to valid/medicationPzn/005_document_to_sign_2745328a_251cee33 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/input.xml + transform to valid/medicationPzn/002_document_to_sign_76455c58_05168195 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/input.xml + transform to valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/input.xml + transform to valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/input.xml + transform to valid/medicationPzn/Beispiel_4_ee308df9_5f66314e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/input.xml + transform to valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/input.xml + transform to valid/medicationPzn/002_document_to_sign_cae47569_ad686294 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/input.xml + transform to valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/input.xml + transform to valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/input.xml + transform to valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/input.xml + transform to valid/medicationPzn/002_document_to_sign_862aa430_bf973351 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/input.xml + transform to valid/medicationPzn/Beispiel_49_68570de1_baac1cdd +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/input.xml + transform to valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/input.xml + transform to valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/input.xml + transform to valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/input.xml + transform to valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/input.xml + transform to valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/input.xml + transform to valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/input.xml + transform to valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/input.xml + transform to valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/input.xml + transform to valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/input.xml + transform to valid/medicationPzn/002_document_to_sign_550e0973_bbc51505 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/input.xml + transform to valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/input.xml + transform to valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/input.xml + transform to valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/input.xml + transform to valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/input.xml + transform to valid/medicationPzn/003_document_to_sign_f3b90767_25e815da +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/input.xml + transform to valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/input.xml + transform to valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/input.xml + transform to valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/input.xml + transform to valid/medicationPzn/002_document_to_sign_1c646da7_4149362e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/input.xml + transform to valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/input.xml + transform to valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/input.xml + transform to valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/input.xml + transform to valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/input.xml + transform to valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/input.xml + transform to valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/input.xml + transform to valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/input.xml + transform to valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/input.xml + transform to valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/input.xml + transform to valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/input.xml + transform to valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/input.xml + transform to valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/input.xml + transform to valid/medicationCompounding/Beispiel_51_63c98839_deda8f97 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/input.xml + transform to valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/input.xml + transform to valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/input.xml + transform to valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/input.xml + transform to valid/medicationCompounding/Beispiel_53_f5386f17_465f1638 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/input.xml + transform to valid/medicationCompounding/Beispiel_25_cd31610e_dae573db +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/input.xml + transform to valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/input.xml + transform to valid/medicationCompounding/Beispiel_24_77b6e755_a409358a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/input.xml + transform to valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/input.xml + transform to valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/input.xml + transform to valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/input.xml + transform to valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/input.xml + transform to valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/input.xml + transform to valid/medicationIngredient/Beispiel_58_97f6247a_9356774b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/input.xml + transform to valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/input.xml + transform to valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/input.xml + transform to valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/input.xml + transform to valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/input.xml + transform to valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/input.xml + transform to valid/medicationIngredient/Beispiel_18_fe99181f_218b581d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/input.xml + transform to valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/input.xml + transform to valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/input.xml + transform to valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/input.xml + transform to valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/input.xml + transform to valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/input.xml + transform to valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/input.xml + transform to valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/input.xml + transform to valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/input.xml + transform to valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/input.xml + transform to valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/input.xml + transform to valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/input.xml + transform to valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/input.xml + transform to valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/input.xml + transform to valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/input.xml + transform to valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/input.xml + transform to valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/input.xml + transform to valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/input.xml + transform to valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/input.xml + transform to valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/input.xml + transform to valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/input.xml + transform to valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb 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 + transform to valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2 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 + transform to valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e 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 + transform to valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5 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 + transform to valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5 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 + transform to valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5 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 + transform to valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5 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 + transform to valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db 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 + transform to valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b 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 + transform to valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0 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 + transform to valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c 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 + transform to valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3 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 + transform to valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d 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 + transform to valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d 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 + transform to valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5 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 + transform to valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416 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 + transform to valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f 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 + transform to valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92 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 + transform to valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7 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 + transform to valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97 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 + transform to valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9 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 + transform to valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c 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 + transform to valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17 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 + transform to valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05 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 + transform to valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb 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 + transform to valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb 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 + transform to valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65 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 + transform to valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0 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 + transform to valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b 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 + transform to valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b 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 + transform to valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980 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 + transform to valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619 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 + transform to valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619 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 + transform to valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01 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 + transform to valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2 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 + transform to valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e 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 + transform to valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5 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 + transform to valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5 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 + transform to valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5 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 + transform to valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5 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 + transform to valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db 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 + transform to valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b 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 + transform to valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0 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 + transform to valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c 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 + transform to valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3 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 + transform to valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d 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 + transform to valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d 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 + transform to valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5 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 + transform to valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416 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 + transform to valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f 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 + transform to valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92 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 + transform to valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7 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 + transform to valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97 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 + transform to valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9 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 + transform to valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c 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 + transform to valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17 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 + transform to valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05 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 + transform to valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb 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 + transform to valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb 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 + transform to valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65 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 + transform to valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0 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 + transform to valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b 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 + transform to valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b 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 + transform to valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980 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 + transform to valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619 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 + transform to valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619 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 + transform to valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_31.xml - transform to valid/medicationPzn/Beispiel_31_e0cb3cbc + transform to valid/medicationPzn/Beispiel_31_7f12495e Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_39.xml - transform to valid/medicationPzn/Beispiel_39_23d155d0 + transform to valid/medicationPzn/Beispiel_39_acf39375 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_16.xml - transform to valid/medicationIngredient/Beispiel_16_6e2b78ab + transform to valid/medicationIngredient/Beispiel_16_ec6059d9 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_23.xml - transform to valid/medicationCompounding/Beispiel_23_d0ca163a + transform to valid/medicationCompounding/Beispiel_23_9581ce65 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_9.xml - transform to valid/medicationPzn/Beispiel_9_45f28601 + transform to valid/medicationPzn/Beispiel_9_914b7619 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_10_3.xml - transform to valid/medicationPzn/Beispiel_10_3_552a0944 + transform to valid/medicationPzn/Beispiel_10_3_f70585e0 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_32.xml - transform to valid/medicationPzn/Beispiel_32_318de3dd + transform to valid/medicationPzn/Beispiel_32_6f404894 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_14.xml - transform to valid/medicationPzn/Beispiel_14_63ade791 + transform to valid/medicationPzn/Beispiel_14_753fff3b Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_58.xml - transform to valid/medicationIngredient/Beispiel_58_97f6247a + transform to valid/medicationIngredient/Beispiel_58_9356774b Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_45.xml - transform to valid/medicationPzn/Beispiel_45_bb4ce485 + transform to valid/medicationPzn/Beispiel_45_5702a4b8 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_50.xml - transform to valid/medicationCompounding/Beispiel_50_c0cfd125 + transform to valid/medicationCompounding/Beispiel_50_ddc83056 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_8.xml - transform to valid/medicationPzn/Beispiel_8_0097fa46 + transform to valid/medicationPzn/Beispiel_8_0428d416 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_7.xml - transform to valid/medicationPzn/Beispiel_7_c806b0e8 + transform to valid/medicationPzn/Beispiel_7_aea2f4c5 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_15.xml - transform to valid/medicationPzn/Beispiel_15_b8505bd0 + transform to valid/medicationPzn/Beispiel_15_34abcf97 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_36.xml - transform to valid/medicationPzn/Beispiel_36_143798dc + transform to valid/medicationPzn/Beispiel_36_c48d0fb5 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_21_2.xml - transform to valid/medicationIngredient/Beispiel_21_2_67ebe8c1 + transform to valid/medicationIngredient/Beispiel_21_2_d9118e05 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_37.xml - transform to valid/medicationPzn/Beispiel_37_78ff5d32 + transform to valid/medicationPzn/Beispiel_37_7d1f08b4 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_22.xml - transform to valid/medicationFreeText/Beispiel_22_ba4e7121 + transform to valid/medicationFreeText/Beispiel_22_4863d1fb Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_35.xml - transform to valid/medicationPzn/Beispiel_35_f54e7067 + transform to valid/medicationPzn/Beispiel_35_b942313c Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_10_2.xml - transform to valid/medicationPzn/Beispiel_10_2_d27c0e14 + transform to valid/medicationPzn/Beispiel_10_2_7031f7f3 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_10_1.xml - transform to valid/medicationPzn/Beispiel_10_1_0904076e + transform to valid/medicationPzn/Beispiel_10_1_c44ddc5b Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_2.xml - transform to valid/medicationPzn/Beispiel_2_d5f08b4e + transform to valid/medicationPzn/Beispiel_2_6d5162b2 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_24.xml - transform to valid/medicationCompounding/Beispiel_24_77b6e755 + transform to valid/medicationCompounding/Beispiel_24_a409358a Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_34.xml - transform to valid/medicationPzn/Beispiel_34_7fd5f6de + transform to valid/medicationPzn/Beispiel_34_d38c02fa Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_51.xml - transform to valid/medicationCompounding/Beispiel_51_63c98839 + transform to valid/medicationCompounding/Beispiel_51_deda8f97 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_13.xml - transform to valid/medicationPzn/Beispiel_13_8d85e45c + transform to valid/medicationPzn/Beispiel_13_ee9d3b92 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_21_1.xml - transform to valid/medicationIngredient/Beispiel_21_1_c1bbfd8b + transform to valid/medicationIngredient/Beispiel_21_1_cd6d3a17 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_57.xml - transform to valid/medicationPzn/Beispiel_57_855147c1 + transform to valid/medicationPzn/Beispiel_57_3a1c45f8 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_40.xml - transform to valid/medicationPzn/Beispiel_40_ec1c5acd + transform to valid/medicationPzn/Beispiel_40_50926152 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_33.xml - transform to valid/medicationPzn/Beispiel_33_34200096 + transform to valid/medicationPzn/Beispiel_33_1f339db0 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_56.xml - transform to valid/medicationPzn/Beispiel_56_bc08cd5c + transform to valid/medicationPzn/Beispiel_56_414ca393 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_52.xml - transform to valid/medicationCompounding/Beispiel_52_2980d248 + transform to valid/medicationCompounding/Beispiel_52_6f193f8b Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_54.xml - transform to valid/medicationPzn/Beispiel_54_dff1953b + transform to valid/medicationPzn/Beispiel_54_d390d0d3 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_55.xml - transform to valid/medicationPzn/Beispiel_55_10ddea96 + transform to valid/medicationPzn/Beispiel_55_a6949071 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_41.xml - transform to valid/medicationPzn/Beispiel_41_2a94fb4b + transform to valid/medicationPzn/Beispiel_41_e9de4852 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_17.xml - transform to valid/medicationIngredient/Beispiel_17_01142458 + transform to valid/medicationIngredient/Beispiel_17_9c85a2a5 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_60.xml - transform to valid/medicationPzn/Beispiel_60_bc27f419 + transform to valid/medicationPzn/Beispiel_60_2f97abb5 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_12.xml - transform to valid/medicationPzn/Beispiel_12_2aa01d66 + transform to valid/medicationPzn/Beispiel_12_14f3cff7 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_3_PKV.xml - transform to valid/medicationPzn/Beispiel_3_PKV_1f6ef093 + transform to valid/medicationPzn/Beispiel_3_PKV_328ad940 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_18.xml - transform to valid/medicationIngredient/Beispiel_18_fe99181f + transform to valid/medicationIngredient/Beispiel_18_218b581d Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_29.xml - transform to valid/medicationIngredient/Beispiel_29_a90c2e57 + transform to valid/medicationIngredient/Beispiel_29_726e6cdd Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_42.xml - transform to valid/medicationPzn/Beispiel_42_f5df70a6 + transform to valid/medicationPzn/Beispiel_42_fe9200db Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_25.xml - transform to valid/medicationCompounding/Beispiel_25_cd31610e + transform to valid/medicationCompounding/Beispiel_25_dae573db Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_6.xml - transform to valid/medicationPzn/Beispiel_6_5287e4ed + transform to valid/medicationPzn/Beispiel_6_9ad99a8f Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_53.xml - transform to valid/medicationCompounding/Beispiel_53_f5386f17 + transform to valid/medicationCompounding/Beispiel_53_465f1638 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_4.xml - transform to valid/medicationPzn/Beispiel_4_ee308df9 + transform to valid/medicationPzn/Beispiel_4_5f66314e Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_19.xml - transform to valid/medicationIngredient/Beispiel_19_9eb9d0af + transform to valid/medicationIngredient/Beispiel_19_cf0d4980 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_10_4.xml - transform to valid/medicationPzn/Beispiel_10_4_2f23f99c + transform to valid/medicationPzn/Beispiel_10_4_15da065c Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_11.xml - transform to valid/medicationPzn/Beispiel_11_1a369537 + transform to valid/medicationPzn/Beispiel_11_690a7f01 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_43.xml - transform to valid/medicationPzn/Beispiel_43_22d245d1 + transform to valid/medicationPzn/Beispiel_43_91c262e7 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_38.xml - transform to valid/medicationPzn/Beispiel_38_fb26a25e + transform to valid/medicationPzn/Beispiel_38_60e48db8 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_49.xml - transform to valid/medicationPzn/Beispiel_49_68570de1 + transform to valid/medicationPzn/Beispiel_49_baac1cdd Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_1.xml - transform to valid/medicationPzn/Beispiel_1_f40a23d0 + transform to valid/medicationPzn/Beispiel_1_44420ed9 Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_30.xml - transform to valid/medicationPzn/Beispiel_30_1ab932b8 + transform to valid/medicationPzn/Beispiel_30_846d07e6 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 + transform to valid/medicationPzn/002_document_to_sign_29aa5ba0 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 + transform to valid/medicationPzn/002_document_to_sign_b0ce4ff1 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 + transform to valid/medicationPzn/002_document_to_sign_80a43c33 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 + transform to valid/medicationPzn/002_document_to_sign_12931066 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 + transform to valid/medicationPzn/002_document_to_sign_e17e8259 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 + transform to valid/medicationPzn/002_document_to_sign_1906d211 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 + transform to valid/medicationPzn/003_document_to_sign_ee45abcb 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 + transform to valid/medicationPzn/003_document_to_sign_a49d100a 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 + transform to valid/medicationPzn/002_document_to_sign_0b82f30f 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 + transform to valid/medicationPzn/003_document_to_sign_25e815da 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 + transform to valid/medicationPzn/005_document_to_sign_207902f9 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 + transform to valid/medicationPzn/002_document_to_sign_09e5d103 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 + transform to valid/medicationPzn/002_document_to_sign_a3c77b03 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 + transform to valid/medicationPzn/002_document_to_sign_2b62d10b 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 + transform to valid/medicationPzn/002_document_to_sign_45a9ad90 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 + transform to valid/medicationPzn/002_document_to_sign_cb7063e3 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 + transform to valid/medicationPzn/002_document_to_sign_a39897e0 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 + transform to valid/medicationPzn/002_document_to_sign_5d6fae1d 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 + transform to valid/medicationPzn/002_document_to_sign_7fe0b57d 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 + transform to valid/medicationPzn/002_document_to_sign_0fdadb04 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 + transform to valid/medicationPzn/002_document_to_sign_f88786be 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 + transform to valid/medicationPzn/002_document_to_sign_14d9b2f3 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 + transform to valid/medicationPzn/002_document_to_sign_ab9f6a4e 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 + transform to valid/medicationPzn/005_document_to_sign_04ef6989 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 + transform to valid/medicationPzn/002_document_to_sign_617b672a 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 + transform to valid/medicationPzn/002_document_to_sign_5093c3ab 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 + transform to valid/medicationPzn/002_document_to_sign_4c861d6d 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 + transform to valid/medicationPzn/005_document_to_sign_251cee33 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 + transform to valid/medicationPzn/002_document_to_sign_c7ac3a7c 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 + transform to valid/medicationPzn/009_document_to_sign_d04a95ee 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 + transform to valid/medicationPzn/002_document_to_sign_b4bf1696 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 + transform to valid/medicationPzn/002_document_to_sign_f731f36c 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 + transform to valid/medicationPzn/002_document_to_sign_35469770 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 + transform to valid/medicationPzn/002_document_to_sign_4f51deff 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 + transform to valid/medicationPzn/002_document_to_sign_1be382e5 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 + transform to valid/medicationPzn/002_document_to_sign_bf973351 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 + transform to valid/medicationPzn/002_document_to_sign_230dc009 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 + transform to valid/medicationPzn/002_document_to_sign_16b1f573 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 + transform to valid/medicationPzn/002_document_to_sign_05168195 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 + transform to valid/medicationPzn/002_document_to_sign_c88ccdf7 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 + transform to valid/medicationPzn/002_document_to_sign_2ddcab15 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 + transform to valid/medicationPzn/002_document_to_sign_bddb1f9e 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 + transform to valid/medicationPzn/023_document_to_sign_7b2ca3fe 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 + transform to valid/medicationPzn/009_document_to_sign_7adc4492 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 + transform to valid/medicationPzn/016_document_to_sign_71606533 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 + transform to valid/medicationPzn/002_document_to_sign_475e9667 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 + transform to valid/medicationPzn/002_document_to_sign_df6aff69 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 + transform to valid/medicationPzn/002_document_to_sign_b0589d4c 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 + transform to valid/medicationPzn/003_document_to_sign_c44d90eb 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 + transform to valid/medicationPzn/004_document_to_sign_c80f28e3 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 + transform to valid/medicationPzn/002_document_to_sign_c79c0fe3 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 + transform to valid/medicationPzn/002_document_to_sign_ad686294 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 + transform to valid/medicationPzn/002_document_to_sign_9c9429a1 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 + transform to valid/medicationPzn/002_document_to_sign_e6706910 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 + transform to valid/medicationPzn/003_document_to_sign_3817df9f 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 + transform to valid/medicationPzn/002_document_to_sign_902668fe 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 + transform to valid/medicationPzn/002_document_to_sign_df4a4b64 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 + transform to valid/medicationPzn/002_document_to_sign_02ad9b11 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 + transform to valid/medicationPzn/003_document_to_sign_9963336d 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 + transform to valid/medicationPzn/002_document_to_sign_0d9bb3b8 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 + transform to valid/medicationPzn/002_document_to_sign_90d5dd65 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 + transform to valid/medicationPzn/003_document_to_sign_4d68c364 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 + transform to valid/medicationPzn/002_document_to_sign_7c15a984 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 + transform to valid/medicationPzn/003_document_to_sign_12875f19 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 + transform to valid/medicationPzn/002_document_to_sign_df31f167 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 + transform to valid/medicationPzn/002_document_to_sign_e4a92e97 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 + transform to valid/medicationPzn/002_document_to_sign_bfd34b90 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 + transform to valid/medicationPzn/002_document_to_sign_fb9ea88e 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 + transform to valid/medicationPzn/003_document_to_sign_a79dd76f 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 + transform to valid/medicationPzn/003_document_to_sign_90b31bf4 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 + transform to valid/medicationPzn/002_document_to_sign_9645a6a3 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 + transform to valid/medicationPzn/002_document_to_sign_37c652cb 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 + transform to valid/medicationPzn/002_document_to_sign_4149362e 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 + transform to valid/medicationPzn/005_document_to_sign_9e9b3d77 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 + transform to valid/medicationPzn/002_document_to_sign_f9c4ff65 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 + transform to valid/medicationPzn/003_document_to_sign_3cb47bc5 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 + transform to valid/medicationPzn/002_document_to_sign_bbc51505 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 + transform to valid/medicationPzn/002_document_to_sign_10feb16e 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 + transform to valid/medicationPzn/003_document_to_sign_3a052e22 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 + transform to valid/medicationPzn/004_document_to_sign_93c38d8d 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 + transform to valid/medicationPzn/002_document_to_sign_dac55c3e 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 + transform to valid/medicationPzn/002_document_to_sign_4ff8a848 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 + transform to valid/medicationPzn/002_document_to_sign_fce076cc 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 + transform to valid/medicationPzn/003_document_to_sign_6b244b96 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 + transform to valid/medicationPzn/002_document_to_sign_41ecb9a7 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 + transform to valid/medicationPzn/002_document_to_sign_5f3e877b 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 + transform to valid/medicationPzn/002_document_to_sign_62dd6004 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/input.xml + transform to valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/input.xml + transform to valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/input.xml + transform to valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/input.xml + transform to valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/input.xml + transform to valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/input.xml + transform to valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/input.xml + transform to valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/input.xml + transform to valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/input.xml + transform to valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/input.xml + transform to valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/input.xml + transform to valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/input.xml + transform to valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/input.xml + transform to valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/input.xml + transform to valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/input.xml + transform to valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/input.xml + transform to valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/input.xml + transform to valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/input.xml + transform to valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/input.xml + transform to valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/input.xml + transform to valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/input.xml + transform to valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/input.xml + transform to valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/input.xml + transform to valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/input.xml + transform to valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/input.xml + transform to valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/input.xml + transform to valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/input.xml + transform to valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/input.xml + transform to valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/input.xml + transform to valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/input.xml + transform to valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/input.xml + transform to valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/input.xml + transform to valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/input.xml + transform to valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/input.xml + transform to valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/input.xml + transform to valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/input.xml + transform to valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/input.xml + transform to valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/input.xml + transform to valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/input.xml + transform to valid/medicationDispense/06_request_taskClose_c8335ed8_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/input.xml + transform to valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/input.xml + transform to valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/input.xml + transform to valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/input.xml + transform to valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/input.xml + transform to valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/input.xml + transform to valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/input.xml + transform to valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/input.xml + transform to valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/input.xml + transform to valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/input.xml + transform to valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/input.xml + transform to valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/input.xml + transform to valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/input.xml + transform to valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/input.xml + transform to valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/input.xml + transform to valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/input.xml + transform to valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/input.xml + transform to valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/input.xml + transform to valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/input.xml + transform to valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/input.xml + transform to valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/input.xml + transform to valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/input.xml + transform to valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/input.xml + transform to valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/input.xml + transform to valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/input.xml + transform to valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/input.xml + transform to valid/medicationDispense/06_request_taskClose_8d0f44ed_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/input.xml + transform to valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/input.xml + transform to valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/input.xml + transform to valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/input.xml + transform to valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/input.xml + transform to valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/input.xml + transform to valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/input.xml + transform to valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/input.xml + transform to valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/input.xml + transform to valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/input.xml + transform to valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/input.xml + transform to valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/input.xml + transform to valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/input.xml + transform to valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/input.xml + transform to valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/input.xml + transform to valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/input.xml + transform to valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/input.xml + transform to valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/input.xml + transform to valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/input.xml + transform to valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/input.xml + transform to valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/input.xml + transform to valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/input.xml + transform to valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/input.xml + transform to valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/input.xml + transform to valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/input.xml + transform to valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/input.xml + transform to valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/input.xml + transform to valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/input.xml + transform to valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/input.xml + transform to valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/input.xml + transform to valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea 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 + transform to valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74 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 + transform to valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02 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 + transform to valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc 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 + transform to valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f 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 + transform to valid/medicationDispense/WS_V2_MedicationDispense_95db25e9 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 + transform to valid/medicationDispense/WS_V4_MedicationDispense_9d575775 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 + transform to valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592 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 + transform to valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79 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 + transform to valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab 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 + transform to valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b 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 + transform to valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76 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 + transform to valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa 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 + transform to valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067 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 + transform to valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2 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 + transform to valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd 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 + transform to valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a 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 + transform to valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210 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 + transform to valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff 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 + transform to valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3 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 + transform to valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec 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 + transform to valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f 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 + transform to valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6 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 + transform to valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0 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 + transform to valid/medicationDispense/FT_V1_MedicationDispense_ee46e774 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 + transform to valid/medicationDispense/FT_V2_MedicationDispense_5b829135 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 + transform to valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484 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 + transform to valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326 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 + transform to valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b 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 + transform to valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b 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 + transform to valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f 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 + transform to valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8 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 + transform to valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be 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 + transform to valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399 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 + transform to valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74 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 + transform to valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02 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 + transform to valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc 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 + transform to valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f 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 + transform to valid/medicationDispense/WS_V2_MedicationDispense_95db25e9 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 + transform to valid/medicationDispense/WS_V4_MedicationDispense_9d575775 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 + transform to valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592 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 + transform to valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79 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 + transform to valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab 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 + transform to valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b 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 + transform to valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76 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 + transform to valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa 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 + transform to valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067 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 + transform to valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2 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 + transform to valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd 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 + transform to valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a 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 + transform to valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210 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 + transform to valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff 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 + transform to valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3 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 + transform to valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec 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 + transform to valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f 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 + transform to valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6 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 + transform to valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0 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 + transform to valid/medicationDispense/FT_V1_MedicationDispense_ee46e774 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 + transform to valid/medicationDispense/FT_V2_MedicationDispense_5b829135 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 + transform to valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484 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 + transform to valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326 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 + transform to valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b 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 + transform to valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b 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 + transform to valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f 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 + transform to valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8 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 + transform to valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be 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 + transform to valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399 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 + transform to valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null 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 + transform to valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null 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 + transform to valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null 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 + transform to valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null 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 + transform to valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null 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 + transform to valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null 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 + transform to valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null 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 + transform to valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null 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 + transform to valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null 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 + transform to valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null 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 + transform to valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null 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 + transform to valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null 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 + transform to valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null 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 + transform to valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_9e291e49 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_c8f501a7 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_efe8874f 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_91e812db 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_11863590 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 + transform to valid/medicationDispense/011_Request_MedicationDispense_251c9cea 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_f9a262d7 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_70a68a32 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_948d7373 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 + transform to valid/medicationDispense/013_Request_MedicationDispense_27819d94 Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/zuweisung_per_nachricht/014_Request_MedicationDispense.xml - transform to valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc + transform to valid/medicationDispense/014_Request_MedicationDispense_0926ecff 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 + transform to valid/medicationDispense/011_Request_MedicationDispense_8f3ff291 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_cb5b4379 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd 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 + transform to valid/medicationDispense/011_Request_MedicationDispense_f976d60f 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 + transform to valid/medicationDispense/014_Request_MedicationDispense_227cd07a 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_466b70a6 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 + transform to valid/medicationDispense/010_Request_MedicationDispense_f08aa035 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_7757f253 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_de72e8de 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_2bd690cf 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_0474ec05 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_800e0802 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_c9011d4b 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac 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 + transform to valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_15850937 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_c916d235 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_9b046560 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_8f932795 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_95b01d68 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_2f0c013c 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 + transform to valid/medicationDispense/010_Request_MedicationDispense_b7698c22 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_076ea66c 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 + transform to valid/medicationDispense/011_Request_MedicationDispense_03b61c19 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_357fb680 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_89b0bda6 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_5b32c036 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_f671e4a6 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 + transform to valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4 Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/quittung_erneut_abfragen/008_Request_MedicationDispense.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_506e4daf + transform to valid/medicationDispense/008_Request_MedicationDispense_ddedee4f 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 + transform to valid/medicationDispense/009_Request_MedicationDispense_4dbd54be Filename: eRezept-Examples/API-Examples/2024-11-01/erp_abrufen/06_request_taskClose.xml - transform to valid/medicationDispense/06_request_taskClose_c8335ed8 + transform to valid/medicationDispense/06_request_taskClose_null Filename: eRezept-Examples/API-Examples/2024-11-01/erp_abrufen/08_response_taskDispense.xml - transform to valid/medicationDispense/08_response_taskDispense_816796a2 + transform to valid/medicationDispense/08_response_taskDispense_dffbfd6a Filename: eRezept-Examples/API-Examples/2023-07-01/erp_abrufen/06_request_taskClose.xml - transform to valid/medicationDispense/06_request_taskClose_8d0f44ed + transform to valid/medicationDispense/06_request_taskClose_null Filename: eRezept-Examples/API-Examples/2023-07-01/erp_abrufen/08_response_taskDispense.xml - transform to valid/medicationDispense/08_response_taskDispense_00c96c80 + transform to valid/medicationDispense/08_response_taskDispense_dffbfd6a diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/log.txt new file mode 100644 index 00000000..bbf64b22 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/11f6dd1f-c6a4-4dbe-8f30-e5079f0f8099*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/11f6dd1f-c6a4-4dbe-8f30-e5079f0f8099*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/11f6dd1f-c6a4-4dbe-8f30-e5079f0f8099*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.json new file mode 100644 index 00000000..33aaaf49 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "a6656532-20c4-49bb-8f4a-89a6de811e1a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "edfcfe36-6cbb-47a6-a101-fe1741f6867a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/11f6dd1f-c6a4-4dbe-8f30-e5079f0f8099" + }, + "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": "11f6dd1f-c6a4-4dbe-8f30-e5079f0f8099", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "32597469-f313-4eea-a1c0-82214c632f4c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ad073977-0036-454d-a5cc-5e824b4ca503", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.xml new file mode 100644 index 00000000..b2773775 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.xml @@ -0,0 +1,287 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
\ No newline at end of file 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 deleted file mode 100644 index b50cf591..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/output.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "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 deleted file mode 100644 index 8d24c705..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/output.xml +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
\ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/input.xml new file mode 100644 index 00000000..67d159fe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/input.xml @@ -0,0 +1,407 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/4739972b-52d6-4bea-9ba1-d360f8c22689"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/4739972b-52d6-4bea-9ba1-d360f8c22689"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4739972b-52d6-4bea-9ba1-d360f8c22689"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5cd916fc-2ae2-4148-b016-911ec5f4c0a5"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/5cd916fc-2ae2-4148-b016-911ec5f4c0a5"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5cd916fc-2ae2-4148-b016-911ec5f4c0a5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="Ad 100 g"/> + </extension> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <name> + <use value="official"/> + <family value="Schmidt"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schmidt"/> + </extension> + </family> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Dermatologin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/log.txt new file mode 100644 index 00000000..9c8c6928 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/0218cc5a-071c-4712-b3c0-a9aa7407a318*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/0218cc5a-071c-4712-b3c0-a9aa7407a318*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/0218cc5a-071c-4712-b3c0-a9aa7407a318*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/output.json new file mode 100644 index 00000000..ba8e00f4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "0e6f51f3-b581-4118-a6af-bffab1cef665", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "da96cef1-de3a-4074-84d4-da9240f79420", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0218cc5a-071c-4712-b3c0-a9aa7407a318" + }, + "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": "0218cc5a-071c-4712-b3c0-a9aa7407a318", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "df5bdaa9-6819-4338-a40d-5b268346263d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "54008ea5-5e4f-4c5c-a936-d909acdf76f8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/output.xml new file mode 100644 index 00000000..c85ff85b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0e6f51f3-b581-4118-a6af-bffab1cef665"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="da96cef1-de3a-4074-84d4-da9240f79420"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0218cc5a-071c-4712-b3c0-a9aa7407a318"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0218cc5a-071c-4712-b3c0-a9aa7407a318"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="df5bdaa9-6819-4338-a40d-5b268346263d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="54008ea5-5e4f-4c5c-a936-d909acdf76f8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Hanna Schmidt"/> + <family value="Schmidt"/> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index d52eed05..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index daef0f2c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/output.json +++ /dev/null @@ -1,344 +0,0 @@ -{ - "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 deleted file mode 100644 index 69484ba2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/output.xml +++ /dev/null @@ -1,334 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="77b6e755-fdd5-4671-af4b-5fb984a51b36"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.059.59"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8ecfd49c-ac04-420e-a009-312c880e164a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/5503537d-c76e-4909-aedb-82afbeea1de2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <patientInstruction value="Jeden 2. Tag vorm Schlafen dünn auf Achselhöhle auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5503537d-c76e-4909-aedb-82afbeea1de2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> - <valueString value="Deo-Roller"/> - </extension> - <code> - <text value="Viskose Aluminiumchlorid-Hexahydrat-Lösung 20 % (NRF 11.132.)"/> - </code> - <form> - <text value="Gel"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10206346"/> - </coding> - <text value="Aluminiumchlorid-Hexahydrat"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> - <valueString value="Pulver"/> - </extension> - <itemCodeableConcept> - <text value="Hydroxyethylcellulose 250"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="2"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="Gereinigtes Wasser"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 100 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="50ed58c8-f876-482a-83da-759031dd2eb1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6524ad28-d03b-4dd9-8315-71d0e774bc2f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123412821"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Hanna Schmidt"/> - <family value="Schmidt"/> - <given value="Hanna"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_a409358a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/log.txt new file mode 100644 index 00000000..303f9c42 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/log.txt @@ -0,0 +1,5 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=10,row=76,locationString=Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2]: Does not match slice 'rxPrescriptionProcessIdentifier' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2]: Does not match slice 'isVaccine' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2]: Does not match slice 'drugCategory' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2]: Does not match slice 'normSizeCode' (discriminator: ('http://fhir.de/StructureDefinition/normgroesse' in url)), Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2]: Does not match slice 'packaging' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2]: Does not match slice 'manufacturingInstructions' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2]: Does not match slice 'type' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension' in url))]] +SingleValidationMessage[col=14,row=88,locationString=Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] +SingleValidationMessage[col=14,row=100,locationString=Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.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.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.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/b8134162-7080-480d-8e1b-03ff36ae45dd*/.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/b8134162-7080-480d-8e1b-03ff36ae45dd*/.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/b8134162-7080-480d-8e1b-03ff36ae45dd*/.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_a409358a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/output.json new file mode 100644 index 00000000..7f219c0c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/output.json @@ -0,0 +1,344 @@ +{ + "resourceType": "Parameters", + "id": "916bdc29-c92c-4cd3-9abc-fc56931d2683", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "42b2c9f7-af01-4555-aa20-4d293242d13d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b8134162-7080-480d-8e1b-03ff36ae45dd" + }, + "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": "b8134162-7080-480d-8e1b-03ff36ae45dd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/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://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging", + "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-formulation-packaging-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": "1400f2c3-7881-4da0-9704-d2a3d2e8538e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "32415e26-62aa-475c-8ef4-63e0fb0dc8e7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a409358a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/output.xml new file mode 100644 index 00000000..d91e9808 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/output.xml @@ -0,0 +1,334 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="916bdc29-c92c-4cd3-9abc-fc56931d2683"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.059.59"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="42b2c9f7-af01-4555-aa20-4d293242d13d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b8134162-7080-480d-8e1b-03ff36ae45dd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Jeden 2. Tag vorm Schlafen dünn auf Achselhöhle auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b8134162-7080-480d-8e1b-03ff36ae45dd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging"> + <valueString value="Deo-Roller"/> + </extension> + <code> + <text value="Viskose Aluminiumchlorid-Hexahydrat-Lösung 20 % (NRF 11.132.)"/> + </code> + <form> + <text value="Gel"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10206346"/> + </coding> + <text value="Aluminiumchlorid-Hexahydrat"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Pulver"/> + </extension> + <itemCodeableConcept> + <text value="Hydroxyethylcellulose 250"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="2"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Gereinigtes Wasser"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1400f2c3-7881-4da0-9704-d2a3d2e8538e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="32415e26-62aa-475c-8ef4-63e0fb0dc8e7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Hanna Schmidt"/> + <family value="Schmidt"/> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/input.xml new file mode 100644 index 00000000..bfe8b1a5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/input.xml @@ -0,0 +1,437 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="a409358a-da34-11eb-8d19-0242ac130003"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.059.59"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/135350ea-2cea-4320-b584-537401f995bd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="135350ea-2cea-4320-b584-537401f995bd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/9711ab74-273d-44b5-be67-3cc80e9e9abd"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/9711ab74-273d-44b5-be67-3cc80e9e9abd"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9711ab74-273d-44b5-be67-3cc80e9e9abd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/619ad8c5-bc4b-4841-8a13-4162f51c06e7"/> + </medicationReference> + <subject> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + </requester> + <insurance> + <reference value="Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + </insurance> + <dosageInstruction> + <patientInstruction value="Jeden 2. Tag vorm Schlafen dünn auf Achselhöhle auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/619ad8c5-bc4b-4841-8a13-4162f51c06e7"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="619ad8c5-bc4b-4841-8a13-4162f51c06e7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging"> + <valueString value="Deo-Roller"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + <text value="Viskose Aluminiumchlorid-Hexahydrat-Lösung 20 % (NRF 11.132.)"/> + </code> + <form> + <text value="Gel"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10206346"/> + </coding> + <text value="Aluminiumchlorid-Hexahydrat"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form"> + <valueString value="Pulver"/> + </extension> + <itemCodeableConcept> + <text value="Hydroxyethylcellulose 250"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="2"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Gereinigtes Wasser"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="Ad 100 g"/> + </extension> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="c9e9eeb8-e397-4d62-a977-656a18027f90"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="P223331978"/> + </identifier> + <name> + <use value="official"/> + <family value="Pan"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Pan"/> + </extension> + </family> + <given value="Peter"/> + </name> + <birthDate value="1972"/> + <address> + <type value="both"/> + <line value="Siebengebirgsstraße 59"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="59"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siebengebirgsstraße"/> + </extension> + </line> + <line value="33. Obergeschoss - Hinterhof, halbrechts"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="33. Obergeschoss - Hinterhof, halbrechts"/> + </extension> + </line> + <city value="Königswinter"/> + <postalCode value="53639"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <name> + <use value="official"/> + <family value="Schmidt"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schmidt"/> + </extension> + </family> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Dermatologin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="SEL"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101377508"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/log.txt new file mode 100644 index 00000000..e27be221 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/log.txt @@ -0,0 +1,5 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=10,row=76,locationString=Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2]: Does not match slice 'rxPrescriptionProcessIdentifier' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2]: Does not match slice 'isVaccine' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2]: Does not match slice 'drugCategory' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2]: Does not match slice 'normSizeCode' (discriminator: ('http://fhir.de/StructureDefinition/normgroesse' in url)), Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2]: Does not match slice 'packaging' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2]: Does not match slice 'manufacturingInstructions' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2]: Does not match slice 'type' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension' in url))]] +SingleValidationMessage[col=14,row=88,locationString=Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] +SingleValidationMessage[col=14,row=100,locationString=Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.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.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.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/ed637bbc-0624-4657-bb2b-953801aec9c7*/.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/ed637bbc-0624-4657-bb2b-953801aec9c7*/.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/ed637bbc-0624-4657-bb2b-953801aec9c7*/.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_a409358a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/output.json new file mode 100644 index 00000000..a6da30f5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/output.json @@ -0,0 +1,344 @@ +{ + "resourceType": "Parameters", + "id": "8637aa54-a8fe-44bb-856d-499ddadcd5c9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8bf513eb-5c4d-49d0-9e29-8a7d5182c510", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ed637bbc-0624-4657-bb2b-953801aec9c7" + }, + "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": "ed637bbc-0624-4657-bb2b-953801aec9c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/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://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging", + "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-formulation-packaging-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": "5fdd828c-44b2-4a89-832f-a36d519294b0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e335deb5-16ff-4cd6-8107-a51e23b4d737", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a409358a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/output.xml new file mode 100644 index 00000000..fc2bffab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/output.xml @@ -0,0 +1,334 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8637aa54-a8fe-44bb-856d-499ddadcd5c9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.059.59"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8bf513eb-5c4d-49d0-9e29-8a7d5182c510"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ed637bbc-0624-4657-bb2b-953801aec9c7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Jeden 2. Tag vorm Schlafen dünn auf Achselhöhle auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ed637bbc-0624-4657-bb2b-953801aec9c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging"> + <valueString value="Deo-Roller"/> + </extension> + <code> + <text value="Viskose Aluminiumchlorid-Hexahydrat-Lösung 20 % (NRF 11.132.)"/> + </code> + <form> + <text value="Gel"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10206346"/> + </coding> + <text value="Aluminiumchlorid-Hexahydrat"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Pulver"/> + </extension> + <itemCodeableConcept> + <text value="Hydroxyethylcellulose 250"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="2"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Gereinigtes Wasser"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5fdd828c-44b2-4a89-832f-a36d519294b0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e335deb5-16ff-4cd6-8107-a51e23b4d737"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Hanna Schmidt"/> + <family value="Schmidt"/> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 1a97ef5f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/output.json +++ /dev/null @@ -1,280 +0,0 @@ -{ - "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 deleted file mode 100644 index f78eb823..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/output.xml +++ /dev/null @@ -1,277 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="cd31610e-32dd-4a05-9067-bf43d91783fb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.026.61"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a9f31f64-eb19-4c1c-81be-9105c1074317"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/1016718f-2591-4926-a4fe-011056a24be3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="3"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1016718f-2591-4926-a4fe-011056a24be3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Infusionslösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="500"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Etoposid"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="180"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="NaCl 0,9 %"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="500"/> - <unit value="ml"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="12ab53c4-1b89-442f-a505-df106e0a90e5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c91af2ae-dc4f-4bee-8f2f-90fc68a97d6e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_dae573db/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/log.txt new file mode 100644 index 00000000..fb986935 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/bfe31dd6-a3ba-4cb9-b3ca-54583141f09e*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/bfe31dd6-a3ba-4cb9-b3ca-54583141f09e*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/bfe31dd6-a3ba-4cb9-b3ca-54583141f09e*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/output.json new file mode 100644 index 00000000..fe1a6720 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/output.json @@ -0,0 +1,280 @@ +{ + "resourceType": "Parameters", + "id": "f429e5fb-3569-4b18-b228-79fba309c87a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "45d20749-fa62-411e-95d1-685da8289ea5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bfe31dd6-a3ba-4cb9-b3ca-54583141f09e" + }, + "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": "bfe31dd6-a3ba-4cb9-b3ca-54583141f09e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "c64c173d-11ab-47a1-a84d-f75d7d305af8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b3c6820c-c080-43ee-8a2e-35b36cad24b0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/output.xml new file mode 100644 index 00000000..48184384 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/output.xml @@ -0,0 +1,277 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f429e5fb-3569-4b18-b228-79fba309c87a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.026.61"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="45d20749-fa62-411e-95d1-685da8289ea5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bfe31dd6-a3ba-4cb9-b3ca-54583141f09e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bfe31dd6-a3ba-4cb9-b3ca-54583141f09e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Infusionslösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="500"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Etoposid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="180"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="NaCl 0,9 %"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="500"/> + <unit value="ml"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c64c173d-11ab-47a1-a84d-f75d7d305af8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b3c6820c-c080-43ee-8a2e-35b36cad24b0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/input.xml new file mode 100644 index 00000000..ff225e69 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/input.xml @@ -0,0 +1,422 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="dae573db-54e3-4cb8-880d-0a46bea8aea1"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.026.61"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/e1d276c4-f4d5-4e2d-8a82-04d92b34ca51"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="e1d276c4-f4d5-4e2d-8a82-04d92b34ca51"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/c97a6538-6742-45a3-a229-2e0e792db446"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/c97a6538-6742-45a3-a229-2e0e792db446"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c97a6538-6742-45a3-a229-2e0e792db446"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/fd681c2a-6f35-4fa9-8c84-573157130773"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/fd681c2a-6f35-4fa9-8c84-573157130773"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fd681c2a-6f35-4fa9-8c84-573157130773"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Infusionslösung"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="500"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Etoposid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="180"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="NaCl 0,9 %"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="500"/> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus BKK"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/log.txt new file mode 100644 index 00000000..aa951f3c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/925d3d85-95d8-4caf-9a98-ec8cba952e82*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/925d3d85-95d8-4caf-9a98-ec8cba952e82*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/925d3d85-95d8-4caf-9a98-ec8cba952e82*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.json new file mode 100644 index 00000000..d0e509ae --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.json @@ -0,0 +1,280 @@ +{ + "resourceType": "Parameters", + "id": "f7709359-5626-4208-a8b9-a3ec63d78b4f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d43e816b-0860-4bc2-9b50-c46b0daf5c5b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/925d3d85-95d8-4caf-9a98-ec8cba952e82" + }, + "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": "925d3d85-95d8-4caf-9a98-ec8cba952e82", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "e978f747-2e49-47f7-a094-1040e0bebf42", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9d448ab0-c333-4e5d-ba5c-cf110d9471f5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.xml new file mode 100644 index 00000000..1e24fcdb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.xml @@ -0,0 +1,277 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f7709359-5626-4208-a8b9-a3ec63d78b4f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.026.61"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d43e816b-0860-4bc2-9b50-c46b0daf5c5b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/925d3d85-95d8-4caf-9a98-ec8cba952e82"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="925d3d85-95d8-4caf-9a98-ec8cba952e82"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Infusionslösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="500"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Etoposid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="180"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="NaCl 0,9 %"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="500"/> + <unit value="ml"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e978f747-2e49-47f7-a094-1040e0bebf42"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9d448ab0-c333-4e5d-ba5c-cf110d9471f5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 4f41fddb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/output.json +++ /dev/null @@ -1,312 +0,0 @@ -{ - "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 deleted file mode 100644 index efe2eaa3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/output.xml +++ /dev/null @@ -1,307 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c0cfd125-bdd5-4d1e-bd1f-8691383ed365"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.050.86"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9f42f691-00ca-4ff8-a442-6a82ec8c6f58"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/2934cc48-02ee-4309-9773-a3e8eeb46414"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <patientInstruction value="Täglich eine zum Frühstück"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2934cc48-02ee-4309-9773-a3e8eeb46414"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Kapseln"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="50"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Hydrocortison"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="0.06"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="Mannit"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="12.5"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="Siliciumdioxid"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="0.5"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e59a85d4-4433-41b7-845e-8fe2d88996c9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c1eb068e-647f-4e8d-b5bb-095a0c4ecfad"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_ddc83056/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/log.txt new file mode 100644 index 00000000..e893ce64 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/9134af1f-3b5e-4d07-adeb-4285e0c45973*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/9134af1f-3b5e-4d07-adeb-4285e0c45973*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/9134af1f-3b5e-4d07-adeb-4285e0c45973*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/output.json new file mode 100644 index 00000000..026fd04e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/output.json @@ -0,0 +1,312 @@ +{ + "resourceType": "Parameters", + "id": "b944ce4e-e8c1-4826-80d8-b038088aa961", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1cf22516-720c-463e-a533-c326a5018a68", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9134af1f-3b5e-4d07-adeb-4285e0c45973" + }, + "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": "9134af1f-3b5e-4d07-adeb-4285e0c45973", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "7d249e05-0f8e-469a-9b07-5a162c5e9601", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ec96d194-a506-4b30-a127-a8d264040003", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ddc83056/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/output.xml new file mode 100644 index 00000000..098dbebf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/output.xml @@ -0,0 +1,307 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b944ce4e-e8c1-4826-80d8-b038088aa961"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.050.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1cf22516-720c-463e-a533-c326a5018a68"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9134af1f-3b5e-4d07-adeb-4285e0c45973"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Täglich eine zum Frühstück"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9134af1f-3b5e-4d07-adeb-4285e0c45973"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Kapseln"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="50"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Hydrocortison"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="0.06"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Mannit"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="12.5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Siliciumdioxid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="0.5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7d249e05-0f8e-469a-9b07-5a162c5e9601"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ec96d194-a506-4b30-a127-a8d264040003"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/input.xml new file mode 100644 index 00000000..44acb15e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/input.xml @@ -0,0 +1,432 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ddc83056-5dab-4411-ab13-48abfaf9c47d"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.050.86"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4a6b0467-1949-4e3e-b361-9c9a838d1878"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4a6b0467-1949-4e3e-b361-9c9a838d1878"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/6f5059fe-fe6d-423e-88a7-337957039486"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/6f5059fe-fe6d-423e-88a7-337957039486"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6f5059fe-fe6d-423e-88a7-337957039486"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/8d33ae42-2329-463c-8c36-06255bee16f8"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <patientInstruction value="Täglich eine zum Frühstück"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/8d33ae42-2329-463c-8c36-06255bee16f8"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8d33ae42-2329-463c-8c36-06255bee16f8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Kapseln"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="50"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Hydrocortison"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="0.06"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Mannit"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="12.5"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Siliciumdioxid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="0.5"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus BKK"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/log.txt new file mode 100644 index 00000000..d6c646ac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/a864c6ae-ee6b-4f85-89ab-f2c224dbc6dc*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/a864c6ae-ee6b-4f85-89ab-f2c224dbc6dc*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/a864c6ae-ee6b-4f85-89ab-f2c224dbc6dc*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.json new file mode 100644 index 00000000..a46f2700 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.json @@ -0,0 +1,312 @@ +{ + "resourceType": "Parameters", + "id": "1d65488d-3581-4609-8a09-029dd361bbfa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "dc5febbc-578f-4243-9cba-8145ec759f5e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a864c6ae-ee6b-4f85-89ab-f2c224dbc6dc" + }, + "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": "a864c6ae-ee6b-4f85-89ab-f2c224dbc6dc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "ca724140-c6e3-41d1-83a1-3db9db97d592", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "df8470b8-4013-4365-8c19-ede9e98149a6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ddc83056/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.xml new file mode 100644 index 00000000..d8cc5aca --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.xml @@ -0,0 +1,307 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1d65488d-3581-4609-8a09-029dd361bbfa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.050.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="dc5febbc-578f-4243-9cba-8145ec759f5e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a864c6ae-ee6b-4f85-89ab-f2c224dbc6dc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Täglich eine zum Frühstück"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a864c6ae-ee6b-4f85-89ab-f2c224dbc6dc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Kapseln"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="50"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Hydrocortison"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="0.06"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Mannit"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="12.5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Siliciumdioxid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="0.5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ca724140-c6e3-41d1-83a1-3db9db97d592"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="df8470b8-4013-4365-8c19-ede9e98149a6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 400fab0b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/output.json +++ /dev/null @@ -1,296 +0,0 @@ -{ - "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 deleted file mode 100644 index 181b035f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/output.xml +++ /dev/null @@ -1,289 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="63c98839-e704-448f-a42c-05d1e422b1fe"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.051.83"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e1a45554-8e84-4e22-983b-b2b01068c0b6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/c23c85eb-6be7-48b3-a721-3ca169e1ff92"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <patientInstruction value="Ad libitum"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c23c85eb-6be7-48b3-a721-3ca169e1ff92"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Creme"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="50"/> - </extension> - <unit value="g"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> - <valueString value="Creme"/> - </extension> - <itemCodeableConcept> - <text value="Nerisona"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> - <valueString value="Creme"/> - </extension> - <itemCodeableConcept> - <text value="Asche Basis"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 50 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="27559db0-d4f9-4588-b557-ca65e6b13b08"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="154cea99-6e4a-4cfa-ac7c-b93b44399054"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_deda8f97/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/log.txt new file mode 100644 index 00000000..5d8138a1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/c48f4051-fb1b-4923-88b3-b726016551ad*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/c48f4051-fb1b-4923-88b3-b726016551ad*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/c48f4051-fb1b-4923-88b3-b726016551ad*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/output.json new file mode 100644 index 00000000..d5b76860 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/output.json @@ -0,0 +1,296 @@ +{ + "resourceType": "Parameters", + "id": "605c00a7-8401-40d3-a53b-6f8ee902c3eb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f4bcff63-4e40-47da-a1c7-5aed72cc13b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c48f4051-fb1b-4923-88b3-b726016551ad" + }, + "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": "c48f4051-fb1b-4923-88b3-b726016551ad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "33150e2a-4887-4743-8cea-6cf627b5236f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d927cae0-5b5c-4100-8356-1bf0d7240942", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_deda8f97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/output.xml new file mode 100644 index 00000000..b7d9b181 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/output.xml @@ -0,0 +1,289 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="605c00a7-8401-40d3-a53b-6f8ee902c3eb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.051.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f4bcff63-4e40-47da-a1c7-5aed72cc13b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c48f4051-fb1b-4923-88b3-b726016551ad"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c48f4051-fb1b-4923-88b3-b726016551ad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Creme"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="50"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Creme"/> + </extension> + <itemCodeableConcept> + <text value="Nerisona"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Creme"/> + </extension> + <itemCodeableConcept> + <text value="Asche Basis"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 50 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="33150e2a-4887-4743-8cea-6cf627b5236f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d927cae0-5b5c-4100-8356-1bf0d7240942"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/input.xml new file mode 100644 index 00000000..ff700530 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/input.xml @@ -0,0 +1,420 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="deda8f97-38b6-4598-b805-3ef4926fc09d"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.051.83"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/373f42c6-a5a2-4143-b1de-b99ca5ba74d3"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="373f42c6-a5a2-4143-b1de-b99ca5ba74d3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/966400e9-18e3-463a-b0af-00594196efbb"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/966400e9-18e3-463a-b0af-00594196efbb"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="966400e9-18e3-463a-b0af-00594196efbb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/fa428147-0baa-4fc4-9a04-ff190bdd11f6"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/fa428147-0baa-4fc4-9a04-ff190bdd11f6"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fa428147-0baa-4fc4-9a04-ff190bdd11f6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Creme"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="50"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form"> + <valueString value="Creme"/> + </extension> + <itemCodeableConcept> + <text value="Nerisona"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form"> + <valueString value="Creme"/> + </extension> + <itemCodeableConcept> + <text value="Asche Basis"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="Ad 50 g"/> + </extension> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus BKK"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/log.txt new file mode 100644 index 00000000..f6c1d088 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/49d03c27-8771-4e41-941c-f762bbba06f5*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/49d03c27-8771-4e41-941c-f762bbba06f5*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/49d03c27-8771-4e41-941c-f762bbba06f5*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.json new file mode 100644 index 00000000..d9bbcffb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.json @@ -0,0 +1,296 @@ +{ + "resourceType": "Parameters", + "id": "8960dde7-fbaf-4b56-819e-406515733aa2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d2ee0299-a8dc-475e-b079-d3aa737bf68f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/49d03c27-8771-4e41-941c-f762bbba06f5" + }, + "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": "49d03c27-8771-4e41-941c-f762bbba06f5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "f8a256d4-f7b9-4d8a-9a07-fb014ab70614", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3f60e8e4-e712-4578-ad86-f42af022d4a4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_deda8f97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.xml new file mode 100644 index 00000000..cb7ee18c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.xml @@ -0,0 +1,289 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8960dde7-fbaf-4b56-819e-406515733aa2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.051.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d2ee0299-a8dc-475e-b079-d3aa737bf68f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/49d03c27-8771-4e41-941c-f762bbba06f5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="49d03c27-8771-4e41-941c-f762bbba06f5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Creme"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="50"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Creme"/> + </extension> + <itemCodeableConcept> + <text value="Nerisona"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Creme"/> + </extension> + <itemCodeableConcept> + <text value="Asche Basis"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 50 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f8a256d4-f7b9-4d8a-9a07-fb014ab70614"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3f60e8e4-e712-4578-ad86-f42af022d4a4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 4b8d56cb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/output.json +++ /dev/null @@ -1,296 +0,0 @@ -{ - "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 deleted file mode 100644 index 2e93740c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/output.xml +++ /dev/null @@ -1,289 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2980d248-49f1-4e91-aa75-778d4751390b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.052.80"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ab10c5e2-4d86-4e96-9b94-285f04be73d1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/11f4494c-2a56-42f2-8605-4b69f5e79a49"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <patientInstruction value="Ad libitum"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="11f4494c-2a56-42f2-8605-4b69f5e79a49"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Salbe"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="60"/> - </extension> - <unit value="g"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> - <valueString value="Salbe"/> - </extension> - <itemCodeableConcept> - <text value="Nerisona"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="30"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> - <valueString value="Salbe"/> - </extension> - <itemCodeableConcept> - <text value="Asche Basis"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 60 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5347fd74-5d10-4d2b-b3ff-e425510b76b4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="8b5e8db7-583b-46c1-aed9-ceffe28df161"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_6f193f8b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/log.txt new file mode 100644 index 00000000..ac44a4ed --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/5ef9067d-02a2-420c-9810-d0f91c6c4410*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/5ef9067d-02a2-420c-9810-d0f91c6c4410*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/5ef9067d-02a2-420c-9810-d0f91c6c4410*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/output.json new file mode 100644 index 00000000..81ca8f96 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/output.json @@ -0,0 +1,296 @@ +{ + "resourceType": "Parameters", + "id": "7deee8e0-2e63-43ba-a1d1-63f2f6cab9cb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "564456e8-cb3d-4def-aff1-05496c360801", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5ef9067d-02a2-420c-9810-d0f91c6c4410" + }, + "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": "5ef9067d-02a2-420c-9810-d0f91c6c4410", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "8b5003c8-b865-4781-9499-8e66ab7fe6af", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "61a2a0fe-4770-4a4b-9682-422aa451c5c6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6f193f8b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/output.xml new file mode 100644 index 00000000..f7cec319 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/output.xml @@ -0,0 +1,289 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7deee8e0-2e63-43ba-a1d1-63f2f6cab9cb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.052.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="564456e8-cb3d-4def-aff1-05496c360801"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5ef9067d-02a2-420c-9810-d0f91c6c4410"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5ef9067d-02a2-420c-9810-d0f91c6c4410"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Salbe"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="60"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Salbe"/> + </extension> + <itemCodeableConcept> + <text value="Nerisona"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="30"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Salbe"/> + </extension> + <itemCodeableConcept> + <text value="Asche Basis"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 60 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8b5003c8-b865-4781-9499-8e66ab7fe6af"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="61a2a0fe-4770-4a4b-9682-422aa451c5c6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/input.xml new file mode 100644 index 00000000..11e05e19 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/input.xml @@ -0,0 +1,420 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="6f193f8b-da7b-4a77-9105-44050d8839c5"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.052.80"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/9fa07214-b744-4709-aca9-c91d23690e86"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="9fa07214-b744-4709-aca9-c91d23690e86"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/d7be9b6b-8530-43a9-87c6-c01602cf3def"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/d7be9b6b-8530-43a9-87c6-c01602cf3def"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d7be9b6b-8530-43a9-87c6-c01602cf3def"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/c7320d8f-1bec-4063-8ae2-9609ecef65f9"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/c7320d8f-1bec-4063-8ae2-9609ecef65f9"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c7320d8f-1bec-4063-8ae2-9609ecef65f9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Salbe"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="60"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form"> + <valueString value="Salbe"/> + </extension> + <itemCodeableConcept> + <text value="Nerisona"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="30"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form"> + <valueString value="Salbe"/> + </extension> + <itemCodeableConcept> + <text value="Asche Basis"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="Ad 60 g"/> + </extension> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus BKK"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/log.txt new file mode 100644 index 00000000..4e2453bf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/264471ee-9914-423c-9a10-5b4600aa118c*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/264471ee-9914-423c-9a10-5b4600aa118c*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/264471ee-9914-423c-9a10-5b4600aa118c*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.json new file mode 100644 index 00000000..e5fb35f8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.json @@ -0,0 +1,296 @@ +{ + "resourceType": "Parameters", + "id": "55335ae5-2873-4fea-bd7a-79646aa5f684", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a8ba5cd0-5ce6-45a3-af31-bb156937ad37", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/264471ee-9914-423c-9a10-5b4600aa118c" + }, + "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": "264471ee-9914-423c-9a10-5b4600aa118c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "e92d5a5f-6ff7-4f1b-adda-aedd2b4a6e6b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "959bd3ba-9613-4dca-9ba6-fa164d70f712", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6f193f8b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.xml new file mode 100644 index 00000000..7f70ab47 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.xml @@ -0,0 +1,289 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="55335ae5-2873-4fea-bd7a-79646aa5f684"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.052.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a8ba5cd0-5ce6-45a3-af31-bb156937ad37"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/264471ee-9914-423c-9a10-5b4600aa118c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="264471ee-9914-423c-9a10-5b4600aa118c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Salbe"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="60"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Salbe"/> + </extension> + <itemCodeableConcept> + <text value="Nerisona"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="30"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Salbe"/> + </extension> + <itemCodeableConcept> + <text value="Asche Basis"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 60 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e92d5a5f-6ff7-4f1b-adda-aedd2b4a6e6b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="959bd3ba-9613-4dca-9ba6-fa164d70f712"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_465f1638/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/log.txt new file mode 100644 index 00000000..cb3dc67b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/137d3e82-6206-44c9-b7b0-c8dced914e14*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/137d3e82-6206-44c9-b7b0-c8dced914e14*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/137d3e82-6206-44c9-b7b0-c8dced914e14*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.json new file mode 100644 index 00000000..2b16e1db --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.json @@ -0,0 +1,325 @@ +{ + "resourceType": "Parameters", + "id": "6802719b-7408-4e8a-b3cb-e696889ed347", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6aa88cfd-214e-4f25-a48d-5984fb8015e0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/137d3e82-6206-44c9-b7b0-c8dced914e14" + }, + "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": "137d3e82-6206-44c9-b7b0-c8dced914e14", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "0d8c05e9-90be-4883-bb94-4d7085700325", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8560113c-b4bf-4a8d-9423-1aa57f17d232", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_465f1638/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.xml new file mode 100644 index 00000000..a175f8e8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.xml @@ -0,0 +1,317 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6802719b-7408-4e8a-b3cb-e696889ed347"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.053.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6aa88cfd-214e-4f25-a48d-5984fb8015e0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/137d3e82-6206-44c9-b7b0-c8dced914e14"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="137d3e82-6206-44c9-b7b0-c8dced914e14"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Creme"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="200"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Erythromycin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="2.5"/> + <unit value="%"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Oleum Rosae"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="1"/> + <unit value="%"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Ungt. Emulsificans aquos."/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 200 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0d8c05e9-90be-4883-bb94-4d7085700325"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8560113c-b4bf-4a8d-9423-1aa57f17d232"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 29b3053a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/output.json +++ /dev/null @@ -1,325 +0,0 @@ -{ - "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 deleted file mode 100644 index beb07ff5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/output.xml +++ /dev/null @@ -1,317 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f5386f17-67f1-48b1-9078-94e0d58f0769"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.053.77"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="457add25-067c-4530-a197-901092342a2d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/c12fb7ca-aadf-43be-86d5-49d3a72c893f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <patientInstruction value="Ad libitum"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c12fb7ca-aadf-43be-86d5-49d3a72c893f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Creme"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="200"/> - </extension> - <unit value="g"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Erythromycin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="2.5"/> - <unit value="%"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="Oleum Rosae"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="1"/> - <unit value="%"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="Ungt. Emulsificans aquos."/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 200 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5be8296c-1132-4d55-a6ad-8afb6f3bbba1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7853b9ff-ac7e-476d-bbef-467af4d3c34d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/input.xml new file mode 100644 index 00000000..624b8a00 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/input.xml @@ -0,0 +1,417 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="465f1638-1fbe-462e-a68a-e25b7b507c3e"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.053.77"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/f2b34822-c748-4285-a78c-8861e76588d7"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f2b34822-c748-4285-a78c-8861e76588d7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/74b3e33f-3c13-4814-9d78-197d2ff9f7de"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/74b3e33f-3c13-4814-9d78-197d2ff9f7de"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="74b3e33f-3c13-4814-9d78-197d2ff9f7de"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/ce7953d0-25a1-4998-a246-53973eab64e6"/> + </medicationReference> + <subject> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + </insurance> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/ce7953d0-25a1-4998-a246-53973eab64e6"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ce7953d0-25a1-4998-a246-53973eab64e6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Creme"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="200"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Erythromycin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="2.5"/> + <unit value="%"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Oleum Rosae"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="1"/> + <unit value="%"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Ungt. Emulsificans aquos."/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="Ad 200 g"/> + </extension> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="E111111113"/> + </identifier> + <name> + <use value="official"/> + <family value="Christrose"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Christrose"/> + </extension> + </family> + <given value="Christa"/> + </name> + <birthDate value="1933-03-13"/> + <address> + <type value="both"/> + <line value="Nagelsweg 27"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Nagelsweg"/> + </extension> + </line> + <city value="Hamburg"/> + <postalCode value="20097"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="02"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101560000"/> + </identifier> + <display value="DAK-GESUNDHEIT"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/log.txt new file mode 100644 index 00000000..75f8318b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/5306ed70-b003-47d4-8d46-74482a0558de*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/5306ed70-b003-47d4-8d46-74482a0558de*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/5306ed70-b003-47d4-8d46-74482a0558de*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/output.json new file mode 100644 index 00000000..fdf59784 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/output.json @@ -0,0 +1,325 @@ +{ + "resourceType": "Parameters", + "id": "aec042ac-d801-4e09-a285-671d674a35a3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c953fc3e-37a5-4dad-8f20-127aca63a261", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5306ed70-b003-47d4-8d46-74482a0558de" + }, + "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": "5306ed70-b003-47d4-8d46-74482a0558de", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "df11a8e9-0960-4ea1-8ae8-cd458e812548", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "bc3968f8-5f2f-4d11-b4ea-25503a80c949", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_465f1638/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/output.xml new file mode 100644 index 00000000..e0c8f5af --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/output.xml @@ -0,0 +1,317 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="aec042ac-d801-4e09-a285-671d674a35a3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.053.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c953fc3e-37a5-4dad-8f20-127aca63a261"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5306ed70-b003-47d4-8d46-74482a0558de"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5306ed70-b003-47d4-8d46-74482a0558de"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Creme"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="200"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Erythromycin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="2.5"/> + <unit value="%"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Oleum Rosae"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="1"/> + <unit value="%"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Ungt. Emulsificans aquos."/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 200 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="df11a8e9-0960-4ea1-8ae8-cd458e812548"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc3968f8-5f2f-4d11-b4ea-25503a80c949"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 19678a2f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/output.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "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 deleted file mode 100644 index 87134bb2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/output.xml +++ /dev/null @@ -1,287 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6b905d63-1de0-45c9-91b8-b1b54c34a141"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.024.67"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7e900422-5bc3-414a-8993-bfad0b89068c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/c990176b-c910-4191-8c0f-f6e996785e92"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dosageInstruction> - <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c990176b-c910-4191-8c0f-f6e996785e92"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Lösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Salicylsäure"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="2-propanol 70 %"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 100 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9e0196a3-9b4b-4beb-b535-be2fa9198d02"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="9410eae3-e0b2-4a55-9e57-b34160f84bbc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123412821"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Hanna Schmidt"/> - <family value="Schmidt"/> - <given value="Hanna"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_9581ce65/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/log.txt new file mode 100644 index 00000000..21a24c12 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/dd6df9bc-34b5-4655-9dd8-d5cdba5ada43*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/dd6df9bc-34b5-4655-9dd8-d5cdba5ada43*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/dd6df9bc-34b5-4655-9dd8-d5cdba5ada43*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/output.json new file mode 100644 index 00000000..d7412802 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "a6bf2d4f-afd3-4318-b985-52f944e9dffb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0b2b2386-6c28-4c52-ad39-22202f5674ea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/dd6df9bc-34b5-4655-9dd8-d5cdba5ada43" + }, + "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": "dd6df9bc-34b5-4655-9dd8-d5cdba5ada43", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "5f99c9d4-5432-4022-b559-649b8eae50bb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "491a1775-74fc-48ce-9342-02efa674c219", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/output.xml new file mode 100644 index 00000000..77a9c885 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a6bf2d4f-afd3-4318-b985-52f944e9dffb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0b2b2386-6c28-4c52-ad39-22202f5674ea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/dd6df9bc-34b5-4655-9dd8-d5cdba5ada43"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dosageInstruction> + <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dd6df9bc-34b5-4655-9dd8-d5cdba5ada43"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5f99c9d4-5432-4022-b559-649b8eae50bb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="491a1775-74fc-48ce-9342-02efa674c219"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Hanna Schmidt"/> + <family value="Schmidt"/> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_9581ce65/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/log.txt new file mode 100644 index 00000000..f85464f8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/50c917b8-cccb-4dbd-b51d-248caa09e5df*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/50c917b8-cccb-4dbd-b51d-248caa09e5df*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/50c917b8-cccb-4dbd-b51d-248caa09e5df*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.json new file mode 100644 index 00000000..c8d50f7a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "1090d0ac-fef0-430b-9a73-be771c49f1ac", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ad48f9ba-6d9e-4f75-a676-9cceee723245", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/50c917b8-cccb-4dbd-b51d-248caa09e5df" + }, + "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": "50c917b8-cccb-4dbd-b51d-248caa09e5df", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "28046865-3b40-47e1-9895-aa10cd6cea7e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2c830980-b444-415e-b0c8-5a962ba3222b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.xml new file mode 100644 index 00000000..6480975f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1090d0ac-fef0-430b-9a73-be771c49f1ac"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ad48f9ba-6d9e-4f75-a676-9cceee723245"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/50c917b8-cccb-4dbd-b51d-248caa09e5df"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="50c917b8-cccb-4dbd-b51d-248caa09e5df"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="28046865-3b40-47e1-9895-aa10cd6cea7e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2c830980-b444-415e-b0c8-5a962ba3222b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Hanna Schmidt"/> + <family value="Schmidt"/> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 7db83be7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/output.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "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 deleted file mode 100644 index bc0f56f8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/output.xml +++ /dev/null @@ -1,287 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e2b9bad6-daef-4e42-a33b-fc8ce4d9cee3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.024.67"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c44f0c9e-96eb-4817-bde8-19c74b3c6e9a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/7365a91b-b962-4324-aa33-7c9bf511a66a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dosageInstruction> - <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7365a91b-b962-4324-aa33-7c9bf511a66a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Lösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Salicylsäure"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="2-propanol 70 %"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 100 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="377509df-e344-4b32-8f9e-3ad3e78e01f7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="79b26bf7-c05f-49bb-ad2d-c736615d3eb1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123412821"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Hanna Schmidt"/> - <family value="Schmidt"/> - <given value="Hanna"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/input.xml new file mode 100644 index 00000000..ca70c607 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/input.xml @@ -0,0 +1,407 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9581ce65-b118-4751-9073-19c091b341e0"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/80a467fb-36ad-4549-8be1-12f0e4520c73"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="80a467fb-36ad-4549-8be1-12f0e4520c73"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/4739972b-52d6-4bea-9ba1-d360f8c22689"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/4739972b-52d6-4bea-9ba1-d360f8c22689"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4739972b-52d6-4bea-9ba1-d360f8c22689"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5cd916fc-2ae2-4148-b016-911ec5f4c0a5"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/5cd916fc-2ae2-4148-b016-911ec5f4c0a5"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5cd916fc-2ae2-4148-b016-911ec5f4c0a5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="Ad 100 g"/> + </extension> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <name> + <use value="official"/> + <family value="Schmidt"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schmidt"/> + </extension> + </family> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Dermatologin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="06"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Ludwigsburg-Bietigheim"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/log.txt new file mode 100644 index 00000000..e037a397 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/b6bf5f3d-c8cb-4330-95aa-4fb097901174*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/b6bf5f3d-c8cb-4330-95aa-4fb097901174*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/b6bf5f3d-c8cb-4330-95aa-4fb097901174*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/output.json new file mode 100644 index 00000000..5de09810 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "acc26c5a-5013-4a70-9379-ae1782af9abb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d57a331f-a3dd-46a4-9324-a9d1e687e7d4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b6bf5f3d-c8cb-4330-95aa-4fb097901174" + }, + "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": "b6bf5f3d-c8cb-4330-95aa-4fb097901174", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "529fefc5-1755-4d03-97cf-bfd378e6a71b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "477eed77-c6ca-4d5f-a1e0-3707f7befede", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/output.xml new file mode 100644 index 00000000..0f4b83c4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="acc26c5a-5013-4a70-9379-ae1782af9abb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d57a331f-a3dd-46a4-9324-a9d1e687e7d4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b6bf5f3d-c8cb-4330-95aa-4fb097901174"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b6bf5f3d-c8cb-4330-95aa-4fb097901174"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="529fefc5-1755-4d03-97cf-bfd378e6a71b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="477eed77-c6ca-4d5f-a1e0-3707f7befede"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Hanna Schmidt"/> + <family value="Schmidt"/> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index aa2632da..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/output.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "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 deleted file mode 100644 index c2769e60..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/output.xml +++ /dev/null @@ -1,287 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="033c56e0-d603-489b-8319-7e3617c16c66"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.018.562.305.023.72"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-24"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b44223ed-f19b-460c-aee0-b7de573cc144"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/ca3f42bb-f6b3-4a02-bc0e-63170797ea34"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-24"/> - <dosageInstruction> - <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="3"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ca3f42bb-f6b3-4a02-bc0e-63170797ea34"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Infusionslösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="500"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Etoposid"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="180"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="NaCl 0,9 %"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="ad 500 ml"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="58e76559-ce74-41cc-b860-f16bcbf67702"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="463af580-d8ed-442b-8354-66b646359363"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_dae573db/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/log.txt new file mode 100644 index 00000000..61cd0a13 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/fc4e5b10-ab74-4df7-97d5-1f6bb5691a2f*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/fc4e5b10-ab74-4df7-97d5-1f6bb5691a2f*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/fc4e5b10-ab74-4df7-97d5-1f6bb5691a2f*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/output.json new file mode 100644 index 00000000..4163152a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "ac9e5e6e-f374-4a78-91c8-a868d4eedbe8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6908c0ec-c2bb-4641-89f1-20756fa705bb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fc4e5b10-ab74-4df7-97d5-1f6bb5691a2f" + }, + "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": "fc4e5b10-ab74-4df7-97d5-1f6bb5691a2f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "025bd246-39f1-44bb-90f2-371b9f2e05bc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "64b0ddc2-32f2-4014-9783-900f86c5c8b8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/output.xml new file mode 100644 index 00000000..aace1ef4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ac9e5e6e-f374-4a78-91c8-a868d4eedbe8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-24"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6908c0ec-c2bb-4641-89f1-20756fa705bb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fc4e5b10-ab74-4df7-97d5-1f6bb5691a2f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-24"/> + <dosageInstruction> + <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fc4e5b10-ab74-4df7-97d5-1f6bb5691a2f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Infusionslösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="500"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Etoposid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="180"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="NaCl 0,9 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="ad 500 ml"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="025bd246-39f1-44bb-90f2-371b9f2e05bc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="64b0ddc2-32f2-4014-9783-900f86c5c8b8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index b4a07385..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/output.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "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 deleted file mode 100644 index d4b64965..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/output.xml +++ /dev/null @@ -1,287 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="042df730-d189-4cc6-91f9-8cb0d68e459a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.018.562.305.023.72"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-24"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2525f790-4961-4195-a5cd-b3eaa899ada2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/c155a2f2-7201-4454-beb3-6025b201e38e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-24"/> - <dosageInstruction> - <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="3"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c155a2f2-7201-4454-beb3-6025b201e38e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Infusionslösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="500"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Etoposid"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="180"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="NaCl 0,9 %"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="ad 500 ml"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d8ce2a91-ff95-4049-aa6c-eb4cfc26d743"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="9ead6ff2-1a33-4142-ab1a-f572c47eaa5a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_dae573db/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/log.txt new file mode 100644 index 00000000..f62a8e58 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/18bc4f1c-901d-4e59-9e6c-15a9048d5def*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/18bc4f1c-901d-4e59-9e6c-15a9048d5def*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/18bc4f1c-901d-4e59-9e6c-15a9048d5def*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/output.json new file mode 100644 index 00000000..16c3ef68 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "4878ac0c-df68-40f4-a6ac-0c39c20d1891", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2f6f573f-a501-4949-a1ba-b0fa1854c05d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/18bc4f1c-901d-4e59-9e6c-15a9048d5def" + }, + "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": "18bc4f1c-901d-4e59-9e6c-15a9048d5def", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "4720923b-b10d-44ec-a26b-0fac34ab8024", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "926b92ef-db7f-439f-9ca2-5728b57f93db", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/output.xml new file mode 100644 index 00000000..946258c1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4878ac0c-df68-40f4-a6ac-0c39c20d1891"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-24"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2f6f573f-a501-4949-a1ba-b0fa1854c05d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/18bc4f1c-901d-4e59-9e6c-15a9048d5def"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-24"/> + <dosageInstruction> + <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="18bc4f1c-901d-4e59-9e6c-15a9048d5def"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Infusionslösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="500"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Etoposid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="180"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="NaCl 0,9 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="ad 500 ml"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4720923b-b10d-44ec-a26b-0fac34ab8024"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="926b92ef-db7f-439f-9ca2-5728b57f93db"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/input.xml new file mode 100644 index 00000000..0e2b20b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/input.xml @@ -0,0 +1,418 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="dae573db-54e3-4cb8-880d-0a46bea8aea1"/> + <meta> + <lastUpdated value="2024-11-24T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-24T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/e1d276c4-f4d5-4e2d-8a82-04d92b34ca51"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="e1d276c4-f4d5-4e2d-8a82-04d92b34ca51"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2024-11-24T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/c97a6538-6742-45a3-a229-2e0e792db446"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/c97a6538-6742-45a3-a229-2e0e792db446"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c97a6538-6742-45a3-a229-2e0e792db446"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/fd681c2a-6f35-4fa9-8c84-573157130773"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2024-11-24"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/fd681c2a-6f35-4fa9-8c84-573157130773"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fd681c2a-6f35-4fa9-8c84-573157130773"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Infusionslösung"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="500"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Etoposid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="180"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="NaCl 0,9 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="ad 500 ml"/> + </extension> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"/> + </extension> + </family> + <given value="Friëdrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus Betriebskrankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/log.txt new file mode 100644 index 00000000..ad26b8c9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/efb7459f-4e09-4d4c-86d3-2cf99297d56b*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/efb7459f-4e09-4d4c-86d3-2cf99297d56b*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/efb7459f-4e09-4d4c-86d3-2cf99297d56b*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.json new file mode 100644 index 00000000..aa9739dc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "eb8200f0-7592-4e3a-b18b-7a5d7b5c99e5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "125de5b0-5d7d-4936-94c0-069a891ec455", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/efb7459f-4e09-4d4c-86d3-2cf99297d56b" + }, + "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": "efb7459f-4e09-4d4c-86d3-2cf99297d56b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "9a3ec414-e750-4cae-b984-81f961e56745", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e7709007-703f-4114-b14a-0a636ef5bf65", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.xml new file mode 100644 index 00000000..4a77e488 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="eb8200f0-7592-4e3a-b18b-7a5d7b5c99e5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-24"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="125de5b0-5d7d-4936-94c0-069a891ec455"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/efb7459f-4e09-4d4c-86d3-2cf99297d56b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-24"/> + <dosageInstruction> + <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="efb7459f-4e09-4d4c-86d3-2cf99297d56b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Infusionslösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="500"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Etoposid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="180"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="NaCl 0,9 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="ad 500 ml"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9a3ec414-e750-4cae-b984-81f961e56745"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e7709007-703f-4114-b14a-0a636ef5bf65"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_0474ec05/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.json new file mode 100644 index 00000000..0f62070d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "3fd9445b-7dd4-4e76-b182-cf96e1c34be1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a9a676b7-42fc-4b53-b493-028791429eff", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "0474ec05-ba5a-4e15-91d2-4e28a0729785_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/39508e9d-ac24-496e-b7f6-49f1223a62b7" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d69fcc9f-66bf-4f83-ad8b-d218c79ac238" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "39508e9d-ac24-496e-b7f6-49f1223a62b7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d69fcc9f-66bf-4f83-ad8b-d218c79ac238", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/008_Request_MedicationDispense_0474ec05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.xml new file mode 100644 index 00000000..797ee792 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3fd9445b-7dd4-4e76-b182-cf96e1c34be1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.769.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a9a676b7-42fc-4b53-b493-028791429eff"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="0474ec05-ba5a-4e15-91d2-4e28a0729785_160.000.226.119.769.65"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/39508e9d-ac24-496e-b7f6-49f1223a62b7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d69fcc9f-66bf-4f83-ad8b-d218c79ac238"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="39508e9d-ac24-496e-b7f6-49f1223a62b7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d69fcc9f-66bf-4f83-ad8b-d218c79ac238"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Val Lay"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_076ea66c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.json new file mode 100644 index 00000000..ba7c8a07 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "64e6b37d-169a-436c-b3e2-b9b6b2564e28", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "691e6938-75cf-4dea-bdd3-2286a52d4f51", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "076ea66c-f833-4598-bb3f-b6e047da396d_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/527b557e-4655-4d9b-877d-17fe7df75819" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/532cc854-892e-491d-b993-004199ed2187" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "527b557e-4655-4d9b-877d-17fe7df75819", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "532cc854-892e-491d-b993-004199ed2187", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Morgan U. Canhandle" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.xml new file mode 100644 index 00000000..f194c677 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="64e6b37d-169a-436c-b3e2-b9b6b2564e28"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="691e6938-75cf-4dea-bdd3-2286a52d4f51"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="076ea66c-f833-4598-bb3f-b6e047da396d_160.000.226.119.765.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/527b557e-4655-4d9b-877d-17fe7df75819"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/532cc854-892e-491d-b993-004199ed2187"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="527b557e-4655-4d9b-877d-17fe7df75819"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="532cc854-892e-491d-b993-004199ed2187"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Morgan U. Canhandle"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 1fe803d1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 89143aab..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 850016d7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="14610226-9fcc-4853-8dee-763f9a5e1a71"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="559e6ae6-bdfd-4564-9848-5a6cbb6c440a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.784.20"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/9cc0d10d-7b29-4e6f-a125-1fa623c2dc2a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/b78d4a93-64e0-4f48-9aa9-e693f1376e8c"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9cc0d10d-7b29-4e6f-a125-1fa623c2dc2a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="42938335"/> - </coding> - <text value="Fexvomilzol"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b78d4a93-64e0-4f48-9aa9-e693f1376e8c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Moe Skeeto"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_c9011d4b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.json new file mode 100644 index 00000000..c846a8a2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "b282aa23-abdc-4acc-a097-235d2bd40329", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "66d29395-822d-4365-91a2-79134d368b6e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c9011d4b-4d85-47b4-b89b-cef22a0d647a_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/055e8699-a6c7-47e2-85d2-76f62a92e60a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8dd09926-8150-4a50-a209-cf60342cc8ba" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "055e8699-a6c7-47e2-85d2-76f62a92e60a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8dd09926-8150-4a50-a209-cf60342cc8ba", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Abe Rudder" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.xml new file mode 100644 index 00000000..73bc4f66 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b282aa23-abdc-4acc-a097-235d2bd40329"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.784.20"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="66d29395-822d-4365-91a2-79134d368b6e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c9011d4b-4d85-47b4-b89b-cef22a0d647a_160.000.226.119.784.20"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/055e8699-a6c7-47e2-85d2-76f62a92e60a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8dd09926-8150-4a50-a209-cf60342cc8ba"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="055e8699-a6c7-47e2-85d2-76f62a92e60a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="42938335"/> + </coding> + <text value="Fexvomilzol"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8dd09926-8150-4a50-a209-cf60342cc8ba"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Abe Rudder"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_15850937/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.json new file mode 100644 index 00000000..0cd23fab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "836b3fd9-6cd2-4e66-b20e-2641c21cea76", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "358e0ff8-9b2e-43fc-b840-372f2e30e4ae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "15850937-431a-4ddd-a704-f3dc368e8043_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/a9efb0ea-38a9-46b4-872c-17c9a89fadfa" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/135f1dc3-d948-4870-9bed-63b99780057a" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a9efb0ea-38a9-46b4-872c-17c9a89fadfa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "135f1dc3-d948-4870-9bed-63b99780057a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Cole Kutz" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.xml new file mode 100644 index 00000000..685db829 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="836b3fd9-6cd2-4e66-b20e-2641c21cea76"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="358e0ff8-9b2e-43fc-b840-372f2e30e4ae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="15850937-431a-4ddd-a704-f3dc368e8043_160.000.226.119.766.74"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a9efb0ea-38a9-46b4-872c-17c9a89fadfa"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/135f1dc3-d948-4870-9bed-63b99780057a"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a9efb0ea-38a9-46b4-872c-17c9a89fadfa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="135f1dc3-d948-4870-9bed-63b99780057a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Cole Kutz"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index efde372c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 9dcbb919..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 685b03ae..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="15a4f10b-78fc-4075-b2e4-03ee54033b61"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="f28171be-18ad-480a-8b94-a02e2cf514be"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.695.62"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/87d8c536-ad20-4f40-8b08-d5b30570c3d9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110499478"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/5e9d87a7-fc26-46d4-a882-4c63e95f33f4"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="87d8c536-ad20-4f40-8b08-d5b30570c3d9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="14659553"/> - </coding> - <text value="Abaamisure"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5e9d87a7-fc26-46d4-a882-4c63e95f33f4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Anna Mull"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_de72e8de/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.json new file mode 100644 index 00000000..d8bb8b0e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "25ae8fc7-4f1b-4f30-8315-d018681ccee6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "46f797a1-f7bb-4c11-a23a-cadabd1039ab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "de72e8de-ad97-4453-be83-0f83ef948b89_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/a1353050-a7c4-46af-939f-09260a5698c6" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110499478" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c34001a1-092d-4ff4-b850-06570f4f340c" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a1353050-a7c4-46af-939f-09260a5698c6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c34001a1-092d-4ff4-b850-06570f4f340c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Corey Ander" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.xml new file mode 100644 index 00000000..4517b470 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="25ae8fc7-4f1b-4f30-8315-d018681ccee6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.695.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="46f797a1-f7bb-4c11-a23a-cadabd1039ab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="de72e8de-ad97-4453-be83-0f83ef948b89_169.000.011.203.695.62"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a1353050-a7c4-46af-939f-09260a5698c6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110499478"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c34001a1-092d-4ff4-b850-06570f4f340c"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a1353050-a7c4-46af-939f-09260a5698c6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="14659553"/> + </coding> + <text value="Abaamisure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c34001a1-092d-4ff4-b850-06570f4f340c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Corey Ander"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index f2a7dcf5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 788f115e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index f7b7dcc1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2bcb39ce-3feb-4723-8c19-a364b387e445"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5c2d5e28-b1dc-44b2-86ad-93abed48fd8e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.765.77"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/bf3454db-19b7-4ea3-a812-179f8213122c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/7f0901e2-6adb-4ae7-8416-5dbbbed2c2fb"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bf3454db-19b7-4ea3-a812-179f8213122c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="7f0901e2-6adb-4ae7-8416-5dbbbed2c2fb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Tamara Knight"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/input.xml new file mode 100644 index 00000000..29283b0b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="076ea66c-f833-4598-bb3f-b6e047da396d"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8e061f5f-d969-4642-b6fc-1fd835f0e282"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#8e061f5f-d969-4642-b6fc-1fd835f0e282"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.json new file mode 100644 index 00000000..12a5bd05 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "856bc21f-f42b-4e78-acf3-c31f3864565d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0bfa6484-d3d5-472b-884f-1df931056232", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "076ea66c-f833-4598-bb3f-b6e047da396d_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/c4c50d02-714c-41ba-a1ec-416d6d27702d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/192b2bd6-bef8-4906-b20b-3c4df210af5a" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "c4c50d02-714c-41ba-a1ec-416d6d27702d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "192b2bd6-bef8-4906-b20b-3c4df210af5a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Jed I. Knight" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.xml new file mode 100644 index 00000000..5030489f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="856bc21f-f42b-4e78-acf3-c31f3864565d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0bfa6484-d3d5-472b-884f-1df931056232"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="076ea66c-f833-4598-bb3f-b6e047da396d_160.000.226.119.765.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/c4c50d02-714c-41ba-a1ec-416d6d27702d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/192b2bd6-bef8-4906-b20b-3c4df210af5a"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c4c50d02-714c-41ba-a1ec-416d6d27702d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="192b2bd6-bef8-4906-b20b-3c4df210af5a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jed I. Knight"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_2f0c013c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.json new file mode 100644 index 00000000..14da57d5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "f6689274-a6e1-4f2b-b335-4e16e6535d53", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "3af1926f-7c61-4248-b129-6cf8bcfa1698", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "2f0c013c-9dc0-4980-bb8d-3409a7209212_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/a499b810-bd98-400e-a6ab-c98e9b636e7f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/4e9fa7d3-58e1-4415-ae8e-69296f272cc2" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a499b810-bd98-400e-a6ab-c98e9b636e7f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4e9fa7d3-58e1-4415-ae8e-69296f272cc2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bruce Easley" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.xml new file mode 100644 index 00000000..614c9493 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f6689274-a6e1-4f2b-b335-4e16e6535d53"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.757.04"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="3af1926f-7c61-4248-b129-6cf8bcfa1698"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="2f0c013c-9dc0-4980-bb8d-3409a7209212_160.000.226.119.757.04"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a499b810-bd98-400e-a6ab-c98e9b636e7f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/4e9fa7d3-58e1-4415-ae8e-69296f272cc2"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a499b810-bd98-400e-a6ab-c98e9b636e7f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4e9fa7d3-58e1-4415-ae8e-69296f272cc2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bruce Easley"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_357fb680/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.json new file mode 100644 index 00000000..4da1c0a1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "95e72782-5112-42fa-b27c-a9d2765e0634", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "d50017d7-4509-4fa2-b5e0-b1323a453f68", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "357fb680-6876-4e7f-b25d-d2c4c028441c_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/365a70ca-d6bc-4dc5-97e2-1587785b783c" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a8f83c6a-f4c3-48b6-b10b-893949b263dd" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "365a70ca-d6bc-4dc5-97e2-1587785b783c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a8f83c6a-f4c3-48b6-b10b-893949b263dd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Anita Bathe" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.xml new file mode 100644 index 00000000..b0903b07 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="95e72782-5112-42fa-b27c-a9d2765e0634"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.525.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="d50017d7-4509-4fa2-b5e0-b1323a453f68"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="357fb680-6876-4e7f-b25d-d2c4c028441c_200.000.002.096.525.73"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/365a70ca-d6bc-4dc5-97e2-1587785b783c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a8f83c6a-f4c3-48b6-b10b-893949b263dd"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="365a70ca-d6bc-4dc5-97e2-1587785b783c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a8f83c6a-f4c3-48b6-b10b-893949b263dd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Anita Bathe"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_466b70a6/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.json new file mode 100644 index 00000000..15c484c3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "b85d035b-0b86-4576-8478-6bea956a58dc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "6df1e114-d2f7-4602-9bad-237064aa93c8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "466b70a6-4479-4838-8370-3cd38a78a451_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/b86bb016-46b4-4e33-90a6-a26885ff48a9" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/7ed00c06-b33b-4b17-bb59-4e1f343909fc" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b86bb016-46b4-4e33-90a6-a26885ff48a9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7ed00c06-b33b-4b17-bb59-4e1f343909fc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "X. Benedict" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.xml new file mode 100644 index 00000000..ff51b4d0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b85d035b-0b86-4576-8478-6bea956a58dc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.687.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6df1e114-d2f7-4602-9bad-237064aa93c8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="466b70a6-4479-4838-8370-3cd38a78a451_169.000.011.203.687.86"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b86bb016-46b4-4e33-90a6-a26885ff48a9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/7ed00c06-b33b-4b17-bb59-4e1f343909fc"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b86bb016-46b4-4e33-90a6-a26885ff48a9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60537835"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7ed00c06-b33b-4b17-bb59-4e1f343909fc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="X. Benedict"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 10079e1b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 3eb00679..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 10e0aca8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="490093ae-7195-4f30-b325-5365e40fc8e4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="57a5b0e7-dd6d-49cb-a01b-1b639d5b7c4c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.690.77"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/9b61a532-6069-4dcc-afa5-d26a8e2340f6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/d2f25b90-f979-42e0-815c-3eeb51df8857"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9b61a532-6069-4dcc-afa5-d26a8e2340f6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="47126688"/> - </coding> - <text value="Zytostatika"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d2f25b90-f979-42e0-815c-3eeb51df8857"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Rocky Beach"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_f9a262d7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.json new file mode 100644 index 00000000..55c4fddc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "e91b65c8-588e-475b-87d4-7d62370d1eed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1de2a85b-a62e-4104-b3de-77a1ee747053", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f9a262d7-26a7-4ad6-a2ea-0d509dee7e89_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/273f6764-2ce6-4bb7-93b3-16220dd35bca" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5e6fca92-5ab5-48b9-970d-82fb3105671f" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "273f6764-2ce6-4bb7-93b3-16220dd35bca", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5e6fca92-5ab5-48b9-970d-82fb3105671f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Anita Bath" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.xml new file mode 100644 index 00000000..2e4c8d0c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e91b65c8-588e-475b-87d4-7d62370d1eed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.690.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1de2a85b-a62e-4104-b3de-77a1ee747053"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f9a262d7-26a7-4ad6-a2ea-0d509dee7e89_169.000.011.203.690.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/273f6764-2ce6-4bb7-93b3-16220dd35bca"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5e6fca92-5ab5-48b9-970d-82fb3105671f"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="273f6764-2ce6-4bb7-93b3-16220dd35bca"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="47126688"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5e6fca92-5ab5-48b9-970d-82fb3105671f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Anita Bath"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 570d5fc5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index cb0aad12..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 16c7e781..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4ebfa209-3e53-4fd1-be62-60a077d0bbe3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="3e4ad421-4b31-4a3f-9af0-d8c4b227f248"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.999.22"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/fd4c80c4-7fc7-4dfa-a096-afa69437d050"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/f65fba8a-826e-452b-9074-f6d36de26c4a"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fd4c80c4-7fc7-4dfa-a096-afa69437d050"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="27318836"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f65fba8a-826e-452b-9074-f6d36de26c4a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Evan Keel"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_c8f501a7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.json new file mode 100644 index 00000000..e9b2c6c0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "faccb863-bff7-4ed7-a3ae-35894612e903", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4682603a-e7fd-407e-a1f6-5b2e9196fe6c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c8f501a7-fd86-4026-b888-9ef7e77e28af_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/4b43a094-7cfd-4294-8c61-1ea09ddc4ef7" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/2ac554bd-6a07-40e2-94eb-36ff7751492b" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "4b43a094-7cfd-4294-8c61-1ea09ddc4ef7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2ac554bd-6a07-40e2-94eb-36ff7751492b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Homan Provement" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.xml new file mode 100644 index 00000000..c29085b7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="faccb863-bff7-4ed7-a3ae-35894612e903"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.999.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4682603a-e7fd-407e-a1f6-5b2e9196fe6c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c8f501a7-fd86-4026-b888-9ef7e77e28af_209.000.000.032.999.22"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/4b43a094-7cfd-4294-8c61-1ea09ddc4ef7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/2ac554bd-6a07-40e2-94eb-36ff7751492b"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4b43a094-7cfd-4294-8c61-1ea09ddc4ef7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27318836"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2ac554bd-6a07-40e2-94eb-36ff7751492b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Homan Provement"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 05916d7d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 7972939c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 67cee2dc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="506e4daf-d63a-4770-91ec-d7db1f5aa478"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="bc82b0c1-e9b7-4c1a-9440-a201a7a66583"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.753.16"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/200ba224-64dc-4dc4-a233-55886290fcb1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/e2497f92-adc5-41a6-9633-348af408bd96"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="200ba224-64dc-4dc4-a233-55886290fcb1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e2497f92-adc5-41a6-9633-348af408bd96"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Jasmine Flowers"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_ddedee4f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.json new file mode 100644 index 00000000..49235f92 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "5ede9884-eb13-42f6-9a09-a7e8a68af5f4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8764f78e-0dba-477e-9bb7-d149a422e224", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ddedee4f-897f-463b-a31a-363336c4d2ae_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/34508041-6b5f-4e69-8ace-6ebef88b69c0" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a806eead-a9ad-4ba5-80e7-7575e7eeeaf0" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "34508041-6b5f-4e69-8ace-6ebef88b69c0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a806eead-a9ad-4ba5-80e7-7575e7eeeaf0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Daisy Chain" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.xml new file mode 100644 index 00000000..351f1696 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5ede9884-eb13-42f6-9a09-a7e8a68af5f4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.753.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8764f78e-0dba-477e-9bb7-d149a422e224"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ddedee4f-897f-463b-a31a-363336c4d2ae_160.000.226.119.753.16"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/34508041-6b5f-4e69-8ace-6ebef88b69c0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a806eead-a9ad-4ba5-80e7-7575e7eeeaf0"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="34508041-6b5f-4e69-8ace-6ebef88b69c0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a806eead-a9ad-4ba5-80e7-7575e7eeeaf0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Daisy Chain"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index bad9b06a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index e2139ab9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 1fc98dc6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="543ea2ca-de98-43a6-b8ca-89dd1c9ac1ac"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a1cc6022-6f63-4634-a3ab-e5192c20a736"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.525.73"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/b2db8d28-df6f-4d87-a714-e720bfe73115"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/eafc3e6d-686a-49f6-95bc-34ab5020a8cc"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b2db8d28-df6f-4d87-a714-e720bfe73115"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="eafc3e6d-686a-49f6-95bc-34ab5020a8cc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Bob Inforapples"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/input.xml new file mode 100644 index 00000000..e90c9a7a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="357fb680-6876-4e7f-b25d-d2c4c028441c"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f5b4d81a-1800-4c6c-8771-3e39d16c2c30"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.525.73"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#f5b4d81a-1800-4c6c-8771-3e39d16c2c30"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.json new file mode 100644 index 00000000..9deb2dbf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "4ed469e0-c5bb-4386-b240-2600fc90dfd3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f3a45326-dff5-46e0-ab94-73ceae1186f5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "357fb680-6876-4e7f-b25d-d2c4c028441c_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/82980002-e347-4bf0-afe6-635acb3b64a6" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8a1b247c-1bf9-47a7-a5a6-8b081b4c11a0" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "82980002-e347-4bf0-afe6-635acb3b64a6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8a1b247c-1bf9-47a7-a5a6-8b081b4c11a0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Eve O'Lution" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.xml new file mode 100644 index 00000000..18492769 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4ed469e0-c5bb-4386-b240-2600fc90dfd3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.525.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f3a45326-dff5-46e0-ab94-73ceae1186f5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="357fb680-6876-4e7f-b25d-d2c4c028441c_200.000.002.096.525.73"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/82980002-e347-4bf0-afe6-635acb3b64a6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8a1b247c-1bf9-47a7-a5a6-8b081b4c11a0"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="82980002-e347-4bf0-afe6-635acb3b64a6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8a1b247c-1bf9-47a7-a5a6-8b081b4c11a0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Eve O'Lution"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 30211047..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index db0252f0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 5ba3dee2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="64342c02-111c-4262-8714-877aeaf473cb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="f03b4799-b9a5-472f-8b6e-e38d9999d4e1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.687.86"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f2356417-0ec5-406f-86cc-445f1b4747dd"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/ba1196ed-0c61-492b-8566-5853e09fd567"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f2356417-0ec5-406f-86cc-445f1b4747dd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="60537835"/> - </coding> - <text value="Zytostatika"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ba1196ed-0c61-492b-8566-5853e09fd567"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="U. O. Money"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/input.xml new file mode 100644 index 00000000..b2a927f6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="466b70a6-4479-4838-8370-3cd38a78a451"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f9adf34b-54b3-4136-8227-bbb52adb4a81"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60537835"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.687.86"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#f9adf34b-54b3-4136-8227-bbb52adb4a81"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.json new file mode 100644 index 00000000..27d2461b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "f48fc3df-c81a-4eca-ac16-db1eec9669c1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b5451497-8226-4c7f-bdb7-d520dd1b4e6d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "466b70a6-4479-4838-8370-3cd38a78a451_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/699ffd5d-f464-425f-97d4-4c3e0480b5a3" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ab469479-0b89-4365-b305-c53d1a0647f4" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "699ffd5d-f464-425f-97d4-4c3e0480b5a3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ab469479-0b89-4365-b305-c53d1a0647f4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Howe D. Pardner" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.xml new file mode 100644 index 00000000..ebd34c1c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f48fc3df-c81a-4eca-ac16-db1eec9669c1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.687.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b5451497-8226-4c7f-bdb7-d520dd1b4e6d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="466b70a6-4479-4838-8370-3cd38a78a451_169.000.011.203.687.86"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/699ffd5d-f464-425f-97d4-4c3e0480b5a3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ab469479-0b89-4365-b305-c53d1a0647f4"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="699ffd5d-f464-425f-97d4-4c3e0480b5a3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60537835"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ab469479-0b89-4365-b305-c53d1a0647f4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Howe D. Pardner"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 33f57336..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 960a08cf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index e7e2bc46..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="687dff01-64a5-47e3-931d-b0d0d258312b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="08ce1643-c748-4aee-af4b-0e26e1097667"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.764.80"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/fca058d1-2fb7-434d-938f-282d6182ac10"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/0312b7ec-b96a-47d1-81fb-881b2e75a076"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fca058d1-2fb7-434d-938f-282d6182ac10"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0312b7ec-b96a-47d1-81fb-881b2e75a076"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Pearl E White"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_cb5b4379/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.json new file mode 100644 index 00000000..35c63a92 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "8ef6141f-2da7-4c77-b767-8803be35a678", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "081e16de-f596-4438-8ae1-8f28bfbed9f6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "cb5b4379-3542-4ab4-96cb-1f557a8a25d8_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/5be14f59-ecf1-4dc3-b491-620044a2f0d6" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d205838b-a1ab-4aac-85ec-58e183285044" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5be14f59-ecf1-4dc3-b491-620044a2f0d6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d205838b-a1ab-4aac-85ec-58e183285044", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "George Washington Sleptier" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.xml new file mode 100644 index 00000000..9a74a3b3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8ef6141f-2da7-4c77-b767-8803be35a678"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.764.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="081e16de-f596-4438-8ae1-8f28bfbed9f6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="cb5b4379-3542-4ab4-96cb-1f557a8a25d8_160.000.226.119.764.80"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5be14f59-ecf1-4dc3-b491-620044a2f0d6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d205838b-a1ab-4aac-85ec-58e183285044"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5be14f59-ecf1-4dc3-b491-620044a2f0d6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d205838b-a1ab-4aac-85ec-58e183285044"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="George Washington Sleptier"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_70a68a32/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.json new file mode 100644 index 00000000..35c5fd48 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "4a647369-3566-40cc-a789-842fd390d997", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "20d568c3-c654-4cc5-9eca-bf373b46e5a9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "70a68a32-8a1a-405a-9f01-f6da6fc9d8ff_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/b6ff86fc-0491-43ca-bccd-717b8b1190f1" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ca282dce-3de2-47d4-bd3f-16f98564bde7" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b6ff86fc-0491-43ca-bccd-717b8b1190f1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ca282dce-3de2-47d4-bd3f-16f98564bde7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Candice B. DePlace" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.xml new file mode 100644 index 00000000..e5eb0303 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4a647369-3566-40cc-a789-842fd390d997"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.752.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="20d568c3-c654-4cc5-9eca-bf373b46e5a9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="70a68a32-8a1a-405a-9f01-f6da6fc9d8ff_160.000.226.119.752.19"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b6ff86fc-0491-43ca-bccd-717b8b1190f1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ca282dce-3de2-47d4-bd3f-16f98564bde7"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b6ff86fc-0491-43ca-bccd-717b8b1190f1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ca282dce-3de2-47d4-bd3f-16f98564bde7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Candice B. DePlace"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_7757f253/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.json new file mode 100644 index 00000000..3fedb21d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "c45ed946-53bc-4f7c-9141-bc57bff9ad10", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9e667198-43d4-4312-acc5-64ad0257cb03", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "7757f253-f86d-4bc3-81a9-c85aef58ead6_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/de9f404f-8a2e-4f8a-b0c8-9dd7318c473a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/192fa6cc-914f-41d0-9cfa-599496bb5816" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "de9f404f-8a2e-4f8a-b0c8-9dd7318c473a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "192fa6cc-914f-41d0-9cfa-599496bb5816", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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_7757f253/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.xml new file mode 100644 index 00000000..c2763827 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c45ed946-53bc-4f7c-9141-bc57bff9ad10"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.994.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9e667198-43d4-4312-acc5-64ad0257cb03"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="7757f253-f86d-4bc3-81a9-c85aef58ead6_209.000.000.032.994.37"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/de9f404f-8a2e-4f8a-b0c8-9dd7318c473a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/192fa6cc-914f-41d0-9cfa-599496bb5816"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="de9f404f-8a2e-4f8a-b0c8-9dd7318c473a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="93081505"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="192fa6cc-914f-41d0-9cfa-599496bb5816"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Moe Skeeto"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 627196fa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 4a552f26..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 3e377429..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="7be52e28-6841-40be-8b45-b9cd153efb50"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="209331fb-44f8-40ba-8367-6ac0d345ea78"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.807.48"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/a34bbecf-9dbb-4a41-afaa-cbb141a72ebe"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/50084b21-698c-4f40-a24f-9198952b14d4"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a34bbecf-9dbb-4a41-afaa-cbb141a72ebe"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="50084b21-698c-4f40-a24f-9198952b14d4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Marty Graw"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_fe8a28dd/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.json new file mode 100644 index 00000000..2e9ab040 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "7652a03f-63e3-4259-94a0-52a2bb001e3c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "7781cf3b-08cd-4b54-aa9e-05d66206b818", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "fe8a28dd-4a9d-4df7-b8a8-8f0434f8526a_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/049afc79-5545-4851-8314-44a7a8b160a4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/9dc837ba-c197-4e53-934e-cb2a83748d7d" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "049afc79-5545-4851-8314-44a7a8b160a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9dc837ba-c197-4e53-934e-cb2a83748d7d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Jo King" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.xml new file mode 100644 index 00000000..aec339bd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7652a03f-63e3-4259-94a0-52a2bb001e3c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.807.48"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7781cf3b-08cd-4b54-aa9e-05d66206b818"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="fe8a28dd-4a9d-4df7-b8a8-8f0434f8526a_160.000.226.119.807.48"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/049afc79-5545-4851-8314-44a7a8b160a4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/9dc837ba-c197-4e53-934e-cb2a83748d7d"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="049afc79-5545-4851-8314-44a7a8b160a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9dc837ba-c197-4e53-934e-cb2a83748d7d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jo King"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 493d845d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 16c1c893..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 57d570be..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="809395bb-0e90-48c7-aee1-031d3e00ed62"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="f53ad09b-acbe-47be-963c-a69d3b8c94d4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.758.98"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/479ceadd-d74a-4a3e-8b2b-9bea105f6d23"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/2b964011-5765-4ffe-a49c-a08e19d7a42d"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="479ceadd-d74a-4a3e-8b2b-9bea105f6d23"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2b964011-5765-4ffe-a49c-a08e19d7a42d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ivan Oder"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_a21e7dbb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.json new file mode 100644 index 00000000..611bd58c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "e6b2c558-6db6-48bb-9d04-d5c5644e93e5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "207a5faa-5509-4f8e-b9e5-26c4024f013f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a21e7dbb-db33-4723-b6aa-0d2ea59e7e1a_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/2de0d2c5-946b-4a16-bdaa-5ff9f21ba6fe" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/b4399273-cd0d-48a3-9a64-034d6c20e61e" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2de0d2c5-946b-4a16-bdaa-5ff9f21ba6fe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b4399273-cd0d-48a3-9a64-034d6c20e61e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Shandy Lear" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.xml new file mode 100644 index 00000000..132933d1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e6b2c558-6db6-48bb-9d04-d5c5644e93e5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.758.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="207a5faa-5509-4f8e-b9e5-26c4024f013f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a21e7dbb-db33-4723-b6aa-0d2ea59e7e1a_160.000.226.119.758.98"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2de0d2c5-946b-4a16-bdaa-5ff9f21ba6fe"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/b4399273-cd0d-48a3-9a64-034d6c20e61e"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2de0d2c5-946b-4a16-bdaa-5ff9f21ba6fe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b4399273-cd0d-48a3-9a64-034d6c20e61e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Shandy Lear"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 53562017..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 565805db..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 88867f5c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="909027dd-3eda-4810-b443-65d4aa3fd8ed"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5181c149-c233-4159-b41d-8bdbbd1eb482"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.752.19"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/8e4c10de-6a5b-4b62-8d9a-f523f6733d0d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/6fe56858-4f22-415a-b83f-89cc052d0f6a"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8e4c10de-6a5b-4b62-8d9a-f523f6733d0d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6fe56858-4f22-415a-b83f-89cc052d0f6a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Darren Deeds"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/input.xml new file mode 100644 index 00000000..449f350a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="70a68a32-8a1a-405a-9f01-f6da6fc9d8ff"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="80dcfd04-c4d9-4c31-bc4a-08253d86f10f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.752.19"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#80dcfd04-c4d9-4c31-bc4a-08253d86f10f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.json new file mode 100644 index 00000000..6c55e769 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "9844bf03-c65d-4e78-a347-1577b5f88c42", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a8c3b6b1-0ca7-4dd6-8db7-599539ff4d5e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "70a68a32-8a1a-405a-9f01-f6da6fc9d8ff_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/b0f343e3-9846-43cf-befd-42d180be4a63" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/9a2a0ed5-5349-40d8-b3cb-86ed73f5f5be" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b0f343e3-9846-43cf-befd-42d180be4a63", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9a2a0ed5-5349-40d8-b3cb-86ed73f5f5be", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Elmer Sklue" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.xml new file mode 100644 index 00000000..141f10a7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9844bf03-c65d-4e78-a347-1577b5f88c42"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.752.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a8c3b6b1-0ca7-4dd6-8db7-599539ff4d5e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="70a68a32-8a1a-405a-9f01-f6da6fc9d8ff_160.000.226.119.752.19"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b0f343e3-9846-43cf-befd-42d180be4a63"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/9a2a0ed5-5349-40d8-b3cb-86ed73f5f5be"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b0f343e3-9846-43cf-befd-42d180be4a63"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9a2a0ed5-5349-40d8-b3cb-86ed73f5f5be"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Elmer Sklue"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_948d7373/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.json new file mode 100644 index 00000000..d089b241 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "c34a90be-f56b-4368-8033-d72ca59835eb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ccc803f7-2a7d-4fff-b64b-33b542e6db98", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "948d7373-be34-40f7-a1de-a4407bc4ccf3_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/f32d4b7b-a6e3-49b4-b828-53036214ccab" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e1505c2e-3fa5-4218-be1d-79115558fa3c" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f32d4b7b-a6e3-49b4-b828-53036214ccab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e1505c2e-3fa5-4218-be1d-79115558fa3c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Nick O'Teen" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.xml new file mode 100644 index 00000000..afa15714 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c34a90be-f56b-4368-8033-d72ca59835eb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.743.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ccc803f7-2a7d-4fff-b64b-33b542e6db98"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="948d7373-be34-40f7-a1de-a4407bc4ccf3_160.000.226.119.743.46"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f32d4b7b-a6e3-49b4-b828-53036214ccab"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e1505c2e-3fa5-4218-be1d-79115558fa3c"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f32d4b7b-a6e3-49b4-b828-53036214ccab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e1505c2e-3fa5-4218-be1d-79115558fa3c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Nick O'Teen"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_9e291e49/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.json new file mode 100644 index 00000000..854b636e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "b19c78f7-5f39-49d4-abcb-3c6f7c4da96f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5d617862-b920-47bc-969e-f9167cb25cb2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "9e291e49-64ce-42ae-8fed-ea765c9b3f9a_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/1d664335-0763-4e07-9fb3-6826e63db349" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/35124683-e255-4df2-a90d-f85a51e9fc62" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "1d664335-0763-4e07-9fb3-6826e63db349", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "35124683-e255-4df2-a90d-f85a51e9fc62", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Olive Hoyl" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.xml new file mode 100644 index 00000000..f5064212 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b19c78f7-5f39-49d4-abcb-3c6f7c4da96f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.751.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5d617862-b920-47bc-969e-f9167cb25cb2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="9e291e49-64ce-42ae-8fed-ea765c9b3f9a_160.000.226.119.751.22"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1d664335-0763-4e07-9fb3-6826e63db349"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/35124683-e255-4df2-a90d-f85a51e9fc62"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1d664335-0763-4e07-9fb3-6826e63db349"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="35124683-e255-4df2-a90d-f85a51e9fc62"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Olive Hoyl"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/input.xml new file mode 100644 index 00000000..d6ba8009 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a21e7dbb-db33-4723-b6aa-0d2ea59e7e1a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="31854a03-ec93-4ff2-ad12-b2e7fab74099"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.758.98"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#31854a03-ec93-4ff2-ad12-b2e7fab74099"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_a21e7dbb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.json new file mode 100644 index 00000000..f0c123f1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "f0e60857-1d87-4d7e-9251-3054855b7b57", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e93e0bdd-a9bd-467e-9602-9718ecef3123", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a21e7dbb-db33-4723-b6aa-0d2ea59e7e1a_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/051869c8-c987-413f-9355-01d06b0b2d91" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/45d68336-9c78-42fc-8cc4-d595e21e075a" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "051869c8-c987-413f-9355-01d06b0b2d91", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "45d68336-9c78-42fc-8cc4-d595e21e075a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Cal Efornia" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.xml new file mode 100644 index 00000000..df46b548 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f0e60857-1d87-4d7e-9251-3054855b7b57"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.758.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e93e0bdd-a9bd-467e-9602-9718ecef3123"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a21e7dbb-db33-4723-b6aa-0d2ea59e7e1a_160.000.226.119.758.98"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/051869c8-c987-413f-9355-01d06b0b2d91"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/45d68336-9c78-42fc-8cc4-d595e21e075a"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="051869c8-c987-413f-9355-01d06b0b2d91"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="45d68336-9c78-42fc-8cc4-d595e21e075a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Cal Efornia"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index d069fb52..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 373d6882..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 315ab2bd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a7854089-258f-453b-bed4-de8af4095351"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="2f13192f-d531-4025-b95b-f7d6115564be"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.769.65"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/8336ebe0-7c15-456a-b8e3-d600ef4daaed"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/cacc190a-d354-42ad-becc-0f496e44bdf3"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8336ebe0-7c15-456a-b8e3-d600ef4daaed"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="cacc190a-d354-42ad-becc-0f496e44bdf3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Tom A. Toe"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/input.xml new file mode 100644 index 00000000..8e97c969 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0474ec05-ba5a-4e15-91d2-4e28a0729785"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0df78f1b-8930-4f2f-8c92-3a8659f694ff"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.769.65"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#0df78f1b-8930-4f2f-8c92-3a8659f694ff"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.json new file mode 100644 index 00000000..7c5126a1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "71f58b6c-9a66-49df-ba46-b67d765f1b57", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "49fb79cc-cd04-4955-a72a-c92a0f095fb4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "0474ec05-ba5a-4e15-91d2-4e28a0729785_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/4a294487-072d-4b1f-8891-d6a863f449c7" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ab5926ea-119d-403f-8c4c-9e3be5ef92d8" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "4a294487-072d-4b1f-8891-d6a863f449c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ab5926ea-119d-403f-8c4c-9e3be5ef92d8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Mel Practiss" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.xml new file mode 100644 index 00000000..677a1627 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="71f58b6c-9a66-49df-ba46-b67d765f1b57"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.769.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="49fb79cc-cd04-4955-a72a-c92a0f095fb4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="0474ec05-ba5a-4e15-91d2-4e28a0729785_160.000.226.119.769.65"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/4a294487-072d-4b1f-8891-d6a863f449c7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ab5926ea-119d-403f-8c4c-9e3be5ef92d8"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4a294487-072d-4b1f-8891-d6a863f449c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ab5926ea-119d-403f-8c4c-9e3be5ef92d8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Mel Practiss"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/input.xml new file mode 100644 index 00000000..fb97c062 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c8f501a7-fd86-4026-b888-9ef7e77e28af"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="44a2f90f-39d2-407b-9ff6-d85f733885de"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27318836"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.999.22"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#44a2f90f-39d2-407b-9ff6-d85f733885de"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_c8f501a7/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.json new file mode 100644 index 00000000..f6b86e1f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "1cc9b6fd-4778-48ff-86fb-eb887953080c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "35a5b17a-37d7-49c8-be11-d87bcfbcb574", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c8f501a7-fd86-4026-b888-9ef7e77e28af_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/82e08c45-902b-4616-a686-97e7bb310d44" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/2a66b880-05da-40d9-89f0-2c9e86066371" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "82e08c45-902b-4616-a686-97e7bb310d44", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2a66b880-05da-40d9-89f0-2c9e86066371", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ilene South" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.xml new file mode 100644 index 00000000..1fcd8016 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1cc9b6fd-4778-48ff-86fb-eb887953080c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.999.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="35a5b17a-37d7-49c8-be11-d87bcfbcb574"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c8f501a7-fd86-4026-b888-9ef7e77e28af_209.000.000.032.999.22"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/82e08c45-902b-4616-a686-97e7bb310d44"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/2a66b880-05da-40d9-89f0-2c9e86066371"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="82e08c45-902b-4616-a686-97e7bb310d44"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27318836"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a66b880-05da-40d9-89f0-2c9e86066371"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ilene South"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/input.xml new file mode 100644 index 00000000..67cfb7bf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c9011d4b-4d85-47b4-b89b-cef22a0d647a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6f068ff5-f3e7-470f-9899-91f804ce3944"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="42938335"/> + </coding> + <text value="Fexvomilzol"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.784.20"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#6f068ff5-f3e7-470f-9899-91f804ce3944"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_c9011d4b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.json new file mode 100644 index 00000000..120a38a1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "3a440dac-7d10-4f2a-86ff-3e77762da664", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2987556b-f28a-4db4-9c52-ecfc77d20bd3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c9011d4b-4d85-47b4-b89b-cef22a0d647a_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/cc0e19f1-c892-4997-8a4a-12ca35244477" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/083f5d21-f3ac-4891-8eb9-a15c13f49360" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "cc0e19f1-c892-4997-8a4a-12ca35244477", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "083f5d21-f3ac-4891-8eb9-a15c13f49360", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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. Hatchett" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.xml new file mode 100644 index 00000000..b1a630ba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3a440dac-7d10-4f2a-86ff-3e77762da664"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.784.20"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2987556b-f28a-4db4-9c52-ecfc77d20bd3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c9011d4b-4d85-47b4-b89b-cef22a0d647a_160.000.226.119.784.20"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/cc0e19f1-c892-4997-8a4a-12ca35244477"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/083f5d21-f3ac-4891-8eb9-a15c13f49360"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cc0e19f1-c892-4997-8a4a-12ca35244477"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="42938335"/> + </coding> + <text value="Fexvomilzol"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="083f5d21-f3ac-4891-8eb9-a15c13f49360"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Barry D. Hatchett"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/input.xml new file mode 100644 index 00000000..94007fff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="cb5b4379-3542-4ab4-96cb-1f557a8a25d8"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="59321cad-29d5-4873-9f7e-d4e9460578fa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.764.80"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#59321cad-29d5-4873-9f7e-d4e9460578fa"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_cb5b4379/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.json new file mode 100644 index 00000000..c2c5be81 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "d4c91b89-922d-48aa-9bc0-3ad95ed22bad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8fc97b7d-b718-46a0-a3dc-f7608a652168", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "cb5b4379-3542-4ab4-96cb-1f557a8a25d8_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/2ff3663a-3d2c-4202-acd9-b94459d6865c" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/1d0e17bf-27bc-40fa-a9f0-d9d08ab8ce39" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2ff3663a-3d2c-4202-acd9-b94459d6865c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1d0e17bf-27bc-40fa-a9f0-d9d08ab8ce39", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Brook Lynn Bridge" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.xml new file mode 100644 index 00000000..9d95fd60 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d4c91b89-922d-48aa-9bc0-3ad95ed22bad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.764.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8fc97b7d-b718-46a0-a3dc-f7608a652168"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="cb5b4379-3542-4ab4-96cb-1f557a8a25d8_160.000.226.119.764.80"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2ff3663a-3d2c-4202-acd9-b94459d6865c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/1d0e17bf-27bc-40fa-a9f0-d9d08ab8ce39"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2ff3663a-3d2c-4202-acd9-b94459d6865c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1d0e17bf-27bc-40fa-a9f0-d9d08ab8ce39"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Brook Lynn Bridge"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index af4bbcc0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index f9ad47ff..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 548745db..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d71fba4b-dec6-4dc5-a6f2-1e068f480440"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5dbdbe00-8463-4c6f-bf3d-4ea9775baed0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.743.46"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/baca2cb9-e31f-4246-a5de-e87e9536f82f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/0298daee-1a1e-4e47-835d-3a9f662de25e"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="baca2cb9-e31f-4246-a5de-e87e9536f82f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0298daee-1a1e-4e47-835d-3a9f662de25e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Chuck Roast"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/input.xml new file mode 100644 index 00000000..5e60cdc0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="948d7373-be34-40f7-a1de-a4407bc4ccf3"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="98670442-3d6e-4199-a1a7-45011daa2d53"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.743.46"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#98670442-3d6e-4199-a1a7-45011daa2d53"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.json new file mode 100644 index 00000000..ba07a2e0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "dbfecf25-44ef-49bc-a290-14de135bf30e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5759adbc-b57a-47d8-ac4f-65de6169a52e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "948d7373-be34-40f7-a1de-a4407bc4ccf3_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/17d5979c-da8d-4805-8432-4edf0870e34e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a80d5834-24ef-4676-84ef-65cc06fe4ea9" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "17d5979c-da8d-4805-8432-4edf0870e34e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a80d5834-24ef-4676-84ef-65cc06fe4ea9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Harmon Ikka" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.xml new file mode 100644 index 00000000..ca3dea04 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dbfecf25-44ef-49bc-a290-14de135bf30e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.743.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5759adbc-b57a-47d8-ac4f-65de6169a52e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="948d7373-be34-40f7-a1de-a4407bc4ccf3_160.000.226.119.743.46"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/17d5979c-da8d-4805-8432-4edf0870e34e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a80d5834-24ef-4676-84ef-65cc06fe4ea9"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="17d5979c-da8d-4805-8432-4edf0870e34e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a80d5834-24ef-4676-84ef-65cc06fe4ea9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Harmon Ikka"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 7e1e3f39..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 9a7be7ca..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index f89c8960..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d8468bee-bc16-4625-9fb9-7016bcb976f9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="52b16dbe-e5aa-4f86-a967-1933941669d3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.994.37"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/714f96d9-66d1-4bf1-ac22-ae05690261d6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/ef111b3b-c9fc-4e33-be6d-e12e86f11673"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="714f96d9-66d1-4bf1-ac22-ae05690261d6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="93081505"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ef111b3b-c9fc-4e33-be6d-e12e86f11673"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Dusty Sandmann"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/input.xml new file mode 100644 index 00000000..1ce4c23c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7757f253-f86d-4bc3-81a9-c85aef58ead6"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86ea5ae2-bb11-4e5d-827e-f2ca5dcb291b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="93081505"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.994.37"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#86ea5ae2-bb11-4e5d-827e-f2ca5dcb291b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.json new file mode 100644 index 00000000..211dbe25 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "7f1b504f-748e-47a9-8814-7acccbd2bf52", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "6424cbd8-166e-4cf2-9f2e-ab5f81f48ced", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "7757f253-f86d-4bc3-81a9-c85aef58ead6_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/920cfc72-86ca-42f2-b94c-b2f6a199e2fc" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/01af8bf2-7f20-44a3-8af3-f9ab1fecf72c" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "920cfc72-86ca-42f2-b94c-b2f6a199e2fc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "01af8bf2-7f20-44a3-8af3-f9ab1fecf72c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Billy Rubin" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.xml new file mode 100644 index 00000000..eb0fd9c5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7f1b504f-748e-47a9-8814-7acccbd2bf52"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.994.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6424cbd8-166e-4cf2-9f2e-ab5f81f48ced"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="7757f253-f86d-4bc3-81a9-c85aef58ead6_209.000.000.032.994.37"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/920cfc72-86ca-42f2-b94c-b2f6a199e2fc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/01af8bf2-7f20-44a3-8af3-f9ab1fecf72c"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="920cfc72-86ca-42f2-b94c-b2f6a199e2fc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="93081505"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="01af8bf2-7f20-44a3-8af3-f9ab1fecf72c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Billy Rubin"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/input.xml new file mode 100644 index 00000000..ec300962 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ddedee4f-897f-463b-a31a-363336c4d2ae"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8b58a971-50ea-412e-b5d0-5fc7a314e626"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.753.16"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#8b58a971-50ea-412e-b5d0-5fc7a314e626"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_ddedee4f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.json new file mode 100644 index 00000000..890ef52c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "1652ca8e-295a-46da-87ec-3e4cf43a20ca", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "38dbeb74-6579-4e82-a2dd-274176742ded", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ddedee4f-897f-463b-a31a-363336c4d2ae_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/eb4cd47b-887b-4be2-a06d-2dd100500fe1" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c8d9f007-feb4-49fe-9568-64a573f84159" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "eb4cd47b-887b-4be2-a06d-2dd100500fe1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c8d9f007-feb4-49fe-9568-64a573f84159", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Cal Efornia" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.xml new file mode 100644 index 00000000..369202bc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1652ca8e-295a-46da-87ec-3e4cf43a20ca"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.753.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="38dbeb74-6579-4e82-a2dd-274176742ded"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ddedee4f-897f-463b-a31a-363336c4d2ae_160.000.226.119.753.16"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/eb4cd47b-887b-4be2-a06d-2dd100500fe1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c8d9f007-feb4-49fe-9568-64a573f84159"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="eb4cd47b-887b-4be2-a06d-2dd100500fe1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c8d9f007-feb4-49fe-9568-64a573f84159"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Cal Efornia"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/input.xml new file mode 100644 index 00000000..f84cee95 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="de72e8de-ad97-4453-be83-0f83ef948b89"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9adfbfc4-7b3c-49d1-9f6e-34f02761782e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="14659553"/> + </coding> + <text value="Abaamisure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.695.62"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#9adfbfc4-7b3c-49d1-9f6e-34f02761782e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110499478"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_de72e8de/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.json new file mode 100644 index 00000000..8ee497a7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "15a61648-383f-4448-8d6f-21794345dcf7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "cfc3e24b-2c8d-48a6-a828-513db24ecdad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "de72e8de-ad97-4453-be83-0f83ef948b89_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/5e00036e-ced7-4c19-ab61-966e4bac2f20" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110499478" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/37be50b5-9a29-4f55-b840-6e087e23c9ab" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5e00036e-ced7-4c19-ab61-966e4bac2f20", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "37be50b5-9a29-4f55-b840-6e087e23c9ab", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Barr" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.xml new file mode 100644 index 00000000..f93e23c7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="15a61648-383f-4448-8d6f-21794345dcf7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.695.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="cfc3e24b-2c8d-48a6-a828-513db24ecdad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="de72e8de-ad97-4453-be83-0f83ef948b89_169.000.011.203.695.62"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5e00036e-ced7-4c19-ab61-966e4bac2f20"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110499478"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/37be50b5-9a29-4f55-b840-6e087e23c9ab"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5e00036e-ced7-4c19-ab61-966e4bac2f20"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="14659553"/> + </coding> + <text value="Abaamisure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="37be50b5-9a29-4f55-b840-6e087e23c9ab"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Candy Barr"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 98b5899a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 0753c242..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index c488a2e9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e3418508-6823-48c9-aaa8-3fdea4e42467"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="e33b312d-3dff-43dd-8e0e-13102d756ab6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.766.74"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/627df8c3-c581-4698-a865-419fc31bf0cb"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/563416ed-f7d7-4f04-821d-730139486d42"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="627df8c3-c581-4698-a865-419fc31bf0cb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="563416ed-f7d7-4f04-821d-730139486d42"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Lon Moore"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/input.xml new file mode 100644 index 00000000..2edf3102 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="15850937-431a-4ddd-a704-f3dc368e8043"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5390eeb6-cf71-4d6d-bf2a-179bdd86773b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5390eeb6-cf71-4d6d-bf2a-179bdd86773b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.json new file mode 100644 index 00000000..0adf8e8a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "e2db0e2a-9600-45fa-bd94-491e0818e2e4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "7cc8f46f-03ef-4ac2-a7b5-947ef7af9567", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "15850937-431a-4ddd-a704-f3dc368e8043_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/6335f2cd-f406-4d6b-bac9-89d6811bb923" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/776b0895-3c01-44ea-aa92-4ae5e7d4f315" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "6335f2cd-f406-4d6b-bac9-89d6811bb923", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "776b0895-3c01-44ea-aa92-4ae5e7d4f315", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "April Schauer" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.xml new file mode 100644 index 00000000..40cf5260 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e2db0e2a-9600-45fa-bd94-491e0818e2e4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7cc8f46f-03ef-4ac2-a7b5-947ef7af9567"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="15850937-431a-4ddd-a704-f3dc368e8043_160.000.226.119.766.74"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/6335f2cd-f406-4d6b-bac9-89d6811bb923"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/776b0895-3c01-44ea-aa92-4ae5e7d4f315"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6335f2cd-f406-4d6b-bac9-89d6811bb923"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="776b0895-3c01-44ea-aa92-4ae5e7d4f315"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="April Schauer"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 8576262a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index c2a22822..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index dd30b2aa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f1564ba7-54d7-454d-8971-8a54e3bcf2b9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a10521f6-7fc5-4297-bca3-3c1541d86d1b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.757.04"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/82a98e41-8f47-4b32-bd06-9cbfdc1870af"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/07b67d7d-4149-4611-9503-9bc00ae59866"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="82a98e41-8f47-4b32-bd06-9cbfdc1870af"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="07b67d7d-4149-4611-9503-9bc00ae59866"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Jack Dupp"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/input.xml new file mode 100644 index 00000000..44b64ccc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2f0c013c-9dc0-4980-bb8d-3409a7209212"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="61fbee44-f40d-4d40-a5a1-d7f50ef7bade"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.757.04"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#61fbee44-f40d-4d40-a5a1-d7f50ef7bade"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.json new file mode 100644 index 00000000..db38d516 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "36cba343-0c40-424c-b8b4-88c8997ef9f5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b389d386-482a-4de6-9f43-d9ae70f5fa0e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "2f0c013c-9dc0-4980-bb8d-3409a7209212_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/ea613e40-0e54-4b76-af4c-016e9629e58e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8d106b2a-c9bc-4e25-a1f4-fdf8a7bcfc1a" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ea613e40-0e54-4b76-af4c-016e9629e58e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8d106b2a-c9bc-4e25-a1f4-fdf8a7bcfc1a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Katt" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.xml new file mode 100644 index 00000000..f5693a41 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="36cba343-0c40-424c-b8b4-88c8997ef9f5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.757.04"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b389d386-482a-4de6-9f43-d9ae70f5fa0e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="2f0c013c-9dc0-4980-bb8d-3409a7209212_160.000.226.119.757.04"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ea613e40-0e54-4b76-af4c-016e9629e58e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8d106b2a-c9bc-4e25-a1f4-fdf8a7bcfc1a"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ea613e40-0e54-4b76-af4c-016e9629e58e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8d106b2a-c9bc-4e25-a1f4-fdf8a7bcfc1a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Tom Katt"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/input.xml new file mode 100644 index 00000000..9fe7a8a9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f9a262d7-26a7-4ad6-a2ea-0d509dee7e89"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5d524fd1-9f6f-4a89-b14e-7c2b14bc0c24"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="47126688"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.690.77"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5d524fd1-9f6f-4a89-b14e-7c2b14bc0c24"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_f9a262d7/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.json new file mode 100644 index 00000000..8f25e2b5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "d6eeb18c-4446-40cf-9643-f94707bc30f3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ed8bfbf2-a26b-413b-864d-7aee4ab7b6d6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f9a262d7-26a7-4ad6-a2ea-0d509dee7e89_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/d1f231e4-0ed0-41fe-a7ad-95abdae7e346" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/824dda3a-97f0-46db-bba8-da4af9d7c984" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "d1f231e4-0ed0-41fe-a7ad-95abdae7e346", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "824dda3a-97f0-46db-bba8-da4af9d7c984", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Terry Bull" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.xml new file mode 100644 index 00000000..20014004 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d6eeb18c-4446-40cf-9643-f94707bc30f3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.690.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ed8bfbf2-a26b-413b-864d-7aee4ab7b6d6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f9a262d7-26a7-4ad6-a2ea-0d509dee7e89_169.000.011.203.690.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/d1f231e4-0ed0-41fe-a7ad-95abdae7e346"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/824dda3a-97f0-46db-bba8-da4af9d7c984"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d1f231e4-0ed0-41fe-a7ad-95abdae7e346"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="47126688"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="824dda3a-97f0-46db-bba8-da4af9d7c984"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Terry Bull"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 852fa1c0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 5bd85036..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 4ef952d9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="fa474a74-4244-4a8c-9baf-b1798814f773"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ec811acd-cd80-4523-83ac-dea90e7516c7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.751.22"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/bcbbc11e-5301-4e8f-9b33-78716864df1b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/5a9f4694-f1dc-4e7e-b2bb-cbb259246d38"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bcbbc11e-5301-4e8f-9b33-78716864df1b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5a9f4694-f1dc-4e7e-b2bb-cbb259246d38"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Winnie Bago"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/input.xml new file mode 100644 index 00000000..b9114e7e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9e291e49-64ce-42ae-8fed-ea765c9b3f9a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5088d1cf-46f8-4c89-b3c7-1fbda757aadb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.751.22"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5088d1cf-46f8-4c89-b3c7-1fbda757aadb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.json new file mode 100644 index 00000000..56364e16 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "d0dd36d0-e56b-4289-8974-2e9215463930", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "6bdb702d-6303-470a-aab2-8fa7b28ce47e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "9e291e49-64ce-42ae-8fed-ea765c9b3f9a_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/e846c940-1708-4bf0-aebd-9e0cd204946e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a4545ea9-d4b9-42b8-b1b1-20c12ae97b58" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e846c940-1708-4bf0-aebd-9e0cd204946e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a4545ea9-d4b9-42b8-b1b1-20c12ae97b58", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Tupp" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.xml new file mode 100644 index 00000000..bab74e4a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d0dd36d0-e56b-4289-8974-2e9215463930"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.751.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6bdb702d-6303-470a-aab2-8fa7b28ce47e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="9e291e49-64ce-42ae-8fed-ea765c9b3f9a_160.000.226.119.751.22"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e846c940-1708-4bf0-aebd-9e0cd204946e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a4545ea9-d4b9-42b8-b1b1-20c12ae97b58"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e846c940-1708-4bf0-aebd-9e0cd204946e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a4545ea9-d4b9-42b8-b1b1-20c12ae97b58"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jack Tupp"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/input.xml new file mode 100644 index 00000000..fb947824 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="fe8a28dd-4a9d-4df7-b8a8-8f0434f8526a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="05e937fd-3b04-4422-acb5-ec31f39109c9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.807.48"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#05e937fd-3b04-4422-acb5-ec31f39109c9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/008_Request_MedicationDispense_fe8a28dd/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.json new file mode 100644 index 00000000..15b78db8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "a0e6b988-a2be-420d-8ad6-0c9175259f23", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "caeaa47e-0e93-4f25-a290-196121996dd6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "fe8a28dd-4a9d-4df7-b8a8-8f0434f8526a_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/08d4f4a7-5cb8-40f3-b3b9-0a0fdcc7302b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/cae50ab6-033f-4aec-98c1-242dba03abc5" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "08d4f4a7-5cb8-40f3-b3b9-0a0fdcc7302b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cae50ab6-033f-4aec-98c1-242dba03abc5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/008_Request_MedicationDispense_fe8a28dd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.xml new file mode 100644 index 00000000..5e0c39b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a0e6b988-a2be-420d-8ad6-0c9175259f23"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.807.48"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="caeaa47e-0e93-4f25-a290-196121996dd6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="fe8a28dd-4a9d-4df7-b8a8-8f0434f8526a_160.000.226.119.807.48"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/08d4f4a7-5cb8-40f3-b3b9-0a0fdcc7302b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/cae50ab6-033f-4aec-98c1-242dba03abc5"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="08d4f4a7-5cb8-40f3-b3b9-0a0fdcc7302b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cae50ab6-033f-4aec-98c1-242dba03abc5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ken Oppenner"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 1dd0517b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index fde86c3f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index b735a726..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0159fb4f-20e9-4517-9efc-06787501bf1a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="692e8809-8ca3-4c69-a45c-eabfbec1e56e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.760.92"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/429472a2-c6bd-4914-ab41-a2c17fe86fc9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/001e1f7b-6a12-4f8c-b190-472bee2c6eff"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="429472a2-c6bd-4914-ab41-a2c17fe86fc9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="001e1f7b-6a12-4f8c-b190-472bee2c6eff"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Rose Bush"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_5b32c036/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/output.json new file mode 100644 index 00000000..d076e005 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "1ec5b740-047b-4b83-a835-c324183a2007", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "3aaadd25-44cb-4359-a413-2693f5885061", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b32c036-6168-437f-b44c-4b0dbd12a9d9_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/23b80075-5470-432b-8bda-f621f561af24" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/59fb0cef-bf4f-4037-b870-b39cffe18925" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "23b80075-5470-432b-8bda-f621f561af24", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "59fb0cef-bf4f-4037-b870-b39cffe18925", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/009_Request_MedicationDispense_0159fb4f_5b32c036/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/output.xml new file mode 100644 index 00000000..21a8e98f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1ec5b740-047b-4b83-a835-c324183a2007"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.760.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="3aaadd25-44cb-4359-a413-2693f5885061"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b32c036-6168-437f-b44c-4b0dbd12a9d9_160.000.226.119.760.92"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/23b80075-5470-432b-8bda-f621f561af24"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/59fb0cef-bf4f-4037-b870-b39cffe18925"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="23b80075-5470-432b-8bda-f621f561af24"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="59fb0cef-bf4f-4037-b870-b39cffe18925"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Darren Deeds"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_11863590/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.json new file mode 100644 index 00000000..0fdc6acc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "8b19d55e-0bf3-4096-9c54-419b1ca25adc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a0e5e438-3d4f-4996-b654-abf43d28dc53", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "11863590-3c0b-403c-85fb-5ec91ac10bd9_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/1fe6fb99-3c28-490c-b02a-4bf2f01ecd48" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/cc4b8823-a74c-4c5f-91c5-1bbd2827fd06" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "1fe6fb99-3c28-490c-b02a-4bf2f01ecd48", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cc4b8823-a74c-4c5f-91c5-1bbd2827fd06", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Phillip D. Bagg" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.xml new file mode 100644 index 00000000..30de1240 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8b19d55e-0bf3-4096-9c54-419b1ca25adc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.541.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a0e5e438-3d4f-4996-b654-abf43d28dc53"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="11863590-3c0b-403c-85fb-5ec91ac10bd9_200.000.002.096.541.25"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1fe6fb99-3c28-490c-b02a-4bf2f01ecd48"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/cc4b8823-a74c-4c5f-91c5-1bbd2827fd06"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1fe6fb99-3c28-490c-b02a-4bf2f01ecd48"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25582871"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cc4b8823-a74c-4c5f-91c5-1bbd2827fd06"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Phillip D. Bagg"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index d67bb93a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 487b54cd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 8d01bf7a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1473f940-40b2-4d79-ac10-a7a7765f2a90"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5eaf8681-b078-4dc0-83f1-f661b78da84b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.768.68"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/32d9bf4d-8c4f-418e-8983-d7739c511e48"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/647c3af0-88ba-4f8d-a92d-f0265afb25cf"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="32d9bf4d-8c4f-418e-8983-d7739c511e48"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="647c3af0-88ba-4f8d-a92d-f0265afb25cf"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ricky T. Ladder"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_f9f80ea9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.json new file mode 100644 index 00000000..010f26b6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "fc08a459-daae-457e-ad31-97596e89a25c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5049de6b-98fc-4d1c-9298-4882c6a69f5a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f9f80ea9-6ae4-4916-877e-1707094b808a_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/333e0592-288f-4e0a-ab5f-29b29fff6fcb" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8d99d095-b27d-46cf-94cb-eb6a52e2f874" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "333e0592-288f-4e0a-ab5f-29b29fff6fcb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8d99d095-b27d-46cf-94cb-eb6a52e2f874", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Chris Mass" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.xml new file mode 100644 index 00000000..3d2759eb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fc08a459-daae-457e-ad31-97596e89a25c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.768.68"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5049de6b-98fc-4d1c-9298-4882c6a69f5a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f9f80ea9-6ae4-4916-877e-1707094b808a_160.000.226.119.768.68"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/333e0592-288f-4e0a-ab5f-29b29fff6fcb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8d99d095-b27d-46cf-94cb-eb6a52e2f874"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="333e0592-288f-4e0a-ab5f-29b29fff6fcb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8d99d095-b27d-46cf-94cb-eb6a52e2f874"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Chris Mass"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index df93b573..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 4deeb206..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index e7b5adf5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1f42e5b7-2ff9-45f9-9b26-f17e499d2f98"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1f54c022-2e26-43e1-af0f-ee78e9dbccc7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.463.677.05"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/6e660f8b-f884-4c7c-8ce4-79e4fd123b3f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="T046142499"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/eac390c8-ba32-4a9f-9654-73806e38d7e5"/> - </actor> - </performer> - <whenHandedOver value="2024-02-13"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6e660f8b-f884-4c7c-8ce4-79e4fd123b3f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="eac390c8-ba32-4a9f-9654-73806e38d7e5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Al B. Tross"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_8f932795/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.json new file mode 100644 index 00000000..f1ac4687 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "ff07303c-d32c-4593-9a49-0d7439879fc4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.006.463.677.05" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f41759df-2280-43a7-9977-c0682401c324", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "8f932795-0cfc-4720-ac9b-7bfca4c1a280_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/38969080-a8c5-43db-84b7-66ef9bf394a0" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "T046142499" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f79ebdff-ed15-4002-92e8-0209f38ca10e" + } + } ], + "whenHandedOver": "2024-02-13" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "38969080-a8c5-43db-84b7-66ef9bf394a0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f79ebdff-ed15-4002-92e8-0209f38ca10e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Irons" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.xml new file mode 100644 index 00000000..5b643835 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ff07303c-d32c-4593-9a49-0d7439879fc4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.463.677.05"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f41759df-2280-43a7-9977-c0682401c324"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="8f932795-0cfc-4720-ac9b-7bfca4c1a280_160.000.006.463.677.05"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/38969080-a8c5-43db-84b7-66ef9bf394a0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f79ebdff-ed15-4002-92e8-0209f38ca10e"/> + </actor> + </performer> + <whenHandedOver value="2024-02-13"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="38969080-a8c5-43db-84b7-66ef9bf394a0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f79ebdff-ed15-4002-92e8-0209f38ca10e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rusty Irons"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index ce9e9589..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 87c22c0a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 365495fd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2789ac6b-5519-445e-9de6-e3fec49b103e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5fc4a0c4-e8f0-495b-bc29-df58c3e6bb71"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.549.98"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/ea6f83a5-a6fe-4fd1-a9ba-92531ae1479e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/1bb02171-c4c4-46f7-a091-a938a60dabb7"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ea6f83a5-a6fe-4fd1-a9ba-92531ae1479e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10642981"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1bb02171-c4c4-46f7-a091-a938a60dabb7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Rocky Mountain"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_efe8874f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.json new file mode 100644 index 00000000..0b04e062 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "b7d728eb-4a51-4e9d-95cd-6d567825bf37", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "08452f8f-4d33-462d-b3ea-d17488d46d8a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "efe8874f-6c9f-487c-b820-d8100209f56a_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/70f4c3de-f5d1-44ff-9a7f-a926abee2cb0" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/52b0a60d-3583-4733-8ba2-128000709bf0" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "70f4c3de-f5d1-44ff-9a7f-a926abee2cb0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "52b0a60d-3583-4733-8ba2-128000709bf0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "I. Pullem" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.xml new file mode 100644 index 00000000..a8465537 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b7d728eb-4a51-4e9d-95cd-6d567825bf37"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.549.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="08452f8f-4d33-462d-b3ea-d17488d46d8a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="efe8874f-6c9f-487c-b820-d8100209f56a_200.000.002.096.549.98"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/70f4c3de-f5d1-44ff-9a7f-a926abee2cb0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/52b0a60d-3583-4733-8ba2-128000709bf0"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="70f4c3de-f5d1-44ff-9a7f-a926abee2cb0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10642981"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="52b0a60d-3583-4733-8ba2-128000709bf0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="I. Pullem"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_2bd690cf/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.json new file mode 100644 index 00000000..b1c5bccb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "272468f4-c8eb-4b99-8f73-e45b69fd1a21", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ddf3fa2f-3b1c-43a9-a31b-2a94f796f131", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "2bd690cf-cf36-4086-8778-39ba9ef7813a_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/ea3bc262-bf74-424a-ba2e-329070b795ff" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f3ef757b-912c-4e64-b3e1-de1a95b24d7e" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ea3bc262-bf74-424a-ba2e-329070b795ff", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f3ef757b-912c-4e64-b3e1-de1a95b24d7e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ulee Daway" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.xml new file mode 100644 index 00000000..47f85a08 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="272468f4-c8eb-4b99-8f73-e45b69fd1a21"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.532.52"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ddf3fa2f-3b1c-43a9-a31b-2a94f796f131"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="2bd690cf-cf36-4086-8778-39ba9ef7813a_200.000.002.096.532.52"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ea3bc262-bf74-424a-ba2e-329070b795ff"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f3ef757b-912c-4e64-b3e1-de1a95b24d7e"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ea3bc262-bf74-424a-ba2e-329070b795ff"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="22477205"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f3ef757b-912c-4e64-b3e1-de1a95b24d7e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ulee Daway"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index bfd9bbc1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 33334ac1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index c1421e4c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="305be6c9-1651-44cf-9f2d-a86ebc9ba328"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="899df179-1c49-410f-9ee8-3d4262d6b16c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.759.95"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/84057297-c251-4e83-a750-3a7eb91395c0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/35114a29-9692-4573-af82-6d2c6c5e29d7"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="84057297-c251-4e83-a750-3a7eb91395c0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="35114a29-9692-4573-af82-6d2c6c5e29d7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Cammie Sole"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_c916d235/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.json new file mode 100644 index 00000000..f5e9283e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "bbd383b9-175f-4d26-b985-ccbe52af0bc3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "fef49c87-41b5-4a27-b420-dd00f25376f3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c916d235-c3b9-46e1-bdae-d14c3ac1df92_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/3db3eec2-974d-4d6d-9c12-8542bc82f885" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3df096c0-1233-4d8a-94e2-3877bf273686" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3db3eec2-974d-4d6d-9c12-8542bc82f885", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3df096c0-1233-4d8a-94e2-3877bf273686", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Lance Lyde" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.xml new file mode 100644 index 00000000..dc038917 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bbd383b9-175f-4d26-b985-ccbe52af0bc3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.759.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="fef49c87-41b5-4a27-b420-dd00f25376f3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c916d235-c3b9-46e1-bdae-d14c3ac1df92_160.000.226.119.759.95"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3db3eec2-974d-4d6d-9c12-8542bc82f885"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3df096c0-1233-4d8a-94e2-3877bf273686"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3db3eec2-974d-4d6d-9c12-8542bc82f885"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3df096c0-1233-4d8a-94e2-3877bf273686"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lance Lyde"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_30b0bdfb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.json new file mode 100644 index 00000000..f56e008f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "f89eef90-a141-4634-bad8-df479da9ea5d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "89b6914f-b27b-4b86-8bb0-45e4aabeddda", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "30b0bdfb-b7dc-43d2-9fd0-bd420deaf651_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/909643a4-31a8-4cd2-a15a-5955621faf0e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c5eb03ff-20ef-491f-a562-17b9871166b6" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "909643a4-31a8-4cd2-a15a-5955621faf0e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c5eb03ff-20ef-491f-a562-17b9871166b6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/009_Request_MedicationDispense_30b0bdfb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.xml new file mode 100644 index 00000000..34e124e6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f89eef90-a141-4634-bad8-df479da9ea5d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.534.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="89b6914f-b27b-4b86-8bb0-45e4aabeddda"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="30b0bdfb-b7dc-43d2-9fd0-bd420deaf651_200.000.002.096.534.46"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/909643a4-31a8-4cd2-a15a-5955621faf0e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c5eb03ff-20ef-491f-a562-17b9871166b6"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="909643a4-31a8-4cd2-a15a-5955621faf0e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="24025068"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c5eb03ff-20ef-491f-a562-17b9871166b6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Aretha Holly"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 2de94eae..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index a3623c4e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index f06580f1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="31f38335-000d-4d7c-b4ee-1331abc65707"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="4c7d3215-2294-4893-940f-f91d8add93fe"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.541.25"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f298c8bb-c7f1-4a41-9316-a77ebbeb6b1d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/e96c0836-6799-432f-bbff-73f7bd3beed4"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f298c8bb-c7f1-4a41-9316-a77ebbeb6b1d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="25582871"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e96c0836-6799-432f-bbff-73f7bd3beed4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ken Oppenner"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/input.xml new file mode 100644 index 00000000..618ca5e1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="11863590-3c0b-403c-85fb-5ec91ac10bd9"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="15a37998-7cf6-43ed-8d6f-80c931464059"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25582871"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.541.25"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#15a37998-7cf6-43ed-8d6f-80c931464059"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.json new file mode 100644 index 00000000..c8333bb5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "427beab7-e129-483d-abe6-954c7b22bf5c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1b51ccf8-bf33-4692-ab49-a77725d4b615", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "11863590-3c0b-403c-85fb-5ec91ac10bd9_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/2c153d37-b566-4f7b-a8c0-45d4fa44fa16" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/384f445c-e21e-4103-81a7-e4a94e6e0eaf" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2c153d37-b566-4f7b-a8c0-45d4fa44fa16", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "384f445c-e21e-4103-81a7-e4a94e6e0eaf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Earl E. Byrd" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.xml new file mode 100644 index 00000000..a9874f8c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="427beab7-e129-483d-abe6-954c7b22bf5c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.541.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1b51ccf8-bf33-4692-ab49-a77725d4b615"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="11863590-3c0b-403c-85fb-5ec91ac10bd9_200.000.002.096.541.25"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2c153d37-b566-4f7b-a8c0-45d4fa44fa16"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/384f445c-e21e-4103-81a7-e4a94e6e0eaf"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2c153d37-b566-4f7b-a8c0-45d4fa44fa16"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25582871"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="384f445c-e21e-4103-81a7-e4a94e6e0eaf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Earl E. Byrd"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index fe752585..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index a8618f39..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 636a9b8a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="41e06295-5ccc-4ae3-a738-a0e6030003da"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="622dc719-82e1-42c9-ad38-c2e544150be4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.534.46"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/9963d024-ae2f-4565-85c7-34008fbca834"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/eaeb619e-d7fd-4435-93b0-2904176b5a8d"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9963d024-ae2f-4565-85c7-34008fbca834"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="24025068"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="eaeb619e-d7fd-4435-93b0-2904176b5a8d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Marty Graw"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/input.xml new file mode 100644 index 00000000..cc9c9f54 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="30b0bdfb-b7dc-43d2-9fd0-bd420deaf651"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="59b53a09-4763-4725-84a9-481f0a2cdb00"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="24025068"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.534.46"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#59b53a09-4763-4725-84a9-481f0a2cdb00"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.json new file mode 100644 index 00000000..9a788ebf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "33fa321f-679f-4fc2-a6ec-a2debca2946e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "23a58eec-fd88-46f5-ba96-f626073fd4ee", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "30b0bdfb-b7dc-43d2-9fd0-bd420deaf651_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/3b2130bc-0f7b-480a-8db0-b604a7967b1c" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f6a2a958-04fd-4780-be86-a59b231b9519" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3b2130bc-0f7b-480a-8db0-b604a7967b1c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f6a2a958-04fd-4780-be86-a59b231b9519", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bill Ng" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.xml new file mode 100644 index 00000000..16fc06b8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="33fa321f-679f-4fc2-a6ec-a2debca2946e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.534.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="23a58eec-fd88-46f5-ba96-f626073fd4ee"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="30b0bdfb-b7dc-43d2-9fd0-bd420deaf651_200.000.002.096.534.46"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3b2130bc-0f7b-480a-8db0-b604a7967b1c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f6a2a958-04fd-4780-be86-a59b231b9519"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3b2130bc-0f7b-480a-8db0-b604a7967b1c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="24025068"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f6a2a958-04fd-4780-be86-a59b231b9519"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bill Ng"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index bee77e10..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 3ebb391e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index c980cad3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="46b4d2a7-f2ba-4b1a-ad14-1731d827d643"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1c0a28ad-ced0-4413-b22e-04c4a9ed27a8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.996.31"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f53c0907-3a40-42ec-848f-48ceb7906047"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/24fe8926-4666-46df-bda7-375b359cf871"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f53c0907-3a40-42ec-848f-48ceb7906047"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="48094708"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="24fe8926-4666-46df-bda7-375b359cf871"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Barry D'Alive"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_f671e4a6/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.json new file mode 100644 index 00000000..4f8f0feb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "650eee7b-eef9-4bda-91cf-6a1eecc5178f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b215cee7-5bf7-4ea3-b258-c6b9d91ca94b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f671e4a6-2cb5-4d18-b04a-226202ae8eb1_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/48e1f069-486e-4721-987f-9f471265baa9" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/80cf7298-acc2-489a-89eb-2a94a8dad85b" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "48e1f069-486e-4721-987f-9f471265baa9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "80cf7298-acc2-489a-89eb-2a94a8dad85b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Kristie Hannity" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.xml new file mode 100644 index 00000000..d1b7e738 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="650eee7b-eef9-4bda-91cf-6a1eecc5178f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.996.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b215cee7-5bf7-4ea3-b258-c6b9d91ca94b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f671e4a6-2cb5-4d18-b04a-226202ae8eb1_209.000.000.032.996.31"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/48e1f069-486e-4721-987f-9f471265baa9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/80cf7298-acc2-489a-89eb-2a94a8dad85b"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="48e1f069-486e-4721-987f-9f471265baa9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="48094708"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="80cf7298-acc2-489a-89eb-2a94a8dad85b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kristie Hannity"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_4a30f8e0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.json new file mode 100644 index 00000000..3c619419 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "f34d7970-b231-4b04-b50a-4bdbcb1565cb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "34b56643-6c0c-42d4-8928-52102f1c9930", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "4a30f8e0-83f4-43ea-9d87-2eaa288b4bb9_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/ce73ee2c-e946-4874-ae95-7c961fe3f214" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/6d9bb8d4-ccd9-4953-9a83-02240ad41921" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ce73ee2c-e946-4874-ae95-7c961fe3f214", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6d9bb8d4-ccd9-4953-9a83-02240ad41921", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/009_Request_MedicationDispense_4a30f8e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.xml new file mode 100644 index 00000000..1f5bd3ae --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f34d7970-b231-4b04-b50a-4bdbcb1565cb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.554.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="34b56643-6c0c-42d4-8928-52102f1c9930"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="4a30f8e0-83f4-43ea-9d87-2eaa288b4bb9_200.000.002.096.554.83"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ce73ee2c-e946-4874-ae95-7c961fe3f214"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/6d9bb8d4-ccd9-4953-9a83-02240ad41921"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ce73ee2c-e946-4874-ae95-7c961fe3f214"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="89414303"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6d9bb8d4-ccd9-4953-9a83-02240ad41921"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Gene Poole"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_4dbd54be/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.json new file mode 100644 index 00000000..2aa8e63b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "c8afde43-9d40-468e-bfd4-30085f3eb63c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "37bda0a2-9677-4905-9aef-3bc17c93e41e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "4dbd54be-687b-4aca-bd75-ea37ab3ad225_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/e80c3f9c-ed40-4148-882d-95eda13d4a92" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/9c39776f-a32e-40bb-a0eb-aee85128a465" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e80c3f9c-ed40-4148-882d-95eda13d4a92", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9c39776f-a32e-40bb-a0eb-aee85128a465", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Earl E. Byrd" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.xml new file mode 100644 index 00000000..473f423c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c8afde43-9d40-468e-bfd4-30085f3eb63c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.767.71"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="37bda0a2-9677-4905-9aef-3bc17c93e41e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="4dbd54be-687b-4aca-bd75-ea37ab3ad225_160.000.226.119.767.71"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e80c3f9c-ed40-4148-882d-95eda13d4a92"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/9c39776f-a32e-40bb-a0eb-aee85128a465"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e80c3f9c-ed40-4148-882d-95eda13d4a92"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9c39776f-a32e-40bb-a0eb-aee85128a465"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Earl E. Byrd"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index ee8fb9e9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index b32f15e6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index a089251e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5113c40f-7095-412f-a528-68764428f802"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a85b131d-c51f-4ad4-96ef-17e3db45db4d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.527.67"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/016f8628-5eb0-4096-a03b-619ac3c6f97c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/166848ed-fc7f-4d86-ba89-068022eea44b"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="016f8628-5eb0-4096-a03b-619ac3c6f97c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="64184374"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="166848ed-fc7f-4d86-ba89-068022eea44b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Jane Linkfence"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_efd6ebf9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.json new file mode 100644 index 00000000..f5d7488a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "18e93b1a-a207-4ab5-8b5a-1c50b7ec6dee", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8fb69d42-6f8d-4e94-b226-b9b7a7d11ea4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "efd6ebf9-5c9a-4877-ac42-8cb984d94a39_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/f1d36617-fc19-4272-9df4-c29742b555ce" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/b9845e0c-6120-480c-8548-7cc068e6330d" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f1d36617-fc19-4272-9df4-c29742b555ce", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b9845e0c-6120-480c-8548-7cc068e6330d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Lee Arps" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.xml new file mode 100644 index 00000000..384239b9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="18e93b1a-a207-4ab5-8b5a-1c50b7ec6dee"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.527.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8fb69d42-6f8d-4e94-b226-b9b7a7d11ea4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="efd6ebf9-5c9a-4877-ac42-8cb984d94a39_200.000.002.096.527.67"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f1d36617-fc19-4272-9df4-c29742b555ce"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/b9845e0c-6120-480c-8548-7cc068e6330d"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f1d36617-fc19-4272-9df4-c29742b555ce"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64184374"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b9845e0c-6120-480c-8548-7cc068e6330d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Evan Lee Arps"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index d0c9e9d5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 3322d8c4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index adf2c4ec..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="59d671a6-8a13-4a30-a4d8-b1ddb814dac4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="3acfbf25-f75f-4263-9e22-ba6c3fecbb2c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.531.55"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/efc8d9a8-695d-4bd6-9a18-6a1d6c4a2fa4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/057d3183-8df0-4527-893c-ae238fc47d13"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="efc8d9a8-695d-4bd6-9a18-6a1d6c4a2fa4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="74302188"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="057d3183-8df0-4527-893c-ae238fc47d13"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Robin Money"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_cc07c2ac/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.json new file mode 100644 index 00000000..bdc27f58 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "c69fb123-757b-4e8e-86da-dccc27cabc62", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ef4fcb68-bf30-4352-abef-e70db75aab42", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "cc07c2ac-204c-480e-ba03-09268cab4c22_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/25a85e51-1e61-4ce9-8735-eee3f5d25ef4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/79af2b34-ec6c-4b51-9659-59ec3a513821" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "25a85e51-1e61-4ce9-8735-eee3f5d25ef4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "79af2b34-ec6c-4b51-9659-59ec3a513821", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Rod N. Reel" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.xml new file mode 100644 index 00000000..fcb3eae5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c69fb123-757b-4e8e-86da-dccc27cabc62"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.531.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ef4fcb68-bf30-4352-abef-e70db75aab42"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="cc07c2ac-204c-480e-ba03-09268cab4c22_200.000.002.096.531.55"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/25a85e51-1e61-4ce9-8735-eee3f5d25ef4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/79af2b34-ec6c-4b51-9659-59ec3a513821"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="25a85e51-1e61-4ce9-8735-eee3f5d25ef4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="74302188"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="79af2b34-ec6c-4b51-9659-59ec3a513821"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rod N. Reel"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/input.xml new file mode 100644 index 00000000..e1af2c1b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5b32c036-6168-437f-b44c-4b0dbd12a9d9"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a6c17c6c-f17b-4c17-bd92-9db6b49a9848"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.760.92"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#a6c17c6c-f17b-4c17-bd92-9db6b49a9848"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_5b32c036/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.json new file mode 100644 index 00000000..3964661a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "493af27d-52f5-4304-8beb-c6ac84890568", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "786fc573-d7e4-4bd6-ba08-89b201a355e4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b32c036-6168-437f-b44c-4b0dbd12a9d9_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/312233b0-586b-4a42-82a8-2383ed29c740" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/6749ec98-d3b7-47df-a18d-9b59a4c97430" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "312233b0-586b-4a42-82a8-2383ed29c740", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6749ec98-d3b7-47df-a18d-9b59a4c97430", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Lily Livard" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.xml new file mode 100644 index 00000000..b760bba4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="493af27d-52f5-4304-8beb-c6ac84890568"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.760.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="786fc573-d7e4-4bd6-ba08-89b201a355e4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b32c036-6168-437f-b44c-4b0dbd12a9d9_160.000.226.119.760.92"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/312233b0-586b-4a42-82a8-2383ed29c740"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/6749ec98-d3b7-47df-a18d-9b59a4c97430"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="312233b0-586b-4a42-82a8-2383ed29c740"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6749ec98-d3b7-47df-a18d-9b59a4c97430"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lily Livard"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 44ab98e3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index e56128e5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 75a41467..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="622316fe-108f-4337-98a2-a381a20437bb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="dc3ed2a9-f875-46f4-9620-2ae5d3c5c3aa"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.995.34"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/b11c82bc-0edb-4dc1-b123-ca96041ae220"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/40ee5812-60e6-4913-a0f2-9d2b4a58e7ec"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b11c82bc-0edb-4dc1-b123-ca96041ae220"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="46260462"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="40ee5812-60e6-4913-a0f2-9d2b4a58e7ec"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Marlon Fisher"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_800e0802/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/output.json new file mode 100644 index 00000000..7afe71c8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "ddbba509-c5cf-4377-a506-e39af76cd69e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4811e50c-3f21-4c86-9d6a-2404a3925b73", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "800e0802-39d4-4874-9383-336c4fd98ae7_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/2e915c7e-0b26-4959-9ef3-361275c0708d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/2ddee04e-51b9-4cb4-8f68-e8a98d77ddaa" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2e915c7e-0b26-4959-9ef3-361275c0708d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2ddee04e-51b9-4cb4-8f68-e8a98d77ddaa", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/009_Request_MedicationDispense_622316fe_800e0802/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/output.xml new file mode 100644 index 00000000..a8df6389 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ddbba509-c5cf-4377-a506-e39af76cd69e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.995.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4811e50c-3f21-4c86-9d6a-2404a3925b73"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="800e0802-39d4-4874-9383-336c4fd98ae7_209.000.000.032.995.34"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2e915c7e-0b26-4959-9ef3-361275c0708d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/2ddee04e-51b9-4cb4-8f68-e8a98d77ddaa"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2e915c7e-0b26-4959-9ef3-361275c0708d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="46260462"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2ddee04e-51b9-4cb4-8f68-e8a98d77ddaa"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lon Moore"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 6e29d378..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index fc5e108a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 49920e3f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="69d3fc0d-565e-4408-b839-7f310e808dd5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="881cfc4b-5dc9-49f3-9fe3-f3b9a2a425be"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.763.83"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/b0111c67-cee0-40c7-8317-fca9de3dd3cf"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/907ed043-c1ba-447e-93d0-0ada1686bac1"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b0111c67-cee0-40c7-8317-fca9de3dd3cf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="907ed043-c1ba-447e-93d0-0ada1686bac1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Candy Baskett"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_88ceb1e2/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.json new file mode 100644 index 00000000..f5851afb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "eacfa4b6-ec62-4d6a-bb3c-b15362d7e97e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "54706ed3-0563-40a3-9d58-a0241791f230", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "88ceb1e2-b288-490e-9ccc-30a88e12214c_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/b16b1722-7fa5-41d2-b638-1e1dc155997e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e5c67ef9-9294-4acd-b62d-b9a7d899e9a7" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b16b1722-7fa5-41d2-b638-1e1dc155997e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e5c67ef9-9294-4acd-b62d-b9a7d899e9a7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Jo King" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.xml new file mode 100644 index 00000000..a41eb827 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="eacfa4b6-ec62-4d6a-bb3c-b15362d7e97e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.763.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="54706ed3-0563-40a3-9d58-a0241791f230"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="88ceb1e2-b288-490e-9ccc-30a88e12214c_160.000.226.119.763.83"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b16b1722-7fa5-41d2-b638-1e1dc155997e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e5c67ef9-9294-4acd-b62d-b9a7d899e9a7"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b16b1722-7fa5-41d2-b638-1e1dc155997e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e5c67ef9-9294-4acd-b62d-b9a7d899e9a7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jo King"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_7fd8a33d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.json new file mode 100644 index 00000000..e2f0edfd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "cf3b8bac-631a-4dc6-bcc1-fdd8ec96c18c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "48d3bb08-d41c-4f65-ad65-0696cf52a358", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "7fd8a33d-d329-4918-8a44-b0ec7194eee0_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/f65a231a-b664-45a0-90f7-681a555cc233" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d404980b-2f0c-4391-9ee4-e1b03c3d8395" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f65a231a-b664-45a0-90f7-681a555cc233", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d404980b-2f0c-4391-9ee4-e1b03c3d8395", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Phil A. Mignon" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.xml new file mode 100644 index 00000000..3db72f0e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="cf3b8bac-631a-4dc6-bcc1-fdd8ec96c18c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.552.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="48d3bb08-d41c-4f65-ad65-0696cf52a358"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="7fd8a33d-d329-4918-8a44-b0ec7194eee0_200.000.002.096.552.89"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f65a231a-b664-45a0-90f7-681a555cc233"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d404980b-2f0c-4391-9ee4-e1b03c3d8395"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f65a231a-b664-45a0-90f7-681a555cc233"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="72828845"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d404980b-2f0c-4391-9ee4-e1b03c3d8395"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Phil A. Mignon"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/input.xml new file mode 100644 index 00000000..cf0cd819 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="800e0802-39d4-4874-9383-336c4fd98ae7"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1f16baef-810f-43e9-91e9-546c4dc027b6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="46260462"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.995.34"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#1f16baef-810f-43e9-91e9-546c4dc027b6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_800e0802/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.json new file mode 100644 index 00000000..5f6bd605 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "1f1a4b0f-fa8e-4521-bee8-a046cd5761dc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4346c135-cc64-4af8-b4e7-eb2340de7cad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "800e0802-39d4-4874-9383-336c4fd98ae7_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/5a063649-5fc3-40fd-b290-916fa0cc99dd" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ae1ff0ca-6610-47ed-8414-35e09afd3b45" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5a063649-5fc3-40fd-b290-916fa0cc99dd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ae1ff0ca-6610-47ed-8414-35e09afd3b45", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Minnie Skurt" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.xml new file mode 100644 index 00000000..b91ed0a0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1f1a4b0f-fa8e-4521-bee8-a046cd5761dc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.995.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4346c135-cc64-4af8-b4e7-eb2340de7cad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="800e0802-39d4-4874-9383-336c4fd98ae7_209.000.000.032.995.34"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5a063649-5fc3-40fd-b290-916fa0cc99dd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ae1ff0ca-6610-47ed-8414-35e09afd3b45"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5a063649-5fc3-40fd-b290-916fa0cc99dd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="46260462"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ae1ff0ca-6610-47ed-8414-35e09afd3b45"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Minnie Skurt"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index cf94922a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index a14dad1f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 594a007c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="87e0742e-cf60-4056-bffe-45c6358e2fa3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="13e7780f-6980-49e6-838c-21c259d1ea80"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.553.86"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/4b3714a7-196f-4ca3-83b1-00b1328831c6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/119ec027-0f26-4164-a8dd-ffaecf4c3090"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4b3714a7-196f-4ca3-83b1-00b1328831c6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09921210"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="119ec027-0f26-4164-a8dd-ffaecf4c3090"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Rusty Carr"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_89b0bda6/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.json new file mode 100644 index 00000000..69576ace --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "2e5107c0-621f-4d5c-9105-460a6656a0bc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "90b42247-5636-4d51-850d-25e193fe2445", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "89b0bda6-537d-4770-a30b-df7c80487c62_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/9309f2c2-5625-40d8-a240-c6223061e99f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/344a5867-8403-4045-8b19-838685c8a5cc" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "9309f2c2-5625-40d8-a240-c6223061e99f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "344a5867-8403-4045-8b19-838685c8a5cc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Gil T. Azell" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.xml new file mode 100644 index 00000000..940d3917 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2e5107c0-621f-4d5c-9105-460a6656a0bc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.553.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="90b42247-5636-4d51-850d-25e193fe2445"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="89b0bda6-537d-4770-a30b-df7c80487c62_200.000.002.096.553.86"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/9309f2c2-5625-40d8-a240-c6223061e99f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/344a5867-8403-4045-8b19-838685c8a5cc"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9309f2c2-5625-40d8-a240-c6223061e99f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09921210"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="344a5867-8403-4045-8b19-838685c8a5cc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Gil T. Azell"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/input.xml new file mode 100644 index 00000000..7afd51d9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="88ceb1e2-b288-490e-9ccc-30a88e12214c"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4e2900dc-cee2-4343-84cd-a07347018b68"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.763.83"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#4e2900dc-cee2-4343-84cd-a07347018b68"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_88ceb1e2/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.json new file mode 100644 index 00000000..e740f0ba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "1ae12748-50ca-4d46-8de2-0f010b08cbab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9ea0a528-75f7-4ddd-af1e-1802b0faee90", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "88ceb1e2-b288-490e-9ccc-30a88e12214c_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/d9b667ef-ed3b-4f05-bf6d-3c7ec9b047fc" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/cfe69103-17fe-4070-a9a5-d1f92ce4bc31" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "d9b667ef-ed3b-4f05-bf6d-3c7ec9b047fc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cfe69103-17fe-4070-a9a5-d1f92ce4bc31", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Milly Meter" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.xml new file mode 100644 index 00000000..cb30e4b5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1ae12748-50ca-4d46-8de2-0f010b08cbab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.763.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9ea0a528-75f7-4ddd-af1e-1802b0faee90"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="88ceb1e2-b288-490e-9ccc-30a88e12214c_160.000.226.119.763.83"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/d9b667ef-ed3b-4f05-bf6d-3c7ec9b047fc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/cfe69103-17fe-4070-a9a5-d1f92ce4bc31"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d9b667ef-ed3b-4f05-bf6d-3c7ec9b047fc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cfe69103-17fe-4070-a9a5-d1f92ce4bc31"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Milly Meter"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/input.xml new file mode 100644 index 00000000..197d98fa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="89b0bda6-537d-4770-a30b-df7c80487c62"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7570cb81-1f77-482a-9e97-e370734ae496"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09921210"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.553.86"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#7570cb81-1f77-482a-9e97-e370734ae496"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_89b0bda6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.json new file mode 100644 index 00000000..7721bb54 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "8e38651c-1fc0-4402-8199-eea4245802e3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b9248c87-33ae-463f-8199-80ad7868cf30", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "89b0bda6-537d-4770-a30b-df7c80487c62_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/cbd887bd-176e-4f3d-83e5-4c6bf493fb21" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5c7f73d7-81b4-494c-b6e0-12afe197f147" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "cbd887bd-176e-4f3d-83e5-4c6bf493fb21", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5c7f73d7-81b4-494c-b6e0-12afe197f147", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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_89b0bda6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.xml new file mode 100644 index 00000000..0913af9d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8e38651c-1fc0-4402-8199-eea4245802e3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.553.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b9248c87-33ae-463f-8199-80ad7868cf30"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="89b0bda6-537d-4770-a30b-df7c80487c62_200.000.002.096.553.86"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/cbd887bd-176e-4f3d-83e5-4c6bf493fb21"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5c7f73d7-81b4-494c-b6e0-12afe197f147"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cbd887bd-176e-4f3d-83e5-4c6bf493fb21"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09921210"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5c7f73d7-81b4-494c-b6e0-12afe197f147"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rusty Carr"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 90225507..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 5453db8d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 52d32954..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="8dcafef9-25b9-4ea4-95cc-17c2ddbbb8cc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="daf0812b-d8ba-49ad-82ed-47da73042c44"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.467.748.14"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/5d310ba4-f0a7-414b-b686-85356a3d6177"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="C020222113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c933b4a3-16c2-4608-a5f7-c27f53f297b1"/> - </actor> - </performer> - <whenHandedOver value="2024-02-13"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5d310ba4-f0a7-414b-b686-85356a3d6177"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c933b4a3-16c2-4608-a5f7-c27f53f297b1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Freida Convict"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_e8fc0f90/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.json new file mode 100644 index 00000000..e61fcece --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "45087860-c4ed-4902-b189-bfa3315e8b3a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.006.467.748.14" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ab370861-4eda-4b92-9805-58f986cc5e10", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "e8fc0f90-951e-4686-823e-85a862cf9457_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/ca2b6459-8a1c-41d5-8e1a-f286c740a4ba" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "C020222113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/89880f5a-0c78-44df-85cd-2da664e9154f" + } + } ], + "whenHandedOver": "2024-02-13" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ca2b6459-8a1c-41d5-8e1a-f286c740a4ba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "89880f5a-0c78-44df-85cd-2da664e9154f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.xml new file mode 100644 index 00000000..d49677f8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="45087860-c4ed-4902-b189-bfa3315e8b3a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.467.748.14"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ab370861-4eda-4b92-9805-58f986cc5e10"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="e8fc0f90-951e-4686-823e-85a862cf9457_160.000.006.467.748.14"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ca2b6459-8a1c-41d5-8e1a-f286c740a4ba"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="C020222113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/89880f5a-0c78-44df-85cd-2da664e9154f"/> + </actor> + </performer> + <whenHandedOver value="2024-02-13"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ca2b6459-8a1c-41d5-8e1a-f286c740a4ba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="89880f5a-0c78-44df-85cd-2da664e9154f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lina Ginster"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/input.xml new file mode 100644 index 00000000..4bcccf12 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8f932795-0cfc-4720-ac9b-7bfca4c1a280"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5e8317e7-deaf-4d42-bb68-76fdd13709ab"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.463.677.05"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5e8317e7-deaf-4d42-bb68-76fdd13709ab"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-13"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_8f932795/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.json new file mode 100644 index 00000000..111a2f1c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "d80ddb06-0013-4435-bfc0-4e41cea0b8f7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.006.463.677.05" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "da111c19-f83b-4684-a424-a5ae1164f97f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "8f932795-0cfc-4720-ac9b-7bfca4c1a280_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/da293c9a-d25c-49c4-803f-2cd48b69208a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "T046142499" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/afea3148-e70b-490c-895f-669afcaff7d8" + } + } ], + "whenHandedOver": "2024-02-13" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "da293c9a-d25c-49c4-803f-2cd48b69208a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "afea3148-e70b-490c-895f-669afcaff7d8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bill Ding" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.xml new file mode 100644 index 00000000..6e32df0f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d80ddb06-0013-4435-bfc0-4e41cea0b8f7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.463.677.05"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="da111c19-f83b-4684-a424-a5ae1164f97f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="8f932795-0cfc-4720-ac9b-7bfca4c1a280_160.000.006.463.677.05"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/da293c9a-d25c-49c4-803f-2cd48b69208a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/afea3148-e70b-490c-895f-669afcaff7d8"/> + </actor> + </performer> + <whenHandedOver value="2024-02-13"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="da293c9a-d25c-49c4-803f-2cd48b69208a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="afea3148-e70b-490c-895f-669afcaff7d8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bill Ding"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_91e812db/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.json new file mode 100644 index 00000000..cbf5b255 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "c9e036b0-94de-483e-8fe5-33545fa8cfd8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "bd63dd0c-fe07-4659-914f-a16f21df64c1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "91e812db-fdad-44f8-88e0-2d63004455c7_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/b74b108c-2aa9-41f8-8882-ed2e5ce96bd4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/6cdcb8ab-ed6d-4707-847e-a95118f6feb1" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b74b108c-2aa9-41f8-8882-ed2e5ce96bd4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6cdcb8ab-ed6d-4707-847e-a95118f6feb1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/009_Request_MedicationDispense_91e812db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.xml new file mode 100644 index 00000000..281c98bf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c9e036b0-94de-483e-8fe5-33545fa8cfd8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.529.61"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="bd63dd0c-fe07-4659-914f-a16f21df64c1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="91e812db-fdad-44f8-88e0-2d63004455c7_200.000.002.096.529.61"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b74b108c-2aa9-41f8-8882-ed2e5ce96bd4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/6cdcb8ab-ed6d-4707-847e-a95118f6feb1"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b74b108c-2aa9-41f8-8882-ed2e5ce96bd4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="94890460"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6cdcb8ab-ed6d-4707-847e-a95118f6feb1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lina Ginster"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_95b01d68/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.json new file mode 100644 index 00000000..d8d81924 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "fdb8d2fe-a030-4eaa-a80b-4cf18b46ac1e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e41434d0-866d-42d4-8551-6de21e0ac4ce", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "95b01d68-59fe-4648-a17e-03bb0e033718_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/e25a0217-35b2-4ca0-8c12-3e2756d170e3" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8e4ee772-ba89-4933-be97-752eb713a085" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e25a0217-35b2-4ca0-8c12-3e2756d170e3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8e4ee772-ba89-4933-be97-752eb713a085", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Mike Raffone" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.xml new file mode 100644 index 00000000..318ddfcd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fdb8d2fe-a030-4eaa-a80b-4cf18b46ac1e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.550.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e41434d0-866d-42d4-8551-6de21e0ac4ce"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="95b01d68-59fe-4648-a17e-03bb0e033718_200.000.002.096.550.95"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e25a0217-35b2-4ca0-8c12-3e2756d170e3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8e4ee772-ba89-4933-be97-752eb713a085"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e25a0217-35b2-4ca0-8c12-3e2756d170e3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16833239"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8e4ee772-ba89-4933-be97-752eb713a085"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Mike Raffone"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_9b046560/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.json new file mode 100644 index 00000000..12bb8c02 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "e707d5e6-6c9b-453d-a5ec-df4392d29414", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "7d6aee89-9725-4aa2-9b2d-b71220fea3c1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "9b046560-7608-47ae-b91b-3a7c8b4779ca_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/7d9bc54a-e7d4-4423-b60e-ba154adaf099" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/94dda3fc-a00e-4d58-b4fe-7ace6ad2a022" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7d9bc54a-e7d4-4423-b60e-ba154adaf099", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "94dda3fc-a00e-4d58-b4fe-7ace6ad2a022", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Manny Kinn" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.xml new file mode 100644 index 00000000..26023538 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e707d5e6-6c9b-453d-a5ec-df4392d29414"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.551.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7d6aee89-9725-4aa2-9b2d-b71220fea3c1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="9b046560-7608-47ae-b91b-3a7c8b4779ca_200.000.002.096.551.92"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7d9bc54a-e7d4-4423-b60e-ba154adaf099"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/94dda3fc-a00e-4d58-b4fe-7ace6ad2a022"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7d9bc54a-e7d4-4423-b60e-ba154adaf099"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="30978281"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="94dda3fc-a00e-4d58-b4fe-7ace6ad2a022"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Manny Kinn"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index ffa286a3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index b1b86df6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 75fbfabf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a6f5fbec-d552-4ad5-8e1c-effcf08236a5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="cccef013-a40f-43a2-bc8a-bae61486c2a8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.550.95"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/8b699a08-f6cc-4793-ba18-71d812b6b55b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8d4a470a-d62a-4021-9141-9f1809feb2bb"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8b699a08-f6cc-4793-ba18-71d812b6b55b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16833239"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8d4a470a-d62a-4021-9141-9f1809feb2bb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Rick Kleiner"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/input.xml new file mode 100644 index 00000000..3bbc626d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="95b01d68-59fe-4648-a17e-03bb0e033718"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="623d572c-765b-4bf1-bcd4-6169a20a0a87"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16833239"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.550.95"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#623d572c-765b-4bf1-bcd4-6169a20a0a87"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.json new file mode 100644 index 00000000..522560ee --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "2daeefde-dd14-425f-98b2-4ab2e91d0c65", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a318b9c7-230b-4316-affc-67e9260dfaca", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "95b01d68-59fe-4648-a17e-03bb0e033718_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/d95e2c2a-5f3c-4a28-8024-0d20de271753" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/bcbf2045-6cf2-4977-976b-71e105892b2d" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "d95e2c2a-5f3c-4a28-8024-0d20de271753", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bcbf2045-6cf2-4977-976b-71e105892b2d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Lou Pole" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.xml new file mode 100644 index 00000000..11ffca04 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2daeefde-dd14-425f-98b2-4ab2e91d0c65"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.550.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a318b9c7-230b-4316-affc-67e9260dfaca"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="95b01d68-59fe-4648-a17e-03bb0e033718_200.000.002.096.550.95"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/d95e2c2a-5f3c-4a28-8024-0d20de271753"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/bcbf2045-6cf2-4977-976b-71e105892b2d"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d95e2c2a-5f3c-4a28-8024-0d20de271753"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16833239"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bcbf2045-6cf2-4977-976b-71e105892b2d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lou Pole"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index e7687900..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index efaf75f1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 12ea42c6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a86d9701-63b8-4fb5-92ac-c556864f55f8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="8fc9ab16-8927-4558-aa8b-b90d5cd8c5ad"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.532.52"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/e86fff12-506e-4b27-a8cd-7c63538093b8"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/3ce324ff-4fba-4f9f-81f6-bce03a3f85db"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e86fff12-506e-4b27-a8cd-7c63538093b8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="22477205"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3ce324ff-4fba-4f9f-81f6-bce03a3f85db"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Macon Paine"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/input.xml new file mode 100644 index 00000000..4d9d9f1c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2bd690cf-cf36-4086-8778-39ba9ef7813a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4c7680d4-c589-4ca4-b6d6-bf1a7e1310a9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="22477205"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.532.52"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#4c7680d4-c589-4ca4-b6d6-bf1a7e1310a9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.json new file mode 100644 index 00000000..4f847a47 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "24f1fa6b-26b9-46df-8b3e-35cbe7dc2e95", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0298d742-d53c-4ec6-885b-fd9f37a6ce23", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "2bd690cf-cf36-4086-8778-39ba9ef7813a_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/7d401487-28f8-423e-ae09-ad1e89b1cd59" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/6ac0a33c-d680-4fa2-82ee-9a2a30e4f156" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7d401487-28f8-423e-ae09-ad1e89b1cd59", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6ac0a33c-d680-4fa2-82ee-9a2a30e4f156", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Don Key" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.xml new file mode 100644 index 00000000..cffa2f49 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="24f1fa6b-26b9-46df-8b3e-35cbe7dc2e95"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.532.52"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0298d742-d53c-4ec6-885b-fd9f37a6ce23"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="2bd690cf-cf36-4086-8778-39ba9ef7813a_200.000.002.096.532.52"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7d401487-28f8-423e-ae09-ad1e89b1cd59"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/6ac0a33c-d680-4fa2-82ee-9a2a30e4f156"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7d401487-28f8-423e-ae09-ad1e89b1cd59"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="22477205"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6ac0a33c-d680-4fa2-82ee-9a2a30e4f156"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Don Key"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index e9d2e956..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 47ef5848..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 92c0a36b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c30c0754-1df3-4a74-921b-6b3b8b8dfdcd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1c526c5a-f81c-4607-95e0-bc5eb1f9779d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.767.71"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f62ac42a-37d5-4cf4-b077-4fd136974aa3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/f5d6b70e-74e2-494f-926c-3a3523709b90"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f62ac42a-37d5-4cf4-b077-4fd136974aa3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f5d6b70e-74e2-494f-926c-3a3523709b90"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ken Oppenner"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/input.xml new file mode 100644 index 00000000..8acadf67 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4dbd54be-687b-4aca-bd75-ea37ab3ad225"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="17218abd-f3d7-4770-82e6-0d2a65c1463f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.767.71"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#17218abd-f3d7-4770-82e6-0d2a65c1463f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.json new file mode 100644 index 00000000..78eec637 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "654db377-a0f6-4510-92b5-d5dfd9de05c0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "15f5702f-8d70-4e5c-9179-50e4e288fe3e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "4dbd54be-687b-4aca-bd75-ea37ab3ad225_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/ace52357-796e-4657-8512-c79b25cce019" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/6010b4db-45b3-4b53-b6af-18feb20695b0" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ace52357-796e-4657-8512-c79b25cce019", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6010b4db-45b3-4b53-b6af-18feb20695b0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bo D. Satva" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.xml new file mode 100644 index 00000000..d7c21629 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="654db377-a0f6-4510-92b5-d5dfd9de05c0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.767.71"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="15f5702f-8d70-4e5c-9179-50e4e288fe3e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="4dbd54be-687b-4aca-bd75-ea37ab3ad225_160.000.226.119.767.71"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ace52357-796e-4657-8512-c79b25cce019"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/6010b4db-45b3-4b53-b6af-18feb20695b0"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ace52357-796e-4657-8512-c79b25cce019"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6010b4db-45b3-4b53-b6af-18feb20695b0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bo D. Satva"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 1f3c9f8a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 26cf2755..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 642904ff..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c48e8331-3bda-4327-b5d9-4bcb759a20d3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ca683361-26af-4e93-9889-7adc28390616"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.533.49"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/6a8a7e5c-3d20-4865-8d1a-66282716475c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/618efaf8-1bf2-44ab-b8c4-0826a09d15de"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6a8a7e5c-3d20-4865-8d1a-66282716475c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="84264572"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="618efaf8-1bf2-44ab-b8c4-0826a09d15de"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Sue Yu"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_f64fd7b4/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.json new file mode 100644 index 00000000..744903a1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "d540f458-1210-4adb-8cb3-f33f1e331945", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "cadcb78c-4bca-4811-bd91-aa13d6eee410", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f64fd7b4-8720-4986-a3c3-11892afa2267_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/dedb24f7-8c97-4d48-b0b2-75385a095466" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/bcf34f74-4cc1-4e24-a41f-9637c0b1b7ec" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "dedb24f7-8c97-4d48-b0b2-75385a095466", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bcf34f74-4cc1-4e24-a41f-9637c0b1b7ec", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Liv Long" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.xml new file mode 100644 index 00000000..25744099 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d540f458-1210-4adb-8cb3-f33f1e331945"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="cadcb78c-4bca-4811-bd91-aa13d6eee410"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f64fd7b4-8720-4986-a3c3-11892afa2267_200.000.002.096.533.49"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/dedb24f7-8c97-4d48-b0b2-75385a095466"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/bcf34f74-4cc1-4e24-a41f-9637c0b1b7ec"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dedb24f7-8c97-4d48-b0b2-75385a095466"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bcf34f74-4cc1-4e24-a41f-9637c0b1b7ec"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Liv Long"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index df967ec3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index ef5e98f7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index afc07c06..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c591a1e2-17e8-4465-90db-c8ba7d32a58d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5c4c02f7-c57e-4c49-89d5-543edddeb044"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.552.89"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/4534d1e6-4e68-4e25-a3e3-41cbaced349b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/b025a72b-a273-42cf-8ba2-d0df27741a5d"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4534d1e6-4e68-4e25-a3e3-41cbaced349b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="72828845"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b025a72b-a273-42cf-8ba2-d0df27741a5d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Leo Tarred"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/input.xml new file mode 100644 index 00000000..f16af8bc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7fd8a33d-d329-4918-8a44-b0ec7194eee0"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b6498800-1520-41a1-9444-5a12077bae9f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="72828845"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.552.89"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#b6498800-1520-41a1-9444-5a12077bae9f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/output.json new file mode 100644 index 00000000..b64e2f28 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "a193463c-67cc-43a3-afb5-b332bb3784bf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "15fe0a8d-93bd-4f12-b57e-592590e8bfbc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "7fd8a33d-d329-4918-8a44-b0ec7194eee0_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/24b120c5-5b1f-4892-89d2-168d7689cb01" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/107f46eb-ca7e-45e8-87fa-03d37a6384dd" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "24b120c5-5b1f-4892-89d2-168d7689cb01", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "107f46eb-ca7e-45e8-87fa-03d37a6384dd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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_c591a1e2_7fd8a33d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/output.xml new file mode 100644 index 00000000..22133d17 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a193463c-67cc-43a3-afb5-b332bb3784bf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.552.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="15fe0a8d-93bd-4f12-b57e-592590e8bfbc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="7fd8a33d-d329-4918-8a44-b0ec7194eee0_200.000.002.096.552.89"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/24b120c5-5b1f-4892-89d2-168d7689cb01"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/107f46eb-ca7e-45e8-87fa-03d37a6384dd"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="24b120c5-5b1f-4892-89d2-168d7689cb01"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="72828845"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="107f46eb-ca7e-45e8-87fa-03d37a6384dd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rusty Carr"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/input.xml new file mode 100644 index 00000000..4410384c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c916d235-c3b9-46e1-bdae-d14c3ac1df92"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7a4edde1-5a03-4b1c-8b27-33effeca6295"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.759.95"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#7a4edde1-5a03-4b1c-8b27-33effeca6295"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_c916d235/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.json new file mode 100644 index 00000000..1c5d26ba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "41b0569c-3fa0-406a-a703-dfa2aaa6b6b7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "7698295d-62d3-46c5-ac5d-b973df6b09d2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c916d235-c3b9-46e1-bdae-d14c3ac1df92_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/62a75a82-00f1-4416-92f9-7c74d1ff56aa" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/b5e85f48-c477-4dac-8102-8a193fe81ce0" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "62a75a82-00f1-4416-92f9-7c74d1ff56aa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b5e85f48-c477-4dac-8102-8a193fe81ce0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Jed Dye" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.xml new file mode 100644 index 00000000..fc0f11a9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="41b0569c-3fa0-406a-a703-dfa2aaa6b6b7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.759.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7698295d-62d3-46c5-ac5d-b973df6b09d2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c916d235-c3b9-46e1-bdae-d14c3ac1df92_160.000.226.119.759.95"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/62a75a82-00f1-4416-92f9-7c74d1ff56aa"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/b5e85f48-c477-4dac-8102-8a193fe81ce0"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="62a75a82-00f1-4416-92f9-7c74d1ff56aa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b5e85f48-c477-4dac-8102-8a193fe81ce0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jed Dye"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 4c83f58f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 5618808f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 3f753938..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="cb07b09c-f119-46e8-9e79-47c4e4f969d3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b7a28d32-4d14-4f63-83bf-f61d55be42c8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.554.83"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/1d78c156-1e3d-48a4-af41-9404a47b6718"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/72b066e1-6656-4fec-b4db-e36683d36836"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1d78c156-1e3d-48a4-af41-9404a47b6718"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="89414303"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="72b066e1-6656-4fec-b4db-e36683d36836"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Val Lay"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/input.xml new file mode 100644 index 00000000..8175c677 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4a30f8e0-83f4-43ea-9d87-2eaa288b4bb9"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b153e444-f57a-4dc5-9ceb-f4518027accb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="89414303"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.554.83"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#b153e444-f57a-4dc5-9ceb-f4518027accb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.json new file mode 100644 index 00000000..9d457000 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "95bc1ad0-f054-4ac7-9598-4765cc1fde4c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "d9818d58-b0df-46d4-b636-52ca2bdbe007", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "4a30f8e0-83f4-43ea-9d87-2eaa288b4bb9_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/efd946a7-bf2e-4e40-97b5-a12c87d4a606" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3553b995-4ca7-475b-afd7-86a1d15222c1" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "efd946a7-bf2e-4e40-97b5-a12c87d4a606", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3553b995-4ca7-475b-afd7-86a1d15222c1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Kent Cook" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.xml new file mode 100644 index 00000000..2496bd4a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="95bc1ad0-f054-4ac7-9598-4765cc1fde4c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.554.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="d9818d58-b0df-46d4-b636-52ca2bdbe007"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="4a30f8e0-83f4-43ea-9d87-2eaa288b4bb9_200.000.002.096.554.83"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/efd946a7-bf2e-4e40-97b5-a12c87d4a606"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3553b995-4ca7-475b-afd7-86a1d15222c1"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="efd946a7-bf2e-4e40-97b5-a12c87d4a606"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="89414303"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3553b995-4ca7-475b-afd7-86a1d15222c1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kent Cook"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/input.xml new file mode 100644 index 00000000..f15ad6aa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="cc07c2ac-204c-480e-ba03-09268cab4c22"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="72e068f7-731f-4930-8f3f-60d36e210a64"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="74302188"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.531.55"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#72e068f7-731f-4930-8f3f-60d36e210a64"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_cc07c2ac/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.json new file mode 100644 index 00000000..5f5241e5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "b0c9d07c-30fb-4a8f-acf8-d08737e9b324", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "6ae435b9-4b51-4bad-a4bf-4ef5e38ad5b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "cc07c2ac-204c-480e-ba03-09268cab4c22_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/3c0c627a-ef10-4e35-8c03-aa90f7efa87b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/70dc0f1f-f631-4ecd-868d-45ddc04f5934" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3c0c627a-ef10-4e35-8c03-aa90f7efa87b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "70dc0f1f-f631-4ecd-868d-45ddc04f5934", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Colin Allcars" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.xml new file mode 100644 index 00000000..2db2171b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b0c9d07c-30fb-4a8f-acf8-d08737e9b324"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.531.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6ae435b9-4b51-4bad-a4bf-4ef5e38ad5b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="cc07c2ac-204c-480e-ba03-09268cab4c22_200.000.002.096.531.55"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3c0c627a-ef10-4e35-8c03-aa90f7efa87b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/70dc0f1f-f631-4ecd-868d-45ddc04f5934"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3c0c627a-ef10-4e35-8c03-aa90f7efa87b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="74302188"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="70dc0f1f-f631-4ecd-868d-45ddc04f5934"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Colin Allcars"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 9ae2f506..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 8afc79b5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 1b5b36c4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d1d6a359-1708-464f-a947-1d6dfa146572"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="11dd4e6d-5f45-4606-b24d-06af0cbde788"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.529.61"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f008b0b0-d60c-4ac4-b56c-62b3caf4a291"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/975b7055-e8f5-4cbe-804b-da9995ae3fb2"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f008b0b0-d60c-4ac4-b56c-62b3caf4a291"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="94890460"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="975b7055-e8f5-4cbe-804b-da9995ae3fb2"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Harry Pitts"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/input.xml new file mode 100644 index 00000000..b28f68f9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="91e812db-fdad-44f8-88e0-2d63004455c7"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a656e1d6-a37c-4753-9b26-b90bb0eddd30"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="94890460"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.529.61"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#a656e1d6-a37c-4753-9b26-b90bb0eddd30"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.json new file mode 100644 index 00000000..cba00b8d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "398c3e3d-1214-4e36-bcc5-dcfb534f0f13", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "782e0d4d-76a0-4670-a9ea-50a6d6ddbe5d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "91e812db-fdad-44f8-88e0-2d63004455c7_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/54f327ad-e213-40ce-8563-186482ba5b7f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/78b96b95-149a-4f4f-b595-3dd3d0e6eac9" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "54f327ad-e213-40ce-8563-186482ba5b7f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "78b96b95-149a-4f4f-b595-3dd3d0e6eac9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Doug Graves" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.xml new file mode 100644 index 00000000..8e4510f0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="398c3e3d-1214-4e36-bcc5-dcfb534f0f13"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.529.61"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="782e0d4d-76a0-4670-a9ea-50a6d6ddbe5d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="91e812db-fdad-44f8-88e0-2d63004455c7_200.000.002.096.529.61"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/54f327ad-e213-40ce-8563-186482ba5b7f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/78b96b95-149a-4f4f-b595-3dd3d0e6eac9"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="54f327ad-e213-40ce-8563-186482ba5b7f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="94890460"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="78b96b95-149a-4f4f-b595-3dd3d0e6eac9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Doug Graves"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 15991b26..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 124c7366..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 325556d9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e8d5ccd4-4bf3-4469-975e-4b22b5d9524c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="26e0c719-0a3f-4f27-a801-028d6450c0e7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.551.92"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/ba6e6fbd-5f10-4186-8d2a-ab7230c49544"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/cbd95f90-abbf-41d5-bc78-44e3e79cfdf5"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ba6e6fbd-5f10-4186-8d2a-ab7230c49544"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="30978281"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="cbd95f90-abbf-41d5-bc78-44e3e79cfdf5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Chanda Lear"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/input.xml new file mode 100644 index 00000000..3d92adac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9b046560-7608-47ae-b91b-3a7c8b4779ca"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6f39c3e2-e2c8-41d1-ba0b-165f8eb2d72b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="30978281"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.551.92"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#6f39c3e2-e2c8-41d1-ba0b-165f8eb2d72b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.json new file mode 100644 index 00000000..0579ef0f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "2967bca5-7c04-4b56-9fbd-74feaf946dad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "247a5263-5c65-4895-92d2-b152c349b478", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "9b046560-7608-47ae-b91b-3a7c8b4779ca_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/f235b224-b283-4969-a678-b5c6891c765e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f0d35c10-2bae-4472-956e-1ba4f181309c" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f235b224-b283-4969-a678-b5c6891c765e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f0d35c10-2bae-4472-956e-1ba4f181309c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Render" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.xml new file mode 100644 index 00000000..38f3f4c4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2967bca5-7c04-4b56-9fbd-74feaf946dad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.551.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="247a5263-5c65-4895-92d2-b152c349b478"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="9b046560-7608-47ae-b91b-3a7c8b4779ca_200.000.002.096.551.92"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f235b224-b283-4969-a678-b5c6891c765e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f0d35c10-2bae-4472-956e-1ba4f181309c"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f235b224-b283-4969-a678-b5c6891c765e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="30978281"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f0d35c10-2bae-4472-956e-1ba4f181309c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sue Render"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/input.xml new file mode 100644 index 00000000..b479b462 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e8fc0f90-951e-4686-823e-85a862cf9457"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fb62fc7a-3396-4951-9a81-a3cb854b4492"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.467.748.14"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#fb62fc7a-3396-4951-9a81-a3cb854b4492"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="C020222113"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-13"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_e8fc0f90/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.json new file mode 100644 index 00000000..d29cefe2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "128faac0-f1cd-430f-81ab-dc91ef238210", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.006.467.748.14" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8f01ad7f-cb2b-40f5-a91c-708a4f392ffe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "e8fc0f90-951e-4686-823e-85a862cf9457_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/a3dd4efb-f69e-4da8-9248-d3d09cf50637" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "C020222113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/cec45bfb-055a-4b39-b903-5ce56c448cac" + } + } ], + "whenHandedOver": "2024-02-13" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a3dd4efb-f69e-4da8-9248-d3d09cf50637", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cec45bfb-055a-4b39-b903-5ce56c448cac", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Willie Maykit" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.xml new file mode 100644 index 00000000..d5f35059 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="128faac0-f1cd-430f-81ab-dc91ef238210"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.467.748.14"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8f01ad7f-cb2b-40f5-a91c-708a4f392ffe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="e8fc0f90-951e-4686-823e-85a862cf9457_160.000.006.467.748.14"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a3dd4efb-f69e-4da8-9248-d3d09cf50637"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="C020222113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/cec45bfb-055a-4b39-b903-5ce56c448cac"/> + </actor> + </performer> + <whenHandedOver value="2024-02-13"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a3dd4efb-f69e-4da8-9248-d3d09cf50637"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cec45bfb-055a-4b39-b903-5ce56c448cac"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Willie Maykit"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/input.xml new file mode 100644 index 00000000..6e5c0fa2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="efd6ebf9-5c9a-4877-ac42-8cb984d94a39"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="06e192d7-a295-4572-8824-2270041cd3d0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64184374"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.527.67"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#06e192d7-a295-4572-8824-2270041cd3d0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_efd6ebf9/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.json new file mode 100644 index 00000000..f373f027 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "2c1afafe-8475-4229-9e78-5e68e8c6b292", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "67c02645-c930-4837-abfd-974bf34b0ff9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "efd6ebf9-5c9a-4877-ac42-8cb984d94a39_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/501ce65b-e1b6-4c2b-88bb-84df89f657aa" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/fd9bd9a0-2934-4ded-98de-1336b6a3a1df" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "501ce65b-e1b6-4c2b-88bb-84df89f657aa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fd9bd9a0-2934-4ded-98de-1336b6a3a1df", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Steele" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.xml new file mode 100644 index 00000000..c1eb17a5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2c1afafe-8475-4229-9e78-5e68e8c6b292"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.527.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="67c02645-c930-4837-abfd-974bf34b0ff9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="efd6ebf9-5c9a-4877-ac42-8cb984d94a39_200.000.002.096.527.67"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/501ce65b-e1b6-4c2b-88bb-84df89f657aa"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/fd9bd9a0-2934-4ded-98de-1336b6a3a1df"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="501ce65b-e1b6-4c2b-88bb-84df89f657aa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64184374"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fd9bd9a0-2934-4ded-98de-1336b6a3a1df"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rusty Steele"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/input.xml new file mode 100644 index 00000000..554d3af8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="efe8874f-6c9f-487c-b820-d8100209f56a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e4d32334-507c-4f9c-9111-c66d065c2cad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10642981"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.549.98"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#e4d32334-507c-4f9c-9111-c66d065c2cad"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_efe8874f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.json new file mode 100644 index 00000000..95965a08 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "a31d0c18-2ece-4b1f-b9c7-4ec93acfbc12", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "815b2259-7649-40a5-b02f-22349bbf3bd4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "efe8874f-6c9f-487c-b820-d8100209f56a_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/32d1fdb6-d61f-4789-9830-be3a0e741c44" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/607080dc-884a-433f-934b-95339f670f06" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "32d1fdb6-d61f-4789-9830-be3a0e741c44", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "607080dc-884a-433f-934b-95339f670f06", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bea Lowe" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.xml new file mode 100644 index 00000000..2a67cc01 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a31d0c18-2ece-4b1f-b9c7-4ec93acfbc12"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.549.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="815b2259-7649-40a5-b02f-22349bbf3bd4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="efe8874f-6c9f-487c-b820-d8100209f56a_200.000.002.096.549.98"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/32d1fdb6-d61f-4789-9830-be3a0e741c44"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/607080dc-884a-433f-934b-95339f670f06"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="32d1fdb6-d61f-4789-9830-be3a0e741c44"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10642981"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="607080dc-884a-433f-934b-95339f670f06"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bea Lowe"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.json new file mode 100644 index 00000000..2732002c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "9219ee37-c772-4b34-a27b-48719411f8e2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c8cf12b1-eacf-4cf5-8236-b290079c86b7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f64fd7b4-8720-4986-a3c3-11892afa2267_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/408f9792-7771-44e8-8c3d-bd34304dffe9" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0c731340-ca3c-4e07-bf37-7511d343bdb7" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "408f9792-7771-44e8-8c3d-bd34304dffe9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0c731340-ca3c-4e07-bf37-7511d343bdb7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Otto Graf" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.xml new file mode 100644 index 00000000..8a769877 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9219ee37-c772-4b34-a27b-48719411f8e2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c8cf12b1-eacf-4cf5-8236-b290079c86b7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f64fd7b4-8720-4986-a3c3-11892afa2267_200.000.002.096.533.49"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/408f9792-7771-44e8-8c3d-bd34304dffe9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0c731340-ca3c-4e07-bf37-7511d343bdb7"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="408f9792-7771-44e8-8c3d-bd34304dffe9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0c731340-ca3c-4e07-bf37-7511d343bdb7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Otto Graf"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/input.xml new file mode 100644 index 00000000..0ccb27bc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f671e4a6-2cb5-4d18-b04a-226202ae8eb1"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="979f9f1b-d9d5-4784-9c1e-0b1abe22d2ea"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="48094708"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.996.31"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#979f9f1b-d9d5-4784-9c1e-0b1abe22d2ea"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_f671e4a6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.json new file mode 100644 index 00000000..eed318f0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "fc85e5d4-b7f1-40c4-b9ed-352e0ca7ffb8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "77fb0867-3234-4a37-938e-8e9572837120", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f671e4a6-2cb5-4d18-b04a-226202ae8eb1_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/65636b74-62dd-4036-8b8d-8311d0120bfd" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/983b9f2c-aa3f-4653-80cd-f8b62a05d646" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "65636b74-62dd-4036-8b8d-8311d0120bfd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "983b9f2c-aa3f-4653-80cd-f8b62a05d646", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Lynn Meabuck" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.xml new file mode 100644 index 00000000..1db49e09 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fc85e5d4-b7f1-40c4-b9ed-352e0ca7ffb8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.996.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="77fb0867-3234-4a37-938e-8e9572837120"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f671e4a6-2cb5-4d18-b04a-226202ae8eb1_209.000.000.032.996.31"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/65636b74-62dd-4036-8b8d-8311d0120bfd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/983b9f2c-aa3f-4653-80cd-f8b62a05d646"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="65636b74-62dd-4036-8b8d-8311d0120bfd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="48094708"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="983b9f2c-aa3f-4653-80cd-f8b62a05d646"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lynn Meabuck"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/input.xml new file mode 100644 index 00000000..095fdf46 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f9f80ea9-6ae4-4916-877e-1707094b808a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="69edbee6-3e1f-451f-b960-53a10c879038"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.768.68"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#69edbee6-3e1f-451f-b960-53a10c879038"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/009_Request_MedicationDispense_f9f80ea9/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.json new file mode 100644 index 00000000..a788dc0f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "903de24c-c886-4de9-bf3a-97b38d33074e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2d6bd93b-6402-47ab-9321-6a6ae074d67c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f9f80ea9-6ae4-4916-877e-1707094b808a_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/71fe9274-398c-4c28-a147-322cf449a6fd" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/709240de-e981-49e6-b52c-f079dc257f26" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "71fe9274-398c-4c28-a147-322cf449a6fd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "709240de-e981-49e6-b52c-f079dc257f26", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Laura Norder" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.xml new file mode 100644 index 00000000..4d3c17f0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="903de24c-c886-4de9-bf3a-97b38d33074e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.768.68"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2d6bd93b-6402-47ab-9321-6a6ae074d67c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f9f80ea9-6ae4-4916-877e-1707094b808a_160.000.226.119.768.68"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/71fe9274-398c-4c28-a147-322cf449a6fd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/709240de-e981-49e6-b52c-f079dc257f26"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="71fe9274-398c-4c28-a147-322cf449a6fd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="709240de-e981-49e6-b52c-f079dc257f26"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Laura Norder"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 31aee872..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index f61e1040..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 70291ccf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="71f76f82-d7ac-4c7b-81c0-6bc2ac21b214"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="04406213-dbd8-42bd-9b2e-b5fad0de91ee"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.765.77"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f7ccd232-95fc-415b-b456-db9bacde4053"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/5a6e2e4d-a423-4ede-8f86-b6fcf8483d77"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f7ccd232-95fc-415b-b456-db9bacde4053"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="07943704"/> - </coding> - <text value="Calglucoor"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="AMP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="3"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5a6e2e4d-a423-4ede-8f86-b6fcf8483d77"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Rusty Nails"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_b7698c22/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.json new file mode 100644 index 00000000..5abbfe68 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "8c81fb85-fe21-4c9c-9f0a-8ec63378eaea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "011d5abc-c779-4b15-b266-a9f20447118f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b7698c22-7c98-4023-84a1-2a76bee694de_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/14c7ab44-937d-4671-bf66-fcebb23fcaca" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8f191b72-2056-41c8-b274-b751c74c252a" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "14c7ab44-937d-4671-bf66-fcebb23fcaca", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "8f191b72-2056-41c8-b274-b751c74c252a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Marv Ellis" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.xml new file mode 100644 index 00000000..6f1e7310 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8c81fb85-fe21-4c9c-9f0a-8ec63378eaea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="011d5abc-c779-4b15-b266-a9f20447118f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b7698c22-7c98-4023-84a1-2a76bee694de_160.000.226.119.765.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/14c7ab44-937d-4671-bf66-fcebb23fcaca"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8f191b72-2056-41c8-b274-b751c74c252a"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="14c7ab44-937d-4671-bf66-fcebb23fcaca"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07943704"/> + </coding> + <text value="Calglucoor"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="AMP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="3"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8f191b72-2056-41c8-b274-b751c74c252a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Marv Ellis"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index eeb3e676..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 56897103..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 9bd708f5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a00e4916-cb4e-49aa-b284-12aa140ee21c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="972cc4b0-e611-41f6-8766-73b16edb42e7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.766.74"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/21209f1a-c1a3-4855-8efd-638bd0eec6b6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/13fd691a-6b13-4089-988a-93c7009553bf"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="21209f1a-c1a3-4855-8efd-638bd0eec6b6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="13fd691a-6b13-4089-988a-93c7009553bf"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Gene Poole"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_b5ff96d1/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.json new file mode 100644 index 00000000..500d5f95 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "73d94afd-212c-4bfe-a116-1cc73da80b6a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1d393340-f16f-4da5-ad0a-03f2937db2c1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b5ff96d1-5f55-44d3-9b6f-92c00d7ab720_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/f0f3148f-c343-46c1-8a1c-5bf562000f09" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/53fd0554-03a8-4a35-8a54-c80c85258247" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f0f3148f-c343-46c1-8a1c-5bf562000f09", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "53fd0554-03a8-4a35-8a54-c80c85258247", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Amanda B. Reckonwith" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.xml new file mode 100644 index 00000000..0d6f5e99 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="73d94afd-212c-4bfe-a116-1cc73da80b6a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1d393340-f16f-4da5-ad0a-03f2937db2c1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b5ff96d1-5f55-44d3-9b6f-92c00d7ab720_160.000.226.119.766.74"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f0f3148f-c343-46c1-8a1c-5bf562000f09"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/53fd0554-03a8-4a35-8a54-c80c85258247"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f0f3148f-c343-46c1-8a1c-5bf562000f09"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="53fd0554-03a8-4a35-8a54-c80c85258247"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Amanda B. Reckonwith"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 1df5d00e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index b2e64a02..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index d994fe7b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a8177c29-496f-4d08-baf8-dfd1d68689d0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="74dfb819-8859-4ac0-aff7-dc3c2e3f3c69"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.756.07"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/06d5afce-1232-42c7-9752-82bb6f2c6b3d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/897022ff-6598-486e-a082-5a30200ccc44"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="06d5afce-1232-42c7-9752-82bb6f2c6b3d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="897022ff-6598-486e-a082-5a30200ccc44"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ken Oppenner"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_f08aa035/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/output.json new file mode 100644 index 00000000..2b6e3288 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "321f3295-d2f8-4c7f-8b0f-80ba6724a340", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9df5cfb3-f2e7-4a81-b082-c49e8db76755", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f08aa035-21c6-4dcf-a24d-bf5575ab995d_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/283e2d20-4350-43ab-b92c-bfe2373547c7" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f38f8d1a-3e22-4676-8f46-ee114238318a" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "283e2d20-4350-43ab-b92c-bfe2373547c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f38f8d1a-3e22-4676-8f46-ee114238318a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/010_Request_MedicationDispense_a8177c29_f08aa035/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/output.xml new file mode 100644 index 00000000..4440e4fc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="321f3295-d2f8-4c7f-8b0f-80ba6724a340"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.756.07"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9df5cfb3-f2e7-4a81-b082-c49e8db76755"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f08aa035-21c6-4dcf-a24d-bf5575ab995d_160.000.226.119.756.07"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/283e2d20-4350-43ab-b92c-bfe2373547c7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f38f8d1a-3e22-4676-8f46-ee114238318a"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="283e2d20-4350-43ab-b92c-bfe2373547c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f38f8d1a-3e22-4676-8f46-ee114238318a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Marlon Fisher"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/input.xml new file mode 100644 index 00000000..f7af900a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b5ff96d1-5f55-44d3-9b6f-92c00d7ab720"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5390eeb6-cf71-4d6d-bf2a-179bdd86773b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5390eeb6-cf71-4d6d-bf2a-179bdd86773b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/010_Request_MedicationDispense_b5ff96d1/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.json new file mode 100644 index 00000000..a8845c19 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "3a0b291b-d58e-4116-9c13-f98d5fc079a8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "d51a68c7-3d13-458c-b380-b870f1c907ec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b5ff96d1-5f55-44d3-9b6f-92c00d7ab720_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/19076484-b2f0-48ae-a318-875c0119098d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d176678f-a3d0-4995-bda6-d63823b5dca5" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "19076484-b2f0-48ae-a318-875c0119098d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d176678f-a3d0-4995-bda6-d63823b5dca5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ty Malone" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.xml new file mode 100644 index 00000000..c5832d0c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3a0b291b-d58e-4116-9c13-f98d5fc079a8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="d51a68c7-3d13-458c-b380-b870f1c907ec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b5ff96d1-5f55-44d3-9b6f-92c00d7ab720_160.000.226.119.766.74"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/19076484-b2f0-48ae-a318-875c0119098d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d176678f-a3d0-4995-bda6-d63823b5dca5"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="19076484-b2f0-48ae-a318-875c0119098d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d176678f-a3d0-4995-bda6-d63823b5dca5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ty Malone"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/input.xml new file mode 100644 index 00000000..465aba8c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b7698c22-7c98-4023-84a1-2a76bee694de"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9d4211d1-66d1-40e3-8a24-ea80887c92f1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07943704"/> + </coding> + <text value="Calglucoor"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="AMP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="3"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#9d4211d1-66d1-40e3-8a24-ea80887c92f1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/010_Request_MedicationDispense_b7698c22/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.json new file mode 100644 index 00000000..abda4942 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "ecbad490-89d8-46a8-8eba-0804516d6f7a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9569abb9-a9e5-4d13-9ba1-a0a60965ec6b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b7698c22-7c98-4023-84a1-2a76bee694de_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/352288de-ea6a-43e0-bdef-ac5cab2ca869" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f64a4747-2923-4cf4-8ffa-e799bbf68bf0" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "352288de-ea6a-43e0-bdef-ac5cab2ca869", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f64a4747-2923-4cf4-8ffa-e799bbf68bf0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Liv Good" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.xml new file mode 100644 index 00000000..578632b7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ecbad490-89d8-46a8-8eba-0804516d6f7a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9569abb9-a9e5-4d13-9ba1-a0a60965ec6b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b7698c22-7c98-4023-84a1-2a76bee694de_160.000.226.119.765.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/352288de-ea6a-43e0-bdef-ac5cab2ca869"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f64a4747-2923-4cf4-8ffa-e799bbf68bf0"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="352288de-ea6a-43e0-bdef-ac5cab2ca869"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07943704"/> + </coding> + <text value="Calglucoor"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="AMP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="3"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f64a4747-2923-4cf4-8ffa-e799bbf68bf0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Liv Good"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/input.xml new file mode 100644 index 00000000..d71a4f4e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f08aa035-21c6-4dcf-a24d-bf5575ab995d"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5a09919f-802b-43e9-b62a-329150214fa4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.756.07"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5a09919f-802b-43e9-b62a-329150214fa4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/010_Request_MedicationDispense_f08aa035/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.json new file mode 100644 index 00000000..75687931 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "8b69628b-7ff5-4d4c-9fc3-1dac6513dfe5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0889be97-b9f6-469f-974c-a6bab37e0915", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f08aa035-21c6-4dcf-a24d-bf5575ab995d_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/a0e11c69-3328-4d84-bd86-669ecf462231" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/858e0891-e7fd-48c0-bbbf-7b6fee1e5484" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a0e11c69-3328-4d84-bd86-669ecf462231", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "858e0891-e7fd-48c0-bbbf-7b6fee1e5484", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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. Zienya" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.xml new file mode 100644 index 00000000..d1326e30 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8b69628b-7ff5-4d4c-9fc3-1dac6513dfe5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.756.07"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0889be97-b9f6-469f-974c-a6bab37e0915"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f08aa035-21c6-4dcf-a24d-bf5575ab995d_160.000.226.119.756.07"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a0e11c69-3328-4d84-bd86-669ecf462231"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/858e0891-e7fd-48c0-bbbf-7b6fee1e5484"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a0e11c69-3328-4d84-bd86-669ecf462231"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="858e0891-e7fd-48c0-bbbf-7b6fee1e5484"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Al B. Zienya"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_03b61c19/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.json new file mode 100644 index 00000000..23292610 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "33db8454-6acc-4185-b4e8-f0fc73c625a5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "d7131f54-fd76-4083-95ae-8e53ea5a7bd3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "03b61c19-acab-4cff-901c-48b2226684a9_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/717dec7c-95b8-4910-9864-7433c4f51c3d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/4f62c828-404d-46bb-babb-b4a2eec0b1e1" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "717dec7c-95b8-4910-9864-7433c4f51c3d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4f62c828-404d-46bb-babb-b4a2eec0b1e1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Iona Corolla" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.xml new file mode 100644 index 00000000..fed2aa36 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="33db8454-6acc-4185-b4e8-f0fc73c625a5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.526.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="d7131f54-fd76-4083-95ae-8e53ea5a7bd3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="03b61c19-acab-4cff-901c-48b2226684a9_200.000.002.096.526.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/717dec7c-95b8-4910-9864-7433c4f51c3d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/4f62c828-404d-46bb-babb-b4a2eec0b1e1"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="717dec7c-95b8-4910-9864-7433c4f51c3d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10256692"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4f62c828-404d-46bb-babb-b4a2eec0b1e1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Iona Corolla"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_251c9cea/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.json new file mode 100644 index 00000000..bdda3045 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "d8fb8806-246a-4904-89fb-d5b373f516d9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "90e1b462-cdcb-4f49-b6f6-eddf0b90fc16", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "251c9cea-ae9b-4975-822e-4c87d29f161a_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/e9df3126-a78e-4620-8fad-900c43348e72" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3eb2e1e6-1082-4dba-9e97-5586b74dc10f" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e9df3126-a78e-4620-8fad-900c43348e72", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3eb2e1e6-1082-4dba-9e97-5586b74dc10f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bonnie Ann Clyde" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.xml new file mode 100644 index 00000000..f52ac1fe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d8fb8806-246a-4904-89fb-d5b373f516d9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.535.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="90e1b462-cdcb-4f49-b6f6-eddf0b90fc16"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="251c9cea-ae9b-4975-822e-4c87d29f161a_200.000.002.096.535.43"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e9df3126-a78e-4620-8fad-900c43348e72"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3eb2e1e6-1082-4dba-9e97-5586b74dc10f"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e9df3126-a78e-4620-8fad-900c43348e72"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87382645"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3eb2e1e6-1082-4dba-9e97-5586b74dc10f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bonnie Ann Clyde"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 56eb6051..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index aed921fe..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 92bba40d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="56e40195-7067-47d3-ab41-a4cf42a05296"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1157c654-9aea-466c-9d5d-bf22a3d58f7f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.528.64"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/427100be-8192-4f77-9ce8-7c94dfd92b50"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/35f16e80-5d9f-46fa-b9a7-d6fd820f6929"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="427100be-8192-4f77-9ce8-7c94dfd92b50"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="87002772"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="35f16e80-5d9f-46fa-b9a7-d6fd820f6929"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Sue Jeu"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_8f3ff291/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.json new file mode 100644 index 00000000..ac8f16da --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "2cab91e4-7be9-4724-9be0-0fe9a5de7e61", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "7a2ecf91-8d7b-47c7-b062-301f1c3f5e42", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "8f3ff291-01d9-4daf-9e12-69b9e5d41b30_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/a4fb65db-2ca5-457f-b409-11154978a660" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0af7e20e-7fcf-41d0-bfad-8666d6ef5807" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a4fb65db-2ca5-457f-b409-11154978a660", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0af7e20e-7fcf-41d0-bfad-8666d6ef5807", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Arch N. Emmy" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.xml new file mode 100644 index 00000000..30e3b28f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2cab91e4-7be9-4724-9be0-0fe9a5de7e61"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.528.64"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7a2ecf91-8d7b-47c7-b062-301f1c3f5e42"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="8f3ff291-01d9-4daf-9e12-69b9e5d41b30_200.000.002.096.528.64"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a4fb65db-2ca5-457f-b409-11154978a660"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0af7e20e-7fcf-41d0-bfad-8666d6ef5807"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a4fb65db-2ca5-457f-b409-11154978a660"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87002772"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0af7e20e-7fcf-41d0-bfad-8666d6ef5807"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arch N. Emmy"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index e2651182..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 31809d27..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index eaedec8f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6dcbcf82-f25c-4102-a11f-eb83dddba26c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a664a3ff-21d3-4afa-9ca2-12b8d61cb9d6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.530.58"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/7aeeb28b-0171-4e21-a676-b8de881c827e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/d031b1d8-d621-42e2-8319-035794b4b1dc"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7aeeb28b-0171-4e21-a676-b8de881c827e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="78632037"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d031b1d8-d621-42e2-8319-035794b4b1dc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Pepe C. Cola"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_f976d60f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.json new file mode 100644 index 00000000..1e3147de --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "d214a3a1-ab12-4226-8035-b45b31d40228", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "fe29dec3-936a-4a5d-9947-ca043dea5c12", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f976d60f-6a94-43be-acc2-1f02f7fe75b7_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/601862e1-388a-47de-904e-2104a81c81ed" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d5e19b63-b411-4d26-a313-47ae16dde5ef" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "601862e1-388a-47de-904e-2104a81c81ed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d5e19b63-b411-4d26-a313-47ae16dde5ef", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Hayden Seek" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.xml new file mode 100644 index 00000000..49d5f83c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d214a3a1-ab12-4226-8035-b45b31d40228"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.530.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="fe29dec3-936a-4a5d-9947-ca043dea5c12"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f976d60f-6a94-43be-acc2-1f02f7fe75b7_200.000.002.096.530.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/601862e1-388a-47de-904e-2104a81c81ed"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d5e19b63-b411-4d26-a313-47ae16dde5ef"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="601862e1-388a-47de-904e-2104a81c81ed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="78632037"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d5e19b63-b411-4d26-a313-47ae16dde5ef"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hayden Seek"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 550a4d2f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 9f1b7c5e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 488d4493..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="72acb68b-0890-44a6-a4ac-30a7b4805603"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="c697346c-8d38-47e4-b742-f34360ef8da5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.535.43"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/36b846df-9e36-45c0-b514-fa2f78b83597"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/4ade94a8-466f-4d78-8730-9117bd12d300"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="36b846df-9e36-45c0-b514-fa2f78b83597"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="87382645"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4ade94a8-466f-4d78-8730-9117bd12d300"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ann Tartica"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/input.xml new file mode 100644 index 00000000..0d5ea6ac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="251c9cea-ae9b-4975-822e-4c87d29f161a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bc1c6f86-2c26-4ed2-b717-fd73022e6f53"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87382645"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.535.43"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#bc1c6f86-2c26-4ed2-b717-fd73022e6f53"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.json new file mode 100644 index 00000000..3379cc29 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "18d01254-de24-40f9-b0eb-3a005b43181f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "23e387d7-be80-4826-bb19-e2b257f5b2fc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "251c9cea-ae9b-4975-822e-4c87d29f161a_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/cb4cd625-4f85-4c8d-9589-9806b3e3fe84" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/b768216e-8edc-4a0f-9205-53de35cd8508" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "cb4cd625-4f85-4c8d-9589-9806b3e3fe84", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b768216e-8edc-4a0f-9205-53de35cd8508", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Chris P. Wheatzenraisins" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.xml new file mode 100644 index 00000000..6f1320fe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="18d01254-de24-40f9-b0eb-3a005b43181f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.535.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="23e387d7-be80-4826-bb19-e2b257f5b2fc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="251c9cea-ae9b-4975-822e-4c87d29f161a_200.000.002.096.535.43"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/cb4cd625-4f85-4c8d-9589-9806b3e3fe84"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/b768216e-8edc-4a0f-9205-53de35cd8508"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cb4cd625-4f85-4c8d-9589-9806b3e3fe84"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87382645"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b768216e-8edc-4a0f-9205-53de35cd8508"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Chris P. Wheatzenraisins"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/input.xml new file mode 100644 index 00000000..ac813601 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8f3ff291-01d9-4daf-9e12-69b9e5d41b30"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fd02588d-b2f9-4d37-a188-6b7c24382ead"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87002772"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.528.64"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#fd02588d-b2f9-4d37-a188-6b7c24382ead"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/011_Request_MedicationDispense_8f3ff291/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.json new file mode 100644 index 00000000..b9df3286 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "ce661dac-478d-434c-a30a-f6acdf119c9c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a4ba03e8-45e6-4731-9fa8-c4ea3419721d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "8f3ff291-01d9-4daf-9e12-69b9e5d41b30_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/10086912-9dfc-4de2-9a16-a99482d21ccc" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/65196b02-ae09-4eab-9f3b-38912da7a07a" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "10086912-9dfc-4de2-9a16-a99482d21ccc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "65196b02-ae09-4eab-9f3b-38912da7a07a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Chris Cross" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.xml new file mode 100644 index 00000000..0181bb73 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ce661dac-478d-434c-a30a-f6acdf119c9c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.528.64"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a4ba03e8-45e6-4731-9fa8-c4ea3419721d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="8f3ff291-01d9-4daf-9e12-69b9e5d41b30_200.000.002.096.528.64"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/10086912-9dfc-4de2-9a16-a99482d21ccc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/65196b02-ae09-4eab-9f3b-38912da7a07a"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="10086912-9dfc-4de2-9a16-a99482d21ccc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87002772"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="65196b02-ae09-4eab-9f3b-38912da7a07a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Chris Cross"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 146dc203..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 03c0d785..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 488a847e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d356fb06-52bd-4bec-8a3f-e7d697e98311"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1f782855-49ff-444e-9f84-65399de25069"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.526.70"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/3397b250-cae7-48c0-beb4-19905e20e18e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/21bbb410-883f-4c0a-8c49-60e30f2149e6"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3397b250-cae7-48c0-beb4-19905e20e18e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10256692"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="21bbb410-883f-4c0a-8c49-60e30f2149e6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Jim Shu"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/input.xml new file mode 100644 index 00000000..ae753ab9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="03b61c19-acab-4cff-901c-48b2226684a9"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9c18ac42-2969-44aa-b951-c6bfa687b5bf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10256692"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.526.70"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#9c18ac42-2969-44aa-b951-c6bfa687b5bf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.json new file mode 100644 index 00000000..647df9bd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "05fe5777-54e7-4cf8-8cae-df9d966966a8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "3157fe1b-ed59-4638-9285-5102393ef5f1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "03b61c19-acab-4cff-901c-48b2226684a9_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/ca16a42b-2fa5-4f23-baa9-e1bb31465988" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/1c54706b-e698-4924-9ad0-0e7aa2e4c2e7" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ca16a42b-2fa5-4f23-baa9-e1bb31465988", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1c54706b-e698-4924-9ad0-0e7aa2e4c2e7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Anne Teak" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.xml new file mode 100644 index 00000000..eb6517f5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="05fe5777-54e7-4cf8-8cae-df9d966966a8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.526.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="3157fe1b-ed59-4638-9285-5102393ef5f1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="03b61c19-acab-4cff-901c-48b2226684a9_200.000.002.096.526.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ca16a42b-2fa5-4f23-baa9-e1bb31465988"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/1c54706b-e698-4924-9ad0-0e7aa2e4c2e7"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ca16a42b-2fa5-4f23-baa9-e1bb31465988"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10256692"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1c54706b-e698-4924-9ad0-0e7aa2e4c2e7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Anne Teak"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/input.xml new file mode 100644 index 00000000..1838fc0c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f976d60f-6a94-43be-acc2-1f02f7fe75b7"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="935cf074-8360-466f-b82a-a0a912f333c6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="78632037"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.530.58"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#935cf074-8360-466f-b82a-a0a912f333c6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/011_Request_MedicationDispense_f976d60f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.json new file mode 100644 index 00000000..3236f885 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "c3ff9504-434c-452a-a831-287e3a443045", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "16d8b8f0-f0ca-4870-8271-73f3e01f3df7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f976d60f-6a94-43be-acc2-1f02f7fe75b7_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/a1f93056-4452-4c71-95a7-aa243002515e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0580d814-acae-4121-871f-7fb17a2668b8" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a1f93056-4452-4c71-95a7-aa243002515e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0580d814-acae-4121-871f-7fb17a2668b8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ty Coon" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.xml new file mode 100644 index 00000000..3592ec96 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c3ff9504-434c-452a-a831-287e3a443045"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.530.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="16d8b8f0-f0ca-4870-8271-73f3e01f3df7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f976d60f-6a94-43be-acc2-1f02f7fe75b7_200.000.002.096.530.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a1f93056-4452-4c71-95a7-aa243002515e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0580d814-acae-4121-871f-7fb17a2668b8"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a1f93056-4452-4c71-95a7-aa243002515e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="78632037"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0580d814-acae-4121-871f-7fb17a2668b8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ty Coon"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_27819d94/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.json new file mode 100644 index 00000000..9ad14501 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "e0b77b26-2e26-405e-97c2-557461e8e0b3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a98f6de9-83c2-43e0-9966-07afdd3893c4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "27819d94-b175-489e-a051-b8ecc4b04433_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/15be6cdf-955a-4145-825f-ec1c85c7fbba" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/861d0ee7-7efe-4174-8d2a-080ce2982519" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "15be6cdf-955a-4145-825f-ec1c85c7fbba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "861d0ee7-7efe-4174-8d2a-080ce2982519", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/013_Request_MedicationDispense_27819d94/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.xml new file mode 100644 index 00000000..b180e281 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e0b77b26-2e26-405e-97c2-557461e8e0b3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.742.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a98f6de9-83c2-43e0-9966-07afdd3893c4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="27819d94-b175-489e-a051-b8ecc4b04433_160.000.226.119.742.49"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/15be6cdf-955a-4145-825f-ec1c85c7fbba"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/861d0ee7-7efe-4174-8d2a-080ce2982519"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="15be6cdf-955a-4145-825f-ec1c85c7fbba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="861d0ee7-7efe-4174-8d2a-080ce2982519"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Val Lay"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index fa02d227..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 946a4b47..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 4a50783c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="91805a70-a169-4b52-a112-bebfd7d6c684"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="45e96e8e-35dc-4ddf-94d6-91fb6bda6554"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.742.49"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/70dae982-1df9-4c95-9355-8ca605b9ac49"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/0604cadb-29a6-4294-adca-5696ec900758"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="70dae982-1df9-4c95-9355-8ca605b9ac49"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0604cadb-29a6-4294-adca-5696ec900758"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Lina Ginster"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/input.xml new file mode 100644 index 00000000..f99a14a1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="27819d94-b175-489e-a051-b8ecc4b04433"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b8b6f343-e196-4bf1-87e4-482535ff8f0e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.742.49"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#b8b6f343-e196-4bf1-87e4-482535ff8f0e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.json new file mode 100644 index 00000000..5718d79b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "f2313b48-12e8-469b-85f6-7df6ec53598d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f4df7bd7-7436-46ea-b3d1-c02c0d3e5d91", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "27819d94-b175-489e-a051-b8ecc4b04433_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/4979036a-2e93-4e48-b753-bf4fdf3fd880" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/4756d797-b1f0-4b7d-9335-4757b7648b79" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "4979036a-2e93-4e48-b753-bf4fdf3fd880", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4756d797-b1f0-4b7d-9335-4757b7648b79", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dustin D. Furniture" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.xml new file mode 100644 index 00000000..ffcb5edb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f2313b48-12e8-469b-85f6-7df6ec53598d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.742.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f4df7bd7-7436-46ea-b3d1-c02c0d3e5d91"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="27819d94-b175-489e-a051-b8ecc4b04433_160.000.226.119.742.49"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/4979036a-2e93-4e48-b753-bf4fdf3fd880"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/4756d797-b1f0-4b7d-9335-4757b7648b79"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4979036a-2e93-4e48-b753-bf4fdf3fd880"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4756d797-b1f0-4b7d-9335-4757b7648b79"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dustin D. Furniture"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_0926ecff/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.json new file mode 100644 index 00000000..c95ffddf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "59d49b5a-3aed-4c91-8f86-cd027a5af473", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ab6813bc-2ca9-419b-a868-2b2666e6812c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "0926ecff-d275-4e6f-a03c-ce5dbff6d87a_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/46ba2183-2514-478c-b0e0-f83b21369b19" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3317e362-43f9-4fde-b0be-75fe0782ba15" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "46ba2183-2514-478c-b0e0-f83b21369b19", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3317e362-43f9-4fde-b0be-75fe0782ba15", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bruce Easley" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.xml new file mode 100644 index 00000000..7bdf034f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="59d49b5a-3aed-4c91-8f86-cd027a5af473"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.740.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ab6813bc-2ca9-419b-a868-2b2666e6812c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="0926ecff-d275-4e6f-a03c-ce5dbff6d87a_160.000.226.119.740.55"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/46ba2183-2514-478c-b0e0-f83b21369b19"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3317e362-43f9-4fde-b0be-75fe0782ba15"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="46ba2183-2514-478c-b0e0-f83b21369b19"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3317e362-43f9-4fde-b0be-75fe0782ba15"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bruce Easley"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_227cd07a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.json new file mode 100644 index 00000000..cf604dbf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "6adddbd5-c480-45c0-8bef-77f18e0ccb14", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9e399556-9ce2-47fd-959c-57574751fb34", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "227cd07a-1fe5-44d6-99bf-748c42a34bda_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/bb94d57a-8d93-464f-8eda-e5359bcff62a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0f9abb78-9cf8-4a29-b11f-061c843ee9f2" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bb94d57a-8d93-464f-8eda-e5359bcff62a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0f9abb78-9cf8-4a29-b11f-061c843ee9f2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Kenya Dewit" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.xml new file mode 100644 index 00000000..66d3bde6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6adddbd5-c480-45c0-8bef-77f18e0ccb14"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.745.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9e399556-9ce2-47fd-959c-57574751fb34"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="227cd07a-1fe5-44d6-99bf-748c42a34bda_160.000.226.119.745.40"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bb94d57a-8d93-464f-8eda-e5359bcff62a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0f9abb78-9cf8-4a29-b11f-061c843ee9f2"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bb94d57a-8d93-464f-8eda-e5359bcff62a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0f9abb78-9cf8-4a29-b11f-061c843ee9f2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kenya Dewit"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index c5d2ed40..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 7be526cd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 20f7b567..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2d9f6ecc-8ba4-4f44-9b15-f1c117f2c968"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5c24a502-e0ee-4b4a-9899-10c3b5439cb3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.740.55"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/1d411ce2-efee-498b-8f1f-a305c91a4b29"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/365710fe-da63-4d6d-8a2e-13adabc9ada6"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1d411ce2-efee-498b-8f1f-a305c91a4b29"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="365710fe-da63-4d6d-8a2e-13adabc9ada6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Aretha Holly"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/input.xml new file mode 100644 index 00000000..10094e85 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0926ecff-d275-4e6f-a03c-ce5dbff6d87a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6cbfa774-2875-4c4e-a158-0b01299011fc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.740.55"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#6cbfa774-2875-4c4e-a158-0b01299011fc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.json new file mode 100644 index 00000000..c77d4e3b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "9775eaf4-30ed-4e82-9224-2c29ad4cd2a3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8eec122a-98fc-48e1-907e-7123143e5899", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "0926ecff-d275-4e6f-a03c-ce5dbff6d87a_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/c72b7468-9ecd-47da-9b2d-1e7dc76da8d9" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5cb365ae-20e1-4c15-9212-bffd9c5d32e7" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "c72b7468-9ecd-47da-9b2d-1e7dc76da8d9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5cb365ae-20e1-4c15-9212-bffd9c5d32e7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Billy Rubin" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.xml new file mode 100644 index 00000000..fd86d526 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9775eaf4-30ed-4e82-9224-2c29ad4cd2a3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.740.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8eec122a-98fc-48e1-907e-7123143e5899"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="0926ecff-d275-4e6f-a03c-ce5dbff6d87a_160.000.226.119.740.55"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/c72b7468-9ecd-47da-9b2d-1e7dc76da8d9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5cb365ae-20e1-4c15-9212-bffd9c5d32e7"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c72b7468-9ecd-47da-9b2d-1e7dc76da8d9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5cb365ae-20e1-4c15-9212-bffd9c5d32e7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Billy Rubin"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index a7517813..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 33abce7b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 91e06b81..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e08671c3-76b4-4b6f-8051-f1a6212a5ab6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="7be2ed47-ebcd-42b0-b7a5-4e75f427cca2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.745.40"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/addd277a-17d2-4b39-9db0-37231a92e5a2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/abe7a303-a482-4a0f-805e-46e360692593"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="addd277a-17d2-4b39-9db0-37231a92e5a2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="abe7a303-a482-4a0f-805e-46e360692593"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Rosie Peach"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/input.xml new file mode 100644 index 00000000..1dbebf06 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="227cd07a-1fe5-44d6-99bf-748c42a34bda"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a69d5e37-404d-4491-b487-1eaf0def0842"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.745.40"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#a69d5e37-404d-4491-b487-1eaf0def0842"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.json new file mode 100644 index 00000000..42c31ab4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "8dbc3db2-aa69-480d-873b-b76d0de3f9a5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "d43dc3ea-946d-4c66-987a-e41c491f9936", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "227cd07a-1fe5-44d6-99bf-748c42a34bda_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/acfcd306-c231-4a30-9cc8-615a4f7953d7" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/66a41836-acf0-472a-bcf9-ee02371f8aac" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "acfcd306-c231-4a30-9cc8-615a4f7953d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "66a41836-acf0-472a-bcf9-ee02371f8aac", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Oren Jellow" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.xml new file mode 100644 index 00000000..93c17277 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8dbc3db2-aa69-480d-873b-b76d0de3f9a5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.745.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="d43dc3ea-946d-4c66-987a-e41c491f9936"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="227cd07a-1fe5-44d6-99bf-748c42a34bda_160.000.226.119.745.40"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/acfcd306-c231-4a30-9cc8-615a4f7953d7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/66a41836-acf0-472a-bcf9-ee02371f8aac"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="acfcd306-c231-4a30-9cc8-615a4f7953d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="66a41836-acf0-472a-bcf9-ee02371f8aac"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Oren Jellow"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 1c6fbcd0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 387a228d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 200e5af1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="8d0f44ed-ba9d-4355-9a7c-e29f776e671e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="e09745de-6981-430c-a887-346ec451aac8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.123.456.789.123.58"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/39c77767-8779-4051-b9e6-ad63ce96b84f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X123456789"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/4c541f5d-3494-452d-a15c-a1289c496773"/> - </actor> - </performer> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - <whenHandedOver value="2020-03-20"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="39c77767-8779-4051-b9e6-ad63ce96b84f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4c541f5d-3494-452d-a15c-a1289c496773"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000129070"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Noah Lott"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.json new file mode 100644 index 00000000..19c28283 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "99d6f05a-a179-4f55-b10e-46e91f5c23d5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.123.456.789.123.58" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c76ca735-92b0-4c2b-b650-1960dec9e47a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/9fda399d-0a7a-4651-a451-de28824c4f25" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/daffd455-a7bc-4079-b2dd-908ea87ee4cb" + } + } ], + "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": "9fda399d-0a7a-4651-a451-de28824c4f25", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "daffd455-a7bc-4079-b2dd-908ea87ee4cb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Misty C. Shore" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.xml new file mode 100644 index 00000000..7c7f8019 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="99d6f05a-a179-4f55-b10e-46e91f5c23d5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c76ca735-92b0-4c2b-b650-1960dec9e47a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/9fda399d-0a7a-4651-a451-de28824c4f25"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/daffd455-a7bc-4079-b2dd-908ea87ee4cb"/> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9fda399d-0a7a-4651-a451-de28824c4f25"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="daffd455-a7bc-4079-b2dd-908ea87ee4cb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Misty C. Shore"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index ced91e99..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 57340ad9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index d607dd9f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c8335ed8-a02c-4e00-9ab8-bd8746c0359d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="82a2b5e5-a5b7-4166-8124-b1aa23f4188b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.123.456.789.123.58"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/d5f12600-120d-44fb-a074-d2906ab6451f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X123456789"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/a40149f7-fb86-477f-a00e-2451aacaf1fb"/> - </actor> - </performer> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - <whenHandedOver value="2020-03-20"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="d5f12600-120d-44fb-a074-d2906ab6451f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a40149f7-fb86-477f-a00e-2451aacaf1fb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000129070"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Max Little"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.json new file mode 100644 index 00000000..87607b29 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "c4ec3e8c-0611-44ac-a79f-bff5bfac6b67", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.123.456.789.123.58" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "89a7dcd4-3f79-4c13-b4e9-745354bb599b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/8ca5042a-0cbf-4ad9-8936-ae0277fe4eab" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8566f240-28f9-405f-9364-51043551035e" + } + } ], + "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": "8ca5042a-0cbf-4ad9-8936-ae0277fe4eab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "8566f240-28f9-405f-9364-51043551035e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Pearl E. Gates" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.xml new file mode 100644 index 00000000..7189ca2f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c4ec3e8c-0611-44ac-a79f-bff5bfac6b67"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="89a7dcd4-3f79-4c13-b4e9-745354bb599b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/8ca5042a-0cbf-4ad9-8936-ae0277fe4eab"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8566f240-28f9-405f-9364-51043551035e"/> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8ca5042a-0cbf-4ad9-8936-ae0277fe4eab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8566f240-28f9-405f-9364-51043551035e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Pearl E. Gates"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/input.xml new file mode 100644 index 00000000..36962cd8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/input.xml @@ -0,0 +1,90 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="med0314"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#med0314"/> + <display value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/06_request_taskClose_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.json new file mode 100644 index 00000000..51c5a578 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "d644bd29-1f81-4aae-8bea-c07cbad0bc83", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.123.456.789.123.58" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "871c2e57-704d-46c1-a703-6c8bae1380f5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/f2a247db-0e93-4d4d-b50f-aae016e94a93" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8fc79faa-4dc6-4ec5-8af8-5590756f2bc3" + } + } ], + "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": "f2a247db-0e93-4d4d-b50f-aae016e94a93", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "8fc79faa-4dc6-4ec5-8af8-5590756f2bc3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ricky T. Ladder" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.xml new file mode 100644 index 00000000..160e9f47 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d644bd29-1f81-4aae-8bea-c07cbad0bc83"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="871c2e57-704d-46c1-a703-6c8bae1380f5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f2a247db-0e93-4d4d-b50f-aae016e94a93"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8fc79faa-4dc6-4ec5-8af8-5590756f2bc3"/> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f2a247db-0e93-4d4d-b50f-aae016e94a93"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8fc79faa-4dc6-4ec5-8af8-5590756f2bc3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ricky T. Ladder"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index ab0cc401..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index afcd0bf1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 81ee6f30..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="00c96c80-208f-4de1-bbeb-1349e65511c5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="7a7ecac6-bae0-46e3-8e75-d3df70d287cd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.123.456.789.123.58"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/4541772b-0d6b-4ad7-ad65-d7228c2563f0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X123456789"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/d73ff990-a66b-4780-8721-50e40a9f6fb3"/> - </actor> - </performer> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - <whenHandedOver value="2020-03-20"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4541772b-0d6b-4ad7-ad65-d7228c2563f0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d73ff990-a66b-4780-8721-50e40a9f6fb3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000129070"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Marge Innastraightline"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_dffbfd6a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.json new file mode 100644 index 00000000..0708757a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "01b45b41-a82c-450e-a40a-52ce482f73df", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.123.456.789.123.58" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "27b2c07c-a302-4184-be8e-5a0562773baf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dffbfd6a-5712-4798-bdc8-07201eb77ab8_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/63f82d19-bd77-4e18-9997-c2d4fc2aebdd" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/bcf78ff9-685e-489e-b0c8-bd42c8b1f125" + } + } ], + "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": "63f82d19-bd77-4e18-9997-c2d4fc2aebdd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "bcf78ff9-685e-489e-b0c8-bd42c8b1f125", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Hope Ferterbest" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.xml new file mode 100644 index 00000000..b2496a03 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="01b45b41-a82c-450e-a40a-52ce482f73df"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="27b2c07c-a302-4184-be8e-5a0562773baf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dffbfd6a-5712-4798-bdc8-07201eb77ab8_160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/63f82d19-bd77-4e18-9997-c2d4fc2aebdd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/bcf78ff9-685e-489e-b0c8-bd42c8b1f125"/> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="63f82d19-bd77-4e18-9997-c2d4fc2aebdd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bcf78ff9-685e-489e-b0c8-bd42c8b1f125"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hope Ferterbest"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 8152eb30..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 14c9b3f1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index a1d340aa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="816796a2-43da-40af-ac43-4e12db041d84"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="16601a69-3d53-40e8-87fc-24bc59269b03"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.123.456.789.123.58"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/1698850b-7197-46ef-8a93-19f9d049177e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X123456789"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/ced1fe02-4870-4818-918b-97c040223986"/> - </actor> - </performer> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - <whenHandedOver value="2020-03-20"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1698850b-7197-46ef-8a93-19f9d049177e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ced1fe02-4870-4818-918b-97c040223986"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000129070"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Bowen Arrow"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_dffbfd6a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.json new file mode 100644 index 00000000..2ccc7660 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "f84330bb-3465-4886-b965-854b07460dec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.123.456.789.123.58" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f7804d1b-9dee-4e17-947a-2189ded2292e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dffbfd6a-5712-4798-bdc8-07201eb77ab8_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/cfd4862a-444b-445f-9472-1d3650ccc598" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/25145c20-2c47-46df-bd9a-7b8e0a67ff97" + } + } ], + "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": "cfd4862a-444b-445f-9472-1d3650ccc598", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "25145c20-2c47-46df-bd9a-7b8e0a67ff97", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Joy Kil" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.xml new file mode 100644 index 00000000..1dd237d3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f84330bb-3465-4886-b965-854b07460dec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f7804d1b-9dee-4e17-947a-2189ded2292e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dffbfd6a-5712-4798-bdc8-07201eb77ab8_160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/cfd4862a-444b-445f-9472-1d3650ccc598"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/25145c20-2c47-46df-bd9a-7b8e0a67ff97"/> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cfd4862a-444b-445f-9472-1d3650ccc598"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="25145c20-2c47-46df-bd9a-7b8e0a67ff97"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Joy Kil"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/input.xml new file mode 100644 index 00000000..f1daf1cf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="dffbfd6a-5712-4798-bdc8-07201eb77ab8"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="med0314"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#med0314"/> + <display value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/08_response_taskDispense_dffbfd6a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.json new file mode 100644 index 00000000..9fd6d5e2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "99978f76-8c80-488c-a281-b029b06b42ef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.123.456.789.123.58" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5d01a70a-7aa4-4d6f-965f-50d164ecc89c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dffbfd6a-5712-4798-bdc8-07201eb77ab8_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/79092378-91f5-4056-bd26-1c70ee0b8f17" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a77e0bdb-4483-4783-bcbf-4f2d59de39b1" + } + } ], + "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": "79092378-91f5-4056-bd26-1c70ee0b8f17", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "a77e0bdb-4483-4783-bcbf-4f2d59de39b1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Lily Pond" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.xml new file mode 100644 index 00000000..53fc781b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="99978f76-8c80-488c-a281-b029b06b42ef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5d01a70a-7aa4-4d6f-965f-50d164ecc89c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dffbfd6a-5712-4798-bdc8-07201eb77ab8_160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/79092378-91f5-4056-bd26-1c70ee0b8f17"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a77e0bdb-4483-4783-bcbf-4f2d59de39b1"/> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="79092378-91f5-4056-bd26-1c70ee0b8f17"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a77e0bdb-4483-4783-bcbf-4f2d59de39b1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lily Pond"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 6ccf46ce..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 4e6cb843..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/output.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "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 deleted file mode 100644 index 9cc303cb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/output.xml +++ /dev/null @@ -1,123 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="999890a5-2154-4ab2-b872-c80159ea9784"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a64d1597-98d6-468e-8731-17d5f6e54ae6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.204.02"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/b89435bd-555e-494d-a008-39d2736b3445"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="Z828875733"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/af007230-3251-4dee-8f15-29031f4c77db"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T09:29:09+02:00"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b89435bd-555e-494d-a008-39d2736b3445"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="04866280"/> - </coding> - <text value="Sumatriptan Dura 100mg"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="12"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="af007230-3251-4dee-8f15-29031f4c77db"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Michelle Lynn"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/output.json new file mode 100644 index 00000000..5a4056fd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "2b87238a-7a20-46f8-b25f-bb1e4557f31b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.204.02" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c067cda5-3a90-4e86-bac8-36ee4c654d84", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/bfaf3298-ba16-4a47-be79-10095ccc3473" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ddf27762-1612-48cb-b471-c2b3c29a5380" + } + } ], + "whenHandedOver": "2024-07-02T09:29:09+02:00", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bfaf3298-ba16-4a47-be79-10095ccc3473", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "ddf27762-1612-48cb-b471-c2b3c29a5380", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Crystal Glass" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/output.xml new file mode 100644 index 00000000..831d4f65 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2b87238a-7a20-46f8-b25f-bb1e4557f31b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.204.02"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c067cda5-3a90-4e86-bac8-36ee4c654d84"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.204.02"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bfaf3298-ba16-4a47-be79-10095ccc3473"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ddf27762-1612-48cb-b471-c2b3c29a5380"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:29:09+02:00"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bfaf3298-ba16-4a47-be79-10095ccc3473"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04866280"/> + </coding> + <text value="Sumatriptan Dura 100mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ddf27762-1612-48cb-b471-c2b3c29a5380"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Crystal Glass"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/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_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1c5db392-40ee-481b-987f-f4bfa389abdd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04866280"/> + </coding> + <text value="Sumatriptan Dura 100mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="12"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.204.02"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#1c5db392-40ee-481b-987f-f4bfa389abdd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:29:09+02:00"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.json new file mode 100644 index 00000000..e7f0fa7d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "4ce5c5ed-4fa8-445b-bda3-fc6a0d098544", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.204.02" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "74a221ca-8e93-4a77-8c4d-f2d416addcb3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/b4c765a4-a3af-4ce2-94f0-917e3f13e743" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0c549ece-2945-4d70-8be7-989531b806b0" + } + } ], + "whenHandedOver": "2024-07-02T09:29:09+02:00", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b4c765a4-a3af-4ce2-94f0-917e3f13e743", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0c549ece-2945-4d70-8be7-989531b806b0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Skip Stone" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.xml new file mode 100644 index 00000000..d24d7cc0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4ce5c5ed-4fa8-445b-bda3-fc6a0d098544"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.204.02"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="74a221ca-8e93-4a77-8c4d-f2d416addcb3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.204.02"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b4c765a4-a3af-4ce2-94f0-917e3f13e743"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0c549ece-2945-4d70-8be7-989531b806b0"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:29:09+02:00"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b4c765a4-a3af-4ce2-94f0-917e3f13e743"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04866280"/> + </coding> + <text value="Sumatriptan Dura 100mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0c549ece-2945-4d70-8be7-989531b806b0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Skip Stone"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index ad52c23b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index a77ff879..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/output.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "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 deleted file mode 100644 index 2c98d2fc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/output.xml +++ /dev/null @@ -1,123 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="23f44f6a-bd12-4117-88b5-b60ad66ed241"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="f6eb0363-7cd3-49f7-bbfa-83223a1c2f37"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.206.93"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/62221c9f-c802-4c83-ad5b-f7d0047f2863"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110474905"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8f903d89-d9f1-4db5-9ad8-3532a4726b36"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T09:34:04+02:00"/> - <dosageInstruction> - <text value="1 Pflaster am Tag"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="62221c9f-c802-4c83-ad5b-f7d0047f2863"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="18369912"/> - </coding> - <text value="Rotigotin Neurax 8mg/24H"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PFT"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="7"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8f903d89-d9f1-4db5-9ad8-3532a4726b36"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Sue Yu"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/output.json new file mode 100644 index 00000000..16ed1d03 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "e9e6fbdd-1dfd-4672-8622-be43d3e341c5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.206.93" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1573394d-e35d-427d-ad50-ebb040b8149e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/464707a3-6d32-42de-8a97-45d238ab289a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/fbffb01b-05fa-4a2d-aecc-476962b42c41" + } + } ], + "whenHandedOver": "2024-07-02T09:34:04+02:00", + "dosageInstruction": [ { + "text": "1 Pflaster am Tag" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "464707a3-6d32-42de-8a97-45d238ab289a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "fbffb01b-05fa-4a2d-aecc-476962b42c41", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Green" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/output.xml new file mode 100644 index 00000000..6f29a7d4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e9e6fbdd-1dfd-4672-8622-be43d3e341c5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.206.93"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1573394d-e35d-427d-ad50-ebb040b8149e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.206.93"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/464707a3-6d32-42de-8a97-45d238ab289a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/fbffb01b-05fa-4a2d-aecc-476962b42c41"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:34:04+02:00"/> + <dosageInstruction> + <text value="1 Pflaster am Tag"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="464707a3-6d32-42de-8a97-45d238ab289a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="18369912"/> + </coding> + <text value="Rotigotin Neurax 8mg/24H"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="7"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fbffb01b-05fa-4a2d-aecc-476962b42c41"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Olive Green"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/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_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2253116c-2a97-41ca-b7f9-6cda642982b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="18369912"/> + </coding> + <text value="Rotigotin Neurax 8mg/24H"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="7"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.206.93"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#2253116c-2a97-41ca-b7f9-6cda642982b7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:34:04+02:00"/> + <dosageInstruction> + <text value="1 Pflaster am Tag"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.json new file mode 100644 index 00000000..f5a47bbe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "0eaac9da-86b2-462e-b808-e6518e72a7f9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.206.93" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ca089591-472f-4341-aff5-dfc57fd28433", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/65def62b-5cbd-4a1d-86f1-85bdb917ebc9" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/acdee23d-6390-4f12-9f77-a74e3a70c9c9" + } + } ], + "whenHandedOver": "2024-07-02T09:34:04+02:00", + "dosageInstruction": [ { + "text": "1 Pflaster am Tag" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "65def62b-5cbd-4a1d-86f1-85bdb917ebc9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "acdee23d-6390-4f12-9f77-a74e3a70c9c9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Kenney C. Strait" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.xml new file mode 100644 index 00000000..957bae37 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0eaac9da-86b2-462e-b808-e6518e72a7f9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.206.93"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ca089591-472f-4341-aff5-dfc57fd28433"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.206.93"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/65def62b-5cbd-4a1d-86f1-85bdb917ebc9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/acdee23d-6390-4f12-9f77-a74e3a70c9c9"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:34:04+02:00"/> + <dosageInstruction> + <text value="1 Pflaster am Tag"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="65def62b-5cbd-4a1d-86f1-85bdb917ebc9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="18369912"/> + </coding> + <text value="Rotigotin Neurax 8mg/24H"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="7"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="acdee23d-6390-4f12-9f77-a74e3a70c9c9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kenney C. Strait"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index f25bb2c5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 573d5c08..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/output.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "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 deleted file mode 100644 index 9a8d9e24..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/output.xml +++ /dev/null @@ -1,123 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="3f68539a-40a1-471e-97d1-bbe3c72ed880"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="48875864-d66b-459a-8def-9148847024f1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.215.66"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/373328a0-6b69-49ae-9f8c-b053afb52f26"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="Z828875733"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8ecb3707-388f-4d29-bac7-231eea8e0c7c"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T09:36:50+02:00"/> - <dosageInstruction> - <text value="2mal tägl. 5ml"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="373328a0-6b69-49ae-9f8c-b053afb52f26"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08585997"/> - </coding> - <text value="Prospan Hustensaft"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FLE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8ecb3707-388f-4d29-bac7-231eea8e0c7c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Frank N. Stein"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/output.json new file mode 100644 index 00000000..4c27450a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "19953791-a294-42b9-8693-a08c0d663cf8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.215.66" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "07959b87-909b-4d68-ab91-bc380c2eea56", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/1f7b880f-ad5a-43df-8aa7-a02e6b53ad73" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8af7eb41-6876-4fde-9f99-53c0e18c7b3e" + } + } ], + "whenHandedOver": "2024-07-02T09:36:50+02:00", + "dosageInstruction": [ { + "text": "2mal tägl. 5ml" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "1f7b880f-ad5a-43df-8aa7-a02e6b53ad73", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "8af7eb41-6876-4fde-9f99-53c0e18c7b3e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Mary Ott" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/output.xml new file mode 100644 index 00000000..4cc2505f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="19953791-a294-42b9-8693-a08c0d663cf8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.215.66"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="07959b87-909b-4d68-ab91-bc380c2eea56"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.215.66"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1f7b880f-ad5a-43df-8aa7-a02e6b53ad73"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8af7eb41-6876-4fde-9f99-53c0e18c7b3e"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:36:50+02:00"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1f7b880f-ad5a-43df-8aa7-a02e6b53ad73"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan Hustensaft"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8af7eb41-6876-4fde-9f99-53c0e18c7b3e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Mary Ott"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/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_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b8cd5418-6196-4284-b38e-1dda2cb18c34"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan Hustensaft"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.215.66"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#b8cd5418-6196-4284-b38e-1dda2cb18c34"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:36:50+02:00"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.json new file mode 100644 index 00000000..59700339 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "8f217d41-d58d-4f8b-ae2f-a98921ce615b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.215.66" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5b462d6d-a259-4d1d-8e1c-ce53d184cb25", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/28fef850-fd09-4b1a-afaa-44105659583e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c50ef7eb-2ceb-4b7b-a779-59c2ca5ec777" + } + } ], + "whenHandedOver": "2024-07-02T09:36:50+02:00", + "dosageInstruction": [ { + "text": "2mal tägl. 5ml" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "28fef850-fd09-4b1a-afaa-44105659583e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c50ef7eb-2ceb-4b7b-a779-59c2ca5ec777", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Green" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.xml new file mode 100644 index 00000000..fd386766 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8f217d41-d58d-4f8b-ae2f-a98921ce615b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.215.66"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5b462d6d-a259-4d1d-8e1c-ce53d184cb25"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.215.66"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/28fef850-fd09-4b1a-afaa-44105659583e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c50ef7eb-2ceb-4b7b-a779-59c2ca5ec777"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:36:50+02:00"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="28fef850-fd09-4b1a-afaa-44105659583e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan Hustensaft"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c50ef7eb-2ceb-4b7b-a779-59c2ca5ec777"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Olive Green"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 7cbe259e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index d1d22440..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 1bd6c101..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="45fb16f7-ce16-44d4-97df-64d1e1e39088"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="d2f45e7c-a05a-4ee9-b0e7-71e6375eeb20"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.241.85"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/477d3b53-c1c5-494d-bfca-ed6642f4103f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H064287850"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/bb4052f5-8d6f-4b32-836a-1e2bc7d8a4cf"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T09:51:11+02:00"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="477d3b53-c1c5-494d-bfca-ed6642f4103f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16875114"/> - </coding> - <text value="Salmeterol/Flut AL50/250UG"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="IHP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="180"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bb4052f5-8d6f-4b32-836a-1e2bc7d8a4cf"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Myra Maines"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/output.json new file mode 100644 index 00000000..ebda2991 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "292ff966-00d2-41b4-96fa-4eafa102eebb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.241.85" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "3be8eafc-143f-48c1-af45-535bbc70328b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/d1b8ad55-8952-4d09-a705-eadafd968d5f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H064287850" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3108710f-2adf-44bc-9fdf-3bf8524ed766" + } + } ], + "whenHandedOver": "2024-07-02T09:51:11+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "d1b8ad55-8952-4d09-a705-eadafd968d5f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "3108710f-2adf-44bc-9fdf-3bf8524ed766", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Midas Well" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/output.xml new file mode 100644 index 00000000..1f11e320 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="292ff966-00d2-41b4-96fa-4eafa102eebb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.241.85"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="3be8eafc-143f-48c1-af45-535bbc70328b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.241.85"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/d1b8ad55-8952-4d09-a705-eadafd968d5f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H064287850"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3108710f-2adf-44bc-9fdf-3bf8524ed766"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:51:11+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d1b8ad55-8952-4d09-a705-eadafd968d5f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16875114"/> + </coding> + <text value="Salmeterol/Flut AL50/250UG"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3108710f-2adf-44bc-9fdf-3bf8524ed766"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Midas Well"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/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_null/input.xml @@ -0,0 +1,82 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="daec989b-a2bd-4398-bb23-98b011cf2ba4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16875114"/> + </coding> + <text value="Salmeterol/Flut AL50/250UG"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="180"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.241.85"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#daec989b-a2bd-4398-bb23-98b011cf2ba4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H064287850"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:51:11+02:00"/> +</MedicationDispense> \ 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/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.json new file mode 100644 index 00000000..454390d5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "03c2eeaf-aaa7-4c92-a7c9-bb0cf1212ac0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.241.85" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0d691f06-62bf-4b94-bd8c-d99e1c49d7a3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/26047916-f079-40b5-89a0-60c55be081fb" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H064287850" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/2efff3e0-11d9-4c82-be0c-3830156a2030" + } + } ], + "whenHandedOver": "2024-07-02T09:51:11+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "26047916-f079-40b5-89a0-60c55be081fb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "2efff3e0-11d9-4c82-be0c-3830156a2030", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Rick Shaw" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.xml new file mode 100644 index 00000000..71807a06 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="03c2eeaf-aaa7-4c92-a7c9-bb0cf1212ac0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.241.85"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0d691f06-62bf-4b94-bd8c-d99e1c49d7a3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.241.85"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/26047916-f079-40b5-89a0-60c55be081fb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H064287850"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/2efff3e0-11d9-4c82-be0c-3830156a2030"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:51:11+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="26047916-f079-40b5-89a0-60c55be081fb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16875114"/> + </coding> + <text value="Salmeterol/Flut AL50/250UG"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2efff3e0-11d9-4c82-be0c-3830156a2030"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rick Shaw"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 47b8e41e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 9ff59e76..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 4abbd8e1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b4649170-3da8-4718-a7b4-ad6c319ca22c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="d585f5a6-4986-4f04-a0bc-938647cd7550"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.373.77"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/a990dd66-180c-4745-afd6-631c2fc13556"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="Z828875733"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/718969bb-5483-4033-a352-c874ebb9bf44"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:30:42+02:00"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a990dd66-180c-4745-afd6-631c2fc13556"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="17974137"/> - </coding> - <text value="Sitagliptin Glenmark 50mg"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="98"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="718969bb-5483-4033-a352-c874ebb9bf44"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Trina Woods"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/output.json new file mode 100644 index 00000000..bc38b7f4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "1c604045-6a4f-4ce7-8c0a-8d4778ae5bba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.373.77" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "101903c9-e722-4b4e-a347-a7d17a687176", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/229e6a72-6223-4e61-ba1f-4147d201cc44" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/db91e60e-8d09-4a8f-845c-7b72d25055b7" + } + } ], + "whenHandedOver": "2024-07-02T11:30:42+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "229e6a72-6223-4e61-ba1f-4147d201cc44", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "db91e60e-8d09-4a8f-845c-7b72d25055b7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Milly Graham" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/output.xml new file mode 100644 index 00000000..4bc6c787 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1c604045-6a4f-4ce7-8c0a-8d4778ae5bba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.373.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="101903c9-e722-4b4e-a347-a7d17a687176"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.373.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/229e6a72-6223-4e61-ba1f-4147d201cc44"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/db91e60e-8d09-4a8f-845c-7b72d25055b7"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:30:42+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="229e6a72-6223-4e61-ba1f-4147d201cc44"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="17974137"/> + </coding> + <text value="Sitagliptin Glenmark 50mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="db91e60e-8d09-4a8f-845c-7b72d25055b7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Milly Graham"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/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_null/input.xml @@ -0,0 +1,82 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ebdf3d02-f586-4f51-b40d-93604d23d7d0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="17974137"/> + </coding> + <text value="Sitagliptin Glenmark 50mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="98"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.373.77"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#ebdf3d02-f586-4f51-b40d-93604d23d7d0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:30:42+02:00"/> +</MedicationDispense> \ 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/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.json new file mode 100644 index 00000000..6b94a55f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "da8d96e3-9c86-4dc8-8d8b-bb3014194734", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.373.77" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "380c508d-2331-4628-b0de-7d6b7c0fc60b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/5478a358-99a6-45b8-9680-639e5b1f0a98" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a8d567ea-6404-400e-9fe6-a3ac74573d62" + } + } ], + "whenHandedOver": "2024-07-02T11:30:42+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5478a358-99a6-45b8-9680-639e5b1f0a98", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "a8d567ea-6404-400e-9fe6-a3ac74573d62", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Alec Tricity" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.xml new file mode 100644 index 00000000..13ce11f4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="da8d96e3-9c86-4dc8-8d8b-bb3014194734"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.373.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="380c508d-2331-4628-b0de-7d6b7c0fc60b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.373.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5478a358-99a6-45b8-9680-639e5b1f0a98"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a8d567ea-6404-400e-9fe6-a3ac74573d62"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:30:42+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5478a358-99a6-45b8-9680-639e5b1f0a98"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="17974137"/> + </coding> + <text value="Sitagliptin Glenmark 50mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a8d567ea-6404-400e-9fe6-a3ac74573d62"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Alec Tricity"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index ddaad8a6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 691d1254..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/output.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "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 deleted file mode 100644 index 54343f9a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/output.xml +++ /dev/null @@ -1,198 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b914a021-068e-4159-bcd4-c771078f1359"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="8c44edd0-54f0-4f81-9a78-550bc0cafbdb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.549.34"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/72597342-3176-4f50-ab01-caa0fc03952e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="Z828875733"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/55d2eb4c-edba-4faf-9ac7-eb4457eceaa0"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:01:36+02:00"/> - <dosageInstruction> - <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="72597342-3176-4f50-ab01-caa0fc03952e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Lösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Salicylsäure"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="5g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="2-propanol 70 %"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 100 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="55d2eb4c-edba-4faf-9ac7-eb4457eceaa0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Eli Ondefloor"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/log.txt new file mode 100644 index 00000000..4000563a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=80,locationString=Parameters.parameter[0].part[3].resource/*Medication/4f9e1976-98ef-4b48-befd-b16b96e75532*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/4f9e1976-98ef-4b48-befd-b16b96e75532*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/4f9e1976-98ef-4b48-befd-b16b96e75532*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.json new file mode 100644 index 00000000..fb921e94 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "9c9752b9-3b8f-4058-a9f4-0dbe93a9e44b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.549.34" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5874ff8d-27ad-445d-bdf2-2df5c2b08c0f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/4f9e1976-98ef-4b48-befd-b16b96e75532" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3ed7bdc8-0e5b-40cf-b955-a1e995003304" + } + } ], + "whenHandedOver": "2024-07-02T11:01:36+02:00", + "dosageInstruction": [ { + "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "4f9e1976-98ef-4b48-befd-b16b96e75532", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "3ed7bdc8-0e5b-40cf-b955-a1e995003304", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bud Weiser" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.xml new file mode 100644 index 00000000..8dc0b599 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.xml @@ -0,0 +1,209 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9c9752b9-3b8f-4058-a9f4-0dbe93a9e44b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.549.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5874ff8d-27ad-445d-bdf2-2df5c2b08c0f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.549.34"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/4f9e1976-98ef-4b48-befd-b16b96e75532"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3ed7bdc8-0e5b-40cf-b955-a1e995003304"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:01:36+02:00"/> + <dosageInstruction> + <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4f9e1976-98ef-4b48-befd-b16b96e75532"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="5g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3ed7bdc8-0e5b-40cf-b955-a1e995003304"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bud Weiser"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/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_null/input.xml @@ -0,0 +1,98 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="be05e244-a57b-4a64-9f4a-db8b1becba5b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="5g"/> + </extension> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="Ad 100 g"/> + </extension> + </strength> + </ingredient> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.549.34"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#be05e244-a57b-4a64-9f4a-db8b1becba5b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:01:36+02:00"/> + <dosageInstruction> + <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/log.txt new file mode 100644 index 00000000..261a9145 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=80,locationString=Parameters.parameter[0].part[3].resource/*Medication/2980e4d4-9cff-4da3-aa33-2a7ae718075f*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/2980e4d4-9cff-4da3-aa33-2a7ae718075f*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/2980e4d4-9cff-4da3-aa33-2a7ae718075f*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.json new file mode 100644 index 00000000..89dc64b3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "6a08fc53-7aa5-482d-88fd-75a796f5ef62", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.549.34" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9aedfd59-54be-4ccd-b476-140ba3bfb0ca", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/2980e4d4-9cff-4da3-aa33-2a7ae718075f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e94ade6e-0ed6-4df2-997e-b7d3fde45cbf" + } + } ], + "whenHandedOver": "2024-07-02T11:01:36+02:00", + "dosageInstruction": [ { + "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2980e4d4-9cff-4da3-aa33-2a7ae718075f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "e94ade6e-0ed6-4df2-997e-b7d3fde45cbf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Claire Voyance" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.xml new file mode 100644 index 00000000..3b1b10ce --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.xml @@ -0,0 +1,209 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6a08fc53-7aa5-482d-88fd-75a796f5ef62"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.549.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9aedfd59-54be-4ccd-b476-140ba3bfb0ca"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.549.34"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2980e4d4-9cff-4da3-aa33-2a7ae718075f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e94ade6e-0ed6-4df2-997e-b7d3fde45cbf"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:01:36+02:00"/> + <dosageInstruction> + <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2980e4d4-9cff-4da3-aa33-2a7ae718075f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="5g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e94ade6e-0ed6-4df2-997e-b7d3fde45cbf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Claire Voyance"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index f8679c11..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 296b65a3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/output.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "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 deleted file mode 100644 index 65dba22a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/output.xml +++ /dev/null @@ -1,123 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1bcfef7e-c3c9-4a60-9645-a5d5c00cff32"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1048a282-d7a6-4480-80bb-3dec94443be1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.564.86"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/859e22f9-9ed1-4f2d-92f1-66ed4c868abc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110474905"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/4e36ec1b-6365-460c-ba9f-476ae9803e26"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:15:00+02:00"/> - <dosageInstruction> - <text value="Dj"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="859e22f9-9ed1-4f2d-92f1-66ed4c868abc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L Thyroxin 75 Henning"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4e36ec1b-6365-460c-ba9f-476ae9803e26"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Adam Meway"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.json new file mode 100644 index 00000000..e427b14d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "65c0764c-f832-4305-a25b-758ea5be14eb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.564.86" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "933fd0b0-31bb-4697-b35b-726ff7029702", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/b379a8fc-c1ff-4e8b-8998-948e93c1869e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e814f9ed-f8a7-4044-aabe-c2be0108af31" + } + } ], + "whenHandedOver": "2024-07-02T11:15:00+02:00", + "dosageInstruction": [ { + "text": "Dj" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b379a8fc-c1ff-4e8b-8998-948e93c1869e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "e814f9ed-f8a7-4044-aabe-c2be0108af31", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Cy Kosis" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.xml new file mode 100644 index 00000000..1fc5b2a6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="65c0764c-f832-4305-a25b-758ea5be14eb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.564.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="933fd0b0-31bb-4697-b35b-726ff7029702"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.564.86"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b379a8fc-c1ff-4e8b-8998-948e93c1869e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e814f9ed-f8a7-4044-aabe-c2be0108af31"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:15:00+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b379a8fc-c1ff-4e8b-8998-948e93c1869e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L Thyroxin 75 Henning"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e814f9ed-f8a7-4044-aabe-c2be0108af31"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Cy Kosis"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/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_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="77f07338-e96f-4b86-a485-55f86967d8a0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L Thyroxin 75 Henning"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.564.86"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#77f07338-e96f-4b86-a485-55f86967d8a0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:15:00+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.json new file mode 100644 index 00000000..7cf8f6ce --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "204fe3b0-3279-4d1e-bc91-bd504a58cf32", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.564.86" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5854069a-64ea-4f28-9783-bfd7a7040c73", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/b1fe66fc-1e97-4403-af68-393d0e146b6d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/9587c4cd-8c60-4dce-a698-a69e4f4ee423" + } + } ], + "whenHandedOver": "2024-07-02T11:15:00+02:00", + "dosageInstruction": [ { + "text": "Dj" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b1fe66fc-1e97-4403-af68-393d0e146b6d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "9587c4cd-8c60-4dce-a698-a69e4f4ee423", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Nick Ovtime" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.xml new file mode 100644 index 00000000..bf8c0c29 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="204fe3b0-3279-4d1e-bc91-bd504a58cf32"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.564.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5854069a-64ea-4f28-9783-bfd7a7040c73"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.564.86"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b1fe66fc-1e97-4403-af68-393d0e146b6d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/9587c4cd-8c60-4dce-a698-a69e4f4ee423"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:15:00+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b1fe66fc-1e97-4403-af68-393d0e146b6d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L Thyroxin 75 Henning"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9587c4cd-8c60-4dce-a698-a69e4f4ee423"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Nick Ovtime"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 75853991..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 69fde0eb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/output.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "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 deleted file mode 100644 index 4275ef3c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/output.xml +++ /dev/null @@ -1,123 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="419166cf-b8e3-4e4a-92cf-bd4bbe5a069e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ea698b6b-d02b-4233-b087-541a9fb95d22"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.593.96"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/4cc9201f-e5be-46d9-bfb9-1aaca5a3e5b8"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="Z828875733"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/50e7f1d6-561c-454d-96a8-820e189c39cc"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:22:37+02:00"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4cc9201f-e5be-46d9-bfb9-1aaca5a3e5b8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00476441"/> - </coding> - <text value="Lisinopril 10 Heumann"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="50e7f1d6-561c-454d-96a8-820e189c39cc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Joe King"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/output.json new file mode 100644 index 00000000..bf0347a5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "aded443d-e6c3-4c59-ae28-8d85beb09f8b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.593.96" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b29da9c6-5207-4b48-8780-1e8bca84d9b1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/2a0f35a1-8a7b-422b-ab18-dc3f2cdb01f9" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e0428b8e-9837-447c-b945-afe208fa7971" + } + } ], + "whenHandedOver": "2024-07-02T11:22:37+02:00", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2a0f35a1-8a7b-422b-ab18-dc3f2cdb01f9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "e0428b8e-9837-447c-b945-afe208fa7971", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Justin Credible" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/output.xml new file mode 100644 index 00000000..9b439ae5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="aded443d-e6c3-4c59-ae28-8d85beb09f8b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.593.96"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b29da9c6-5207-4b48-8780-1e8bca84d9b1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.593.96"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2a0f35a1-8a7b-422b-ab18-dc3f2cdb01f9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e0428b8e-9837-447c-b945-afe208fa7971"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:22:37+02:00"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2a0f35a1-8a7b-422b-ab18-dc3f2cdb01f9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00476441"/> + </coding> + <text value="Lisinopril 10 Heumann"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e0428b8e-9837-447c-b945-afe208fa7971"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Justin Credible"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/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_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="aba84b3f-b1fc-4a3a-bab4-9cc46f24783f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00476441"/> + </coding> + <text value="Lisinopril 10 Heumann"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.593.96"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#aba84b3f-b1fc-4a3a-bab4-9cc46f24783f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:22:37+02:00"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/output.json new file mode 100644 index 00000000..ccabd7f1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "c2840997-20c0-4049-b690-3d22f86fd856", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.593.96" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b785a5ff-e23f-47f5-bb8b-a8b51087350e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/bb6528e7-e831-445d-b031-7b8c52a40b06" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/58cf230e-1ad5-494c-b7cc-dcf89811932c" + } + } ], + "whenHandedOver": "2024-07-02T11:22:37+02:00", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bb6528e7-e831-445d-b031-7b8c52a40b06", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "58cf230e-1ad5-494c-b7cc-dcf89811932c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bob Inforapples" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/output.xml new file mode 100644 index 00000000..c908b6fa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c2840997-20c0-4049-b690-3d22f86fd856"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.593.96"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b785a5ff-e23f-47f5-bb8b-a8b51087350e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.593.96"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bb6528e7-e831-445d-b031-7b8c52a40b06"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/58cf230e-1ad5-494c-b7cc-dcf89811932c"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:22:37+02:00"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bb6528e7-e831-445d-b031-7b8c52a40b06"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00476441"/> + </coding> + <text value="Lisinopril 10 Heumann"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="58cf230e-1ad5-494c-b7cc-dcf89811932c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bob Inforapples"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index d76aa49c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index aa327f83..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/output.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "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 deleted file mode 100644 index 15b1987f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/output.xml +++ /dev/null @@ -1,123 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="69fc18af-c5b2-4cef-9de0-d7bb948add8b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="cb6b7028-1854-4110-a712-0b80ff600636"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.627.91"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/b94ddd55-f571-4fdd-9833-fa380c50686d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110450929"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/32db6f61-95fb-4976-be0a-79541a820ab4"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:18:44+02:00"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b94ddd55-f571-4fdd-9833-fa380c50686d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00766759"/> - </coding> - <text value="Ramipril 1A Pharma 5 mg"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="32db6f61-95fb-4976-be0a-79541a820ab4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Olive Branch"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.json new file mode 100644 index 00000000..79b7defb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "bb8ee6bb-773b-4cfc-8158-2d30a2da5577", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.627.91" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "3d0e2125-f48c-4769-8a2e-b7df65bd0213", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/7d08cf2c-9f7e-4e8c-94b7-e8fc13f93da5" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110450929" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/1f440118-97bb-4bf5-be76-ae5eca17c744" + } + } ], + "whenHandedOver": "2024-07-02T11:18:44+02:00", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7d08cf2c-9f7e-4e8c-94b7-e8fc13f93da5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "1f440118-97bb-4bf5-be76-ae5eca17c744", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Cara Van" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.xml new file mode 100644 index 00000000..f214fa6b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bb8ee6bb-773b-4cfc-8158-2d30a2da5577"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.627.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="3d0e2125-f48c-4769-8a2e-b7df65bd0213"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.627.91"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7d08cf2c-9f7e-4e8c-94b7-e8fc13f93da5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110450929"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/1f440118-97bb-4bf5-be76-ae5eca17c744"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:18:44+02:00"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7d08cf2c-9f7e-4e8c-94b7-e8fc13f93da5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00766759"/> + </coding> + <text value="Ramipril 1A Pharma 5 mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1f440118-97bb-4bf5-be76-ae5eca17c744"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Cara Van"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/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_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="05317d83-14f7-4b7b-9bba-6fcfdeea3f57"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00766759"/> + </coding> + <text value="Ramipril 1A Pharma 5 mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.627.91"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#05317d83-14f7-4b7b-9bba-6fcfdeea3f57"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110450929"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:18:44+02:00"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.json new file mode 100644 index 00000000..4ec171ba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "df0cecad-6eaf-44a1-91fe-1419ea98db7f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.627.91" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "261660bf-6794-4abd-9099-3305ea43cdbc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/64935d50-b76a-4896-bb62-4f39afc6d270" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110450929" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f8a8f8c6-beaf-4a55-abe7-7dcd2d99c56c" + } + } ], + "whenHandedOver": "2024-07-02T11:18:44+02:00", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "64935d50-b76a-4896-bb62-4f39afc6d270", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f8a8f8c6-beaf-4a55-abe7-7dcd2d99c56c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Candy Kane" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.xml new file mode 100644 index 00000000..9a3d6fb9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="df0cecad-6eaf-44a1-91fe-1419ea98db7f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.627.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="261660bf-6794-4abd-9099-3305ea43cdbc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.627.91"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/64935d50-b76a-4896-bb62-4f39afc6d270"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110450929"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f8a8f8c6-beaf-4a55-abe7-7dcd2d99c56c"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:18:44+02:00"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="64935d50-b76a-4896-bb62-4f39afc6d270"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00766759"/> + </coding> + <text value="Ramipril 1A Pharma 5 mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f8a8f8c6-beaf-4a55-abe7-7dcd2d99c56c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Candy Kane"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 34bfc232..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index fde0f390..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 87ae8fd0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a6ff8551-72db-4f6e-b6ac-71d58e804cb5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ffcc6c32-6323-4f62-873e-e48be56c490d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.697.75"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/e941a5d1-acb9-4cdc-ab79-f3f087555f49"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110474905"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/e0f00285-351a-4f20-8023-f829338440c0"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T12:01:22+02:00"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e941a5d1-acb9-4cdc-ab79-f3f087555f49"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01983625"/> - </coding> - <text value="Ramilich 5mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e0f00285-351a-4f20-8023-f829338440c0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ilene South"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/output.json new file mode 100644 index 00000000..e0f9de50 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "49cc343c-e4f1-4810-b8b0-79b1c08f5c00", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.697.75" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "dfc2b835-8af3-46be-a734-5d8a23a2364c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/2606f9a1-53e6-4517-a28a-d6db8f10b54f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/cd9cabd3-a111-46a3-a030-b3c9f2985d5c" + } + } ], + "whenHandedOver": "2024-07-02T12:01:22+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2606f9a1-53e6-4517-a28a-d6db8f10b54f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "cd9cabd3-a111-46a3-a030-b3c9f2985d5c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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. Sense" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/output.xml new file mode 100644 index 00000000..ec0873f6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="49cc343c-e4f1-4810-b8b0-79b1c08f5c00"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.697.75"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="dfc2b835-8af3-46be-a734-5d8a23a2364c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.697.75"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2606f9a1-53e6-4517-a28a-d6db8f10b54f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/cd9cabd3-a111-46a3-a030-b3c9f2985d5c"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T12:01:22+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2606f9a1-53e6-4517-a28a-d6db8f10b54f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01983625"/> + </coding> + <text value="Ramilich 5mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cd9cabd3-a111-46a3-a030-b3c9f2985d5c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Frank N. Sense"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/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_null/input.xml @@ -0,0 +1,82 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bddd9a9c-2171-4dbc-8d05-66bb619ed849"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01983625"/> + </coding> + <text value="Ramilich 5mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="20"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.697.75"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#bddd9a9c-2171-4dbc-8d05-66bb619ed849"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T12:01:22+02:00"/> +</MedicationDispense> \ 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/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/output.json new file mode 100644 index 00000000..9034d65a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "3e715295-8a67-4258-8398-3a185810540c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.697.75" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5f15384a-3d24-4a52-8270-2c862eb0b920", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/1c99680a-ec0e-4d9b-962e-7be80248a95d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/22367137-db0b-49b3-806b-2a4ea900cf7f" + } + } ], + "whenHandedOver": "2024-07-02T12:01:22+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "1c99680a-ec0e-4d9b-962e-7be80248a95d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "22367137-db0b-49b3-806b-2a4ea900cf7f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Nida Lyte" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/output.xml new file mode 100644 index 00000000..6c8ea6f9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3e715295-8a67-4258-8398-3a185810540c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.697.75"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5f15384a-3d24-4a52-8270-2c862eb0b920"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.697.75"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1c99680a-ec0e-4d9b-962e-7be80248a95d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/22367137-db0b-49b3-806b-2a4ea900cf7f"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T12:01:22+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1c99680a-ec0e-4d9b-962e-7be80248a95d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01983625"/> + </coding> + <text value="Ramilich 5mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="22367137-db0b-49b3-806b-2a4ea900cf7f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Nida Lyte"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 051e6343..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 70b47bb8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/output.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "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 deleted file mode 100644 index 92a40c5c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/output.xml +++ /dev/null @@ -1,123 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c1f023c2-cd67-4100-9a68-41d81d9c0273"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="15265bca-22c9-4ba4-b183-3563f9f6f204"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.713.27"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/2b95d464-87e7-46b1-81b1-3ba2e9ead3bf"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110450929"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c22636d0-7283-4bfa-bd8b-24bfb7bef795"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:36:22+02:00"/> - <dosageInstruction> - <text value="Dj"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2b95d464-87e7-46b1-81b1-3ba2e9ead3bf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09494280"/> - </coding> - <text value="Venlafaxin HEU 75mg Tabl"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c22636d0-7283-4bfa-bd8b-24bfb7bef795"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Tamara Knight"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/output.json new file mode 100644 index 00000000..6654cb87 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "5ac1e540-be08-4efa-9cd4-bfc38a0cca5f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.713.27" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "fe11396f-24a7-4a6f-a9be-9272248062c9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/464d1589-64e0-4334-b651-1d4239c88ed5" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110450929" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/029cde20-5d1c-4672-a102-a5ce02839f88" + } + } ], + "whenHandedOver": "2024-07-02T11:36:22+02:00", + "dosageInstruction": [ { + "text": "Dj" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "464d1589-64e0-4334-b651-1d4239c88ed5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "029cde20-5d1c-4672-a102-a5ce02839f88", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dinah Might" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/output.xml new file mode 100644 index 00000000..e14bc81d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5ac1e540-be08-4efa-9cd4-bfc38a0cca5f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.713.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="fe11396f-24a7-4a6f-a9be-9272248062c9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.713.27"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/464d1589-64e0-4334-b651-1d4239c88ed5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110450929"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/029cde20-5d1c-4672-a102-a5ce02839f88"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:36:22+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="464d1589-64e0-4334-b651-1d4239c88ed5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09494280"/> + </coding> + <text value="Venlafaxin HEU 75mg Tabl"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="029cde20-5d1c-4672-a102-a5ce02839f88"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dinah Might"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/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_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a62bb615-2179-4eb4-bcfa-e0ccac2f1feb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09494280"/> + </coding> + <text value="Venlafaxin HEU 75mg Tabl"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.713.27"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#a62bb615-2179-4eb4-bcfa-e0ccac2f1feb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110450929"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:36:22+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.json new file mode 100644 index 00000000..6440d5b7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "8ec1c1c6-d30b-47b2-8917-d2876c6ce35c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.713.27" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "503a9a68-0f22-495d-85cc-8690e21af759", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/d07c0272-378f-4ccc-9f8c-b5c5eef58751" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110450929" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c6418422-3ed8-4b33-a756-2c286296a266" + } + } ], + "whenHandedOver": "2024-07-02T11:36:22+02:00", + "dosageInstruction": [ { + "text": "Dj" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "d07c0272-378f-4ccc-9f8c-b5c5eef58751", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c6418422-3ed8-4b33-a756-2c286296a266", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Anna Graham" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.xml new file mode 100644 index 00000000..831ec938 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8ec1c1c6-d30b-47b2-8917-d2876c6ce35c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.713.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="503a9a68-0f22-495d-85cc-8690e21af759"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.713.27"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/d07c0272-378f-4ccc-9f8c-b5c5eef58751"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110450929"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c6418422-3ed8-4b33-a756-2c286296a266"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:36:22+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d07c0272-378f-4ccc-9f8c-b5c5eef58751"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09494280"/> + </coding> + <text value="Venlafaxin HEU 75mg Tabl"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c6418422-3ed8-4b33-a756-2c286296a266"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Anna Graham"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index c2797f56..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 5b115777..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/output.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "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 deleted file mode 100644 index 90d29579..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/output.xml +++ /dev/null @@ -1,123 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d511af7f-4e43-476f-9df4-c2666ef0d842"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="882da1a9-80b8-480b-9895-1e9d0dff3b89"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.714.24"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f1d9ff81-e61f-4871-bcde-248735523e8b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H064287850"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/f5a6b7f0-1fb5-4c1f-9792-2a9123b10ebf"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:46:33+02:00"/> - <dosageInstruction> - <text value="Dj"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f1d9ff81-e61f-4871-bcde-248735523e8b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03480822"/> - </coding> - <text value="Tramadol 100 RET 1A Pharma"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="RET"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f5a6b7f0-1fb5-4c1f-9792-2a9123b10ebf"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Rusty Pipes"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/output.json new file mode 100644 index 00000000..24afcb67 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "d2940b5b-7f14-405e-90ec-db6f15d7cdce", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.714.24" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2f7f69fa-9923-47e4-b8ea-11ea62bac2ab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/edc55028-56ea-456e-a2a2-c4ee6f6e9525" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H064287850" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3a830a06-2799-4078-99cb-e0608e107a8c" + } + } ], + "whenHandedOver": "2024-07-02T11:46:33+02:00", + "dosageInstruction": [ { + "text": "Dj" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "edc55028-56ea-456e-a2a2-c4ee6f6e9525", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "3a830a06-2799-4078-99cb-e0608e107a8c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Juan De Hattatime" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/output.xml new file mode 100644 index 00000000..9958ce29 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d2940b5b-7f14-405e-90ec-db6f15d7cdce"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.714.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2f7f69fa-9923-47e4-b8ea-11ea62bac2ab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.714.24"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/edc55028-56ea-456e-a2a2-c4ee6f6e9525"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H064287850"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3a830a06-2799-4078-99cb-e0608e107a8c"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:46:33+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="edc55028-56ea-456e-a2a2-c4ee6f6e9525"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03480822"/> + </coding> + <text value="Tramadol 100 RET 1A Pharma"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3a830a06-2799-4078-99cb-e0608e107a8c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Juan De Hattatime"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/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_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3d77aba2-06de-4865-ba9c-df62af829aa8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03480822"/> + </coding> + <text value="Tramadol 100 RET 1A Pharma"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.714.24"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#3d77aba2-06de-4865-ba9c-df62af829aa8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H064287850"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:46:33+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/output.json new file mode 100644 index 00000000..b67a8a39 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "b186bd3a-9cf8-41c1-96e3-144ef6a008b0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.714.24" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "05fc632d-8aad-4f20-8ef9-bb5b5d63d673", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/91a00aa1-3239-452d-b150-fa5fe464814f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H064287850" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0af13708-c85b-43e6-8651-87c2f30f5442" + } + } ], + "whenHandedOver": "2024-07-02T11:46:33+02:00", + "dosageInstruction": [ { + "text": "Dj" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "91a00aa1-3239-452d-b150-fa5fe464814f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0af13708-c85b-43e6-8651-87c2f30f5442", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Nick Ovtime" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/output.xml new file mode 100644 index 00000000..e3ede8d9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b186bd3a-9cf8-41c1-96e3-144ef6a008b0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.714.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="05fc632d-8aad-4f20-8ef9-bb5b5d63d673"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.714.24"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/91a00aa1-3239-452d-b150-fa5fe464814f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H064287850"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0af13708-c85b-43e6-8651-87c2f30f5442"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:46:33+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="91a00aa1-3239-452d-b150-fa5fe464814f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03480822"/> + </coding> + <text value="Tramadol 100 RET 1A Pharma"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0af13708-c85b-43e6-8651-87c2f30f5442"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Nick Ovtime"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 98be19d1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 3d909d05..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index 5cad2154..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1b714557-c647-47e5-ad32-8ecf90122856"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b8ac5444-26a0-46c8-8ad4-60ddcab93bd1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.776.32"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/87464580-81e4-4508-a229-b7ce02e24776"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110474905"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/f5175d4d-0200-491e-bdb3-1e0cbd4a84a2"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:55:14+02:00"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="87464580-81e4-4508-a229-b7ce02e24776"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="05392022"/> - </coding> - <text value="Venlafaxin 1A Pharma 75mg"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="50"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f5175d4d-0200-491e-bdb3-1e0cbd4a84a2"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ima Lytle Teapot"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/output.json new file mode 100644 index 00000000..51dad0ab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "040bf401-2862-4b84-b7e2-c3b197413681", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.776.32" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f32cf477-b95b-4c75-a9bd-9f5db9c70d16", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/f9e65e76-1fed-44ba-8f92-b1abeb9f2aee" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/6f7f7483-a6cf-41eb-b7d1-ae3b6d335ff5" + } + } ], + "whenHandedOver": "2024-07-02T11:55:14+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f9e65e76-1fed-44ba-8f92-b1abeb9f2aee", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "6f7f7483-a6cf-41eb-b7d1-ae3b6d335ff5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Faye Kinnitt" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/output.xml new file mode 100644 index 00000000..f8fc08ef --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="040bf401-2862-4b84-b7e2-c3b197413681"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.776.32"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f32cf477-b95b-4c75-a9bd-9f5db9c70d16"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.776.32"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f9e65e76-1fed-44ba-8f92-b1abeb9f2aee"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/6f7f7483-a6cf-41eb-b7d1-ae3b6d335ff5"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:55:14+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f9e65e76-1fed-44ba-8f92-b1abeb9f2aee"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392022"/> + </coding> + <text value="Venlafaxin 1A Pharma 75mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="50"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6f7f7483-a6cf-41eb-b7d1-ae3b6d335ff5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Faye Kinnitt"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/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_null/input.xml @@ -0,0 +1,82 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="87f5bbd5-24a1-4e2d-b9d1-afe3957c0e10"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392022"/> + </coding> + <text value="Venlafaxin 1A Pharma 75mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="50"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.776.32"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#87f5bbd5-24a1-4e2d-b9d1-afe3957c0e10"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:55:14+02:00"/> +</MedicationDispense> \ 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/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.json new file mode 100644 index 00000000..603988a3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "a5e2304c-5f16-4b2c-a30b-51a07e7f2ca6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.776.32" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "84961ff1-a57f-4885-96b0-2382e2dba0b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/a2798a38-94bc-42de-8fcd-912aeaec12d6" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/70da82aa-6021-4525-a602-4ec05d4deacf" + } + } ], + "whenHandedOver": "2024-07-02T11:55:14+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a2798a38-94bc-42de-8fcd-912aeaec12d6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "70da82aa-6021-4525-a602-4ec05d4deacf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Cy Kosis" + } + } ] + } ] +} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.xml new file mode 100644 index 00000000..a081bf18 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a5e2304c-5f16-4b2c-a30b-51a07e7f2ca6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.776.32"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="84961ff1-a57f-4885-96b0-2382e2dba0b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.776.32"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a2798a38-94bc-42de-8fcd-912aeaec12d6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/70da82aa-6021-4525-a602-4ec05d4deacf"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:55:14+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a2798a38-94bc-42de-8fcd-912aeaec12d6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392022"/> + </coding> + <text value="Venlafaxin 1A Pharma 75mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="50"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="70da82aa-6021-4525-a602-4ec05d4deacf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Cy Kosis"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 51399360..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 10440a10..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/output.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "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 deleted file mode 100644 index 49932e55..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/output.xml +++ /dev/null @@ -1,123 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="256c8280-d302-4cb2-b504-de4d2247dac6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5d42eb65-adfa-4bb3-8a0f-19a7f8792b06"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.033.491.280.78"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/e2ca7476-6e78-4903-bde4-1c3cde8d06ac"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X234567890"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c5d21cf2-c378-4bc3-84f5-95116e387907"/> - </actor> - </performer> - <whenHandedOver value="2022-02-28"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e2ca7476-6e78-4903-bde4-1c3cde8d06ac"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20 St."/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c5d21cf2-c378-4bc3-84f5-95116e387907"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Sandy Beech"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_3465270a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.json new file mode 100644 index 00000000..8b1761cb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "a78f4947-dad3-4baa-8e35-8e0e84d71779", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.033.491.280.78" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "30e28169-b2fc-4dff-995b-5605f2eae3bd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "3465270a-11e7-4bbf-ae53-378f9cc52747_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/a0626371-2215-470b-b672-33faca4eb41b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X234567890" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/7c466d43-d9f2-4e24-924d-4b9b4a1687c6" + } + } ], + "whenHandedOver": "2022-02-28", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a0626371-2215-470b-b672-33faca4eb41b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "7c466d43-d9f2-4e24-924d-4b9b4a1687c6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Phil A. Delphia" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.xml new file mode 100644 index 00000000..0167271d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a78f4947-dad3-4baa-8e35-8e0e84d71779"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.033.491.280.78"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="30e28169-b2fc-4dff-995b-5605f2eae3bd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="3465270a-11e7-4bbf-ae53-378f9cc52747_160.000.033.491.280.78"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a0626371-2215-470b-b672-33faca4eb41b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567890"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/7c466d43-d9f2-4e24-924d-4b9b4a1687c6"/> + </actor> + </performer> + <whenHandedOver value="2022-02-28"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a0626371-2215-470b-b672-33faca4eb41b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20 St."/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7c466d43-d9f2-4e24-924d-4b9b4a1687c6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Phil A. Delphia"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/input.xml new file mode 100644 index 00000000..65903f82 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/input.xml @@ -0,0 +1,86 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="3465270a-11e7-4bbf-ae53-378f9cc52747"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="001413e4-a5e9-48da-9b07-c17bab476407"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="20 St."/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.033.491.280.78"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#001413e4-a5e9-48da-9b07-c17bab476407"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567890"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2022-02-28"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.json new file mode 100644 index 00000000..6ee1df38 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "32dfce97-9079-4138-b353-4d77dd1786cd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.033.491.280.78" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b4305995-667c-417e-8bed-9085c20ac762", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "3465270a-11e7-4bbf-ae53-378f9cc52747_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/688907d7-a815-4763-946b-ceca01ac59ac" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X234567890" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/73d6800a-d307-4e24-b3ae-05ba020d689b" + } + } ], + "whenHandedOver": "2022-02-28", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "688907d7-a815-4763-946b-ceca01ac59ac", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "73d6800a-d307-4e24-b3ae-05ba020d689b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Rip Tile" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.xml new file mode 100644 index 00000000..6dc2e4b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="32dfce97-9079-4138-b353-4d77dd1786cd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.033.491.280.78"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b4305995-667c-417e-8bed-9085c20ac762"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="3465270a-11e7-4bbf-ae53-378f9cc52747_160.000.033.491.280.78"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/688907d7-a815-4763-946b-ceca01ac59ac"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567890"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/73d6800a-d307-4e24-b3ae-05ba020d689b"/> + </actor> + </performer> + <whenHandedOver value="2022-02-28"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="688907d7-a815-4763-946b-ceca01ac59ac"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20 St."/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="73d6800a-d307-4e24-b3ae-05ba020d689b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rip Tile"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index b7df2289..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index e9a65a4e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 1558ca79..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d2e37ab5-d4e4-4678-a078-45cd2ad44752"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="f7d81f8f-e5e2-4c28-8d7d-809d92899a5a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/44cad858-f931-490c-a496-d26905f7c9e4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8d2eccdd-550a-4d54-a3ae-9c7d644abfde"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="44cad858-f931-490c-a496-d26905f7c9e4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02950964"/> - </coding> - <text value="METFORMIN 850-1A Pharma Filmtabletten 180 Stk"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="180"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="P987654321-8"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8d2eccdd-550a-4d54-a3ae-9c7d644abfde"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ben D. Fender"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_ee46e774/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.json new file mode 100644 index 00000000..9f8c5318 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "eb11cc2c-fbcd-43f9-b4af-52c17948cb5e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a4549d97-bd90-439f-8c31-5842947ace62", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ee46e774-0d9d-4f8a-b108-463d600b955c_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/0a821b76-3aae-460f-bb9f-c3a0c68ae678" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5c39797f-147e-4f4a-a992-2049e80ce1f7" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "0a821b76-3aae-460f-bb9f-c3a0c68ae678", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "5c39797f-147e-4f4a-a992-2049e80ce1f7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Morgan U. Canhandle" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.xml new file mode 100644 index 00000000..d1535e60 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="eb11cc2c-fbcd-43f9-b4af-52c17948cb5e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a4549d97-bd90-439f-8c31-5842947ace62"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ee46e774-0d9d-4f8a-b108-463d600b955c_160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/0a821b76-3aae-460f-bb9f-c3a0c68ae678"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5c39797f-147e-4f4a-a992-2049e80ce1f7"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0a821b76-3aae-460f-bb9f-c3a0c68ae678"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02950964"/> + </coding> + <text value="METFORMIN 850-1A Pharma Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5c39797f-147e-4f4a-a992-2049e80ce1f7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Morgan U. Canhandle"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index f9ee08fd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index ece18635..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 71a90fc2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="dba0fee1-24cb-4757-ad4e-d06479b53b24"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b1210329-ae0e-4ee7-810b-5809dcd239f1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/7cc00ef0-7ff6-4557-8701-ab238143bdaf"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/16262b69-f945-4895-a3d7-acbdf24f8fc1"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7cc00ef0-7ff6-4557-8701-ab238143bdaf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02950964"/> - </coding> - <text value="METFORMIN 850-1A Pharma Filmtabletten 180 Stk"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="180"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="P987654321-8"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="16262b69-f945-4895-a3d7-acbdf24f8fc1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Frank Enstein"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_ee46e774/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.json new file mode 100644 index 00000000..ab36d164 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "caac626d-87ed-4b48-b5b3-ab2de6ddacd6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f7738c5f-71da-42d0-9674-570d41f15e15", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ee46e774-0d9d-4f8a-b108-463d600b955c_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/edc14b95-2e04-46a5-a7a7-504e63fb3593" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/fba7cc11-0a7b-4570-9f0f-15adaf8b87d0" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "edc14b95-2e04-46a5-a7a7-504e63fb3593", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "fba7cc11-0a7b-4570-9f0f-15adaf8b87d0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Juana Bea" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.xml new file mode 100644 index 00000000..9bb17186 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="caac626d-87ed-4b48-b5b3-ab2de6ddacd6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f7738c5f-71da-42d0-9674-570d41f15e15"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ee46e774-0d9d-4f8a-b108-463d600b955c_160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/edc14b95-2e04-46a5-a7a7-504e63fb3593"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/fba7cc11-0a7b-4570-9f0f-15adaf8b87d0"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="edc14b95-2e04-46a5-a7a7-504e63fb3593"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02950964"/> + </coding> + <text value="METFORMIN 850-1A Pharma Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fba7cc11-0a7b-4570-9f0f-15adaf8b87d0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Juana Bea"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/input.xml new file mode 100644 index 00000000..9e5c4a28 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ee46e774-0d9d-4f8a-b108-463d600b955c"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="208929ac-7835-4c9f-9051-29055ecd3214"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02950964"/> + </coding> + <text value="METFORMIN 850-1A Pharma Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#208929ac-7835-4c9f-9051-29055ecd3214"/> + <display value="METFORMIN 850-1A Pharma Filmtabletten 180 Stk"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ 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/medicationDispense/FT_V1_MedicationDispense_ee46e774/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.json new file mode 100644 index 00000000..e4391622 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "40654837-e707-481c-924f-183bfc89d62b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "44ff3f90-a866-4032-b8a3-f3671c7ec1d9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ee46e774-0d9d-4f8a-b108-463d600b955c_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/fa496357-3885-4814-ba6a-fdf5e6c50669" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/1e657af2-24b8-4da5-9a96-f914259d3990" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "fa496357-3885-4814-ba6a-fdf5e6c50669", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "1e657af2-24b8-4da5-9a96-f914259d3990", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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. Lasch" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.xml new file mode 100644 index 00000000..a717e742 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="40654837-e707-481c-924f-183bfc89d62b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="44ff3f90-a866-4032-b8a3-f3671c7ec1d9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ee46e774-0d9d-4f8a-b108-463d600b955c_160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/fa496357-3885-4814-ba6a-fdf5e6c50669"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/1e657af2-24b8-4da5-9a96-f914259d3990"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fa496357-3885-4814-ba6a-fdf5e6c50669"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02950964"/> + </coding> + <text value="METFORMIN 850-1A Pharma Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1e657af2-24b8-4da5-9a96-f914259d3990"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="I. Lasch"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_5b829135/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.json new file mode 100644 index 00000000..fdbdc3a7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "41ac1c9c-fd26-4471-8d70-97a321c69460", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "d581917c-261f-4f1c-a528-4b56d6a2e859", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b829135-17d8-4534-9240-3ba68f96829f_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/8348cff9-982f-4f1c-bf48-f2bbe26da578" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/68e1f39b-b9ac-466c-be20-1565d809d120" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "8348cff9-982f-4f1c-bf48-f2bbe26da578", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "68e1f39b-b9ac-466c-be20-1565d809d120", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ty Malone" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.xml new file mode 100644 index 00000000..a5b4dc6e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="41ac1c9c-fd26-4471-8d70-97a321c69460"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="d581917c-261f-4f1c-a528-4b56d6a2e859"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b829135-17d8-4534-9240-3ba68f96829f_160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/8348cff9-982f-4f1c-bf48-f2bbe26da578"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/68e1f39b-b9ac-466c-be20-1565d809d120"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8348cff9-982f-4f1c-bf48-f2bbe26da578"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08999233"/> + </coding> + <text value="METFORMIN STADA 850 mg Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="68e1f39b-b9ac-466c-be20-1565d809d120"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ty Malone"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index ebe8cf14..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 47ae401c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index ed002362..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="71a9d48e-bfe4-4de6-943a-b03aff44e2c2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="3ebe1226-f8dd-4d52-924e-101eb8373b16"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/d7a45032-c420-4627-9fe1-bd87cd9aa9cc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/58d10a72-8d69-4f2a-ad3d-be404adf3791"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="d7a45032-c420-4627-9fe1-bd87cd9aa9cc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08999233"/> - </coding> - <text value="METFORMIN STADA 850 mg Filmtabletten 180 Stk"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="180"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="P987654321-8"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="58d10a72-8d69-4f2a-ad3d-be404adf3791"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Dusty Sandmann"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/input.xml new file mode 100644 index 00000000..fecbf181 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5b829135-17d8-4534-9240-3ba68f96829f"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2fd1eaa4-364b-4bb2-8247-49fc0c4fb805"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08999233"/> + </coding> + <text value="METFORMIN STADA 850 mg Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#2fd1eaa4-364b-4bb2-8247-49fc0c4fb805"/> + <display value="METFORMIN STADA 850 mg Filmtabletten 180 Stk"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ 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/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/output.json new file mode 100644 index 00000000..62b2df35 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "762c0b55-71a6-4488-9011-d976305a11f1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8cb0f497-e0c8-488e-96db-920d93ffefa4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b829135-17d8-4534-9240-3ba68f96829f_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/a5119b5c-c3b4-4604-8dae-1b38a85486d3" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3d351cf6-d0d7-42c3-a251-88eaa62ab4e6" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a5119b5c-c3b4-4604-8dae-1b38a85486d3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "3d351cf6-d0d7-42c3-a251-88eaa62ab4e6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/FT_V2_MedicationDispense_71a9d48e_5b829135/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/output.xml new file mode 100644 index 00000000..23832eab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="762c0b55-71a6-4488-9011-d976305a11f1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8cb0f497-e0c8-488e-96db-920d93ffefa4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b829135-17d8-4534-9240-3ba68f96829f_160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a5119b5c-c3b4-4604-8dae-1b38a85486d3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3d351cf6-d0d7-42c3-a251-88eaa62ab4e6"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a5119b5c-c3b4-4604-8dae-1b38a85486d3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08999233"/> + </coding> + <text value="METFORMIN STADA 850 mg Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3d351cf6-d0d7-42c3-a251-88eaa62ab4e6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Pearl E. Whites"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 67988612..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 27606eb5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 8adb464b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ce40a8d8-2101-4e2c-83dd-63da09a3a6a9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1c6ff895-9d55-4ff8-91d6-6e8f35ab3086"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/bb1707b4-3ae0-47f3-a780-c5ccef70872b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/75c76588-0894-412c-a7bd-4fc06aee6f13"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bb1707b4-3ae0-47f3-a780-c5ccef70872b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08999233"/> - </coding> - <text value="METFORMIN STADA 850 mg Filmtabletten 180 Stk"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="180"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="P987654321-8"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="75c76588-0894-412c-a7bd-4fc06aee6f13"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Moe Skeeto"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_5b829135/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.json new file mode 100644 index 00000000..d526c3cc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "d70a73f5-0ed3-4b11-bfbc-ca74dd666697", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "cec633fc-ee49-4b81-9915-b51741610ed2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b829135-17d8-4534-9240-3ba68f96829f_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/c48fe8bc-9d84-4220-beeb-b82461c0eaf8" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/bc57ae34-3b7e-4cc9-ba5f-236fc551c4ce" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "c48fe8bc-9d84-4220-beeb-b82461c0eaf8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "bc57ae34-3b7e-4cc9-ba5f-236fc551c4ce", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.xml new file mode 100644 index 00000000..951ce1ee --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d70a73f5-0ed3-4b11-bfbc-ca74dd666697"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="cec633fc-ee49-4b81-9915-b51741610ed2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b829135-17d8-4534-9240-3ba68f96829f_160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/c48fe8bc-9d84-4220-beeb-b82461c0eaf8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/bc57ae34-3b7e-4cc9-ba5f-236fc551c4ce"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c48fe8bc-9d84-4220-beeb-b82461c0eaf8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08999233"/> + </coding> + <text value="METFORMIN STADA 850 mg Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bc57ae34-3b7e-4cc9-ba5f-236fc551c4ce"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Harry R. M. Pitts"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_8c020e02/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.json new file mode 100644 index 00000000..7ed09094 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "9c1534cc-8964-4106-b0ab-71355a76e885", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "dc4b2353-0e1b-4200-a371-e0a518db4f89", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "8c020e02-b389-4197-a9fa-b46704501e27_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/69e71f96-10a0-441d-a72f-ad17214308c2" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e596dc71-89fa-4c92-b369-2ad395826971" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "3mal täglich dünn auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "69e71f96-10a0-441d-a72f-ad17214308c2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "e596dc71-89fa-4c92-b369-2ad395826971", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Anne Teak" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.xml new file mode 100644 index 00000000..60bdeb6e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9c1534cc-8964-4106-b0ab-71355a76e885"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="dc4b2353-0e1b-4200-a371-e0a518db4f89"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="8c020e02-b389-4197-a9fa-b46704501e27_160.100.000.000.008.18"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/69e71f96-10a0-441d-a72f-ad17214308c2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e596dc71-89fa-4c92-b369-2ad395826971"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="69e71f96-10a0-441d-a72f-ad17214308c2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10962562"/> + </coding> + <text value="FUSIDINSÄURE-ratiopharm 20 mg/g"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e596dc71-89fa-4c92-b369-2ad395826971"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Anne Teak"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 4de64fe2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index d161e697..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 31f660b4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="da9f6c16-91d9-4cef-86b2-fcf0674f0930"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="c9a22595-0d04-47b5-b46a-b855c9586cab"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.008.18"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f914d8a1-0add-4542-ae2e-a271b86db575"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/ba646b9d-f7d6-4e3f-94aa-3cdf320eaea3"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="3mal täglich dünn auftragen"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f914d8a1-0add-4542-ae2e-a271b86db575"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10962562"/> - </coding> - <text value="FUSIDINSÄURE-ratiopharm 20 mg/g"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="CRE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="15"/> - </extension> - <unit value="g"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ba646b9d-f7d6-4e3f-94aa-3cdf320eaea3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Jed Dye"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/input.xml new file mode 100644 index 00000000..c56627da --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8c020e02-b389-4197-a9fa-b46704501e27"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="92b43894-d359-481d-b951-259b7463fdcd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10962562"/> + </coding> + <text value="FUSIDINSÄURE-ratiopharm 20 mg/g"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="15"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#92b43894-d359-481d-b951-259b7463fdcd"/> + <display value="FUSIDINSÄURE-ratiopharm 20 mg/g"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.json new file mode 100644 index 00000000..85e49a9e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "861e26b3-d82d-4768-8f08-205e66f904cd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0b5b7583-42ad-4a86-9723-198051813317", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "8c020e02-b389-4197-a9fa-b46704501e27_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/e8d001d8-26c7-45f7-a849-e58b03f22cd3" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c28438e4-7748-43b8-a3d9-e1a64ba4aaa4" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "3mal täglich dünn auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e8d001d8-26c7-45f7-a849-e58b03f22cd3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c28438e4-7748-43b8-a3d9-e1a64ba4aaa4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Olive Yew" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.xml new file mode 100644 index 00000000..60071ff1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="861e26b3-d82d-4768-8f08-205e66f904cd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0b5b7583-42ad-4a86-9723-198051813317"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="8c020e02-b389-4197-a9fa-b46704501e27_160.100.000.000.008.18"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e8d001d8-26c7-45f7-a849-e58b03f22cd3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c28438e4-7748-43b8-a3d9-e1a64ba4aaa4"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e8d001d8-26c7-45f7-a849-e58b03f22cd3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10962562"/> + </coding> + <text value="FUSIDINSÄURE-ratiopharm 20 mg/g"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c28438e4-7748-43b8-a3d9-e1a64ba4aaa4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Olive Yew"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 2cdeddd4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 40877f00..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index f5494f5d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f9152f90-d657-4e99-9547-7f1e50781175"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="134873f1-5c0d-48f5-acae-d08c77cec4ff"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.008.18"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/a3c75678-1af4-4a8f-bb80-21a27ca0d4f0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/dd90c1b6-cea8-495d-a7ee-de1ae4d8343c"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="3mal täglich dünn auftragen"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a3c75678-1af4-4a8f-bb80-21a27ca0d4f0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10962562"/> - </coding> - <text value="FUSIDINSÄURE-ratiopharm 20 mg/g"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="CRE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="15"/> - </extension> - <unit value="g"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="dd90c1b6-cea8-495d-a7ee-de1ae4d8343c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Jed I. Knight"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_8c020e02/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.json new file mode 100644 index 00000000..9296208f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "f14515e2-9001-4499-8ea6-7af42ed0b8b1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "6c2f775e-c621-4c9b-b622-17a0c1078fd8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "8c020e02-b389-4197-a9fa-b46704501e27_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/490abd9d-a84c-44a5-9e3a-7b9ede4ea436" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f68ea646-70c2-42de-919e-b8bfd3432d58" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "3mal täglich dünn auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "490abd9d-a84c-44a5-9e3a-7b9ede4ea436", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f68ea646-70c2-42de-919e-b8bfd3432d58", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Evan Lee Arps" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.xml new file mode 100644 index 00000000..8b6f1a38 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f14515e2-9001-4499-8ea6-7af42ed0b8b1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6c2f775e-c621-4c9b-b622-17a0c1078fd8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="8c020e02-b389-4197-a9fa-b46704501e27_160.100.000.000.008.18"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/490abd9d-a84c-44a5-9e3a-7b9ede4ea436"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f68ea646-70c2-42de-919e-b8bfd3432d58"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="490abd9d-a84c-44a5-9e3a-7b9ede4ea436"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10962562"/> + </coding> + <text value="FUSIDINSÄURE-ratiopharm 20 mg/g"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f68ea646-70c2-42de-919e-b8bfd3432d58"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Evan Lee Arps"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_5b2f09be/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.json new file mode 100644 index 00000000..9326d923 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "42d91a57-10ce-4b62-ac9e-38d46e9fc01d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "491649dc-2576-45ef-ae10-15bf80c4c16e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_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/a03aedd9-659f-447a-a83b-12e084e4d1f9" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/2ea02d64-51d5-4eef-9710-ec3f01a48c90" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a03aedd9-659f-447a-a83b-12e084e4d1f9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "organization", + "resource": { + "resourceType": "Organization", + "id": "2ea02d64-51d5-4eef-9710-ec3f01a48c90", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Marj Oram" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.xml new file mode 100644 index 00000000..e54d008d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="42d91a57-10ce-4b62-ac9e-38d46e9fc01d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="491649dc-2576-45ef-ae10-15bf80c4c16e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a03aedd9-659f-447a-a83b-12e084e4d1f9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/2ea02d64-51d5-4eef-9710-ec3f01a48c90"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a03aedd9-659f-447a-a83b-12e084e4d1f9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW O KA, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2ea02d64-51d5-4eef-9710-ec3f01a48c90"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Marj Oram"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 569864a3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 9beb432e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 5b1776a9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c07427b0-7b56-4ebc-8bcd-ebe8579138a7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b23bf93d-d9b2-405c-b399-506cbf051226"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/19d3c6fe-a8b1-43e6-998e-b2973ad88d13"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/0ca9b135-1fd0-4307-943b-ec82bc8db76b"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="19d3c6fe-a8b1-43e6-998e-b2973ad88d13"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10259495"/> - </coding> - <text value="FSME IMMUN 0.5ML ERW O KA, 1 St"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210123-45678"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0ca9b135-1fd0-4307-943b-ec82bc8db76b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Beau Vine"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/input.xml new file mode 100644 index 00000000..79b18afc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5b2f09be-9fd8-4fc1-b916-cd86ba5d246c"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8490dde3-2ed0-480d-9cb3-a8937eea6b1e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW O KA, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#8490dde3-2ed0-480d-9cb3-a8937eea6b1e"/> + <display value="FSME IMMUN 0.5ML ERW O KA, 1 St"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ 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/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.json new file mode 100644 index 00000000..89e76e1c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "bb926685-ff2a-4958-893a-17db13688f86", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "44047bee-1521-4957-a4a0-566649fed38b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_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/83c328f5-3bb6-48e7-999c-ab15efd3e4d4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/32d28fc8-035b-409f-9df7-f9f5be8ab0a1" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "83c328f5-3bb6-48e7-999c-ab15efd3e4d4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "organization", + "resource": { + "resourceType": "Organization", + "id": "32d28fc8-035b-409f-9df7-f9f5be8ab0a1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Eddie Bull" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.xml new file mode 100644 index 00000000..d14f8560 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bb926685-ff2a-4958-893a-17db13688f86"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="44047bee-1521-4957-a4a0-566649fed38b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/83c328f5-3bb6-48e7-999c-ab15efd3e4d4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/32d28fc8-035b-409f-9df7-f9f5be8ab0a1"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="83c328f5-3bb6-48e7-999c-ab15efd3e4d4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW O KA, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="32d28fc8-035b-409f-9df7-f9f5be8ab0a1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Eddie Bull"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index dbb85ab3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index a9263bb9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 85df930a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="cf59e842-81f7-4f07-ba42-d09787814103"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="390e1448-38e8-4802-a7e8-428b80b52615"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/ac61ae12-e52f-4774-ba4d-8dd1de31ab2e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/03ef6c1f-d483-418b-89ed-7bcb1b286f5d"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ac61ae12-e52f-4774-ba4d-8dd1de31ab2e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10259495"/> - </coding> - <text value="FSME IMMUN 0.5ML ERW O KA, 1 St"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210123-45678"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="03ef6c1f-d483-418b-89ed-7bcb1b286f5d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Al Nino"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_5b2f09be/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.json new file mode 100644 index 00000000..4b0d168a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "5d511905-d618-44ac-8fd0-a9889a4850d4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "3f186721-4ab5-4051-bedb-edcfa20c9244", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_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/8cb9d35f-3d42-4310-b624-5b8f6d88a287" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c62ffb61-9610-4364-bbe2-5170897fa062" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "8cb9d35f-3d42-4310-b624-5b8f6d88a287", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c62ffb61-9610-4364-bbe2-5170897fa062", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Jasmine Flowers" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.xml new file mode 100644 index 00000000..3361dba2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5d511905-d618-44ac-8fd0-a9889a4850d4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="3f186721-4ab5-4051-bedb-edcfa20c9244"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/8cb9d35f-3d42-4310-b624-5b8f6d88a287"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c62ffb61-9610-4364-bbe2-5170897fa062"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8cb9d35f-3d42-4310-b624-5b8f6d88a287"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW O KA, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c62ffb61-9610-4364-bbe2-5170897fa062"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jasmine Flowers"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 9a18b241..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 4a130dbc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index d9804939..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="07de96d9-8287-47eb-84e0-3f680b3941be"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="0b11974a-814b-41d6-b903-83620099b069"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f69a64a5-426b-4304-92f1-e4021016d4e3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/977a7abf-d48a-4dc9-9d54-fce3acf294b3"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f69a64a5-426b-4304-92f1-e4021016d4e3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="11011981"/> - </coding> - <text value="FSME IMMUN 0.5ML ERW, 1 St"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210123-45678"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="977a7abf-d48a-4dc9-9d54-fce3acf294b3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Aaron Thetires"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_504e3bb8/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.json new file mode 100644 index 00000000..2a6ef77d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "5eb8b305-494f-40be-a1cc-20ded8ab3477", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "aef2f51f-6699-499a-9796-cace2a55cdc2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_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/047758b7-6f11-41c0-9722-80116a430477" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/be335d2c-9de4-4231-8f87-8a86b42e76a7" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "047758b7-6f11-41c0-9722-80116a430477", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "organization", + "resource": { + "resourceType": "Organization", + "id": "be335d2c-9de4-4231-8f87-8a86b42e76a7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Cody Pendant" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.xml new file mode 100644 index 00000000..3b8819ae --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5eb8b305-494f-40be-a1cc-20ded8ab3477"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="aef2f51f-6699-499a-9796-cace2a55cdc2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/047758b7-6f11-41c0-9722-80116a430477"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/be335d2c-9de4-4231-8f87-8a86b42e76a7"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="047758b7-6f11-41c0-9722-80116a430477"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11011981"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="be335d2c-9de4-4231-8f87-8a86b42e76a7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Cody Pendant"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_504e3bb8/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.json new file mode 100644 index 00000000..7ebf093a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "92738f92-0197-406f-8e23-6288f64a4d7d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a5f4e1ab-978d-44ca-b92f-405f42585e3f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_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/474b00b8-2be2-45ed-9223-23878b3c274f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f393fcc4-1467-4914-a029-428f3a09a004" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "474b00b8-2be2-45ed-9223-23878b3c274f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f393fcc4-1467-4914-a029-428f3a09a004", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Thyme" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.xml new file mode 100644 index 00000000..4e843a0a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="92738f92-0197-406f-8e23-6288f64a4d7d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a5f4e1ab-978d-44ca-b92f-405f42585e3f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/474b00b8-2be2-45ed-9223-23878b3c274f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f393fcc4-1467-4914-a029-428f3a09a004"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="474b00b8-2be2-45ed-9223-23878b3c274f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11011981"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f393fcc4-1467-4914-a029-428f3a09a004"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Justin Thyme"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index b39adead..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 39124f28..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index d9aace07..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d4094807-b3ff-471b-9c51-f7f392646980"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="011ca252-872f-4010-b9c7-0123e3a42934"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/0d1e35f4-6adf-489f-8ef3-e403e334a2d1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c9be111d-9f6c-49fb-b287-814bbdb410fc"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0d1e35f4-6adf-489f-8ef3-e403e334a2d1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="11011981"/> - </coding> - <text value="FSME IMMUN 0.5ML ERW, 1 St"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210123-45678"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c9be111d-9f6c-49fb-b287-814bbdb410fc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Lisa Honda"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/input.xml new file mode 100644 index 00000000..0d9fc21d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="504e3bb8-6e78-4cdc-9a67-fa67f0ade97e"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5a009cbb-dca9-4dad-b92b-8f9601ee0d31"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11011981"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5a009cbb-dca9-4dad-b92b-8f9601ee0d31"/> + <display value="FSME IMMUN 0.5ML ERW, 1 St"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ 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/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.json new file mode 100644 index 00000000..c0c3a0bc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "c2d5b6f0-e266-463a-a7da-ede63204ccb1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1bdf6f50-b943-41c3-bcc0-3cd7577554d3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_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/4cef83cf-7166-4f64-9bb1-f83ca0c118a9" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/4707822a-9e84-489c-9e69-a4a8db92737e" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "4cef83cf-7166-4f64-9bb1-f83ca0c118a9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "organization", + "resource": { + "resourceType": "Organization", + "id": "4707822a-9e84-489c-9e69-a4a8db92737e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Kaholic" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.xml new file mode 100644 index 00000000..0cbf1777 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c2d5b6f0-e266-463a-a7da-ede63204ccb1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1bdf6f50-b943-41c3-bcc0-3cd7577554d3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/4cef83cf-7166-4f64-9bb1-f83ca0c118a9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/4707822a-9e84-489c-9e69-a4a8db92737e"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4cef83cf-7166-4f64-9bb1-f83ca0c118a9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11011981"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4707822a-9e84-489c-9e69-a4a8db92737e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Al Kaholic"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 1ea61b7b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index cdd78c20..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 0889ebf8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="3ffce413-fc4c-4779-a470-75fa75f6c676"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="05ba2521-7fa9-4373-af94-1838500dfe44"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/e4acc684-cbd9-4c8e-a243-cad17cd31d08"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/5041bdeb-5eb1-4808-8e3e-1971d4c28f96"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e4acc684-cbd9-4c8e-a243-cad17cd31d08"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16332684"/> - </coding> - <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210-78"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5041bdeb-5eb1-4808-8e3e-1971d4c28f96"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Annie Howe"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_6dc2ec9b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.json new file mode 100644 index 00000000..ea9d3fb5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "16b97b46-9b7d-4b8b-96a9-d67c502ce750", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "215455ba-41c1-469f-95bd-afe20717153f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_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/4f9862fa-bfbc-4bd6-8395-aa832d2540cc" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/7ac2a494-cf5e-490c-93e0-e9b2e39c199c" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "4f9862fa-bfbc-4bd6-8395-aa832d2540cc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "7ac2a494-cf5e-490c-93e0-e9b2e39c199c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Mel Function" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.xml new file mode 100644 index 00000000..53589704 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="16b97b46-9b7d-4b8b-96a9-d67c502ce750"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="215455ba-41c1-469f-95bd-afe20717153f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/4f9862fa-bfbc-4bd6-8395-aa832d2540cc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/7ac2a494-cf5e-490c-93e0-e9b2e39c199c"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4f9862fa-bfbc-4bd6-8395-aa832d2540cc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7ac2a494-cf5e-490c-93e0-e9b2e39c199c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Mel Function"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/input.xml new file mode 100644 index 00000000..dc56f034 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5e234315-55f1-4d06-93ca-943d20097d37"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5e234315-55f1-4d06-93ca-943d20097d37"/> + <display value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ 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/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.json new file mode 100644 index 00000000..831cc848 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "78bfbc7f-4046-4be9-964b-92164a1f73fd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "98752a3c-90e1-4f0a-a421-75ccb01ca3b8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_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/018e647e-04d5-4c53-9169-a716db4075f2" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/9ab748f9-b85c-42d9-9d17-d2ec216c3ccc" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "018e647e-04d5-4c53-9169-a716db4075f2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "9ab748f9-b85c-42d9-9d17-d2ec216c3ccc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bill Lowney" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.xml new file mode 100644 index 00000000..de3545ff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="78bfbc7f-4046-4be9-964b-92164a1f73fd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="98752a3c-90e1-4f0a-a421-75ccb01ca3b8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/018e647e-04d5-4c53-9169-a716db4075f2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/9ab748f9-b85c-42d9-9d17-d2ec216c3ccc"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="018e647e-04d5-4c53-9169-a716db4075f2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9ab748f9-b85c-42d9-9d17-d2ec216c3ccc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bill Lowney"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 2e23cb77..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index f2095835..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 6a4b1177..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d0c706f7-e781-4051-9456-daa4ce548cb9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="7f345cec-d2be-4d7f-b93f-5cfcfb80b8c5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/9bd1d645-55c2-4e47-bf21-9a6315d942e7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/ec837e26-af83-4b8a-bf3d-2f5557527835"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9bd1d645-55c2-4e47-bf21-9a6315d942e7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16332684"/> - </coding> - <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210-78"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ec837e26-af83-4b8a-bf3d-2f5557527835"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ginger Snapp"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_6dc2ec9b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.json new file mode 100644 index 00000000..1dad4a63 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "df4697e2-d345-420f-9d2b-1a21354107f7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "07d62051-fee3-44cb-9851-8a3bb7331399", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_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/de17cce7-85f4-4a08-b0af-29982a6d8245" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/6355f4d0-c0fa-4661-84b9-e646e3daf932" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "de17cce7-85f4-4a08-b0af-29982a6d8245", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "6355f4d0-c0fa-4661-84b9-e646e3daf932", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Miss Alanius" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.xml new file mode 100644 index 00000000..76c068fc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="df4697e2-d345-420f-9d2b-1a21354107f7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="07d62051-fee3-44cb-9851-8a3bb7331399"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/de17cce7-85f4-4a08-b0af-29982a6d8245"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/6355f4d0-c0fa-4661-84b9-e646e3daf932"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="de17cce7-85f4-4a08-b0af-29982a6d8245"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6355f4d0-c0fa-4661-84b9-e646e3daf932"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Miss Alanius"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_22871e5b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.json new file mode 100644 index 00000000..554a246f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "99afdd26-9ead-4f26-bbe5-a8cdc7147114", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "23d7ca88-5638-4f92-a4a9-f65e19ffcd1c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "22871e5b-7404-43b9-ac6f-a1addd635931_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/0f53b6e9-79f3-4049-a0d3-761f7c0f9a17" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/be3708ea-ae6f-41f2-81b0-71fe8e015222" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "0f53b6e9-79f3-4049-a0d3-761f7c0f9a17", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "be3708ea-ae6f-41f2-81b0-71fe8e015222", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Sox" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.xml new file mode 100644 index 00000000..a54b7343 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="99afdd26-9ead-4f26-bbe5-a8cdc7147114"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="23d7ca88-5638-4f92-a4a9-f65e19ffcd1c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="22871e5b-7404-43b9-ac6f-a1addd635931_160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/0f53b6e9-79f3-4049-a0d3-761f7c0f9a17"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/be3708ea-ae6f-41f2-81b0-71fe8e015222"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0f53b6e9-79f3-4049-a0d3-761f7c0f9a17"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16938263"/> + </coding> + <text value="GONAL-f 150 I.E./0,25 ml Inj.Lsg."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="be3708ea-ae6f-41f2-81b0-71fe8e015222"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jim Sox"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 02732b50..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index fee63279..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 5cc7a8e2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c88dda5e-a811-4326-b7f8-76c319898e39"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="38b594d0-8d7d-48a2-b18f-db1e813ed5ab"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/3e91a763-9251-4af5-981f-c0b968c96062"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/e65ff922-455e-4f5a-af4d-946e60a37fb1"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3e91a763-9251-4af5-981f-c0b968c96062"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16938263"/> - </coding> - <text value="GONAL-f 150 I.E./0,25 ml Inj.Lsg."/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210-78"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e65ff922-455e-4f5a-af4d-946e60a37fb1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Al Dente"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/input.xml new file mode 100644 index 00000000..1d845070 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="22871e5b-7404-43b9-ac6f-a1addd635931"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3cf35263-531b-4fe5-8282-858c3c3a35c4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16938263"/> + </coding> + <text value="GONAL-f 150 I.E./0,25 ml Inj.Lsg."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#3cf35263-531b-4fe5-8282-858c3c3a35c4"/> + <display value="GONAL-f 150 I.E./0,25 ml Inj.Lsg."/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ 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/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.json new file mode 100644 index 00000000..76d906e0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "b6ebb6f4-9be3-4803-8bc5-83f6049b6124", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4a95d952-4345-447e-8938-416f62a90650", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "22871e5b-7404-43b9-ac6f-a1addd635931_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/47c5201b-ffc9-4883-ab47-324f341a20ac" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d8625456-76d7-4752-99f2-4d468affd6be" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "47c5201b-ffc9-4883-ab47-324f341a20ac", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "d8625456-76d7-4752-99f2-4d468affd6be", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Joaquin DeFlores" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.xml new file mode 100644 index 00000000..3cecdf8b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b6ebb6f4-9be3-4803-8bc5-83f6049b6124"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4a95d952-4345-447e-8938-416f62a90650"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="22871e5b-7404-43b9-ac6f-a1addd635931_160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/47c5201b-ffc9-4883-ab47-324f341a20ac"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d8625456-76d7-4752-99f2-4d468affd6be"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="47c5201b-ffc9-4883-ab47-324f341a20ac"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16938263"/> + </coding> + <text value="GONAL-f 150 I.E./0,25 ml Inj.Lsg."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d8625456-76d7-4752-99f2-4d468affd6be"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Joaquin DeFlores"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 8fe3522b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 386d8cc4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 44a5869d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e15e0e6e-42ae-4035-9dbd-b835474ddb08"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="89cb4c1b-5b2f-4b63-bcc5-b138898b167d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/4b14fb0c-0dbb-405a-bcdc-5dd06f8abbe7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/40298bed-d56e-4658-97fd-cee3270880cd"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4b14fb0c-0dbb-405a-bcdc-5dd06f8abbe7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16938263"/> - </coding> - <text value="GONAL-f 150 I.E./0,25 ml Inj.Lsg."/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210-78"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="40298bed-d56e-4658-97fd-cee3270880cd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hayden Seek"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_22871e5b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.json new file mode 100644 index 00000000..c4305180 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "5454d819-e616-4a23-954f-38a0227a43b7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5a4634bd-c746-4f8d-a3da-c2e93a5e7afd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "22871e5b-7404-43b9-ac6f-a1addd635931_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/5e6d7c60-b69f-4880-972a-10ffac21d012" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/4e405f0a-f7eb-461f-867c-8e5e0c19d217" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5e6d7c60-b69f-4880-972a-10ffac21d012", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "4e405f0a-f7eb-461f-867c-8e5e0c19d217", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 North" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.xml new file mode 100644 index 00000000..891b0355 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5454d819-e616-4a23-954f-38a0227a43b7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5a4634bd-c746-4f8d-a3da-c2e93a5e7afd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="22871e5b-7404-43b9-ac6f-a1addd635931_160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5e6d7c60-b69f-4880-972a-10ffac21d012"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/4e405f0a-f7eb-461f-867c-8e5e0c19d217"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5e6d7c60-b69f-4880-972a-10ffac21d012"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16938263"/> + </coding> + <text value="GONAL-f 150 I.E./0,25 ml Inj.Lsg."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4e405f0a-f7eb-461f-867c-8e5e0c19d217"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ilene North"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_999bde79/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.json new file mode 100644 index 00000000..8a641850 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "791f5f6d-56a2-40d4-baa4-95d0289bc0b7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "623da2f4-fc65-40b4-93ce-7d33c0a97170", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "999bde79-4aba-4b15-9615-c4adf57f0008_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/7b245c64-c28c-43f9-abc5-1cdbfbfcdb62" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/510d97b9-1ba8-4b18-8428-b921b96c4f9d" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7b245c64-c28c-43f9-abc5-1cdbfbfcdb62", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "510d97b9-1ba8-4b18-8428-b921b96c4f9d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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_MV1_MedicationDispense_999bde79/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.xml new file mode 100644 index 00000000..cf8cdd55 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="791f5f6d-56a2-40d4-baa4-95d0289bc0b7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="623da2f4-fc65-40b4-93ce-7d33c0a97170"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="999bde79-4aba-4b15-9615-c4adf57f0008_160.100.000.000.010.12"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7b245c64-c28c-43f9-abc5-1cdbfbfcdb62"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/510d97b9-1ba8-4b18-8428-b921b96c4f9d"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7b245c64-c28c-43f9-abc5-1cdbfbfcdb62"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="510d97b9-1ba8-4b18-8428-b921b96c4f9d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Simon Swindells"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 2ce35450..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index a7dfbf3d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 9f9e6472..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ac65a7dd-0803-4ebf-aa3e-276d2b01e035"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="8a616406-e88d-4844-bd07-4f5e2cba6cc0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.010.12"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/856bf295-b6da-4246-b355-8c3aef7938a3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/94486978-ca78-462e-bbf6-a644d1ebff75"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="856bf295-b6da-4246-b355-8c3aef7938a3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="94486978-ca78-462e-bbf6-a644d1ebff75"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Haywood Jashootmee"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_999bde79/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.json new file mode 100644 index 00000000..3ebe8783 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "86bc1eb0-2674-4732-88a0-f3e49d07a02d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b3ca0fd3-6f5f-48fa-b826-57ea9b9097a9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "999bde79-4aba-4b15-9615-c4adf57f0008_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/6b5d7bc6-3d81-4a17-a8b2-0986db6c90cd" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/b59ce923-55ca-40eb-befb-390d96889df0" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "6b5d7bc6-3d81-4a17-a8b2-0986db6c90cd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "b59ce923-55ca-40eb-befb-390d96889df0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Sheri Cola" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.xml new file mode 100644 index 00000000..6d377529 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="86bc1eb0-2674-4732-88a0-f3e49d07a02d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b3ca0fd3-6f5f-48fa-b826-57ea9b9097a9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="999bde79-4aba-4b15-9615-c4adf57f0008_160.100.000.000.010.12"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/6b5d7bc6-3d81-4a17-a8b2-0986db6c90cd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/b59ce923-55ca-40eb-befb-390d96889df0"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6b5d7bc6-3d81-4a17-a8b2-0986db6c90cd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b59ce923-55ca-40eb-befb-390d96889df0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sheri Cola"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index fb68332f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 9810bf5c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 42a1302a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ff62fffa-9658-4544-84e2-c8cceb4cd06b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="972ea6e6-d7fc-4def-8ce7-afb15ebecb7f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.010.12"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/13bd24bd-fc70-425c-915d-debc5946a3e2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/f1648f87-dcd4-4857-b3d5-c428a0e42c70"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="13bd24bd-fc70-425c-915d-debc5946a3e2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f1648f87-dcd4-4857-b3d5-c428a0e42c70"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Joy Rider"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/input.xml new file mode 100644 index 00000000..fe68dd7e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="999bde79-4aba-4b15-9615-c4adf57f0008"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="101c1c5f-3262-4013-97ba-a00850d052ea"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#101c1c5f-3262-4013-97ba-a00850d052ea"/> + <display value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ 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/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.json new file mode 100644 index 00000000..cd04e8e6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "5a4f1cd8-4926-44ab-bf40-348a6263cf91", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "d70f3fda-582d-42d3-bf25-e49c11e6874e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "999bde79-4aba-4b15-9615-c4adf57f0008_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/835d57d8-c189-4e3d-ac7d-477654ea9563" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/efddc1b5-2b25-4873-9918-a6e096fa1c24" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "835d57d8-c189-4e3d-ac7d-477654ea9563", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "efddc1b5-2b25-4873-9918-a6e096fa1c24", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Telly Vision" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.xml new file mode 100644 index 00000000..8ed30b4d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5a4f1cd8-4926-44ab-bf40-348a6263cf91"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="d70f3fda-582d-42d3-bf25-e49c11e6874e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="999bde79-4aba-4b15-9615-c4adf57f0008_160.100.000.000.010.12"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/835d57d8-c189-4e3d-ac7d-477654ea9563"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/efddc1b5-2b25-4873-9918-a6e096fa1c24"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="835d57d8-c189-4e3d-ac7d-477654ea9563"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="efddc1b5-2b25-4873-9918-a6e096fa1c24"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Telly Vision"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 9f146ef5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 80aaccb2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 5195dcd2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="13174b10-6f30-4563-adb1-c45bae6f6202"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="7171e2b6-225f-409f-bd92-197503a5efce"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.015.94"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/b71d80a5-3152-4a05-833b-d371d0042622"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/58075cef-925a-4a85-a2ad-9afc5f652acc"/> - </actor> - </performer> - <whenHandedOver value="2025-01-15"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b71d80a5-3152-4a05-833b-d371d0042622"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="58075cef-925a-4a85-a2ad-9afc5f652acc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Eli Ondefloor"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_4eaadf76/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.json new file mode 100644 index 00000000..20a993e8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "40a280d0-d478-4067-9051-7719951543c0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "320d54e8-454f-4606-968d-5642eb34ba2f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "4eaadf76-d89c-4437-a8ec-b2407f98c6fa_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/7ec75996-1283-4493-b022-9ab804a9db61" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e6fc006f-4f2d-4c56-a0a2-4d0af72be142" + } + } ], + "whenHandedOver": "2025-01-15" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7ec75996-1283-4493-b022-9ab804a9db61", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "e6fc006f-4f2d-4c56-a0a2-4d0af72be142", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Warren T." + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.xml new file mode 100644 index 00000000..b07617f2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="40a280d0-d478-4067-9051-7719951543c0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="320d54e8-454f-4606-968d-5642eb34ba2f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="4eaadf76-d89c-4437-a8ec-b2407f98c6fa_160.100.000.000.015.94"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7ec75996-1283-4493-b022-9ab804a9db61"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e6fc006f-4f2d-4c56-a0a2-4d0af72be142"/> + </actor> + </performer> + <whenHandedOver value="2025-01-15"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7ec75996-1283-4493-b022-9ab804a9db61"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e6fc006f-4f2d-4c56-a0a2-4d0af72be142"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Warren T."/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/input.xml new file mode 100644 index 00000000..851c82c5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4eaadf76-d89c-4437-a8ec-b2407f98c6fa"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7bbe819b-08a0-4496-9d58-f6340c8aa876"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#7bbe819b-08a0-4496-9d58-f6340c8aa876"/> + <display value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2025-01-15"/> +</MedicationDispense> \ 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/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.json new file mode 100644 index 00000000..f0d72525 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "c3578dfb-553d-4269-9d8c-fbf920cfb993", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "14a31978-7f60-4ce1-ba04-c1dd43612ce5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "4eaadf76-d89c-4437-a8ec-b2407f98c6fa_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/a6868f66-ac9d-45fd-8954-24fec748e654" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/94c62501-5d97-459c-a5ac-d329a626e7b2" + } + } ], + "whenHandedOver": "2025-01-15" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a6868f66-ac9d-45fd-8954-24fec748e654", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "94c62501-5d97-459c-a5ac-d329a626e7b2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Robin Meeblind" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.xml new file mode 100644 index 00000000..47129175 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c3578dfb-553d-4269-9d8c-fbf920cfb993"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="14a31978-7f60-4ce1-ba04-c1dd43612ce5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="4eaadf76-d89c-4437-a8ec-b2407f98c6fa_160.100.000.000.015.94"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a6868f66-ac9d-45fd-8954-24fec748e654"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/94c62501-5d97-459c-a5ac-d329a626e7b2"/> + </actor> + </performer> + <whenHandedOver value="2025-01-15"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a6868f66-ac9d-45fd-8954-24fec748e654"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="94c62501-5d97-459c-a5ac-d329a626e7b2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Robin Meeblind"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index a096beae..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 84771266..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 6ae397ce..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="8e9be6d3-6ce5-46ec-991e-34726bf6eaef"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="144cbcd5-61ad-4604-aa4e-a7ce9cc9a00b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.015.94"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/54e9d886-4017-4c72-ab44-11f03078af9b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/99118991-7b9a-41f5-a66b-089c7953ad1b"/> - </actor> - </performer> - <whenHandedOver value="2023-09-15"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="54e9d886-4017-4c72-ab44-11f03078af9b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="99118991-7b9a-41f5-a66b-089c7953ad1b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Faye Slift"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_4eaadf76/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.json new file mode 100644 index 00000000..384552da --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "51d932f6-d82a-401a-9b68-bc686af8fab2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f0458b3b-2d92-4af3-bec3-c934b840578e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "4eaadf76-d89c-4437-a8ec-b2407f98c6fa_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/2380555d-33d9-4859-a748-cf6fa0e3578a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d47c7773-e1fa-43e0-a104-9ca00fa05615" + } + } ], + "whenHandedOver": "2023-09-15" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2380555d-33d9-4859-a748-cf6fa0e3578a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "d47c7773-e1fa-43e0-a104-9ca00fa05615", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Corey Ander" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.xml new file mode 100644 index 00000000..6947a857 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="51d932f6-d82a-401a-9b68-bc686af8fab2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f0458b3b-2d92-4af3-bec3-c934b840578e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="4eaadf76-d89c-4437-a8ec-b2407f98c6fa_160.100.000.000.015.94"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2380555d-33d9-4859-a748-cf6fa0e3578a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d47c7773-e1fa-43e0-a104-9ca00fa05615"/> + </actor> + </performer> + <whenHandedOver value="2023-09-15"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2380555d-33d9-4859-a748-cf6fa0e3578a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d47c7773-e1fa-43e0-a104-9ca00fa05615"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Corey Ander"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 971e461d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 36d00f4f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 56f3446d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1f2b9024-2025-45ab-b365-bd426a6e0984"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="7eda3c3a-80f0-4124-af65-ecd6811df79d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.016.91"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/38a65b8f-8b65-493c-9737-bac8fcdd7ec3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/38258594-c4f0-4179-8ae5-df9b927be563"/> - </actor> - </performer> - <whenHandedOver value="2023-11-15"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="38a65b8f-8b65-493c-9737-bac8fcdd7ec3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="38258594-c4f0-4179-8ae5-df9b927be563"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Dusty Rhodes"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_b60dfbab/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.json new file mode 100644 index 00000000..23f6fd73 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "f011bc7e-9dd9-4e6f-8882-269e4956dfef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "bf630fb4-a9a1-4d7e-8b92-db0fc26fbf30", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b60dfbab-3463-4a69-81e8-90501674ffd3_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/bf5c13c9-bfb4-498e-979d-f05a4c176770" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/4ce651a3-3101-411a-ad98-312ea9c1342a" + } + } ], + "whenHandedOver": "2023-11-15" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bf5c13c9-bfb4-498e-979d-f05a4c176770", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "4ce651a3-3101-411a-ad98-312ea9c1342a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Armand Hammer" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.xml new file mode 100644 index 00000000..d7477d6e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f011bc7e-9dd9-4e6f-8882-269e4956dfef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="bf630fb4-a9a1-4d7e-8b92-db0fc26fbf30"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b60dfbab-3463-4a69-81e8-90501674ffd3_160.100.000.000.016.91"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bf5c13c9-bfb4-498e-979d-f05a4c176770"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/4ce651a3-3101-411a-ad98-312ea9c1342a"/> + </actor> + </performer> + <whenHandedOver value="2023-11-15"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bf5c13c9-bfb4-498e-979d-f05a4c176770"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4ce651a3-3101-411a-ad98-312ea9c1342a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Armand Hammer"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_b60dfbab/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.json new file mode 100644 index 00000000..9689785d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "3674bf18-5f86-4245-a7fa-ec4d7bdf3f08", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0ac0e727-d4fe-46ae-b824-62b1cd02fec9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b60dfbab-3463-4a69-81e8-90501674ffd3_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/e2d97017-7351-4bef-ba0a-514dbf51af00" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/1198c48e-0197-49e6-8cab-884ce14df9e5" + } + } ], + "whenHandedOver": "2025-03-15" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e2d97017-7351-4bef-ba0a-514dbf51af00", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "1198c48e-0197-49e6-8cab-884ce14df9e5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Owen Cash" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.xml new file mode 100644 index 00000000..ea838320 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3674bf18-5f86-4245-a7fa-ec4d7bdf3f08"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0ac0e727-d4fe-46ae-b824-62b1cd02fec9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b60dfbab-3463-4a69-81e8-90501674ffd3_160.100.000.000.016.91"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e2d97017-7351-4bef-ba0a-514dbf51af00"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/1198c48e-0197-49e6-8cab-884ce14df9e5"/> + </actor> + </performer> + <whenHandedOver value="2025-03-15"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e2d97017-7351-4bef-ba0a-514dbf51af00"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1198c48e-0197-49e6-8cab-884ce14df9e5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Owen Cash"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 72ec7c17..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 10372f6e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 18808516..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f8a54a6e-a5fd-4276-ab1e-32e6cf084871"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="7fdd6b29-9881-4975-bff1-6a7300b341a0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.016.91"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/2ca4690c-1c83-4083-a362-4b599db2cf5e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/a7571e92-b64d-4134-8b9f-824213341c08"/> - </actor> - </performer> - <whenHandedOver value="2025-03-15"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2ca4690c-1c83-4083-a362-4b599db2cf5e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a7571e92-b64d-4134-8b9f-824213341c08"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Luna Tick"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/input.xml new file mode 100644 index 00000000..786bbc94 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b60dfbab-3463-4a69-81e8-90501674ffd3"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="eeba484b-996d-42cf-8152-4e6add8ff372"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#eeba484b-996d-42cf-8152-4e6add8ff372"/> + <display value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2025-03-15"/> +</MedicationDispense> \ 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/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.json new file mode 100644 index 00000000..9abffb95 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "89c5bbae-4964-4a80-b3be-62dca970ee66", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1f9fbfc8-29f5-4e89-b831-65ba9cbebc21", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b60dfbab-3463-4a69-81e8-90501674ffd3_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/29a4036f-3e7d-44fd-a219-864604ccc66b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c7a09a56-2ae2-4691-9417-ac04f90f8881" + } + } ], + "whenHandedOver": "2025-03-15" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "29a4036f-3e7d-44fd-a219-864604ccc66b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c7a09a56-2ae2-4691-9417-ac04f90f8881", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Lucy Fer" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.xml new file mode 100644 index 00000000..b561fcc0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="89c5bbae-4964-4a80-b3be-62dca970ee66"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1f9fbfc8-29f5-4e89-b831-65ba9cbebc21"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b60dfbab-3463-4a69-81e8-90501674ffd3_160.100.000.000.016.91"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/29a4036f-3e7d-44fd-a219-864604ccc66b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c7a09a56-2ae2-4691-9417-ac04f90f8881"/> + </actor> + </performer> + <whenHandedOver value="2025-03-15"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="29a4036f-3e7d-44fd-a219-864604ccc66b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c7a09a56-2ae2-4691-9417-ac04f90f8881"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lucy Fer"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_6df0c60b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.json new file mode 100644 index 00000000..d4d45023 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "16f640b3-0171-4f94-857f-981d8a1cad58", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8b9e12dc-c568-4a94-a8b5-a6da0714ed47", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "6df0c60b-98ab-4c20-bb0f-31531ec0bc59_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/f4858dc0-608a-4409-949d-47a01c8f441a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/bd5e0070-7f50-4b62-a8ee-3d5d719320d3" + } + } ], + "whenHandedOver": "2025-04-01" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f4858dc0-608a-4409-949d-47a01c8f441a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "bd5e0070-7f50-4b62-a8ee-3d5d719320d3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Doug Hole" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.xml new file mode 100644 index 00000000..019464c9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="16f640b3-0171-4f94-857f-981d8a1cad58"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8b9e12dc-c568-4a94-a8b5-a6da0714ed47"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="6df0c60b-98ab-4c20-bb0f-31531ec0bc59_160.100.000.000.017.88"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f4858dc0-608a-4409-949d-47a01c8f441a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/bd5e0070-7f50-4b62-a8ee-3d5d719320d3"/> + </actor> + </performer> + <whenHandedOver value="2025-04-01"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f4858dc0-608a-4409-949d-47a01c8f441a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bd5e0070-7f50-4b62-a8ee-3d5d719320d3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Doug Hole"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index aadab90b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 8203d1d3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 4fd03dd1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b6caabd2-77bb-4741-ad3d-6c65acd654b2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="43f2c8cc-3d20-4f5e-acf4-753d236e7337"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.017.88"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/67cbf142-073c-4909-ac83-e5e9855e4370"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/55251cba-07b5-4cea-9f36-9ff7fadfca67"/> - </actor> - </performer> - <whenHandedOver value="2025-04-01"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="67cbf142-073c-4909-ac83-e5e9855e4370"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="55251cba-07b5-4cea-9f36-9ff7fadfca67"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Helen Back"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/input.xml new file mode 100644 index 00000000..b164da80 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6df0c60b-98ab-4c20-bb0f-31531ec0bc59"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="583aedac-bfa9-4014-9500-e2d90d294c99"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#583aedac-bfa9-4014-9500-e2d90d294c99"/> + <display value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2025-04-01"/> +</MedicationDispense> \ 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/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.json new file mode 100644 index 00000000..dd9ffa88 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "e277a28f-861e-4644-af9f-140fb7884ced", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0ed1af6d-7f28-497c-93da-d97b5bfd51b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "6df0c60b-98ab-4c20-bb0f-31531ec0bc59_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/481a57ed-a664-40e5-ad9e-2d3426d102ac" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/9fb4e3e2-5bc7-4598-89ab-392a850f668c" + } + } ], + "whenHandedOver": "2025-04-01" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "481a57ed-a664-40e5-ad9e-2d3426d102ac", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "9fb4e3e2-5bc7-4598-89ab-392a850f668c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Daisy Picking" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.xml new file mode 100644 index 00000000..d8cdbf52 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e277a28f-861e-4644-af9f-140fb7884ced"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0ed1af6d-7f28-497c-93da-d97b5bfd51b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="6df0c60b-98ab-4c20-bb0f-31531ec0bc59_160.100.000.000.017.88"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/481a57ed-a664-40e5-ad9e-2d3426d102ac"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/9fb4e3e2-5bc7-4598-89ab-392a850f668c"/> + </actor> + </performer> + <whenHandedOver value="2025-04-01"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="481a57ed-a664-40e5-ad9e-2d3426d102ac"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9fb4e3e2-5bc7-4598-89ab-392a850f668c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Daisy Picking"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 66c6dd43..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index c36d4a15..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 0b42104e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ca4f715f-1642-4768-9a55-9ddc2a2b1d3e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1d5f5f74-6d65-4393-ba9e-5dfdc3357e56"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.017.88"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/a84af732-77fc-416e-94d4-697a1255e8e4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/9de40059-de55-41e6-baf8-f85ad446fbcb"/> - </actor> - </performer> - <whenHandedOver value="2023-12-01"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a84af732-77fc-416e-94d4-697a1255e8e4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9de40059-de55-41e6-baf8-f85ad446fbcb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Artie Choke"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_6df0c60b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.json new file mode 100644 index 00000000..4945b365 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "3d636327-40ed-4ff0-ba60-3bc1515c1b2b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "aae65018-cd97-41e3-8669-c38864abfcd4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "6df0c60b-98ab-4c20-bb0f-31531ec0bc59_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/ab5de98f-92d1-4547-8dba-4d8ffa411bd5" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0cdd7373-8cd0-4e51-a9a8-74f1102a7d9d" + } + } ], + "whenHandedOver": "2023-12-01" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ab5de98f-92d1-4547-8dba-4d8ffa411bd5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0cdd7373-8cd0-4e51-a9a8-74f1102a7d9d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Down" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.xml new file mode 100644 index 00000000..8a00630a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3d636327-40ed-4ff0-ba60-3bc1515c1b2b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="aae65018-cd97-41e3-8669-c38864abfcd4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="6df0c60b-98ab-4c20-bb0f-31531ec0bc59_160.100.000.000.017.88"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ab5de98f-92d1-4547-8dba-4d8ffa411bd5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0cdd7373-8cd0-4e51-a9a8-74f1102a7d9d"/> + </actor> + </performer> + <whenHandedOver value="2023-12-01"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ab5de98f-92d1-4547-8dba-4d8ffa411bd5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0cdd7373-8cd0-4e51-a9a8-74f1102a7d9d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ben Down"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index c363cd8a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 6234f371..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index fe353cc2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6be89a62-e9e6-4408-86ae-6ba16caa1ec8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b2ee022a-f1b4-4fb0-8514-58f987d0bcce"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.003.33"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/89af8c60-c97d-4ecb-bb5f-dfa133ac2792"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="M310119814"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/13568802-eddf-42ac-8564-8dc98fc25c53"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="89af8c60-c97d-4ecb-bb5f-dfa133ac2792"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03386388"/> - </coding> - <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SUB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="3"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="13568802-eddf-42ac-8564-8dc98fc25c53"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Simon Swindells"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_89a81399/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.json new file mode 100644 index 00000000..e9e9841f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "8c0776ba-2f17-46a1-b700-c1e127ea50b4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "edbd489d-9b8b-443f-b17e-ba441410e817", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "89a81399-b8c1-46d6-8006-d74fed2a79d4_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/cf571de5-236a-4e6f-9b3b-4140c9c28002" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "M310119814" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/26776961-298b-4f37-9838-26ae19d166c9" + } + } ], + "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": "cf571de5-236a-4e6f-9b3b-4140c9c28002", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "26776961-298b-4f37-9838-26ae19d166c9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Furter" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.xml new file mode 100644 index 00000000..2e7673b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8c0776ba-2f17-46a1-b700-c1e127ea50b4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="edbd489d-9b8b-443f-b17e-ba441410e817"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="89a81399-b8c1-46d6-8006-d74fed2a79d4_160.100.000.000.003.33"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/cf571de5-236a-4e6f-9b3b-4140c9c28002"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119814"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/26776961-298b-4f37-9838-26ae19d166c9"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cf571de5-236a-4e6f-9b3b-4140c9c28002"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="3"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="26776961-298b-4f37-9838-26ae19d166c9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Frank Furter"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index fad9abd1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index ab1f40bf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index c6cd29a6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="85f77ac6-9921-46df-984e-a1391d85fd22"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="866773d5-b2ff-49e2-983b-0b090de00490"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.003.33"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/21febbc3-1418-4141-bb12-b813561685b0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="M310119814"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/1d723ea8-452d-49e1-be02-4d37f39f82de"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="21febbc3-1418-4141-bb12-b813561685b0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03386388"/> - </coding> - <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SUB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="3"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1d723ea8-452d-49e1-be02-4d37f39f82de"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Stu Pitt"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_89a81399/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.json new file mode 100644 index 00000000..2f30f0ba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "08c9d677-bd53-448a-bd8c-ee0863afbf42", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "034a770b-e0ce-4252-9aef-f5fcce574eef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "89a81399-b8c1-46d6-8006-d74fed2a79d4_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/1ba618f5-368e-4276-8328-5c208024366a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "M310119814" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c5acdf58-7e76-482f-b664-efcb9801bc6e" + } + } ], + "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": "1ba618f5-368e-4276-8328-5c208024366a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c5acdf58-7e76-482f-b664-efcb9801bc6e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Sheri Cola" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.xml new file mode 100644 index 00000000..513aca67 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="08c9d677-bd53-448a-bd8c-ee0863afbf42"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="034a770b-e0ce-4252-9aef-f5fcce574eef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="89a81399-b8c1-46d6-8006-d74fed2a79d4_160.100.000.000.003.33"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1ba618f5-368e-4276-8328-5c208024366a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119814"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c5acdf58-7e76-482f-b664-efcb9801bc6e"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1ba618f5-368e-4276-8328-5c208024366a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="3"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c5acdf58-7e76-482f-b664-efcb9801bc6e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sheri Cola"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/input.xml new file mode 100644 index 00000000..89bdbf36 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="89a81399-b8c1-46d6-8006-d74fed2a79d4"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b6d208be-e549-4efb-a87b-77fae57fc001"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="3"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#b6d208be-e549-4efb-a87b-77fae57fc001"/> + <display value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119814"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.json new file mode 100644 index 00000000..c98c6f8e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "203e0717-5cdc-4f54-ad1c-dc002bdada06", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b7b37916-b05c-4ad1-9bd7-0f034a54f6e8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "89a81399-b8c1-46d6-8006-d74fed2a79d4_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/557b1ccb-48fa-4a8a-9a1a-c2df186f7f54" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "M310119814" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/9720a3a8-b571-45ce-8838-baeef7c6dac3" + } + } ], + "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": "557b1ccb-48fa-4a8a-9a1a-c2df186f7f54", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "9720a3a8-b571-45ce-8838-baeef7c6dac3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Colleen Cardd" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.xml new file mode 100644 index 00000000..9101a465 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="203e0717-5cdc-4f54-ad1c-dc002bdada06"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b7b37916-b05c-4ad1-9bd7-0f034a54f6e8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="89a81399-b8c1-46d6-8006-d74fed2a79d4_160.100.000.000.003.33"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/557b1ccb-48fa-4a8a-9a1a-c2df186f7f54"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119814"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/9720a3a8-b571-45ce-8838-baeef7c6dac3"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="557b1ccb-48fa-4a8a-9a1a-c2df186f7f54"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="3"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9720a3a8-b571-45ce-8838-baeef7c6dac3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Colleen Cardd"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 2830ed42..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index c8731c36..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 3a789fed..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="33953e1e-ba6f-4ad9-9d0f-3d655a48239f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="c1515e45-31cf-4dc2-8c00-c4d205934bb5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.764.737.300.50"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/41502ff4-dc48-4824-994e-10e97ed41532"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X234567891"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/676512a0-466d-4500-8570-8fef16fe4935"/> - </actor> - </performer> - <whenHandedOver value="2023-07-30"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="41502ff4-dc48-4824-994e-10e97ed41532"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="05454378"/> - </coding> - <text value="SUMATRIPTAN Aurobindo 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="12"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="676512a0-466d-4500-8570-8fef16fe4935"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Alec Tricity"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_a7e1d25f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.json new file mode 100644 index 00000000..16846b03 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "b34da82d-7e58-4374-ad6f-987ad1a3a5c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c2598ce2-7c34-4c8e-9ea8-fb057418dfac", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a7e1d25f-0b0a-40f7-b529-afda48e51b46_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/272755fb-7a2a-4eb9-a49d-40f3aa8c4159" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X234567891" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/346ede57-be4e-4556-ba8e-cfd3cd250897" + } + } ], + "whenHandedOver": "2023-07-30", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "272755fb-7a2a-4eb9-a49d-40f3aa8c4159", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "346ede57-be4e-4556-ba8e-cfd3cd250897", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Chris Cross" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.xml new file mode 100644 index 00000000..63e0d723 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b34da82d-7e58-4374-ad6f-987ad1a3a5c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c2598ce2-7c34-4c8e-9ea8-fb057418dfac"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a7e1d25f-0b0a-40f7-b529-afda48e51b46_160.000.764.737.300.50"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/272755fb-7a2a-4eb9-a49d-40f3aa8c4159"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567891"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/346ede57-be4e-4556-ba8e-cfd3cd250897"/> + </actor> + </performer> + <whenHandedOver value="2023-07-30"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="272755fb-7a2a-4eb9-a49d-40f3aa8c4159"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05454378"/> + </coding> + <text value="SUMATRIPTAN Aurobindo 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="346ede57-be4e-4556-ba8e-cfd3cd250897"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Chris Cross"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index afc229df..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index b9e76258..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 52e22068..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9b57e5f0-e09e-4cf2-b025-74a1b3bb2a4b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="4d9b5ed7-9826-4818-bd50-98ca8a2cf00a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.764.737.300.50"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/59e76c04-f861-44a9-ab1e-47b60ec77373"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X234567891"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/fdc868ed-a337-48d6-8cdd-0962490a957b"/> - </actor> - </performer> - <whenHandedOver value="2024-11-30"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="59e76c04-f861-44a9-ab1e-47b60ec77373"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="05454378"/> - </coding> - <text value="SUMATRIPTAN Aurobindo 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="12"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="fdc868ed-a337-48d6-8cdd-0962490a957b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Annie Moore"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_a7e1d25f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.json new file mode 100644 index 00000000..ca6fb4a2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "c359605e-d84b-436b-a240-9ff4e264b9cb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b9c57654-97c9-4510-9418-ce5dcbb65dc0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a7e1d25f-0b0a-40f7-b529-afda48e51b46_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/2f439d75-ebb5-4b9f-b731-655f0a473647" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X234567891" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/fa7e8245-ea6d-4dcd-9a24-4441487a6720" + } + } ], + "whenHandedOver": "2024-11-30", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2f439d75-ebb5-4b9f-b731-655f0a473647", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "fa7e8245-ea6d-4dcd-9a24-4441487a6720", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ella Vader" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.xml new file mode 100644 index 00000000..8cfcb7e9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c359605e-d84b-436b-a240-9ff4e264b9cb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b9c57654-97c9-4510-9418-ce5dcbb65dc0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a7e1d25f-0b0a-40f7-b529-afda48e51b46_160.000.764.737.300.50"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2f439d75-ebb5-4b9f-b731-655f0a473647"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567891"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/fa7e8245-ea6d-4dcd-9a24-4441487a6720"/> + </actor> + </performer> + <whenHandedOver value="2024-11-30"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2f439d75-ebb5-4b9f-b731-655f0a473647"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05454378"/> + </coding> + <text value="SUMATRIPTAN Aurobindo 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fa7e8245-ea6d-4dcd-9a24-4441487a6720"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ella Vader"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/input.xml new file mode 100644 index 00000000..16a19793 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a7e1d25f-0b0a-40f7-b529-afda48e51b46"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8e2e5e65-4c5d-49f2-8efc-c30e40838273"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05454378"/> + </coding> + <text value="SUMATRIPTAN Aurobindo 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="12"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#8e2e5e65-4c5d-49f2-8efc-c30e40838273"/> + <display value="SUMATRIPTAN Aurobindo 100 mg Tabletten"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567891"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-30"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.json new file mode 100644 index 00000000..187fe604 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "701e8762-1c3f-4ddd-ae41-d7914c617865", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1073fa01-17f8-48c3-a839-7f504ce50a69", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a7e1d25f-0b0a-40f7-b529-afda48e51b46_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/8ee2f130-127f-4ed9-b363-8cb51e100875" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X234567891" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c285fe12-3f9e-460b-9f68-99ec3bfe0ddd" + } + } ], + "whenHandedOver": "2024-11-30", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "8ee2f130-127f-4ed9-b363-8cb51e100875", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c285fe12-3f9e-460b-9f68-99ec3bfe0ddd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Will Wynn" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.xml new file mode 100644 index 00000000..24d0a9bb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="701e8762-1c3f-4ddd-ae41-d7914c617865"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1073fa01-17f8-48c3-a839-7f504ce50a69"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a7e1d25f-0b0a-40f7-b529-afda48e51b46_160.000.764.737.300.50"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/8ee2f130-127f-4ed9-b363-8cb51e100875"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567891"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c285fe12-3f9e-460b-9f68-99ec3bfe0ddd"/> + </actor> + </performer> + <whenHandedOver value="2024-11-30"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8ee2f130-127f-4ed9-b363-8cb51e100875"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05454378"/> + </coding> + <text value="SUMATRIPTAN Aurobindo 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c285fe12-3f9e-460b-9f68-99ec3bfe0ddd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Will Wynn"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 5a6dca09..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 3dd44fdd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index ec9a359d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="18c8a02c-6730-4e96-adbe-279e20f8270d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="47238cf3-224e-4677-b095-6922c96ecd3b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.001.39"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/27f6eae6-4e18-4839-b311-5f60bd4062fc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/18310233-3392-425b-b64c-8efa520fb236"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="27f6eae6-4e18-4839-b311-5f60bd4062fc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09494280"/> - </coding> - <text value="Venlafaxin Heumann 75 mg Tabletten, 100 St."/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="18310233-3392-425b-b64c-8efa520fb236"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Melanie Letters"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_dceee4a2/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.json new file mode 100644 index 00000000..7f667952 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "fb4b715f-c428-408e-b923-070d7df24bb7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "73dae71c-9f56-4efd-a6f5-095131a1855f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dceee4a2-12fa-44a4-8f97-60fc6a4d668e_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/eb43aa95-df04-454d-9a57-02b151c8bbea" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0343ca72-cc7f-4116-804e-917525662805" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "eb43aa95-df04-454d-9a57-02b151c8bbea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0343ca72-cc7f-4116-804e-917525662805", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dan Deline" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.xml new file mode 100644 index 00000000..ec2068ec --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fb4b715f-c428-408e-b923-070d7df24bb7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="73dae71c-9f56-4efd-a6f5-095131a1855f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dceee4a2-12fa-44a4-8f97-60fc6a4d668e_160.100.000.000.001.39"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/eb43aa95-df04-454d-9a57-02b151c8bbea"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0343ca72-cc7f-4116-804e-917525662805"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="eb43aa95-df04-454d-9a57-02b151c8bbea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09494280"/> + </coding> + <text value="Venlafaxin Heumann 75 mg Tabletten, 100 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0343ca72-cc7f-4116-804e-917525662805"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dan Deline"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_dceee4a2/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.json new file mode 100644 index 00000000..e4b84fb0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "90fc8273-3e35-4d1f-b39e-234853f47c59", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2402a01d-93c1-4c33-b2f0-162aac54349f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dceee4a2-12fa-44a4-8f97-60fc6a4d668e_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/0028a6db-b205-44e1-89cd-7d3818fcfb8a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/32265c1e-ccb1-4fc1-b292-310fdfa1316e" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "0028a6db-b205-44e1-89cd-7d3818fcfb8a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "32265c1e-ccb1-4fc1-b292-310fdfa1316e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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. Ball" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.xml new file mode 100644 index 00000000..39eb0c6a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="90fc8273-3e35-4d1f-b39e-234853f47c59"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2402a01d-93c1-4c33-b2f0-162aac54349f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dceee4a2-12fa-44a4-8f97-60fc6a4d668e_160.100.000.000.001.39"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/0028a6db-b205-44e1-89cd-7d3818fcfb8a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/32265c1e-ccb1-4fc1-b292-310fdfa1316e"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0028a6db-b205-44e1-89cd-7d3818fcfb8a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09494280"/> + </coding> + <text value="Venlafaxin Heumann 75 mg Tabletten, 100 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="32265c1e-ccb1-4fc1-b292-310fdfa1316e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="I. Ball"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 4670a107..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 46a0a7ca..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 329dd18c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e8ef58d9-c033-4e9d-b9d0-4640df047ffd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="3b930a1a-2857-4cf7-b64f-7dc34598c851"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.001.39"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/0a6fb6ec-4b2f-420a-ac35-018f3a11f699"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c251dab5-bb8a-4ba8-9a54-5bde3ad8ba8c"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0a6fb6ec-4b2f-420a-ac35-018f3a11f699"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09494280"/> - </coding> - <text value="Venlafaxin Heumann 75 mg Tabletten, 100 St."/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c251dab5-bb8a-4ba8-9a54-5bde3ad8ba8c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Theresa Green"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/input.xml new file mode 100644 index 00000000..4da1859c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="dceee4a2-12fa-44a4-8f97-60fc6a4d668e"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="40f0ab8c-1be7-423e-93e3-eda600706ca6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09494280"/> + </coding> + <text value="Venlafaxin Heumann 75 mg Tabletten, 100 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#40f0ab8c-1be7-423e-93e3-eda600706ca6"/> + <display value="Venlafaxin Heumann 75 mg Tabletten, 100 St."/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ 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/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.json new file mode 100644 index 00000000..e8dfa323 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "1259867d-a1f1-4159-b8a8-8b7a6e61e926", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9d0c38a5-130a-40b6-a3a4-49f5c5e89443", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dceee4a2-12fa-44a4-8f97-60fc6a4d668e_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/05eeb033-ef4c-4fea-a728-54e8653923a2" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/38c73eb8-3fd1-4c25-a425-baddc7fd5eb3" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "05eeb033-ef4c-4fea-a728-54e8653923a2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "38c73eb8-3fd1-4c25-a425-baddc7fd5eb3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.xml new file mode 100644 index 00000000..ff2727b0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1259867d-a1f1-4159-b8a8-8b7a6e61e926"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9d0c38a5-130a-40b6-a3a4-49f5c5e89443"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dceee4a2-12fa-44a4-8f97-60fc6a4d668e_160.100.000.000.001.39"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/05eeb033-ef4c-4fea-a728-54e8653923a2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/38c73eb8-3fd1-4c25-a425-baddc7fd5eb3"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="05eeb033-ef4c-4fea-a728-54e8653923a2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09494280"/> + </coding> + <text value="Venlafaxin Heumann 75 mg Tabletten, 100 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="38c73eb8-3fd1-4c25-a425-baddc7fd5eb3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hayden Seek"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 12582939..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index cd047293..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index ab8459bf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="010703d3-f438-4dca-8499-2392514be15c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ca096820-d3c3-4824-9e47-77a2329f3809"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.006.24"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/cf49c46a-522b-4a6e-a806-93c78005478b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/4dc6123e-48b9-4ca7-a2e0-1b8b7abe466b"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="cf49c46a-522b-4a6e-a806-93c78005478b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00814665"/> - </coding> - <text value="Januvia® 50 mg 28 Filmtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="28"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4dc6123e-48b9-4ca7-a2e0-1b8b7abe466b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Harry R. M. Pitts"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_c0e79dec/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.json new file mode 100644 index 00000000..bb627780 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "68964343-f730-4831-b18a-625cc8855383", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "786209ca-ecb2-42a3-a812-c9d5d639bb35", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c0e79dec-eeea-4777-9591-7d62ec49cadc_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/1e2d128f-3930-4fb0-8c31-cb7df9a5b9b4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/b9f543c9-8d14-42b7-9549-67646e65ed37" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "1e2d128f-3930-4fb0-8c31-cb7df9a5b9b4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "b9f543c9-8d14-42b7-9549-67646e65ed37", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Knot" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.xml new file mode 100644 index 00000000..71054a2d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="68964343-f730-4831-b18a-625cc8855383"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="786209ca-ecb2-42a3-a812-c9d5d639bb35"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c0e79dec-eeea-4777-9591-7d62ec49cadc_160.100.000.000.006.24"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1e2d128f-3930-4fb0-8c31-cb7df9a5b9b4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/b9f543c9-8d14-42b7-9549-67646e65ed37"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1e2d128f-3930-4fb0-8c31-cb7df9a5b9b4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="28"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b9f543c9-8d14-42b7-9549-67646e65ed37"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Shirley Knot"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index db72c16a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index f0bc0bb2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 45c3b4ff..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1c8e47c9-2fc3-4885-92b0-ed94706a711a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="426c9227-f02d-4cc2-b967-bbd752d8fe41"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.006.24"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/35b3bff8-cc86-4188-b59f-32d9efbc28d2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c250899b-98fb-4849-aa04-0d599fba33cd"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="35b3bff8-cc86-4188-b59f-32d9efbc28d2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00814665"/> - </coding> - <text value="Januvia® 50 mg 28 Filmtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="28"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c250899b-98fb-4849-aa04-0d599fba33cd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Shirley U. Jest"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_c0e79dec/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.json new file mode 100644 index 00000000..69179a81 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "686e86b7-5270-425b-b691-996c57eb937d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "68ffbd67-b35a-43eb-9d0e-c872bac2ca62", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c0e79dec-eeea-4777-9591-7d62ec49cadc_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/ca7a6ef4-6942-452c-8e5a-ef807d6e6aac" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/1de17f39-c00c-4a60-8d0f-f1726883d08a" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ca7a6ef4-6942-452c-8e5a-ef807d6e6aac", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "1de17f39-c00c-4a60-8d0f-f1726883d08a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Drew Blood" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.xml new file mode 100644 index 00000000..4632cf41 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="686e86b7-5270-425b-b691-996c57eb937d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="68ffbd67-b35a-43eb-9d0e-c872bac2ca62"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c0e79dec-eeea-4777-9591-7d62ec49cadc_160.100.000.000.006.24"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ca7a6ef4-6942-452c-8e5a-ef807d6e6aac"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/1de17f39-c00c-4a60-8d0f-f1726883d08a"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ca7a6ef4-6942-452c-8e5a-ef807d6e6aac"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="28"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1de17f39-c00c-4a60-8d0f-f1726883d08a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Drew Blood"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/input.xml new file mode 100644 index 00000000..d11ccdc4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c0e79dec-eeea-4777-9591-7d62ec49cadc"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="77010a0a-b0ce-4905-9a7a-a5efc41774b1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="28"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#77010a0a-b0ce-4905-9a7a-a5efc41774b1"/> + <display value="Januvia® 50 mg 28 Filmtabletten N1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ 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/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.json new file mode 100644 index 00000000..2485c1b7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "49e523e2-644b-469e-828a-45443538a17f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e3686650-8dce-4951-81ba-e00acdab5ebc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c0e79dec-eeea-4777-9591-7d62ec49cadc_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/51648d12-9737-4813-a8cc-87c367d4a860" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/88945f5d-f08e-42e4-bc9f-0d0cdce92e9a" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "51648d12-9737-4813-a8cc-87c367d4a860", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "88945f5d-f08e-42e4-bc9f-0d0cdce92e9a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Kay Neine" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.xml new file mode 100644 index 00000000..a78194bd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="49e523e2-644b-469e-828a-45443538a17f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e3686650-8dce-4951-81ba-e00acdab5ebc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c0e79dec-eeea-4777-9591-7d62ec49cadc_160.100.000.000.006.24"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/51648d12-9737-4813-a8cc-87c367d4a860"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/88945f5d-f08e-42e4-bc9f-0d0cdce92e9a"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="51648d12-9737-4813-a8cc-87c367d4a860"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="28"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="88945f5d-f08e-42e4-bc9f-0d0cdce92e9a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kay Neine"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index dd76c5f6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index f5296e65..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 59c260c0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="23d1bb9f-11ad-4f2d-9d72-fcd6d7418c49"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="22308cae-24b1-4e3b-952e-94de203299e5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.002.36"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/9df83391-9e3d-4fcd-8229-e625c8b8373e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="M310119802"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/a8515f0d-698b-4cd1-8a0b-7338f0c1501b"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="2mal tägl. 5ml"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9df83391-9e3d-4fcd-8229-e625c8b8373e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08585997"/> - </coding> - <text value="Prospan® Hustensaft 100ml N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FLE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a8515f0d-698b-4cd1-8a0b-7338f0c1501b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Mort Tallity"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_b78b76bd/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.json new file mode 100644 index 00000000..9fca2012 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "0bf036e1-e0a4-449c-8474-c4a9ecf68052", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1348ca28-eade-47c9-a1e3-a2561ee85132", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b78b76bd-3645-4ce0-b907-bd02504c26cd_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/1dced148-53fb-4c2a-9f74-f1cf192018d7" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "M310119802" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e16fec50-a71f-4531-be91-715c30b2a844" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "2mal tägl. 5ml" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "1dced148-53fb-4c2a-9f74-f1cf192018d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "e16fec50-a71f-4531-be91-715c30b2a844", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.xml new file mode 100644 index 00000000..23a16de7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0bf036e1-e0a4-449c-8474-c4a9ecf68052"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1348ca28-eade-47c9-a1e3-a2561ee85132"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b78b76bd-3645-4ce0-b907-bd02504c26cd_160.100.000.000.002.36"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1dced148-53fb-4c2a-9f74-f1cf192018d7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119802"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e16fec50-a71f-4531-be91-715c30b2a844"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1dced148-53fb-4c2a-9f74-f1cf192018d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e16fec50-a71f-4531-be91-715c30b2a844"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Pearl E. Whites"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index e4e122a6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 1ce3076a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 314d8516..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="53bf9d9a-9240-4c7f-b9a6-6136f4041c8c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="4e0ff789-fd33-4913-bfe7-df8bca9f9e73"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.002.36"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/0331f3c7-ceb7-498d-af81-59cba8818669"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="M310119802"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/95d7fc24-0569-498b-a633-a89659381f6e"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="2mal tägl. 5ml"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0331f3c7-ceb7-498d-af81-59cba8818669"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08585997"/> - </coding> - <text value="Prospan® Hustensaft 100ml N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FLE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="95d7fc24-0569-498b-a633-a89659381f6e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="I. P. Freely"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_b78b76bd/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.json new file mode 100644 index 00000000..982faec2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "6fb1984c-7bda-4008-bede-9e041b1897e1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e8f63d2c-b3b8-4c68-8851-1df5beba6316", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b78b76bd-3645-4ce0-b907-bd02504c26cd_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/26a9017a-4323-4e30-b36d-74b1b532cfec" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "M310119802" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/fce7954a-8ab4-4d5e-a111-6bb8204e9dbc" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "2mal tägl. 5ml" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "26a9017a-4323-4e30-b36d-74b1b532cfec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "fce7954a-8ab4-4d5e-a111-6bb8204e9dbc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ray Gunn" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.xml new file mode 100644 index 00000000..b5aea891 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6fb1984c-7bda-4008-bede-9e041b1897e1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e8f63d2c-b3b8-4c68-8851-1df5beba6316"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b78b76bd-3645-4ce0-b907-bd02504c26cd_160.100.000.000.002.36"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/26a9017a-4323-4e30-b36d-74b1b532cfec"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119802"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/fce7954a-8ab4-4d5e-a111-6bb8204e9dbc"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="26a9017a-4323-4e30-b36d-74b1b532cfec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fce7954a-8ab4-4d5e-a111-6bb8204e9dbc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ray Gunn"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/input.xml new file mode 100644 index 00000000..a9aa6928 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b78b76bd-3645-4ce0-b907-bd02504c26cd"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c639211d-3a68-4f86-bf15-5e867b48973e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#c639211d-3a68-4f86-bf15-5e867b48973e"/> + <display value="Prospan® Hustensaft 100ml N1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119802"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.json new file mode 100644 index 00000000..a66b63b3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "8ff8360a-9d2e-43b2-b77c-31b0ae90b5bd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ec782cf6-807d-4814-af70-236dc249cc28", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b78b76bd-3645-4ce0-b907-bd02504c26cd_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/bc97fd3b-2f70-4d9c-8ccb-594ad6674553" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "M310119802" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/7e84cc6c-e9c7-4e09-82f9-c2b774eb95c8" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "2mal tägl. 5ml" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bc97fd3b-2f70-4d9c-8ccb-594ad6674553", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "7e84cc6c-e9c7-4e09-82f9-c2b774eb95c8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Melba Crisp" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.xml new file mode 100644 index 00000000..6fa47ab9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8ff8360a-9d2e-43b2-b77c-31b0ae90b5bd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ec782cf6-807d-4814-af70-236dc249cc28"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b78b76bd-3645-4ce0-b907-bd02504c26cd_160.100.000.000.002.36"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bc97fd3b-2f70-4d9c-8ccb-594ad6674553"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119802"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/7e84cc6c-e9c7-4e09-82f9-c2b774eb95c8"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bc97fd3b-2f70-4d9c-8ccb-594ad6674553"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7e84cc6c-e9c7-4e09-82f9-c2b774eb95c8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Melba Crisp"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 8dc1f34e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 7802822f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 44da0cec..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2d57a72a-fab7-433e-a9a8-65cbe97432ce"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="6d312a53-e402-4eb3-943e-d29c27e66cff"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.014.97"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/aaa93c60-4721-4618-ba5a-ef4310376e27"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/e60a108a-3c5a-4a16-8e03-71b1ca6904cd"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="aaa93c60-4721-4618-ba5a-ef4310376e27"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06977931"/> - </coding> - <text value="ACICLOVIR 800 Heumann Tabletten (35 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="35"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e60a108a-3c5a-4a16-8e03-71b1ca6904cd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Holly Wood"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_61cbdbb3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.json new file mode 100644 index 00000000..961bd53a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "541ac03c-7363-42f4-9432-45760f09c6e8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "d6b4fa17-0136-4b26-bc4f-e2abf2ebae2e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "61cbdbb3-c397-4e6d-909f-7b0dc520177c_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/f2f61d00-23cc-4b87-9de4-ac0028e6961c" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/56df69f1-6e28-4d59-8993-402b9cd7d690" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f2f61d00-23cc-4b87-9de4-ac0028e6961c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "56df69f1-6e28-4d59-8993-402b9cd7d690", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.xml new file mode 100644 index 00000000..1244bc27 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="541ac03c-7363-42f4-9432-45760f09c6e8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="d6b4fa17-0136-4b26-bc4f-e2abf2ebae2e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="61cbdbb3-c397-4e6d-909f-7b0dc520177c_160.100.000.000.014.97"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f2f61d00-23cc-4b87-9de4-ac0028e6961c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/56df69f1-6e28-4d59-8993-402b9cd7d690"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f2f61d00-23cc-4b87-9de4-ac0028e6961c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06977931"/> + </coding> + <text value="ACICLOVIR 800 Heumann Tabletten (35 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="35"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="56df69f1-6e28-4d59-8993-402b9cd7d690"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Haywood Jashootmee"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 195bbc24..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index d93d1af0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index dba96b02..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="45961b32-babc-498e-8224-9482d38093ea"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="8281b740-fe80-410a-b053-3377286fda5f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.014.97"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/2b923de0-a85c-4d2a-8c3d-fd926a0d693a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/39fd84ae-4fef-4490-a6f3-8d166e928736"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2b923de0-a85c-4d2a-8c3d-fd926a0d693a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06977931"/> - </coding> - <text value="ACICLOVIR 800 Heumann Tabletten (35 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="35"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="39fd84ae-4fef-4490-a6f3-8d166e928736"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Douglas Furr"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_61cbdbb3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.json new file mode 100644 index 00000000..45b5175f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "17132f40-2510-4592-afd1-45671ecf01c6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "525a6f8b-b709-45e4-bad9-230baadb9f5f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "61cbdbb3-c397-4e6d-909f-7b0dc520177c_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/e95361c0-f3f6-4c4c-bc81-874f9ac718f1" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/aed134f5-e119-4cce-94f8-6b3a6e805f9d" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e95361c0-f3f6-4c4c-bc81-874f9ac718f1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "aed134f5-e119-4cce-94f8-6b3a6e805f9d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Jo King" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.xml new file mode 100644 index 00000000..16acaf11 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="17132f40-2510-4592-afd1-45671ecf01c6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="525a6f8b-b709-45e4-bad9-230baadb9f5f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="61cbdbb3-c397-4e6d-909f-7b0dc520177c_160.100.000.000.014.97"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e95361c0-f3f6-4c4c-bc81-874f9ac718f1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/aed134f5-e119-4cce-94f8-6b3a6e805f9d"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e95361c0-f3f6-4c4c-bc81-874f9ac718f1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06977931"/> + </coding> + <text value="ACICLOVIR 800 Heumann Tabletten (35 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="35"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="aed134f5-e119-4cce-94f8-6b3a6e805f9d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jo King"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/input.xml new file mode 100644 index 00000000..8360506a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="61cbdbb3-c397-4e6d-909f-7b0dc520177c"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7167febd-5c16-4d20-981a-ba5268dbbd0d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06977931"/> + </coding> + <text value="ACICLOVIR 800 Heumann Tabletten (35 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="35"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#7167febd-5c16-4d20-981a-ba5268dbbd0d"/> + <display value="ACICLOVIR 800 Heumann Tabletten (35 St)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ 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/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.json new file mode 100644 index 00000000..eaaa8c40 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "2f21cd01-8ed0-4da0-b639-b6fd51351aea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "12d652d7-9ce6-4450-ba5d-43b2c58cdea8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "61cbdbb3-c397-4e6d-909f-7b0dc520177c_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/eb624e34-761e-431f-80a5-cf18e07d92ac" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d6f97b0f-65a1-4fa5-b278-15a5d4273920" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "eb624e34-761e-431f-80a5-cf18e07d92ac", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "d6f97b0f-65a1-4fa5-b278-15a5d4273920", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Penny Wise" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.xml new file mode 100644 index 00000000..d4dfbafd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2f21cd01-8ed0-4da0-b639-b6fd51351aea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="12d652d7-9ce6-4450-ba5d-43b2c58cdea8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="61cbdbb3-c397-4e6d-909f-7b0dc520177c_160.100.000.000.014.97"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/eb624e34-761e-431f-80a5-cf18e07d92ac"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d6f97b0f-65a1-4fa5-b278-15a5d4273920"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="eb624e34-761e-431f-80a5-cf18e07d92ac"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06977931"/> + </coding> + <text value="ACICLOVIR 800 Heumann Tabletten (35 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="35"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d6f97b0f-65a1-4fa5-b278-15a5d4273920"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Penny Wise"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index fcb0611a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index b4a7b5d2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 1ad3e74c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="96ee4a1e-1ca5-4bf2-9167-ce96cc31964e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="9def173b-318c-4504-bea8-e163cdf6ae08"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.011.09"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/b05dabcd-cba3-4b4a-8903-a229fce54747"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="P223331978"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8410775b-b8bf-4c38-b535-946d3b56029c"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b05dabcd-cba3-4b4a-8903-a229fce54747"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="04773414"/> - </coding> - <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8410775b-b8bf-4c38-b535-946d3b56029c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Tom Katt"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_f2a598ff/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.json new file mode 100644 index 00000000..a7424b9e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "bf35bb70-696e-4972-b133-02756145859f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9144d649-d02f-4ae2-ac89-341d560fa1c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f2a598ff-7847-4f23-95ac-3c4338e88055_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/78e812dd-de3f-4925-be9a-44b46382f216" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "P223331978" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/48989149-b727-4f3a-9c5f-141ae7889e8b" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "78e812dd-de3f-4925-be9a-44b46382f216", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "48989149-b727-4f3a-9c5f-141ae7889e8b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "June Bugg" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.xml new file mode 100644 index 00000000..df8c6f70 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bf35bb70-696e-4972-b133-02756145859f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9144d649-d02f-4ae2-ac89-341d560fa1c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f2a598ff-7847-4f23-95ac-3c4338e88055_160.100.000.000.011.09"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/78e812dd-de3f-4925-be9a-44b46382f216"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="P223331978"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/48989149-b727-4f3a-9c5f-141ae7889e8b"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="78e812dd-de3f-4925-be9a-44b46382f216"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="48989149-b727-4f3a-9c5f-141ae7889e8b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="June Bugg"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 5ccf5eb9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 657c3df7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 08a00514..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bf7af439-d8f1-44ad-846c-8e4de9838c66"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="500176e8-0bca-448c-91e1-fa4dc18a37be"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.011.09"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/bc1b7ea2-c598-422b-9f57-12d903e8bc58"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="P223331978"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/f81f85cb-4191-49e9-b963-54ddf44c623e"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bc1b7ea2-c598-422b-9f57-12d903e8bc58"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="04773414"/> - </coding> - <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f81f85cb-4191-49e9-b963-54ddf44c623e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Buddy Booth"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_f2a598ff/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.json new file mode 100644 index 00000000..da0de3cb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "aeebfcf2-4a93-4540-9771-f5b27f50139e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a5de06b6-489e-4791-8e41-fe4dc54c2143", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f2a598ff-7847-4f23-95ac-3c4338e88055_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/4eba4a5e-56b3-4fcd-b62a-58d03d9ca2b6" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "P223331978" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a4278695-4247-4656-b9a5-8a40e96016cd" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "4eba4a5e-56b3-4fcd-b62a-58d03d9ca2b6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "a4278695-4247-4656-b9a5-8a40e96016cd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Raney Schauer" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.xml new file mode 100644 index 00000000..7bbe3aa4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="aeebfcf2-4a93-4540-9771-f5b27f50139e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a5de06b6-489e-4791-8e41-fe4dc54c2143"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f2a598ff-7847-4f23-95ac-3c4338e88055_160.100.000.000.011.09"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/4eba4a5e-56b3-4fcd-b62a-58d03d9ca2b6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="P223331978"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a4278695-4247-4656-b9a5-8a40e96016cd"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4eba4a5e-56b3-4fcd-b62a-58d03d9ca2b6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a4278695-4247-4656-b9a5-8a40e96016cd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Raney Schauer"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/input.xml new file mode 100644 index 00000000..0a91b55e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f2a598ff-7847-4f23-95ac-3c4338e88055"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c6d021de-9939-4631-a79b-fb0093ce1361"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#c6d021de-9939-4631-a79b-fb0093ce1361"/> + <display value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="P223331978"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.json new file mode 100644 index 00000000..83af49e8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "b84967f4-9993-43f6-b9e9-4b8498c3dbb9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0539422c-dc75-4789-a6e4-87610e78b811", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f2a598ff-7847-4f23-95ac-3c4338e88055_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/dd1b3f59-5f08-4695-8985-41c9889125cd" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "P223331978" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/4207be4a-443a-46e0-a585-5b1a51d69dd0" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "dd1b3f59-5f08-4695-8985-41c9889125cd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "4207be4a-443a-46e0-a585-5b1a51d69dd0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Earl E. Byrd" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.xml new file mode 100644 index 00000000..205defdc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b84967f4-9993-43f6-b9e9-4b8498c3dbb9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0539422c-dc75-4789-a6e4-87610e78b811"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f2a598ff-7847-4f23-95ac-3c4338e88055_160.100.000.000.011.09"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/dd1b3f59-5f08-4695-8985-41c9889125cd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="P223331978"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/4207be4a-443a-46e0-a585-5b1a51d69dd0"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dd1b3f59-5f08-4695-8985-41c9889125cd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4207be4a-443a-46e0-a585-5b1a51d69dd0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Earl E. Byrd"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 72406fdc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index fb0cee2d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 13c84a07..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0c8edd57-405f-4073-b06f-6fd0274a4ecd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="642f7bf6-c875-4dca-b341-4f25535cb144"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.004.30"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/1bb60fc7-0836-4f11-87de-6b69d95c2c66"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/ff05ec20-5d4a-4717-b67c-38b26dcaddbb"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1bb60fc7-0836-4f11-87de-6b69d95c2c66"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01288434"/> - </coding> - <text value="Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="IHP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Diskus"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ff05ec20-5d4a-4717-b67c-38b26dcaddbb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ali Katt"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_e378bc5a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.json new file mode 100644 index 00000000..15437827 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "40e58fc0-2784-4009-ae0c-e4834175cc65", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2f9cf2e9-9797-4309-80d7-3612fe77af49", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "e378bc5a-552f-4151-a072-366d4a9f6cec_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/a8d83ff2-d858-44f5-80dc-aa78a9fe91c9" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0a8b381e-7908-4724-a789-48108f57ccc4" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a8d83ff2-d858-44f5-80dc-aa78a9fe91c9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0a8b381e-7908-4724-a789-48108f57ccc4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "U. O. Money" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.xml new file mode 100644 index 00000000..9e229a5e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="40e58fc0-2784-4009-ae0c-e4834175cc65"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2f9cf2e9-9797-4309-80d7-3612fe77af49"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="e378bc5a-552f-4151-a072-366d4a9f6cec_160.100.000.000.004.30"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a8d83ff2-d858-44f5-80dc-aa78a9fe91c9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0a8b381e-7908-4724-a789-48108f57ccc4"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a8d83ff2-d858-44f5-80dc-aa78a9fe91c9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01288434"/> + </coding> + <text value="Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0a8b381e-7908-4724-a789-48108f57ccc4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="U. O. Money"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index bd01f522..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index fdb515d1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 3e6e58d7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2e46d353-7ccf-4865-bc96-697f1842df3f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="e9f8a22e-ca4a-44c5-9cb5-ffbea1484071"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.004.30"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/06d34220-2ac0-4d92-998a-71597313b5e6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/0faea340-38c8-40e3-b54a-7a87b9e4d278"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="06d34220-2ac0-4d92-998a-71597313b5e6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01288434"/> - </coding> - <text value="Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="IHP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Diskus"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0faea340-38c8-40e3-b54a-7a87b9e4d278"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Sue Jeu"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_e378bc5a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.json new file mode 100644 index 00000000..e9d98b5c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "c5fd5673-cb97-42fe-b6b7-beb3c00235a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "6e7747f8-1c88-465f-adc3-a436cd50ad21", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "e378bc5a-552f-4151-a072-366d4a9f6cec_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/951b8ddc-f430-4b9b-9ed0-8b35ef2128fa" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5c2c1eb8-fd0f-483b-9dd9-558ce519bf49" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "951b8ddc-f430-4b9b-9ed0-8b35ef2128fa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "5c2c1eb8-fd0f-483b-9dd9-558ce519bf49", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Alex Blaine Layder" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.xml new file mode 100644 index 00000000..0eb5f933 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c5fd5673-cb97-42fe-b6b7-beb3c00235a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6e7747f8-1c88-465f-adc3-a436cd50ad21"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="e378bc5a-552f-4151-a072-366d4a9f6cec_160.100.000.000.004.30"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/951b8ddc-f430-4b9b-9ed0-8b35ef2128fa"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5c2c1eb8-fd0f-483b-9dd9-558ce519bf49"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="951b8ddc-f430-4b9b-9ed0-8b35ef2128fa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01288434"/> + </coding> + <text value="Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5c2c1eb8-fd0f-483b-9dd9-558ce519bf49"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Alex Blaine Layder"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/input.xml new file mode 100644 index 00000000..ee2afe3b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e378bc5a-552f-4151-a072-366d4a9f6cec"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="01417220-0b1b-4a4f-b29b-c127341a5059"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01288434"/> + </coding> + <text value="Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#01417220-0b1b-4a4f-b29b-c127341a5059"/> + <display value="Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ 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/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.json new file mode 100644 index 00000000..9c2bd793 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "0ed0752b-b58e-4de6-82f4-1c6f1e32032c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ddc83f14-9994-48c4-b952-874d57d25b34", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "e378bc5a-552f-4151-a072-366d4a9f6cec_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/4f3c4716-20dc-4db0-9685-567e1a7236c1" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0e1c7b54-68be-4fda-b2d4-7ae8bcb67dc3" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "4f3c4716-20dc-4db0-9685-567e1a7236c1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0e1c7b54-68be-4fda-b2d4-7ae8bcb67dc3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Willie Waite" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.xml new file mode 100644 index 00000000..78d6ff1f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0ed0752b-b58e-4de6-82f4-1c6f1e32032c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ddc83f14-9994-48c4-b952-874d57d25b34"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="e378bc5a-552f-4151-a072-366d4a9f6cec_160.100.000.000.004.30"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/4f3c4716-20dc-4db0-9685-567e1a7236c1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0e1c7b54-68be-4fda-b2d4-7ae8bcb67dc3"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4f3c4716-20dc-4db0-9685-567e1a7236c1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01288434"/> + </coding> + <text value="Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0e1c7b54-68be-4fda-b2d4-7ae8bcb67dc3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Willie Waite"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 6174ea5b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 77fde8c1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index fa88a6c9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="08300ec5-021d-489d-bcc6-55d4a00a3023"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5ad430cb-167d-459d-bef6-b6f063783c3d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.012.06"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/b1dfe99c-b0d7-40db-bb82-503edd24ce22"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/297f3f96-832b-40bd-bee8-2f71ca3898dc"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b1dfe99c-b0d7-40db-bb82-503edd24ce22"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00629028"/> - </coding> - <text value="Losartan Atid 100 mg Filmtabletten, 98 St."/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="98"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="297f3f96-832b-40bd-bee8-2f71ca3898dc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Woody U. No"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_c9455210/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.json new file mode 100644 index 00000000..69caa90e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "7c3e7b20-7f8f-4056-a16e-1a61a9c3e0a7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2fd546b1-3b23-4010-921c-aac630b7ebf5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c9455210-4f8b-48c7-8b4a-38b46dd52dff_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/16ba28ec-513a-46b7-945b-ab6885d9f6a6" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/abb384d6-5aff-43c1-8a0c-1a51aa4fbfea" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "16ba28ec-513a-46b7-945b-ab6885d9f6a6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "abb384d6-5aff-43c1-8a0c-1a51aa4fbfea", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Candace Spencer" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.xml new file mode 100644 index 00000000..3c3d36a6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7c3e7b20-7f8f-4056-a16e-1a61a9c3e0a7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2fd546b1-3b23-4010-921c-aac630b7ebf5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c9455210-4f8b-48c7-8b4a-38b46dd52dff_160.100.000.000.012.06"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/16ba28ec-513a-46b7-945b-ab6885d9f6a6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/abb384d6-5aff-43c1-8a0c-1a51aa4fbfea"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="16ba28ec-513a-46b7-945b-ab6885d9f6a6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00629028"/> + </coding> + <text value="Losartan Atid 100 mg Filmtabletten, 98 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="abb384d6-5aff-43c1-8a0c-1a51aa4fbfea"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Candace Spencer"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 109ef5e8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 277ec767..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 33e3afe5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c882728b-9c8f-4325-b317-ac44db7e492d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="784d8470-4d5f-4ea7-935b-95b32dd79a34"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.012.06"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/4db80efc-21f6-4c22-bf47-4fb7cbcf1f4e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/eee9e62d-5a9d-4a65-832b-531967b81764"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4db80efc-21f6-4c22-bf47-4fb7cbcf1f4e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00629028"/> - </coding> - <text value="Losartan Atid 100 mg Filmtabletten, 98 St."/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="98"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="eee9e62d-5a9d-4a65-832b-531967b81764"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Marsha Mellow"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_c9455210/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.json new file mode 100644 index 00000000..44e74669 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "4985c01c-5978-4e98-b99c-61b8f3fc3128", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5ee32748-66b5-4861-8d98-fba68692e9ec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c9455210-4f8b-48c7-8b4a-38b46dd52dff_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/098ddd7f-49d6-40c0-bfe5-5a85c60b380b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/897c6067-f0fd-43ba-a5d7-ddb9083fa67d" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "098ddd7f-49d6-40c0-bfe5-5a85c60b380b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "897c6067-f0fd-43ba-a5d7-ddb9083fa67d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Phil Graves" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.xml new file mode 100644 index 00000000..61a6cc70 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4985c01c-5978-4e98-b99c-61b8f3fc3128"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5ee32748-66b5-4861-8d98-fba68692e9ec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c9455210-4f8b-48c7-8b4a-38b46dd52dff_160.100.000.000.012.06"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/098ddd7f-49d6-40c0-bfe5-5a85c60b380b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/897c6067-f0fd-43ba-a5d7-ddb9083fa67d"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="098ddd7f-49d6-40c0-bfe5-5a85c60b380b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00629028"/> + </coding> + <text value="Losartan Atid 100 mg Filmtabletten, 98 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="897c6067-f0fd-43ba-a5d7-ddb9083fa67d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Phil Graves"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/input.xml new file mode 100644 index 00000000..6323303e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c9455210-4f8b-48c7-8b4a-38b46dd52dff"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8b28704d-cb7d-487b-ac10-837d84adad69"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00629028"/> + </coding> + <text value="Losartan Atid 100 mg Filmtabletten, 98 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="98"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#8b28704d-cb7d-487b-ac10-837d84adad69"/> + <display value="Losartan Atid 100 mg Filmtabletten, 98 St."/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ 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/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.json new file mode 100644 index 00000000..37f404bc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "79e3dcbf-a42d-40cf-bac8-08b157a8dedf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "6799f8db-4a7b-4cdc-ae39-c55dea67c6f0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c9455210-4f8b-48c7-8b4a-38b46dd52dff_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/41a2b939-efc4-4210-a59f-d251d4d76834" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a7f5c682-7c2d-475d-9110-0ca8f6004f52" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "41a2b939-efc4-4210-a59f-d251d4d76834", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "a7f5c682-7c2d-475d-9110-0ca8f6004f52", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 O'Moaney" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.xml new file mode 100644 index 00000000..4a52ba3d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="79e3dcbf-a42d-40cf-bac8-08b157a8dedf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6799f8db-4a7b-4cdc-ae39-c55dea67c6f0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c9455210-4f8b-48c7-8b4a-38b46dd52dff_160.100.000.000.012.06"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/41a2b939-efc4-4210-a59f-d251d4d76834"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a7f5c682-7c2d-475d-9110-0ca8f6004f52"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="41a2b939-efc4-4210-a59f-d251d4d76834"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00629028"/> + </coding> + <text value="Losartan Atid 100 mg Filmtabletten, 98 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a7f5c682-7c2d-475d-9110-0ca8f6004f52"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Al O'Moaney"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 2aebb344..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 2a2edaeb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index a49952ea..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1c30eb50-0a46-4942-a3f5-8ac4c88da4cf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="53af959a-85b3-4f6c-9749-57931a7cb3e2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.005.27"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/37ecd228-c98d-4172-8abd-0554911ba2eb"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/d71c08a1-87c9-4682-ba48-04cdce0bd385"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="bis zu 4mal täglich je 20-40 Tropfen"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="37ecd228-c98d-4172-8abd-0554911ba2eb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03507952"/> - </coding> - <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TEI"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d71c08a1-87c9-4682-ba48-04cdce0bd385"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Dusty Rhodes"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_37d8e326/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.json new file mode 100644 index 00000000..12766ad9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "e786ded9-5864-4a63-953c-8ce0f4d928e4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ca8fbde7-4863-4384-8146-ebee397b6da2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "37d8e326-e355-4732-be64-aca54cfdc71d_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/52294371-5a24-45e0-b28f-b618ceb42aef" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/10cc3ff4-8cce-4c3c-952e-e1dde10852ab" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "bis zu 4mal täglich je 20-40 Tropfen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "52294371-5a24-45e0-b28f-b618ceb42aef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "10cc3ff4-8cce-4c3c-952e-e1dde10852ab", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 N. Stein" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.xml new file mode 100644 index 00000000..241e0b32 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e786ded9-5864-4a63-953c-8ce0f4d928e4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ca8fbde7-4863-4384-8146-ebee397b6da2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="37d8e326-e355-4732-be64-aca54cfdc71d_160.100.000.000.005.27"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/52294371-5a24-45e0-b28f-b618ceb42aef"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/10cc3ff4-8cce-4c3c-952e-e1dde10852ab"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="52294371-5a24-45e0-b28f-b618ceb42aef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="10cc3ff4-8cce-4c3c-952e-e1dde10852ab"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Frank N. Stein"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_37d8e326/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.json new file mode 100644 index 00000000..40ba4965 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "2ef32949-d947-4fe3-afe9-72f8767b20a7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1110688f-dbdc-4417-9797-75744c2c9be5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "37d8e326-e355-4732-be64-aca54cfdc71d_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/3d95d38a-b85d-4270-8135-071f63883f36" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/691fa08a-d77f-4882-b1c1-be5aa8d972ee" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "bis zu 4mal täglich je 20-40 Tropfen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3d95d38a-b85d-4270-8135-071f63883f36", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "691fa08a-d77f-4882-b1c1-be5aa8d972ee", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Shorts" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.xml new file mode 100644 index 00000000..2adab96e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2ef32949-d947-4fe3-afe9-72f8767b20a7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1110688f-dbdc-4417-9797-75744c2c9be5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="37d8e326-e355-4732-be64-aca54cfdc71d_160.100.000.000.005.27"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3d95d38a-b85d-4270-8135-071f63883f36"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/691fa08a-d77f-4882-b1c1-be5aa8d972ee"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3d95d38a-b85d-4270-8135-071f63883f36"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="691fa08a-d77f-4882-b1c1-be5aa8d972ee"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jim Shorts"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index d354fb89..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 04c4d6b2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 1dc25865..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c1fb48a7-6708-48bd-afc8-d99ce25ad8d3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="c93767d3-651f-4a21-bf76-39027ced652a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.005.27"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f8690ac9-20f1-41b8-8d28-c49410da34c7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/51afd505-fa54-4ab0-92c4-4824dd9f10e0"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="bis zu 4mal täglich je 20-40 Tropfen"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f8690ac9-20f1-41b8-8d28-c49410da34c7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03507952"/> - </coding> - <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TEI"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="51afd505-fa54-4ab0-92c4-4824dd9f10e0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Tina See"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/input.xml new file mode 100644 index 00000000..30330522 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="37d8e326-e355-4732-be64-aca54cfdc71d"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f1620991-8025-49d4-8fe5-bf4afd43ba09"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#f1620991-8025-49d4-8fe5-bf4afd43ba09"/> + <display value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.json new file mode 100644 index 00000000..9b02c6de --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "5e1d02cf-347f-455e-a7fa-34ce19a0c0d1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e5302d4a-2ab3-4a2c-9b53-33e442e8677c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "37d8e326-e355-4732-be64-aca54cfdc71d_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/5ee8ab6a-ad2b-4dd3-9bed-44d2a16a25df" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c6fa9d26-8afb-4935-a48c-e8a9019c62d0" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "bis zu 4mal täglich je 20-40 Tropfen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5ee8ab6a-ad2b-4dd3-9bed-44d2a16a25df", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c6fa9d26-8afb-4935-a48c-e8a9019c62d0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Emile Eaton" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.xml new file mode 100644 index 00000000..2f6a3c92 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5e1d02cf-347f-455e-a7fa-34ce19a0c0d1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e5302d4a-2ab3-4a2c-9b53-33e442e8677c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="37d8e326-e355-4732-be64-aca54cfdc71d_160.100.000.000.005.27"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5ee8ab6a-ad2b-4dd3-9bed-44d2a16a25df"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c6fa9d26-8afb-4935-a48c-e8a9019c62d0"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5ee8ab6a-ad2b-4dd3-9bed-44d2a16a25df"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c6fa9d26-8afb-4935-a48c-e8a9019c62d0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Emile Eaton"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index b721f344..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 6dbf9a7d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 67eb5bb7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c63f83a3-fe22-4651-a0b4-d3defff2f88f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="0a9b8edb-5b4d-4e5d-9398-1c781bd5b979"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.21"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/51041836-c99d-4bef-b9ee-094655fbf62f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/e872fc1d-68ae-44c1-8923-061200312bae"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1x täglich"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="51041836-c99d-4bef-b9ee-094655fbf62f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08850519"/> - </coding> - <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SMT"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="70"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e872fc1d-68ae-44c1-8923-061200312bae"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Brandon Irons"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_c85a4b74/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.json new file mode 100644 index 00000000..21e03540 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "d2bf7071-e372-4289-a97e-40b5237923f0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "52dccec5-f74c-4b16-a96a-31064e1d7011", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c85a4b74-bd21-4249-8395-d4eb773610c9_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/2421696e-abce-40b7-9b4d-664b152c1942" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/90480c73-211f-4de4-aa56-31424250e07a" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1x täglich" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2421696e-abce-40b7-9b4d-664b152c1942", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "90480c73-211f-4de4-aa56-31424250e07a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Penny Lane" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.xml new file mode 100644 index 00000000..21364763 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d2bf7071-e372-4289-a97e-40b5237923f0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="52dccec5-f74c-4b16-a96a-31064e1d7011"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c85a4b74-bd21-4249-8395-d4eb773610c9_160.100.000.000.007.21"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2421696e-abce-40b7-9b4d-664b152c1942"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/90480c73-211f-4de4-aa56-31424250e07a"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2421696e-abce-40b7-9b4d-664b152c1942"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="90480c73-211f-4de4-aa56-31424250e07a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Penny Lane"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/input.xml new file mode 100644 index 00000000..22920c70 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c85a4b74-bd21-4249-8395-d4eb773610c9"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1ac4a722-e9dd-459f-9498-117c3fd5a194"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="70"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#1ac4a722-e9dd-459f-9498-117c3fd5a194"/> + <display value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.json new file mode 100644 index 00000000..fd360a90 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "217e5d1c-f7d3-4e21-a6b3-11a080614ae4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f900a225-0b35-4a64-9d71-e09ab6a81f2b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c85a4b74-bd21-4249-8395-d4eb773610c9_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/1fbaeb0f-e39e-4e85-b246-71435e363d16" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/9e15de6c-6d5f-4acf-a471-89478d9d8135" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1x täglich" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "1fbaeb0f-e39e-4e85-b246-71435e363d16", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "9e15de6c-6d5f-4acf-a471-89478d9d8135", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Rita Booke" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.xml new file mode 100644 index 00000000..c2c460f2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="217e5d1c-f7d3-4e21-a6b3-11a080614ae4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f900a225-0b35-4a64-9d71-e09ab6a81f2b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c85a4b74-bd21-4249-8395-d4eb773610c9_160.100.000.000.007.21"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1fbaeb0f-e39e-4e85-b246-71435e363d16"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/9e15de6c-6d5f-4acf-a471-89478d9d8135"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1fbaeb0f-e39e-4e85-b246-71435e363d16"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9e15de6c-6d5f-4acf-a471-89478d9d8135"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rita Booke"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index b52099e8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 5195be67..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index a856e4d1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="fada6955-ccd9-4cc2-a5f4-8c7de256fe20"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="00b5934c-898a-4cb9-81bc-73381f3f9e37"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.21"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/50abf086-8042-496f-a45c-fb5bc7dbfb56"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/7bdf2bec-fc80-4451-aa6f-9d7b48a9d33d"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1x täglich"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="50abf086-8042-496f-a45c-fb5bc7dbfb56"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08850519"/> - </coding> - <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SMT"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="70"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="7bdf2bec-fc80-4451-aa6f-9d7b48a9d33d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Justin Tune"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_c85a4b74/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.json new file mode 100644 index 00000000..10506848 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "b30bc97c-4467-4242-a488-cdea57cfea85", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "fc5aa08a-cd87-497b-b0c7-6728c88ea7b7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c85a4b74-bd21-4249-8395-d4eb773610c9_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/b5b6bd8b-7d72-4623-b2ad-2d2b98d7a9b1" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/71d02502-e186-4bc5-9190-42574c415758" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1x täglich" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b5b6bd8b-7d72-4623-b2ad-2d2b98d7a9b1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "71d02502-e186-4bc5-9190-42574c415758", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Doug Witherspoon" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.xml new file mode 100644 index 00000000..fa0c0c58 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b30bc97c-4467-4242-a488-cdea57cfea85"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="fc5aa08a-cd87-497b-b0c7-6728c88ea7b7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c85a4b74-bd21-4249-8395-d4eb773610c9_160.100.000.000.007.21"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b5b6bd8b-7d72-4623-b2ad-2d2b98d7a9b1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/71d02502-e186-4bc5-9190-42574c415758"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b5b6bd8b-7d72-4623-b2ad-2d2b98d7a9b1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="71d02502-e186-4bc5-9190-42574c415758"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Doug Witherspoon"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_a8df5484/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.json new file mode 100644 index 00000000..ccfb18e4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.json @@ -0,0 +1,108 @@ +{ + "resourceType": "Parameters", + "id": "a0323c44-8fbb-4a0c-9255-2e2815b6773f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9fc32e52-4666-476d-9bc3-396339899a96", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a8df5484-df7e-41fc-870d-2c4edb8a89ad_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/3251ef2c-2335-43fc-a448-5795b2b5ec48" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/01a1f7a6-6a7b-43ff-bbe6-43d4299c5c69" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3251ef2c-2335-43fc-a448-5795b2b5ec48", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "01a1f7a6-6a7b-43ff-bbe6-43d4299c5c69", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Olive Yew" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.xml new file mode 100644 index 00000000..a34563b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.xml @@ -0,0 +1,113 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a0323c44-8fbb-4a0c-9255-2e2815b6773f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9fc32e52-4666-476d-9bc3-396339899a96"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a8df5484-df7e-41fc-870d-2c4edb8a89ad_160.100.000.000.024.67"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3251ef2c-2335-43fc-a448-5795b2b5ec48"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/01a1f7a6-6a7b-43ff-bbe6-43d4299c5c69"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3251ef2c-2335-43fc-a448-5795b2b5ec48"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"/> + </code> + <form> + <text value="Lösung"/> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="01a1f7a6-6a7b-43ff-bbe6-43d4299c5c69"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Olive Yew"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 01f7d8c5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index f521246e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/output.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "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 deleted file mode 100644 index f204612f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/output.xml +++ /dev/null @@ -1,102 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d8994a8a-44e6-4d79-9e17-50e85d70e330"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="fe2ecd29-5e82-43c0-92d2-b19191a6c017"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.024.67"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/77d7f967-0aa7-4c4f-a46e-db5f9ce3d8de"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8d41fc3c-b0b0-4ca7-b0fb-4d4d647dcb0a"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="77d7f967-0aa7-4c4f-a46e-db5f9ce3d8de"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"/> - </code> - <form> - <text value="Lösung"/> - </form> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8d41fc3c-b0b0-4ca7-b0fb-4d4d647dcb0a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Colin Allcars"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/input.xml new file mode 100644 index 00000000..53d7d318 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/input.xml @@ -0,0 +1,60 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a8df5484-df7e-41fc-870d-2c4edb8a89ad"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="30724002-2ba6-464e-92d2-463bb1117aed"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="freitext"/> + </coding> + <text value="100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"/> + </code> + <form> + <text value="Lösung"/> + </form> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#30724002-2ba6-464e-92d2-463bb1117aed"/> + <display value="100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.json new file mode 100644 index 00000000..3afa4cab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.json @@ -0,0 +1,108 @@ +{ + "resourceType": "Parameters", + "id": "e7098191-3f0c-49fc-af9c-fc5d251c47d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f03b6bf5-f39a-45e9-8eb9-b9a0f8474dbb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a8df5484-df7e-41fc-870d-2c4edb8a89ad_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/38b347d7-96d2-41ef-a64e-dae8cd85a1c7" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/fb2b5e0e-4880-4e5f-be1e-a574c749b25a" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "38b347d7-96d2-41ef-a64e-dae8cd85a1c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "fb2b5e0e-4880-4e5f-be1e-a574c749b25a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Colette A. Day" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.xml new file mode 100644 index 00000000..730bede5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.xml @@ -0,0 +1,113 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e7098191-3f0c-49fc-af9c-fc5d251c47d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f03b6bf5-f39a-45e9-8eb9-b9a0f8474dbb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a8df5484-df7e-41fc-870d-2c4edb8a89ad_160.100.000.000.024.67"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/38b347d7-96d2-41ef-a64e-dae8cd85a1c7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/fb2b5e0e-4880-4e5f-be1e-a574c749b25a"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="38b347d7-96d2-41ef-a64e-dae8cd85a1c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"/> + </code> + <form> + <text value="Lösung"/> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fb2b5e0e-4880-4e5f-be1e-a574c749b25a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Colette A. Day"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index f6fc0750..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 9d711356..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/output.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "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 deleted file mode 100644 index 6eba7738..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/output.xml +++ /dev/null @@ -1,102 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f4875d9c-1780-4fb8-84d7-0d03ad73fa30"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="bb2c462a-e97a-4055-a699-3dfc90d9c70c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.024.67"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/3c6538b2-7026-449a-988b-4fd98af27a7f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/ab507345-375a-46d3-8cf5-68afe04141ff"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3c6538b2-7026-449a-988b-4fd98af27a7f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"/> - </code> - <form> - <text value="Lösung"/> - </form> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ab507345-375a-46d3-8cf5-68afe04141ff"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Jim Shu"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_a8df5484/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.json new file mode 100644 index 00000000..0bccc341 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.json @@ -0,0 +1,108 @@ +{ + "resourceType": "Parameters", + "id": "58fded1d-b851-4896-9930-326ebf535e61", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "eb8dde1b-8fcb-45a5-8b42-ec411639ea88", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a8df5484-df7e-41fc-870d-2c4edb8a89ad_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/415304ca-0de5-40e4-a9f6-bd0309e8fb94" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0749e2d0-0ce8-47a5-8217-54656b782b5f" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "415304ca-0de5-40e4-a9f6-bd0309e8fb94", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0749e2d0-0ce8-47a5-8217-54656b782b5f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Howe D. Pardner" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.xml new file mode 100644 index 00000000..20e36829 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.xml @@ -0,0 +1,113 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="58fded1d-b851-4896-9930-326ebf535e61"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="eb8dde1b-8fcb-45a5-8b42-ec411639ea88"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a8df5484-df7e-41fc-870d-2c4edb8a89ad_160.100.000.000.024.67"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/415304ca-0de5-40e4-a9f6-bd0309e8fb94"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0749e2d0-0ce8-47a5-8217-54656b782b5f"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="415304ca-0de5-40e4-a9f6-bd0309e8fb94"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"/> + </code> + <form> + <text value="Lösung"/> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0749e2d0-0ce8-47a5-8217-54656b782b5f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Howe D. Pardner"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_2e184592/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.json new file mode 100644 index 00000000..6e95c561 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.json @@ -0,0 +1,108 @@ +{ + "resourceType": "Parameters", + "id": "6cf014ec-3d60-4afc-9bad-db64bc404257", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "6701571f-f077-4373-928a-ef5701173dd0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "2e184592-a9ba-41ba-a336-4a96881e3f39_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/f8beeb68-91db-4865-b014-3cef1ad0ec15" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0980060c-8efc-4e2d-ba18-9e721cd96045" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "zur ärztlichen parenteralen Applikation gem. Therapieplan" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f8beeb68-91db-4865-b014-3cef1ad0ec15", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0980060c-8efc-4e2d-ba18-9e721cd96045", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Rusty Irons" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.xml new file mode 100644 index 00000000..a0c5cb7f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.xml @@ -0,0 +1,113 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6cf014ec-3d60-4afc-9bad-db64bc404257"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6701571f-f077-4373-928a-ef5701173dd0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="2e184592-a9ba-41ba-a336-4a96881e3f39_169.018.562.305.023.72"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f8beeb68-91db-4865-b014-3cef1ad0ec15"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0980060c-8efc-4e2d-ba18-9e721cd96045"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f8beeb68-91db-4865-b014-3cef1ad0ec15"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"/> + </code> + <form> + <text value="Infusionslösung"/> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0980060c-8efc-4e2d-ba18-9e721cd96045"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rusty Irons"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 3e76a819..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index f5b0bc1c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/output.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "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 deleted file mode 100644 index 3c18c800..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/output.xml +++ /dev/null @@ -1,102 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6e50847e-626f-43b3-894f-d1da1174494f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="af207645-b81f-43a1-a478-9b2635e792c3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.018.562.305.023.72"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/14434f67-140f-4cb5-97d8-b8a48525c403"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/3e22339f-23fd-4885-b1ad-99680cc53130"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="14434f67-140f-4cb5-97d8-b8a48525c403"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"/> - </code> - <form> - <text value="Infusionslösung"/> - </form> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3e22339f-23fd-4885-b1ad-99680cc53130"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Skip Dover"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/input.xml new file mode 100644 index 00000000..3f2a09c2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/input.xml @@ -0,0 +1,60 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2e184592-a9ba-41ba-a336-4a96881e3f39"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2fdfc0f1-10c1-4bd3-a587-f219657f5664"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="freitext"/> + </coding> + <text value="3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"/> + </code> + <form> + <text value="Infusionslösung"/> + </form> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#2fdfc0f1-10c1-4bd3-a587-f219657f5664"/> + <display value="3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> +</MedicationDispense> \ 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/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.json new file mode 100644 index 00000000..adf3f7f7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.json @@ -0,0 +1,108 @@ +{ + "resourceType": "Parameters", + "id": "9afa142e-2a67-4b02-b86e-13108aec386c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "366224f6-1488-4614-a428-fdacaae503eb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "2e184592-a9ba-41ba-a336-4a96881e3f39_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/3883039d-681a-4779-8f88-0da9046523f3" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/9645be73-20c1-48c1-9aa5-1026b15e44b0" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "zur ärztlichen parenteralen Applikation gem. Therapieplan" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3883039d-681a-4779-8f88-0da9046523f3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "9645be73-20c1-48c1-9aa5-1026b15e44b0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Gladys C. Hughes" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.xml new file mode 100644 index 00000000..b8bb2610 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.xml @@ -0,0 +1,113 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9afa142e-2a67-4b02-b86e-13108aec386c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="366224f6-1488-4614-a428-fdacaae503eb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="2e184592-a9ba-41ba-a336-4a96881e3f39_169.018.562.305.023.72"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3883039d-681a-4779-8f88-0da9046523f3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/9645be73-20c1-48c1-9aa5-1026b15e44b0"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3883039d-681a-4779-8f88-0da9046523f3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"/> + </code> + <form> + <text value="Infusionslösung"/> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9645be73-20c1-48c1-9aa5-1026b15e44b0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Gladys C. Hughes"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index dfba3796..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index c1afaffa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/output.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "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 deleted file mode 100644 index e1cf40db..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/output.xml +++ /dev/null @@ -1,102 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a3d47106-2946-4d41-bc33-c3af7b7046dd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="81af09de-87cf-4db5-857e-790349fec75b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.018.562.305.023.72"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/47874cee-5e95-4d19-ad37-1828249f65fd"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/fe5b77e1-b3f2-449a-bf69-80c020947caa"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="47874cee-5e95-4d19-ad37-1828249f65fd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"/> - </code> - <form> - <text value="Infusionslösung"/> - </form> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="fe5b77e1-b3f2-449a-bf69-80c020947caa"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Braxton Hicks"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_2e184592/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.json new file mode 100644 index 00000000..c66e486a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.json @@ -0,0 +1,108 @@ +{ + "resourceType": "Parameters", + "id": "75f9c9a9-b61f-428a-8619-612a137f95f7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "47a86ef9-8eaa-4504-9582-10a9be15077d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "2e184592-a9ba-41ba-a336-4a96881e3f39_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/6abac6ae-46b1-436e-8f9c-111d73fd7a1d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ec7f4020-0904-4746-9b72-9e6c9ee75898" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "zur ärztlichen parenteralen Applikation gem. Therapieplan" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "6abac6ae-46b1-436e-8f9c-111d73fd7a1d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "ec7f4020-0904-4746-9b72-9e6c9ee75898", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Herbie Voor" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.xml new file mode 100644 index 00000000..4700d542 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.xml @@ -0,0 +1,113 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="75f9c9a9-b61f-428a-8619-612a137f95f7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="47a86ef9-8eaa-4504-9582-10a9be15077d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="2e184592-a9ba-41ba-a336-4a96881e3f39_169.018.562.305.023.72"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/6abac6ae-46b1-436e-8f9c-111d73fd7a1d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ec7f4020-0904-4746-9b72-9e6c9ee75898"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6abac6ae-46b1-436e-8f9c-111d73fd7a1d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"/> + </code> + <form> + <text value="Infusionslösung"/> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ec7f4020-0904-4746-9b72-9e6c9ee75898"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Herbie Voor"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 37e51b28..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index f348e44d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index aa4886aa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9dd5e1aa-6fa5-43e7-8fe5-dd7d5cc2cbf4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="629f48e1-de56-4923-8f79-5524e954fc21"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/8bfef90e-5b25-43eb-aea9-f82a6fd9c866"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/f1a4352b-e67f-40f5-9600-160bfa00b9a5"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8bfef90e-5b25-43eb-aea9-f82a6fd9c866"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00408362"/> - </coding> - <text value="GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f1a4352b-e67f-40f5-9600-160bfa00b9a5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Oliver Sutton"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_b1a77067/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.json new file mode 100644 index 00000000..165847b1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "74d4c9ad-8481-40dc-937d-c9bdd503c993", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c2be8040-5899-4791-a811-73d5c4da72c0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b1a77067-7616-42fd-9495-f4fb1a0f6e4b_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/af383a57-43bf-4c19-a4b1-95a421e0c628" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3ac78714-28cb-4fa4-adef-320649c85f63" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "af383a57-43bf-4c19-a4b1-95a421e0c628", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "3ac78714-28cb-4fa4-adef-320649c85f63", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Tamara Knight" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.xml new file mode 100644 index 00000000..32a5f7b7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="74d4c9ad-8481-40dc-937d-c9bdd503c993"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c2be8040-5899-4791-a811-73d5c4da72c0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b1a77067-7616-42fd-9495-f4fb1a0f6e4b_160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/af383a57-43bf-4c19-a4b1-95a421e0c628"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3ac78714-28cb-4fa4-adef-320649c85f63"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="af383a57-43bf-4c19-a4b1-95a421e0c628"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00408362"/> + </coding> + <text value="GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3ac78714-28cb-4fa4-adef-320649c85f63"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Tamara Knight"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/input.xml new file mode 100644 index 00000000..f012ad54 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b1a77067-7616-42fd-9495-f4fb1a0f6e4b"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8ed997cb-7556-442c-83b0-60cfcaccec0d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00408362"/> + </coding> + <text value="GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#8ed997cb-7556-442c-83b0-60cfcaccec0d"/> + <display value="GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ 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/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.json new file mode 100644 index 00000000..207c6af9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "3e0a4df9-ea85-42a8-bed6-f7f90c848089", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2404d21c-960a-4b66-9bef-2b2501eaea45", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b1a77067-7616-42fd-9495-f4fb1a0f6e4b_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/c9a69cee-c67a-467f-9e48-7c1d6dfc6167" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f2b9979e-f92f-4bff-82c4-4cf05848b931" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "c9a69cee-c67a-467f-9e48-7c1d6dfc6167", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f2b9979e-f92f-4bff-82c4-4cf05848b931", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/WS_BK_V1_MedicationDispense_b1a77067/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.xml new file mode 100644 index 00000000..a36e74ca --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3e0a4df9-ea85-42a8-bed6-f7f90c848089"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2404d21c-960a-4b66-9bef-2b2501eaea45"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b1a77067-7616-42fd-9495-f4fb1a0f6e4b_160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/c9a69cee-c67a-467f-9e48-7c1d6dfc6167"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f2b9979e-f92f-4bff-82c4-4cf05848b931"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c9a69cee-c67a-467f-9e48-7c1d6dfc6167"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00408362"/> + </coding> + <text value="GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f2b9979e-f92f-4bff-82c4-4cf05848b931"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jed Dye"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 624c1e8e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index e6aac6f4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 2af8c80f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b9ca692c-0511-4a49-a6d1-d010b7904a2d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="034d0f92-5dd4-4583-9c5c-586911de5532"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f4fbbb03-023d-4a59-a187-831a22faea3b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/f8d3e002-e1e6-4fee-ba87-196029291b85"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f4fbbb03-023d-4a59-a187-831a22faea3b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00408362"/> - </coding> - <text value="GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f8d3e002-e1e6-4fee-ba87-196029291b85"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Liz Onnia"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_b1a77067/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.json new file mode 100644 index 00000000..e82f4e48 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "44740e72-3224-4292-b7fd-c72b9fd0fe12", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b79dd1ba-b4bb-45ff-b165-f126b90f4f96", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b1a77067-7616-42fd-9495-f4fb1a0f6e4b_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/cecbfea2-edb2-494b-a940-dcfe490ebcc2" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/cac34786-21a9-467a-bc89-e621c1860d5b" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "cecbfea2-edb2-494b-a940-dcfe490ebcc2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "cac34786-21a9-467a-bc89-e621c1860d5b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Les Plack" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.xml new file mode 100644 index 00000000..25485446 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="44740e72-3224-4292-b7fd-c72b9fd0fe12"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b79dd1ba-b4bb-45ff-b165-f126b90f4f96"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b1a77067-7616-42fd-9495-f4fb1a0f6e4b_160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/cecbfea2-edb2-494b-a940-dcfe490ebcc2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/cac34786-21a9-467a-bc89-e621c1860d5b"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cecbfea2-edb2-494b-a940-dcfe490ebcc2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00408362"/> + </coding> + <text value="GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cac34786-21a9-467a-bc89-e621c1860d5b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Les Plack"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 62a4b777..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index b42766ff..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index f7d8ede2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="48c15070-da9d-45a2-8bd1-4c2b3f2b789b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5172fea2-2ffa-4ab1-bf67-682fa9661c65"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/9921fca1-fd34-4244-b7f2-b6d4c672442b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/a850bffe-f924-4982-b098-c629dd8a4433"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9921fca1-fd34-4244-b7f2-b6d4c672442b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00407552"/> - </coding> - <text value="GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a850bffe-f924-4982-b098-c629dd8a4433"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Sasha Klotz"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_dec2d0aa/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.json new file mode 100644 index 00000000..030985dd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "471ac077-d9bf-4a14-9d36-dcc98c51f329", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "44b5d5bc-07e1-4040-9a70-830afdd61066", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dec2d0aa-cdb7-460a-96dd-22f1253ac578_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/22948bee-cd8a-4d50-882f-f8e080b81eb2" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/b69d9b67-d17e-4e49-8347-c8a4cb014f83" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "22948bee-cd8a-4d50-882f-f8e080b81eb2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "b69d9b67-d17e-4e49-8347-c8a4cb014f83", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Mel Practiss" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.xml new file mode 100644 index 00000000..fc7054d4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="471ac077-d9bf-4a14-9d36-dcc98c51f329"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="44b5d5bc-07e1-4040-9a70-830afdd61066"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dec2d0aa-cdb7-460a-96dd-22f1253ac578_160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/22948bee-cd8a-4d50-882f-f8e080b81eb2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/b69d9b67-d17e-4e49-8347-c8a4cb014f83"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="22948bee-cd8a-4d50-882f-f8e080b81eb2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00407552"/> + </coding> + <text value="GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b69d9b67-d17e-4e49-8347-c8a4cb014f83"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Mel Practiss"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 752c9f9b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 6bbfc597..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 9f675ad6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c90cd97e-a629-4f1c-b8bf-d0fdf96db617"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1ec00ceb-7989-4b7a-ad5d-14f1af2dafa2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/85bd9b2b-1ab4-4891-81d1-53fcdebc6a1d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/38e04b7a-7319-4208-a6dc-4cbc43bd972c"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="85bd9b2b-1ab4-4891-81d1-53fcdebc6a1d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00407552"/> - </coding> - <text value="GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="38e04b7a-7319-4208-a6dc-4cbc43bd972c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Sue Jeu"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_dec2d0aa/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.json new file mode 100644 index 00000000..9dafd052 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "40c7ddcd-8b7a-4396-bb09-c1190aee888b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c4a3b32c-9c72-41a3-9399-a3570298a753", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dec2d0aa-cdb7-460a-96dd-22f1253ac578_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/afbad284-1ee5-49db-b78d-2e4d7e6d625a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c5d632d9-cf48-4332-97d8-bd5672b65768" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "afbad284-1ee5-49db-b78d-2e4d7e6d625a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c5d632d9-cf48-4332-97d8-bd5672b65768", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Rosie Peach" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.xml new file mode 100644 index 00000000..fda6579c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="40c7ddcd-8b7a-4396-bb09-c1190aee888b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c4a3b32c-9c72-41a3-9399-a3570298a753"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dec2d0aa-cdb7-460a-96dd-22f1253ac578_160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/afbad284-1ee5-49db-b78d-2e4d7e6d625a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c5d632d9-cf48-4332-97d8-bd5672b65768"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="afbad284-1ee5-49db-b78d-2e4d7e6d625a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00407552"/> + </coding> + <text value="GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c5d632d9-cf48-4332-97d8-bd5672b65768"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rosie Peach"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/input.xml new file mode 100644 index 00000000..099d7ea4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="dec2d0aa-cdb7-460a-96dd-22f1253ac578"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="eed82d8e-3991-4d29-970f-a17447883277"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00407552"/> + </coding> + <text value="GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#eed82d8e-3991-4d29-970f-a17447883277"/> + <display value="GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ 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/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.json new file mode 100644 index 00000000..4a765a06 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "bce903c2-254c-4671-bc4b-7070ecc76d81", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4258f841-d5c0-4f6a-a910-31f28f60ac25", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dec2d0aa-cdb7-460a-96dd-22f1253ac578_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/2eef2bf8-ba06-4e07-b106-9321be2e00d7" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e2c069b5-af57-42a9-90f5-5f0b6140ffa2" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2eef2bf8-ba06-4e07-b106-9321be2e00d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "e2c069b5-af57-42a9-90f5-5f0b6140ffa2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Olive Hoyl" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.xml new file mode 100644 index 00000000..6a1a4268 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bce903c2-254c-4671-bc4b-7070ecc76d81"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4258f841-d5c0-4f6a-a910-31f28f60ac25"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dec2d0aa-cdb7-460a-96dd-22f1253ac578_160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2eef2bf8-ba06-4e07-b106-9321be2e00d7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e2c069b5-af57-42a9-90f5-5f0b6140ffa2"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2eef2bf8-ba06-4e07-b106-9321be2e00d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00407552"/> + </coding> + <text value="GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e2c069b5-af57-42a9-90f5-5f0b6140ffa2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Olive Hoyl"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 4da503fa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index cc158375..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 66005fa1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9ff7ec9a-3e31-477d-a6b4-23ccfa62f08c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="05d254ff-247d-4645-b8cf-7d36f7208530"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.022.73"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/e6744bb5-5ac5-4336-81ea-b8dc013a0fe0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/6691f23f-43de-43b4-8efa-c1788e8b6334"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e6744bb5-5ac5-4336-81ea-b8dc013a0fe0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00232236"/> - </coding> - <text value="SIMVA BASICS 20 mg Filmtabletten (100 Stk)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6691f23f-43de-43b4-8efa-c1788e8b6334"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Lee Nover"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_ac31e7a6/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.json new file mode 100644 index 00000000..30c3405b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "bfba6f97-ba59-4c1f-9241-ff52801f4245", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1e5f6cc2-45a6-4e44-9ba2-3a834de2402b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_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/7809a210-5802-4880-ab4c-bbae7bc879b5" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0eddafc9-f6f8-423a-a075-56d9194c54b5" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7809a210-5802-4880-ab4c-bbae7bc879b5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0eddafc9-f6f8-423a-a075-56d9194c54b5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Andy Structible" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.xml new file mode 100644 index 00000000..59db0157 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bfba6f97-ba59-4c1f-9241-ff52801f4245"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1e5f6cc2-45a6-4e44-9ba2-3a834de2402b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_160.100.000.000.022.73"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7809a210-5802-4880-ab4c-bbae7bc879b5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0eddafc9-f6f8-423a-a075-56d9194c54b5"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7809a210-5802-4880-ab4c-bbae7bc879b5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00232236"/> + </coding> + <text value="SIMVA BASICS 20 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0eddafc9-f6f8-423a-a075-56d9194c54b5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Andy Structible"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_ac31e7a6/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.json new file mode 100644 index 00000000..d5ff62e3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "edcf0a0b-a1f0-46e6-b777-09fdf8387a0b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a10feca9-6f6f-4f1e-b2d7-e51a292c12c8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_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/17889053-e1a9-41e3-9dd1-bd4ec1878515" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/270ed220-3dfb-4fe3-8ffb-977464505d87" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "17889053-e1a9-41e3-9dd1-bd4ec1878515", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "270ed220-3dfb-4fe3-8ffb-977464505d87", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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. Ron Stomach" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.xml new file mode 100644 index 00000000..de110e23 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="edcf0a0b-a1f0-46e6-b777-09fdf8387a0b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a10feca9-6f6f-4f1e-b2d7-e51a292c12c8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_160.100.000.000.022.73"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/17889053-e1a9-41e3-9dd1-bd4ec1878515"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/270ed220-3dfb-4fe3-8ffb-977464505d87"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="17889053-e1a9-41e3-9dd1-bd4ec1878515"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00232236"/> + </coding> + <text value="SIMVA BASICS 20 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="270ed220-3dfb-4fe3-8ffb-977464505d87"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="I. Ron Stomach"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index ecaa3ad2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 6db622ce..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 759052a7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d697d945-b98a-41ec-bb31-4e2bf418e6a0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1865dd7a-6422-4c0b-b05d-b15b629d2ffd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.022.73"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/aaeaaa57-dd24-4cca-b08a-68d9c72f9ce7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/80c13f30-2c32-494e-9980-0c2a61132a02"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="aaeaaa57-dd24-4cca-b08a-68d9c72f9ce7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00232236"/> - </coding> - <text value="SIMVA BASICS 20 mg Filmtabletten (100 Stk)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="80c13f30-2c32-494e-9980-0c2a61132a02"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Gene E. Yuss"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/input.xml new file mode 100644 index 00000000..5a79c4e7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ac31e7a6-400f-48e4-a836-b5f78d0fc4ac"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5ff6df43-f84c-43a5-9770-3579afb67da8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00232236"/> + </coding> + <text value="SIMVA BASICS 20 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5ff6df43-f84c-43a5-9770-3579afb67da8"/> + <display value="SIMVA BASICS 20 mg Filmtabletten (100 Stk)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.json new file mode 100644 index 00000000..6b4b9e6d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "8a30d7c1-4df6-4ed8-93d5-957a81193e28", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "907862d6-8a24-419a-b34e-7ec4ac5b761e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_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/18fcc430-bf03-4063-9524-0451c6727e63" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ba42bf25-00f7-43dd-b54a-c5a4560ec6dd" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "18fcc430-bf03-4063-9524-0451c6727e63", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "ba42bf25-00f7-43dd-b54a-c5a4560ec6dd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Harmon Ikka" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.xml new file mode 100644 index 00000000..33ab7ea8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8a30d7c1-4df6-4ed8-93d5-957a81193e28"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="907862d6-8a24-419a-b34e-7ec4ac5b761e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_160.100.000.000.022.73"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/18fcc430-bf03-4063-9524-0451c6727e63"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ba42bf25-00f7-43dd-b54a-c5a4560ec6dd"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="18fcc430-bf03-4063-9524-0451c6727e63"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00232236"/> + </coding> + <text value="SIMVA BASICS 20 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ba42bf25-00f7-43dd-b54a-c5a4560ec6dd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Harmon Ikka"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_361ee9e0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.json new file mode 100644 index 00000000..61501352 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "397c378f-373f-419a-95f2-511b0e9f15ff", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "36b80e43-c1e8-4712-92a7-9e09d64f32f1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "361ee9e0-3360-43c3-8d34-337197907620_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/da0d1186-9d30-48ae-b232-4fc8e5d2b526" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/96a8a507-ac95-48e3-99c7-05b71290e9b2" + } + } ], + "whenHandedOver": "2025-01-30" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "da0d1186-9d30-48ae-b232-4fc8e5d2b526", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "96a8a507-ac95-48e3-99c7-05b71290e9b2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Tallity" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.xml new file mode 100644 index 00000000..4c3f605d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="397c378f-373f-419a-95f2-511b0e9f15ff"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="36b80e43-c1e8-4712-92a7-9e09d64f32f1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="361ee9e0-3360-43c3-8d34-337197907620_160.100.000.000.027.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/da0d1186-9d30-48ae-b232-4fc8e5d2b526"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/96a8a507-ac95-48e3-99c7-05b71290e9b2"/> + </actor> + </performer> + <whenHandedOver value="2025-01-30"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="da0d1186-9d30-48ae-b232-4fc8e5d2b526"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02846592"/> + </coding> + <text value="SIMVAHEXAL 20 mg Filmtabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="96a8a507-ac95-48e3-99c7-05b71290e9b2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Faye Tallity"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index bbb6c8ac..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 184db4f9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 843b0e4d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="72e8c90f-4767-42dd-b8db-203a78c9c232"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="322e455d-9f95-4025-9e5f-3a5da847ea67"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.027.58"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/0a1fd337-7996-4dfc-8bda-71769d6e04a0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/d3d70e59-59f8-4890-b627-9444c6ba247b"/> - </actor> - </performer> - <whenHandedOver value="2025-01-30"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0a1fd337-7996-4dfc-8bda-71769d6e04a0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02846592"/> - </coding> - <text value="SIMVAHEXAL 20 mg Filmtabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d3d70e59-59f8-4890-b627-9444c6ba247b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Carrie A. Tune"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/input.xml new file mode 100644 index 00000000..5f03b8fe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="361ee9e0-3360-43c3-8d34-337197907620"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1efe56d3-d977-4a18-998a-985793678879"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02846592"/> + </coding> + <text value="SIMVAHEXAL 20 mg Filmtabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#1efe56d3-d977-4a18-998a-985793678879"/> + <display value="SIMVAHEXAL 20 mg Filmtabletten (100 St)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2025-01-30"/> +</MedicationDispense> \ 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/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.json new file mode 100644 index 00000000..c67c350f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "25e0b559-976e-46c2-9be3-a855a544b464", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b63a48da-5067-4af4-9664-9c1907e3786e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "361ee9e0-3360-43c3-8d34-337197907620_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/29759e46-ff85-4178-a269-43eb2b56f70d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a994109f-3968-4bde-a73c-f171fdbb4024" + } + } ], + "whenHandedOver": "2025-01-30" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "29759e46-ff85-4178-a269-43eb2b56f70d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "a994109f-3968-4bde-a73c-f171fdbb4024", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Achey" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.xml new file mode 100644 index 00000000..3b3de9ad --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="25e0b559-976e-46c2-9be3-a855a544b464"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b63a48da-5067-4af4-9664-9c1907e3786e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="361ee9e0-3360-43c3-8d34-337197907620_160.100.000.000.027.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/29759e46-ff85-4178-a269-43eb2b56f70d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a994109f-3968-4bde-a73c-f171fdbb4024"/> + </actor> + </performer> + <whenHandedOver value="2025-01-30"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="29759e46-ff85-4178-a269-43eb2b56f70d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02846592"/> + </coding> + <text value="SIMVAHEXAL 20 mg Filmtabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a994109f-3968-4bde-a73c-f171fdbb4024"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Terry Achey"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index ecd75ad2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index af11424e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/output.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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 deleted file mode 100644 index 365f829b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/output.xml +++ /dev/null @@ -1,124 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="80760961-fdfc-4c57-a682-8de925f6f40d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="42c74092-820c-4b42-88e2-718c47e6eedb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.027.58"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/3e656570-c914-4f3d-8e6f-2492338f3744"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/6a73c874-e3c7-4bfc-afac-8b55e31148ff"/> - </actor> - </performer> - <whenHandedOver value="2023-09-30"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3e656570-c914-4f3d-8e6f-2492338f3744"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02846592"/> - </coding> - <text value="SIMVAHEXAL 20 mg Filmtabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6a73c874-e3c7-4bfc-afac-8b55e31148ff"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Terry Bull"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_361ee9e0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.json new file mode 100644 index 00000000..d91812e0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "00451762-ac95-40b0-beda-dca8b49d9782", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "6dd7adfc-429c-436a-b98b-caa951032929", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "361ee9e0-3360-43c3-8d34-337197907620_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/a9139265-7fc8-498c-9f92-3984865fb0bf" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/46160426-0c09-40c9-9526-a279304855a7" + } + } ], + "whenHandedOver": "2023-09-30" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a9139265-7fc8-498c-9f92-3984865fb0bf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "46160426-0c09-40c9-9526-a279304855a7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Otto Graf" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.xml new file mode 100644 index 00000000..0f2622b5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="00451762-ac95-40b0-beda-dca8b49d9782"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6dd7adfc-429c-436a-b98b-caa951032929"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="361ee9e0-3360-43c3-8d34-337197907620_160.100.000.000.027.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a9139265-7fc8-498c-9f92-3984865fb0bf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/46160426-0c09-40c9-9526-a279304855a7"/> + </actor> + </performer> + <whenHandedOver value="2023-09-30"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a9139265-7fc8-498c-9f92-3984865fb0bf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02846592"/> + </coding> + <text value="SIMVAHEXAL 20 mg Filmtabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="46160426-0c09-40c9-9526-a279304855a7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Otto Graf"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 0c188073..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 8ca694fe..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index a22cf48a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="01dee893-07b0-4e39-9083-80c4aa91596f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5175ab86-2c3c-4c3e-b9af-d8ed57bca482"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.021.76"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/3804f5b2-2c7c-4b1f-93c7-ad8fdefe4eaf"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/9675d049-b16d-40ef-b673-71b13166ed30"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3804f5b2-2c7c-4b1f-93c7-ad8fdefe4eaf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12481766"/> - </coding> - <text value="Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="RET"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9675d049-b16d-40ef-b673-71b13166ed30"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Pearl E. Whites"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_f23d8d7f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.json new file mode 100644 index 00000000..dc447d63 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "c11881ce-5926-4770-aa36-b01b810bc42b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b4a3c29e-c149-4ecc-b42f-d57572d398b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f23d8d7f-5147-447f-b3d5-473a4d30268c_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/6e2ee9db-9370-4331-80d6-ff7d8593ab9d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/47e26c63-768e-40e3-96a2-70198ca7b79d" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "6e2ee9db-9370-4331-80d6-ff7d8593ab9d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "47e26c63-768e-40e3-96a2-70198ca7b79d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Herb E. Side" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.xml new file mode 100644 index 00000000..a231039f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c11881ce-5926-4770-aa36-b01b810bc42b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b4a3c29e-c149-4ecc-b42f-d57572d398b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f23d8d7f-5147-447f-b3d5-473a4d30268c_160.100.000.000.021.76"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/6e2ee9db-9370-4331-80d6-ff7d8593ab9d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/47e26c63-768e-40e3-96a2-70198ca7b79d"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6e2ee9db-9370-4331-80d6-ff7d8593ab9d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12481766"/> + </coding> + <text value="Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="47e26c63-768e-40e3-96a2-70198ca7b79d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Herb E. Side"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 6e8101b9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 74bf63ae..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index b116507f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="dc4c994a-7b55-44c9-861f-4a8881799f68"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="0745a568-29b2-4e4f-81f6-802739e6392b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.021.76"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/0db791de-b440-4092-bee7-06c910e9dcec"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/11d1c096-e219-42e5-9ca6-10d7fa01ac49"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0db791de-b440-4092-bee7-06c910e9dcec"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12481766"/> - </coding> - <text value="Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="RET"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="11d1c096-e219-42e5-9ca6-10d7fa01ac49"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ima Lytle Teapot"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_f23d8d7f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.json new file mode 100644 index 00000000..5b6249d5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "e671f096-352d-47c5-a853-8308f8f70d2c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "eec78009-c7e3-422a-a0e5-40960e687d29", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f23d8d7f-5147-447f-b3d5-473a4d30268c_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/8cddd17a-7ace-4465-b093-4f318892a761" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d6a72dd2-85bb-446f-8862-d3fc186afc3d" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "8cddd17a-7ace-4465-b093-4f318892a761", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "d6a72dd2-85bb-446f-8862-d3fc186afc3d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bruce Easley" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.xml new file mode 100644 index 00000000..75049c00 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e671f096-352d-47c5-a853-8308f8f70d2c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="eec78009-c7e3-422a-a0e5-40960e687d29"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f23d8d7f-5147-447f-b3d5-473a4d30268c_160.100.000.000.021.76"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/8cddd17a-7ace-4465-b093-4f318892a761"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d6a72dd2-85bb-446f-8862-d3fc186afc3d"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8cddd17a-7ace-4465-b093-4f318892a761"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12481766"/> + </coding> + <text value="Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d6a72dd2-85bb-446f-8862-d3fc186afc3d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bruce Easley"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/input.xml new file mode 100644 index 00000000..1989bf2b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f23d8d7f-5147-447f-b3d5-473a4d30268c"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="52660ef8-6e6e-4c8d-8096-ff78e084141c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12481766"/> + </coding> + <text value="Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="20"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#52660ef8-6e6e-4c8d-8096-ff78e084141c"/> + <display value="Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> +</MedicationDispense> \ 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/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.json new file mode 100644 index 00000000..dd258566 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "dd1de8a9-22f1-4720-bb88-10ae974a825e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b3f65fda-d094-4c0a-ae67-73350b459914", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f23d8d7f-5147-447f-b3d5-473a4d30268c_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/8ce36c2d-bcf9-436f-ad33-49e247417e0b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5ab7de9b-605c-4f64-b7f6-b61bcd3a0d12" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "8ce36c2d-bcf9-436f-ad33-49e247417e0b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "5ab7de9b-605c-4f64-b7f6-b61bcd3a0d12", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Hugo First" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.xml new file mode 100644 index 00000000..dcb18f07 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dd1de8a9-22f1-4720-bb88-10ae974a825e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b3f65fda-d094-4c0a-ae67-73350b459914"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f23d8d7f-5147-447f-b3d5-473a4d30268c_160.100.000.000.021.76"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/8ce36c2d-bcf9-436f-ad33-49e247417e0b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5ab7de9b-605c-4f64-b7f6-b61bcd3a0d12"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8ce36c2d-bcf9-436f-ad33-49e247417e0b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12481766"/> + </coding> + <text value="Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5ab7de9b-605c-4f64-b7f6-b61bcd3a0d12"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hugo First"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_5906fd7f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.json new file mode 100644 index 00000000..4f564b36 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "c7518ed8-1cde-45e9-b7c2-14dd2683f639", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "02b5babf-80bb-4411-b689-baab9a23bda8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5906fd7f-35b5-4420-963a-b562a99dcb81_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/8f2f3a3d-1913-4c23-9e63-6262255c9657" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/476083d5-a5c5-4dc0-8677-72b7c8d07483" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "8f2f3a3d-1913-4c23-9e63-6262255c9657", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "476083d5-a5c5-4dc0-8677-72b7c8d07483", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Adam Bomb" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.xml new file mode 100644 index 00000000..fe29436c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c7518ed8-1cde-45e9-b7c2-14dd2683f639"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="02b5babf-80bb-4411-b689-baab9a23bda8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5906fd7f-35b5-4420-963a-b562a99dcb81_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/8f2f3a3d-1913-4c23-9e63-6262255c9657"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/476083d5-a5c5-4dc0-8677-72b7c8d07483"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8f2f3a3d-1913-4c23-9e63-6262255c9657"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00766759"/> + </coding> + <text value="RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="476083d5-a5c5-4dc0-8677-72b7c8d07483"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Adam Bomb"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 3f222919..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index b9051431..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index ff2a9f80..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bead4326-91da-4e33-94e3-0c94c5d5c99c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="926e80a6-f406-454d-a530-77a595f9f085"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/3b466bb7-8fad-48d2-be20-2cd673e5b97c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/ed6d05e0-8980-4de8-8a1d-00dfa75fc94a"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3b466bb7-8fad-48d2-be20-2cd673e5b97c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00766759"/> - </coding> - <text value="RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ed6d05e0-8980-4de8-8a1d-00dfa75fc94a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ilene Left"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_5906fd7f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.json new file mode 100644 index 00000000..5354329a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "aaee1ea5-7191-4f15-acfa-c53575d6079a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "16112b83-b86e-408c-9a70-7de8d51aa93d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5906fd7f-35b5-4420-963a-b562a99dcb81_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/706f3b59-069c-43a9-b853-8cb1e435d77a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e1a11d8a-6086-41c0-884b-56b23b1cb28f" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "706f3b59-069c-43a9-b853-8cb1e435d77a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "e1a11d8a-6086-41c0-884b-56b23b1cb28f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Cattell" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.xml new file mode 100644 index 00000000..47d15421 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="aaee1ea5-7191-4f15-acfa-c53575d6079a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="16112b83-b86e-408c-9a70-7de8d51aa93d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5906fd7f-35b5-4420-963a-b562a99dcb81_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/706f3b59-069c-43a9-b853-8cb1e435d77a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e1a11d8a-6086-41c0-884b-56b23b1cb28f"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="706f3b59-069c-43a9-b853-8cb1e435d77a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00766759"/> + </coding> + <text value="RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e1a11d8a-6086-41c0-884b-56b23b1cb28f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Brandon Cattell"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 0c9f2d22..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index f2f07ed0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 635ddafb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f928bb5f-441f-4d1a-b634-1592db3f3cbb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="2f325141-750c-40c7-8110-66a5ef14b99f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/188f2da6-7310-4167-a86c-b5648e6dc23e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/20cb977a-028f-4bc5-a79d-6213ffcb6ad6"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="188f2da6-7310-4167-a86c-b5648e6dc23e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00766759"/> - </coding> - <text value="RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="20cb977a-028f-4bc5-a79d-6213ffcb6ad6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Sherman Wadd Evver"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/input.xml new file mode 100644 index 00000000..29c11410 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5906fd7f-35b5-4420-963a-b562a99dcb81"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="286d159b-4fb0-4af5-9ec6-30c937c92a0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00766759"/> + </coding> + <text value="RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#286d159b-4fb0-4af5-9ec6-30c937c92a0c"/> + <display value="RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.json new file mode 100644 index 00000000..04852ed4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "5bed2d14-016b-4cd8-b971-3e5168c54b05", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9af89ae8-d382-4bd2-a56e-6fea43b89932", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5906fd7f-35b5-4420-963a-b562a99dcb81_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/95179cc8-de3a-471c-b9a8-294d5888482b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0715f94b-6172-411a-89d1-b53f1b17beb7" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "95179cc8-de3a-471c-b9a8-294d5888482b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0715f94b-6172-411a-89d1-b53f1b17beb7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ed Jewcation" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.xml new file mode 100644 index 00000000..8bcf276e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5bed2d14-016b-4cd8-b971-3e5168c54b05"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9af89ae8-d382-4bd2-a56e-6fea43b89932"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5906fd7f-35b5-4420-963a-b562a99dcb81_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/95179cc8-de3a-471c-b9a8-294d5888482b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0715f94b-6172-411a-89d1-b53f1b17beb7"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="95179cc8-de3a-471c-b9a8-294d5888482b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00766759"/> + </coding> + <text value="RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0715f94b-6172-411a-89d1-b53f1b17beb7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ed Jewcation"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 07fb5922..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 3e97e0c0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 8bb4d4ac..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5008abb4-c336-43ee-a1cb-3a1a4dc0be5b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="cbb5172d-4726-449b-9ef2-25dd70ad6935"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/d3d14c17-7530-4724-8a04-089ae2fa5ff4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/38b69981-cbc6-40ff-a30d-b0be80f21079"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="d3d14c17-7530-4724-8a04-089ae2fa5ff4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01755640"/> - </coding> - <text value="RAMIPRIL AbZ 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="38b69981-cbc6-40ff-a30d-b0be80f21079"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Emma Royds"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_95db25e9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.json new file mode 100644 index 00000000..b09298cc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "1dbff6fe-d0c2-4354-9bbd-34d061bbd062", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "304e854b-0661-4c9e-b682-8fa75af593ba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "95db25e9-b37b-4241-9bcb-708f5f637565_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/ec2c9cfb-bd55-465b-b8cb-8129dfecd25e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/28b19e14-f7f8-4ea9-89e0-7ca3d09ade5b" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ec2c9cfb-bd55-465b-b8cb-8129dfecd25e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "28b19e14-f7f8-4ea9-89e0-7ca3d09ade5b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Hein Noon" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.xml new file mode 100644 index 00000000..5b671a95 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1dbff6fe-d0c2-4354-9bbd-34d061bbd062"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="304e854b-0661-4c9e-b682-8fa75af593ba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="95db25e9-b37b-4241-9bcb-708f5f637565_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ec2c9cfb-bd55-465b-b8cb-8129dfecd25e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/28b19e14-f7f8-4ea9-89e0-7ca3d09ade5b"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ec2c9cfb-bd55-465b-b8cb-8129dfecd25e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01755640"/> + </coding> + <text value="RAMIPRIL AbZ 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="28b19e14-f7f8-4ea9-89e0-7ca3d09ade5b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hein Noon"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/input.xml new file mode 100644 index 00000000..7ebd01b3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="95db25e9-b37b-4241-9bcb-708f5f637565"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8f5bed2b-ad22-4751-b2aa-0ad75ae358df"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01755640"/> + </coding> + <text value="RAMIPRIL AbZ 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#8f5bed2b-ad22-4751-b2aa-0ad75ae358df"/> + <display value="RAMIPRIL AbZ 5 mg Tabletten (100 St)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.json new file mode 100644 index 00000000..e6539d7a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "8c9d3bac-2dc7-4faf-b6de-d6fc1d3edb67", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "7f76b321-1ccf-4daf-a272-164b372d0099", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "95db25e9-b37b-4241-9bcb-708f5f637565_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/6cf30403-3f8d-4058-9373-75956f81527d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d9d1c159-6545-4a3c-a61c-4c1c7f3818e2" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "6cf30403-3f8d-4058-9373-75956f81527d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "d9d1c159-6545-4a3c-a61c-4c1c7f3818e2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 N. Beans" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.xml new file mode 100644 index 00000000..26663896 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8c9d3bac-2dc7-4faf-b6de-d6fc1d3edb67"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7f76b321-1ccf-4daf-a272-164b372d0099"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="95db25e9-b37b-4241-9bcb-708f5f637565_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/6cf30403-3f8d-4058-9373-75956f81527d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d9d1c159-6545-4a3c-a61c-4c1c7f3818e2"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6cf30403-3f8d-4058-9373-75956f81527d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01755640"/> + </coding> + <text value="RAMIPRIL AbZ 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d9d1c159-6545-4a3c-a61c-4c1c7f3818e2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Frank N. Beans"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index c7161dac..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index bc006f9f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index e76f5ecc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d6799e8c-e18d-4b96-9c49-81acfe52628b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="3e1e98cf-9ebe-41f1-ac8f-309b7d47c6bf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/643effa8-69f0-477a-a2dd-c6ced07b8687"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/7d5aa037-0611-4e8b-bf34-e0e3517db1eb"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="643effa8-69f0-477a-a2dd-c6ced07b8687"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01755640"/> - </coding> - <text value="RAMIPRIL AbZ 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="7d5aa037-0611-4e8b-bf34-e0e3517db1eb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ryan Carnation"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_95db25e9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.json new file mode 100644 index 00000000..c4856a82 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "1e2abd31-0ffb-4e32-bbba-107243e7f8c2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "bb859114-807e-4280-b24b-206389108ebd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "95db25e9-b37b-4241-9bcb-708f5f637565_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/853aaeac-1ffb-4fa3-91b2-751754c59bd7" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/823ae53c-a6ad-40aa-b62a-c23274f50275" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "853aaeac-1ffb-4fa3-91b2-751754c59bd7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "823ae53c-a6ad-40aa-b62a-c23274f50275", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.xml new file mode 100644 index 00000000..1853d279 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1e2abd31-0ffb-4e32-bbba-107243e7f8c2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="bb859114-807e-4280-b24b-206389108ebd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="95db25e9-b37b-4241-9bcb-708f5f637565_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/853aaeac-1ffb-4fa3-91b2-751754c59bd7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/823ae53c-a6ad-40aa-b62a-c23274f50275"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="853aaeac-1ffb-4fa3-91b2-751754c59bd7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01755640"/> + </coding> + <text value="RAMIPRIL AbZ 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="823ae53c-a6ad-40aa-b62a-c23274f50275"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Luna Tick"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 6b545d0e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index f1e161ed..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index ffcb5145..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2b8b7bec-eba8-4b86-82f9-8b31c277ec09"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="85950d6a-7de1-468f-b331-56399ed38f90"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/6a21f5e1-9c6e-4dd9-9357-8d1d45650ff2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/0aec6870-ed81-4cdc-8872-d98dd10ba816"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6a21f5e1-9c6e-4dd9-9357-8d1d45650ff2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00761360"/> - </coding> - <text value="RAMIPRIL beta 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0aec6870-ed81-4cdc-8872-d98dd10ba816"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Lois Price"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_c3437dfc/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.json new file mode 100644 index 00000000..c14ee3d0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "c17896ce-22bc-4c19-b823-05ad4577e91d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1a6c4c8c-4139-4b27-992d-89815ca0e54c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c3437dfc-a141-4bf1-9fb3-a4827b9781eb_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/ad133a88-956b-4319-9da6-53095086917d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e852cb07-1efb-442e-93d5-d35fb670018f" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ad133a88-956b-4319-9da6-53095086917d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "e852cb07-1efb-442e-93d5-d35fb670018f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Sam Pull" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.xml new file mode 100644 index 00000000..2343fc8a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c17896ce-22bc-4c19-b823-05ad4577e91d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1a6c4c8c-4139-4b27-992d-89815ca0e54c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c3437dfc-a141-4bf1-9fb3-a4827b9781eb_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ad133a88-956b-4319-9da6-53095086917d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e852cb07-1efb-442e-93d5-d35fb670018f"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ad133a88-956b-4319-9da6-53095086917d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00761360"/> + </coding> + <text value="RAMIPRIL beta 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e852cb07-1efb-442e-93d5-d35fb670018f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sam Pull"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 8a474a18..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index db17b6a4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index da198ac9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b3753083-6be9-41ac-b4cc-7c70c6ed9e8b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="6efaca44-28ff-47fd-9b3c-ea40e72938a6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/dafb6fec-7323-49d3-af1c-97d402fd5f66"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/b3103bd8-5d64-4cb6-ac88-dbf02006875b"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="dafb6fec-7323-49d3-af1c-97d402fd5f66"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00761360"/> - </coding> - <text value="RAMIPRIL beta 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b3103bd8-5d64-4cb6-ac88-dbf02006875b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Leo Tarred"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_c3437dfc/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.json new file mode 100644 index 00000000..37be8613 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "200aae3f-9e56-47db-a4ba-f840c48dd9fa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5b5e5c96-cdff-4f94-bb48-f78c56cc2fd4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c3437dfc-a141-4bf1-9fb3-a4827b9781eb_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/e521273e-351e-4048-a281-32b4aed6f2ec" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/39a1056e-a740-4220-a676-4cac95deaae1" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e521273e-351e-4048-a281-32b4aed6f2ec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "39a1056e-a740-4220-a676-4cac95deaae1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Marco DeStinkshun" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.xml new file mode 100644 index 00000000..1ea3edd5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="200aae3f-9e56-47db-a4ba-f840c48dd9fa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5b5e5c96-cdff-4f94-bb48-f78c56cc2fd4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c3437dfc-a141-4bf1-9fb3-a4827b9781eb_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e521273e-351e-4048-a281-32b4aed6f2ec"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/39a1056e-a740-4220-a676-4cac95deaae1"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e521273e-351e-4048-a281-32b4aed6f2ec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00761360"/> + </coding> + <text value="RAMIPRIL beta 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="39a1056e-a740-4220-a676-4cac95deaae1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Marco DeStinkshun"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/input.xml new file mode 100644 index 00000000..56c55857 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c3437dfc-a141-4bf1-9fb3-a4827b9781eb"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fc2a72e7-bc15-4456-852f-51014e182760"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00761360"/> + </coding> + <text value="RAMIPRIL beta 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#fc2a72e7-bc15-4456-852f-51014e182760"/> + <display value="RAMIPRIL beta 5 mg Tabletten (100 St)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.json new file mode 100644 index 00000000..02c99613 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "223235aa-68fc-4002-a1ad-9c5827bdf2d0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4ff8fe81-bec5-43b7-8c4c-1d0f1e9e2ced", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c3437dfc-a141-4bf1-9fb3-a4827b9781eb_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/fa1481da-e3da-4ac3-8334-704e3dca759a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/735c5a7a-3955-4df5-aed6-4880f8ba398d" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "fa1481da-e3da-4ac3-8334-704e3dca759a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "735c5a7a-3955-4df5-aed6-4880f8ba398d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 K. Seltzer" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.xml new file mode 100644 index 00000000..d0100b86 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="223235aa-68fc-4002-a1ad-9c5827bdf2d0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4ff8fe81-bec5-43b7-8c4c-1d0f1e9e2ced"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c3437dfc-a141-4bf1-9fb3-a4827b9781eb_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/fa1481da-e3da-4ac3-8334-704e3dca759a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/735c5a7a-3955-4df5-aed6-4880f8ba398d"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fa1481da-e3da-4ac3-8334-704e3dca759a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00761360"/> + </coding> + <text value="RAMIPRIL beta 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="735c5a7a-3955-4df5-aed6-4880f8ba398d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Al K. Seltzer"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 40b09908..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index c4e9e987..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 195e0363..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="336380fd-cb44-4e9e-b489-74f1b3018838"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="28ee2645-6a83-4aae-8b02-ae1078354276"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/cbef045f-ff17-472f-a108-00a23542de1d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/50f1535a-d21b-4758-8e75-2b46f39ccfa7"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="cbef045f-ff17-472f-a108-00a23542de1d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01097987"/> - </coding> - <text value="DELIX 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="50f1535a-d21b-4758-8e75-2b46f39ccfa7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Nick O'Teen"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_9d575775/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.json new file mode 100644 index 00000000..a445ce99 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "254dd626-5f2a-44cc-a5e9-0180efa910a0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "71dd0833-cf12-4f36-8e9a-3298ebf3b900", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "9d575775-88c4-4325-b9b8-5950b57757e6_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/69a8062d-7313-4d60-9748-12354e6405eb" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8220645b-5b59-41ce-b738-23574f61e9df" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "69a8062d-7313-4d60-9748-12354e6405eb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "8220645b-5b59-41ce-b738-23574f61e9df", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dennis Toffice" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.xml new file mode 100644 index 00000000..ad22d3e7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="254dd626-5f2a-44cc-a5e9-0180efa910a0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="71dd0833-cf12-4f36-8e9a-3298ebf3b900"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="9d575775-88c4-4325-b9b8-5950b57757e6_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/69a8062d-7313-4d60-9748-12354e6405eb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8220645b-5b59-41ce-b738-23574f61e9df"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="69a8062d-7313-4d60-9748-12354e6405eb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01097987"/> + </coding> + <text value="DELIX 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8220645b-5b59-41ce-b738-23574f61e9df"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dennis Toffice"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index cba19d6e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 949cf14c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/output.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "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 deleted file mode 100644 index 1da906dd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/output.xml +++ /dev/null @@ -1,127 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="749b8a4f-4633-421d-a7e5-24c6342c84cd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="793369fc-44e5-4048-9720-91bd9fd7339b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/c187ab3f-15ac-42de-a7e7-c334298941fb"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c3ada206-b59a-44ac-8c4a-41c8ccd1b59e"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c187ab3f-15ac-42de-a7e7-c334298941fb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01097987"/> - </coding> - <text value="DELIX 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c3ada206-b59a-44ac-8c4a-41c8ccd1b59e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Sir Fin Waves"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_9d575775/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.json new file mode 100644 index 00000000..27f07be0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "da4978ee-280d-4bed-a4be-e2323a6b89c6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "dd95c253-df3c-475b-8d30-4bd1a80128c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "9d575775-88c4-4325-b9b8-5950b57757e6_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/ce2bfad4-f89c-4106-a519-74117e707ea0" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/7126108c-32c5-47ed-9223-01a375e14f77" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ce2bfad4-f89c-4106-a519-74117e707ea0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "7126108c-32c5-47ed-9223-01a375e14f77", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Samson Night" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.xml new file mode 100644 index 00000000..c7b5854a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="da4978ee-280d-4bed-a4be-e2323a6b89c6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="dd95c253-df3c-475b-8d30-4bd1a80128c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="9d575775-88c4-4325-b9b8-5950b57757e6_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ce2bfad4-f89c-4106-a519-74117e707ea0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/7126108c-32c5-47ed-9223-01a375e14f77"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ce2bfad4-f89c-4106-a519-74117e707ea0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01097987"/> + </coding> + <text value="DELIX 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7126108c-32c5-47ed-9223-01a375e14f77"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Samson Night"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/input.xml new file mode 100644 index 00000000..8138d2db --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9d575775-88c4-4325-b9b8-5950b57757e6"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ebce4bf0-8944-48f0-929e-b5f0a6a2fb80"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01097987"/> + </coding> + <text value="DELIX 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#ebce4bf0-8944-48f0-929e-b5f0a6a2fb80"/> + <display value="DELIX 5 mg Tabletten (100 St)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.json new file mode 100644 index 00000000..5747b8fa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "4a621805-c460-42e3-8865-e4a03909cca3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c60a82fd-1f25-48dd-b94d-b4b5efa71174", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "9d575775-88c4-4325-b9b8-5950b57757e6_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/5519b0d1-fadd-4a6c-b681-cd5c881e4d22" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c9123a1f-1947-41be-9fd7-e3a0f1187c1a" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5519b0d1-fadd-4a6c-b681-cd5c881e4d22", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c9123a1f-1947-41be-9fd7-e3a0f1187c1a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Duane DeVane" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.xml new file mode 100644 index 00000000..ff3485bb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4a621805-c460-42e3-8865-e4a03909cca3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c60a82fd-1f25-48dd-b94d-b4b5efa71174"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="9d575775-88c4-4325-b9b8-5950b57757e6_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5519b0d1-fadd-4a6c-b681-cd5c881e4d22"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c9123a1f-1947-41be-9fd7-e3a0f1187c1a"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5519b0d1-fadd-4a6c-b681-cd5c881e4d22"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01097987"/> + </coding> + <text value="DELIX 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c9123a1f-1947-41be-9fd7-e3a0f1187c1a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Duane DeVane"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/input.xml new file mode 100644 index 00000000..2fd55595 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f64fd7b4-8720-4986-a3c3-11892afa2267"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="81a3a319-f7a4-42d1-bd10-d929186b36b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#81a3a319-f7a4-42d1-bd10-d929186b36b7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.json new file mode 100644 index 00000000..1b767543 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "974f88ec-02ea-49bb-93e0-9a2a85eb09fe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1b1341c9-d744-4cba-aaba-3dc356f5f699", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f64fd7b4-8720-4986-a3c3-11892afa2267_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/c8266477-01b9-4e33-920c-6fcf3d8736f6" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8cf778c8-1dfc-47ac-8500-add2e1ee4f0c" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "c8266477-01b9-4e33-920c-6fcf3d8736f6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8cf778c8-1dfc-47ac-8500-add2e1ee4f0c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Howie Doohan" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.xml new file mode 100644 index 00000000..e7d29b28 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="974f88ec-02ea-49bb-93e0-9a2a85eb09fe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1b1341c9-d744-4cba-aaba-3dc356f5f699"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f64fd7b4-8720-4986-a3c3-11892afa2267_200.000.002.096.533.49"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/c8266477-01b9-4e33-920c-6fcf3d8736f6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8cf778c8-1dfc-47ac-8500-add2e1ee4f0c"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c8266477-01b9-4e33-920c-6fcf3d8736f6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8cf778c8-1dfc-47ac-8500-add2e1ee4f0c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Howie Doohan"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_4863d1fb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.json new file mode 100644 index 00000000..cac0801b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "7530713f-4aad-4bb8-9b19-f1ee43abe78c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "82c20531-751e-4343-aa5a-14552f1f341a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/976e926e-d259-477a-952b-b4979165394e" + }, + "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": "976e926e-d259-477a-952b-b4979165394e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "736eef3b-832b-4eb0-a65f-24f760b76439", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c12461ef-7db8-4d70-9c46-976599282534", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.xml new file mode 100644 index 00000000..9fd6454f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7530713f-4aad-4bb8-9b19-f1ee43abe78c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="82c20531-751e-4343-aa5a-14552f1f341a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/976e926e-d259-477a-952b-b4979165394e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="976e926e-d259-477a-952b-b4979165394e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="736eef3b-832b-4eb0-a65f-24f760b76439"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c12461ef-7db8-4d70-9c46-976599282534"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 9a1801e4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "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 deleted file mode 100644 index ce95ea76..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ba4e7121-05ca-491d-9c7c-4404c8b29f6b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="69c03b1c-93d9-4ad0-9603-d89c730e9834"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/8819a480-3181-4db1-ba49-4f3e84de15dc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8819a480-3181-4db1-ba49-4f3e84de15dc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="Metformin 850mg Tabletten N3"/> - </code> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ebf4c8a2-c39f-4032-a809-0684ada2de4c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="19121851-0f5b-4d96-84f5-c91210fbfb97"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/input.xml new file mode 100644 index 00000000..e06bf026 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/input.xml @@ -0,0 +1,373 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4863d1fb-dc26-4680-bb35-018610d1749d"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/5877784c-ca07-4cc8-a58f-1517ddc24055"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5877784c-ca07-4cc8-a58f-1517ddc24055"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/2979e8a3-352e-4d17-8e06-b356666e4daf"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/2979e8a3-352e-4d17-8e06-b356666e4daf"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2979e8a3-352e-4d17-8e06-b356666e4daf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="freitext"/> + </coding> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="AOK Rheinland/Hamburg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/output.json new file mode 100644 index 00000000..c6d10abb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "549970de-7aa9-4202-b196-ffdc80825d6d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9abf895c-bcd6-4691-999d-d538f4ebc68d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9adada1c-c305-4200-8d85-71d0ad8e279a" + }, + "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": "9adada1c-c305-4200-8d85-71d0ad8e279a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "0086f23f-9246-40b7-9f7f-3a666a7af3ef", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ca5d731b-b828-4442-abec-357969b3144b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/output.xml new file mode 100644 index 00000000..15663146 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="549970de-7aa9-4202-b196-ffdc80825d6d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9abf895c-bcd6-4691-999d-d538f4ebc68d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9adada1c-c305-4200-8d85-71d0ad8e279a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9adada1c-c305-4200-8d85-71d0ad8e279a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0086f23f-9246-40b7-9f7f-3a666a7af3ef"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ca5d731b-b828-4442-abec-357969b3144b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_4863d1fb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.json new file mode 100644 index 00000000..441dc21e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "c3d55514-3a26-4109-8960-c5302181dc07", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0c765584-4978-4718-93ab-69398963131f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f82df4af-5b89-41ba-97a8-231b6e0d601b" + }, + "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": "f82df4af-5b89-41ba-97a8-231b6e0d601b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "ec1a8c5b-7421-4922-a40d-24aeab69db7c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "723a7ed8-a9fd-4664-8665-60353d272492", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.xml new file mode 100644 index 00000000..44819f32 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c3d55514-3a26-4109-8960-c5302181dc07"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0c765584-4978-4718-93ab-69398963131f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f82df4af-5b89-41ba-97a8-231b6e0d601b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f82df4af-5b89-41ba-97a8-231b6e0d601b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ec1a8c5b-7421-4922-a40d-24aeab69db7c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="723a7ed8-a9fd-4664-8665-60353d272492"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 2d7dfe39..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "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 deleted file mode 100644 index 033ac563..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4986252f-8d8d-42b3-9f6d-915e70b11fea"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e339ca0d-7be3-478f-a90d-80b840962f81"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/0399e3f8-9278-482c-86ae-c906f65b7e15"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0399e3f8-9278-482c-86ae-c906f65b7e15"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="Metformin 850mg Tabletten N3"/> - </code> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bfc3fdd2-cfef-4d9a-92a3-dfffd7f46315"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a70834ee-c811-492d-9c67-c7517f12db65"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_4863d1fb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/output.json new file mode 100644 index 00000000..9671e6fe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "1e616fe0-51c8-49cd-8985-786708a6488d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5eda5852-92c3-4375-a4fc-05dc214c5857", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1b34ecc1-5d22-4b71-a53c-54a53d19934b" + }, + "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": "1b34ecc1-5d22-4b71-a53c-54a53d19934b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "d237411b-9468-4486-9138-59fcd733d0fd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "68786763-4499-4404-83e3-782b234a5a95", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/output.xml new file mode 100644 index 00000000..3c87a6be --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1e616fe0-51c8-49cd-8985-786708a6488d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5eda5852-92c3-4375-a4fc-05dc214c5857"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1b34ecc1-5d22-4b71-a53c-54a53d19934b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1b34ecc1-5d22-4b71-a53c-54a53d19934b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d237411b-9468-4486-9138-59fcd733d0fd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="68786763-4499-4404-83e3-782b234a5a95"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 0c0548d2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "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 deleted file mode 100644 index 3324020b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="525fb142-37f7-497c-b320-c23d447550f3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9967a6ff-9f6d-4178-8537-4dc9acdb6e34"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/beb0a6b2-4b9a-4b87-9248-0bd1bbe2f7c1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="beb0a6b2-4b9a-4b87-9248-0bd1bbe2f7c1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="Metformin 850mg Tabletten N3"/> - </code> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3c6d4829-cfe5-43bb-8fe4-47e6193bee1b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2bb72ad1-a2a9-4025-b1df-5f57fe8bcc44"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_V1_VerordnungArzt_525fb142_4863d1fb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/output.json new file mode 100644 index 00000000..04ee7f2c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "6be248d6-d47c-460e-b5e2-b4d2168393ba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c6e21e77-d4cf-4528-b7cd-4e561a2efd08", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/09d2d097-6f2a-4c78-b76f-6ab4cb6a19ca" + }, + "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": "09d2d097-6f2a-4c78-b76f-6ab4cb6a19ca", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "3a195ce4-d4a0-4392-8591-3a2bcd5eac3d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4a407cbc-f9be-4e0e-a174-51a7f5910a65", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/output.xml new file mode 100644 index 00000000..37877591 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6be248d6-d47c-460e-b5e2-b4d2168393ba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c6e21e77-d4cf-4528-b7cd-4e561a2efd08"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/09d2d097-6f2a-4c78-b76f-6ab4cb6a19ca"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="09d2d097-6f2a-4c78-b76f-6ab4cb6a19ca"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3a195ce4-d4a0-4392-8591-3a2bcd5eac3d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4a407cbc-f9be-4e0e-a174-51a7f5910a65"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index a431a691..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "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 deleted file mode 100644 index 76184261..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2f7fa888-a5d3-4c66-9b00-9fcb8d3c1ade"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d9a29b19-38f1-4cd0-8a04-c268539251a7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/a3b904d0-0b33-49ae-80fc-e411b255aaa6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a3b904d0-0b33-49ae-80fc-e411b255aaa6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="Metformin 850mg Tabletten N3"/> - </code> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4bc05bab-3dd9-485c-8666-ff8414111b3a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e50dede6-7dc4-42bb-9c64-b4f64272dff9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_4863d1fb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/output.json new file mode 100644 index 00000000..1a10ced3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "eedc788e-d2dc-4fb6-ae24-32b8bfdb0edb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b82feaee-8ca3-4778-bb57-9e8a269fb7e6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/97787325-5df4-48c1-a00f-3aaab4f0578b" + }, + "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": "97787325-5df4-48c1-a00f-3aaab4f0578b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "4e1c957b-1493-4914-9656-c3d8c1536797", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "568fc0f0-7794-4ebb-aae9-59f1be4f502d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/output.xml new file mode 100644 index 00000000..fe761e81 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="eedc788e-d2dc-4fb6-ae24-32b8bfdb0edb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b82feaee-8ca3-4778-bb57-9e8a269fb7e6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/97787325-5df4-48c1-a00f-3aaab4f0578b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="97787325-5df4-48c1-a00f-3aaab4f0578b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4e1c957b-1493-4914-9656-c3d8c1536797"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="568fc0f0-7794-4ebb-aae9-59f1be4f502d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/input.xml new file mode 100644 index 00000000..5023d14c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/input.xml @@ -0,0 +1,373 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4863d1fb-dc26-4680-bb35-018610d1749d"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/5877784c-ca07-4cc8-a58f-1517ddc24055"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5877784c-ca07-4cc8-a58f-1517ddc24055"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/2979e8a3-352e-4d17-8e06-b356666e4daf"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/2979e8a3-352e-4d17-8e06-b356666e4daf"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2979e8a3-352e-4d17-8e06-b356666e4daf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="freitext"/> + </coding> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="AOK Rheinland/Hamburg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.json new file mode 100644 index 00000000..1ec53c44 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "8fdee25e-0e3d-476c-a4bd-b7c5eeb05da1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4df29832-6ded-4fea-89c8-7a088c3c830b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/dfe43e51-3c5f-4de8-af28-397db6735dc0" + }, + "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": "dfe43e51-3c5f-4de8-af28-397db6735dc0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "d11691c9-cf96-4ac9-98c2-9034d3b99f3b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "914adfba-9d8f-41bc-b306-057b0393b8ab", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.xml new file mode 100644 index 00000000..e12f50e5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8fdee25e-0e3d-476c-a4bd-b7c5eeb05da1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4df29832-6ded-4fea-89c8-7a088c3c830b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/dfe43e51-3c5f-4de8-af28-397db6735dc0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dfe43e51-3c5f-4de8-af28-397db6735dc0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d11691c9-cf96-4ac9-98c2-9034d3b99f3b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="914adfba-9d8f-41bc-b306-057b0393b8ab"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index ef221dc8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "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 deleted file mode 100644 index c7c288db..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a0a0fa28-80a9-49ff-9fbb-fa42d93cae40"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="15ee0164-fbe3-4529-970a-83b290c02e7b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/17d27cb8-6746-4410-8d2d-52ce93a04673"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="17d27cb8-6746-4410-8d2d-52ce93a04673"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="Metformin 850mg Tabletten N3"/> - </code> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="51da6360-8405-4e57-8d21-47a8e63d1069"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="feeee700-033a-402e-aa0e-a98cdad05597"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/input.xml new file mode 100644 index 00000000..5023d14c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/input.xml @@ -0,0 +1,373 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4863d1fb-dc26-4680-bb35-018610d1749d"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/5877784c-ca07-4cc8-a58f-1517ddc24055"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5877784c-ca07-4cc8-a58f-1517ddc24055"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/2979e8a3-352e-4d17-8e06-b356666e4daf"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/2979e8a3-352e-4d17-8e06-b356666e4daf"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2979e8a3-352e-4d17-8e06-b356666e4daf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="freitext"/> + </coding> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="AOK Rheinland/Hamburg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/output.json new file mode 100644 index 00000000..7dc43a8b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "1b62abeb-e9ab-49a7-867c-7bf507dfd5cb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "db9de26b-610b-47f8-b44b-fce70c236504", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/33b68de6-ebd9-4f60-88d9-cfe9bdc96cf3" + }, + "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": "33b68de6-ebd9-4f60-88d9-cfe9bdc96cf3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "97b7b499-9d4f-4efa-8a77-a03630e9be73", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7d2b7b90-34dd-4f67-866b-100987a23ba5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/output.xml new file mode 100644 index 00000000..f62a82b8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1b62abeb-e9ab-49a7-867c-7bf507dfd5cb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="db9de26b-610b-47f8-b44b-fce70c236504"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/33b68de6-ebd9-4f60-88d9-cfe9bdc96cf3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="33b68de6-ebd9-4f60-88d9-cfe9bdc96cf3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="97b7b499-9d4f-4efa-8a77-a03630e9be73"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7d2b7b90-34dd-4f67-866b-100987a23ba5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 4751115f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/output.json +++ /dev/null @@ -1,243 +0,0 @@ -{ - "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 deleted file mode 100644 index 8143a836..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/output.xml +++ /dev/null @@ -1,242 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6e2b78ab-98dd-41de-b50b-1161535577a4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.018.85"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="89a3151f-13eb-4550-9f2b-38854a94189e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/1f404c09-4ad0-46a9-b621-35019697a73a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1f404c09-4ad0-46a9-b621-35019697a73a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="5682"/> - </coding> - <text value="Ibuprofen"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="600"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="92a9f3a5-cc45-49a0-b39f-51ab495ed04c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="34502125-b578-4f7a-8dba-73fe94bee370"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_ec6059d9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/output.json new file mode 100644 index 00000000..4c57f781 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/output.json @@ -0,0 +1,243 @@ +{ + "resourceType": "Parameters", + "id": "3c6342dd-d26c-4e11-955a-45ec76ef8452", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "31c8d29e-e99e-4ef5-83db-a2495bcb2eed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/87d24987-ea93-4533-9faa-01ed7c35fbe3" + }, + "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": "87d24987-ea93-4533-9faa-01ed7c35fbe3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "c23d5788-d14c-4415-ab1f-b6e61f7c26b0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4106044c-7930-42f3-af3c-4ca20e0ff3c5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ec6059d9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/output.xml new file mode 100644 index 00000000..ca7f78b6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/output.xml @@ -0,0 +1,242 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3c6342dd-d26c-4e11-955a-45ec76ef8452"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.018.85"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="31c8d29e-e99e-4ef5-83db-a2495bcb2eed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/87d24987-ea93-4533-9faa-01ed7c35fbe3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="87d24987-ea93-4533-9faa-01ed7c35fbe3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="5682"/> + </coding> + <text value="Ibuprofen"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="600"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c23d5788-d14c-4415-ab1f-b6e61f7c26b0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4106044c-7930-42f3-af3c-4ca20e0ff3c5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/input.xml new file mode 100644 index 00000000..3d059037 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/input.xml @@ -0,0 +1,444 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ec6059d9-72a0-4ba3-8535-6ffcc0c4279b"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.018.85"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/82fd748e-b721-491d-8e7d-681848e49a16"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="82fd748e-b721-491d-8e7d-681848e49a16"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <attester> + <mode value="legal"/> + <party> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </party> + </attester> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/b12e7181-39dd-4864-a63f-74bb81d643a1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/b12e7181-39dd-4864-a63f-74bb81d643a1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b12e7181-39dd-4864-a63f-74bb81d643a1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/aad9fb8b-2ec2-4cda-874a-82565c9d45ef"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/aad9fb8b-2ec2-4cda-874a-82565c9d45ef"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="aad9fb8b-2ec2-4cda-874a-82565c9d45ef"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="5682"/> + </coding> + <text value="Ibuprofen"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="600"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="04"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.json new file mode 100644 index 00000000..d81ef950 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.json @@ -0,0 +1,243 @@ +{ + "resourceType": "Parameters", + "id": "ee31cb4e-e2d8-4d51-a184-d81c164439fa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ea14dac3-c700-465e-96a0-fb936c9311b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1880519f-b28a-4bc8-9f4f-1f96680524b7" + }, + "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": "1880519f-b28a-4bc8-9f4f-1f96680524b7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "dfc7f157-06df-4c4e-a2b8-03b343ed8da8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "71cb9e61-3379-462d-a289-ad66a34838e1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ec6059d9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.xml new file mode 100644 index 00000000..db68fcfd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.xml @@ -0,0 +1,242 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ee31cb4e-e2d8-4d51-a184-d81c164439fa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.018.85"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ea14dac3-c700-465e-96a0-fb936c9311b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1880519f-b28a-4bc8-9f4f-1f96680524b7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1880519f-b28a-4bc8-9f4f-1f96680524b7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="5682"/> + </coding> + <text value="Ibuprofen"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="600"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dfc7f157-06df-4c4e-a2b8-03b343ed8da8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="71cb9e61-3379-462d-a289-ad66a34838e1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 7323fd3f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "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 deleted file mode 100644 index a7c93910..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="01142458-2598-4eab-8da4-195b22bf4e94"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8edefbc8-1d98-4afb-a958-aa9019e50d5d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/bd63aa68-6032-4692-aeb7-5ebb7ded6da9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bd63aa68-6032-4692-aeb7-5ebb7ded6da9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="01097f32-a8f4-4af3-b058-50cba0b42ad7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="851f4b99-0cd6-4c3d-b956-4c8bc68ab506"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/output.json new file mode 100644 index 00000000..b0423629 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "13646d24-4fb0-46ec-bb5f-dd706ec34286", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "178af28d-c2f3-4bd7-9f80-a15b169994a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fbb9618f-08d5-4ec6-8ba4-541da499113b" + }, + "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": "fbb9618f-08d5-4ec6-8ba4-541da499113b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "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": "2bb397bb-31ca-4e4b-aa1a-e1e5e83ecc73", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "570c0e63-d4a5-49eb-a599-5a2e4e7432ea", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/output.xml new file mode 100644 index 00000000..7529405c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="13646d24-4fb0-46ec-bb5f-dd706ec34286"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="178af28d-c2f3-4bd7-9f80-a15b169994a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fbb9618f-08d5-4ec6-8ba4-541da499113b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fbb9618f-08d5-4ec6-8ba4-541da499113b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2bb397bb-31ca-4e4b-aa1a-e1e5e83ecc73"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="570c0e63-d4a5-49eb-a599-5a2e4e7432ea"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/input.xml new file mode 100644 index 00000000..8b011b26 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9c85a2a5-92ee-4a57-83cb-ba90a0df2a21"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a7eefdd-df71-4a72-8047-c158017534a1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin: Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.json new file mode 100644 index 00000000..752ce65f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "46b974bf-a1f9-4b73-a926-4bfed858aefa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ce92b068-0f49-4c72-82b4-5d6b5f252fd6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f8dbe94e-cffe-4759-a0af-834de12f0bae" + }, + "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": "f8dbe94e-cffe-4759-a0af-834de12f0bae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "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": "808143cf-e050-42a1-888d-4f1e61bbffc6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "22fc862e-8aeb-46f4-9fab-2af308608fea", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.xml new file mode 100644 index 00000000..708fa78f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="46b974bf-a1f9-4b73-a926-4bfed858aefa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ce92b068-0f49-4c72-82b4-5d6b5f252fd6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f8dbe94e-cffe-4759-a0af-834de12f0bae"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f8dbe94e-cffe-4759-a0af-834de12f0bae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="808143cf-e050-42a1-888d-4f1e61bbffc6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="22fc862e-8aeb-46f4-9fab-2af308608fea"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_218b581d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.json new file mode 100644 index 00000000..4ac51e2b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.json @@ -0,0 +1,276 @@ +{ + "resourceType": "Parameters", + "id": "82ca1705-7723-43d1-81f7-34fd151b51e9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d104697b-c79f-433a-b4a9-9a64f1507a8f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f40adf3d-05d3-46c9-b464-89e4a1928774" + }, + "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": "f40adf3d-05d3-46c9-b464-89e4a1928774", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "19d6be07-9c7a-4e36-ba3a-209dee895cff", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3ca96f8a-015b-4577-b3f5-93614ef3d83c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.xml new file mode 100644 index 00000000..e539ea46 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.xml @@ -0,0 +1,274 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="82ca1705-7723-43d1-81f7-34fd151b51e9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d104697b-c79f-433a-b4a9-9a64f1507a8f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f40adf3d-05d3-46c9-b464-89e4a1928774"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f40adf3d-05d3-46c9-b464-89e4a1928774"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="19d6be07-9c7a-4e36-ba3a-209dee895cff"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3ca96f8a-015b-4577-b3f5-93614ef3d83c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 790bbd74..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/output.json +++ /dev/null @@ -1,276 +0,0 @@ -{ - "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 deleted file mode 100644 index 7c144e64..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/output.xml +++ /dev/null @@ -1,274 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="fe99181f-9c4f-4134-a6d7-6456437f9932"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="034d0542-b12a-4a45-9859-cde4728b1004"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/0b1cba31-110f-465e-93d5-fe187eb3032c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0b1cba31-110f-465e-93d5-fe187eb3032c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22308"/> - </coding> - <text value="Gabapentin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="300"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="Gabapentin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="300"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3a8ec439-1f36-4dde-9749-b8cbcbc5b835"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="0ddae6b7-9a52-4175-9e77-d67e2a3eba00"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/input.xml new file mode 100644 index 00000000..1e87bdff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/input.xml @@ -0,0 +1,428 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="218b581d-ccbe-480e-b8d7-f5f9b925e8c4"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/5c43d99a-64ba-436d-9b8c-6ee5156d7607"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5c43d99a-64ba-436d-9b8c-6ee5156d7607"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="4"/> + </valueCoding> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/e091f324-689b-4f3c-875d-050b525b09c5"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/e091f324-689b-4f3c-875d-050b525b09c5"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e091f324-689b-4f3c-875d-050b525b09c5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="BG"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Alternative_IK"> + <valueIdentifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="121191241"/> + </valueIdentifier> + </extension> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="Verwaltungs-BG"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/output.json new file mode 100644 index 00000000..5166a0e7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/output.json @@ -0,0 +1,276 @@ +{ + "resourceType": "Parameters", + "id": "a4792774-f586-4cf6-bce3-442e9c86ed4a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2d56b6a0-1120-4a35-8ca3-ad4d52c243cd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/72c08815-2077-42c9-b5a4-d73af695a0ca" + }, + "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": "72c08815-2077-42c9-b5a4-d73af695a0ca", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ecc567a3-37c1-4e00-b49a-d5d155b090c2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b7384025-8cbd-40da-8d9b-1db97dc7f6f1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/output.xml new file mode 100644 index 00000000..9a934d44 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/output.xml @@ -0,0 +1,274 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a4792774-f586-4cf6-bce3-442e9c86ed4a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2d56b6a0-1120-4a35-8ca3-ad4d52c243cd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/72c08815-2077-42c9-b5a4-d73af695a0ca"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="72c08815-2077-42c9-b5a4-d73af695a0ca"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ecc567a3-37c1-4e00-b49a-d5d155b090c2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b7384025-8cbd-40da-8d9b-1db97dc7f6f1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 1bcb0169..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/output.json +++ /dev/null @@ -1,242 +0,0 @@ -{ - "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 deleted file mode 100644 index f7018c5b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/output.xml +++ /dev/null @@ -1,243 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9eb9d0af-fef5-4dc3-96ce-7ee470869741"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.021.76"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9e5d3a71-18e7-4dfa-84ee-5ef83a094a7c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/cfe397fd-b1ec-4d79-8607-b60ae9373f16"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="cfe397fd-b1ec-4d79-8607-b60ae9373f16"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <form> - <text value="Retardtabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="11900"/> - </coding> - <text value="Diclofenac-Natrium"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="75"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="56d2e0da-c0fc-49d9-89b6-0dc594d673b0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f8638d39-84c0-4559-a793-cd14ed6fa6f7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_cf0d4980/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/output.json new file mode 100644 index 00000000..bf3b92a2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/output.json @@ -0,0 +1,242 @@ +{ + "resourceType": "Parameters", + "id": "661bf7be-51f3-411a-9629-90e09f760a26", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "684768c5-12e7-4a6c-ba4b-f9f5b9738f5a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/46500393-9afa-4274-9aa1-0750d29c46e5" + }, + "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": "46500393-9afa-4274-9aa1-0750d29c46e5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "32e7dc49-8ff2-4072-8ccb-29f3b08b21e7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "97fbf368-50e2-4d69-af6f-70c00fad3713", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/output.xml new file mode 100644 index 00000000..9b47a081 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/output.xml @@ -0,0 +1,243 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="661bf7be-51f3-411a-9629-90e09f760a26"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="684768c5-12e7-4a6c-ba4b-f9f5b9738f5a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/46500393-9afa-4274-9aa1-0750d29c46e5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="46500393-9afa-4274-9aa1-0750d29c46e5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <form> + <text value="Retardtabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="11900"/> + </coding> + <text value="Diclofenac-Natrium"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="75"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="32e7dc49-8ff2-4072-8ccb-29f3b08b21e7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="97fbf368-50e2-4d69-af6f-70c00fad3713"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/input.xml new file mode 100644 index 00000000..9faa4343 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/input.xml @@ -0,0 +1,406 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="cf0d4980-af01-44f4-a38c-d6bf14b82e07"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="7a0b2d5e-8660-47b2-b26a-0e3dbba4399d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/0886a530-68ef-4517-9999-b24f79b08da1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/0886a530-68ef-4517-9999-b24f79b08da1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0886a530-68ef-4517-9999-b24f79b08da1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="Unfalltag"> + <valueDate value="2021-04-01"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a3ccc266-b033-47cc-9361-98ec450f7db9"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a3ccc266-b033-47cc-9361-98ec450f7db9"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a3ccc266-b033-47cc-9361-98ec450f7db9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Retardtabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="11900"/> + </coding> + <text value="Diclofenac-Natrium"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="75"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.json new file mode 100644 index 00000000..48395d33 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.json @@ -0,0 +1,242 @@ +{ + "resourceType": "Parameters", + "id": "7d90e3cf-f1ee-4ed1-b6f2-d7ee177f3b1b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8ed356f8-2e88-42f0-8446-af948574bdee", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5b083212-45d3-450d-85c6-3dea90e45fdb" + }, + "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": "5b083212-45d3-450d-85c6-3dea90e45fdb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f59e3943-7bdf-4ba2-a62d-3894480eabdc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "12ae92bd-3dc1-438b-a329-db60ead304a0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.xml new file mode 100644 index 00000000..d59b9313 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.xml @@ -0,0 +1,243 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7d90e3cf-f1ee-4ed1-b6f2-d7ee177f3b1b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8ed356f8-2e88-42f0-8446-af948574bdee"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5b083212-45d3-450d-85c6-3dea90e45fdb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5b083212-45d3-450d-85c6-3dea90e45fdb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <form> + <text value="Retardtabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="11900"/> + </coding> + <text value="Diclofenac-Natrium"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="75"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f59e3943-7bdf-4ba2-a62d-3894480eabdc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="12ae92bd-3dc1-438b-a329-db60ead304a0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 6d526918..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/output.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "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 deleted file mode 100644 index 9fe61f54..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c1bbfd8b-c955-4d97-8908-2f5e4a7d2e6f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.022.73"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-01"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7c90826e-0960-430a-ba90-9a9408fb10cd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="2"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2021-04-01"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/9a57bca6-e339-43b8-999b-1e214d736533"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-01"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9a57bca6-e339-43b8-999b-1e214d736533"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="23816"/> - </coding> - <text value="Simvastatin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e99e5daf-72c4-4df2-9891-fc3b2344d455"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="36ada00c-dbd0-4788-b172-47eb658b0a29"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_cd6d3a17/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/output.json new file mode 100644 index 00000000..36a160d5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "20761000-802a-4cd2-ba0e-7c53205a0168", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "58297dba-e99e-4ca4-8b3d-3ab20b72f27b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/9c49b2d3-f5c7-40b1-9119-9539e148068f" + }, + "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": "9c49b2d3-f5c7-40b1-9119-9539e148068f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7a76eecb-68e3-43c0-b6da-e58bf66ea77c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3e67e1ce-0cfe-419e-831f-68b3896b2846", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/output.xml new file mode 100644 index 00000000..b98a2a3e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="20761000-802a-4cd2-ba0e-7c53205a0168"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-01"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="58297dba-e99e-4ca4-8b3d-3ab20b72f27b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2021-04-01"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9c49b2d3-f5c7-40b1-9119-9539e148068f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-01"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9c49b2d3-f5c7-40b1-9119-9539e148068f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7a76eecb-68e3-43c0-b6da-e58bf66ea77c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3e67e1ce-0cfe-419e-831f-68b3896b2846"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/input.xml new file mode 100644 index 00000000..a0785b50 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="cd6d3a17-8105-4f1e-86ff-48cd5cebf245"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/dc55a629-9d26-467e-83be-55a5a21d6016"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="dc55a629-9d26-467e-83be-55a5a21d6016"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/f63578ab-c3d5-4364-ac13-e20873cb716c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/f63578ab-c3d5-4364-ac13-e20873cb716c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f63578ab-c3d5-4364-ac13-e20873cb716c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2021-04-01"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2021-04-01"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.json new file mode 100644 index 00000000..4ae84029 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "3113a208-485b-4155-acd9-bb4fb9b55322", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "cc9fc24d-ff06-484a-87be-aeb19eef1ab9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/ccb3c2fe-5014-4565-bbf0-555981539e1a" + }, + "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": "ccb3c2fe-5014-4565-bbf0-555981539e1a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2ff70a0b-ca9b-4723-bbf2-c8d8dad96fc6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "dc04b80c-faad-4c33-acf5-0195027d3fe9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.xml new file mode 100644 index 00000000..c3b87fbe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3113a208-485b-4155-acd9-bb4fb9b55322"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-01"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cc9fc24d-ff06-484a-87be-aeb19eef1ab9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2021-04-01"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ccb3c2fe-5014-4565-bbf0-555981539e1a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-01"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ccb3c2fe-5014-4565-bbf0-555981539e1a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2ff70a0b-ca9b-4723-bbf2-c8d8dad96fc6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dc04b80c-faad-4c33-acf5-0195027d3fe9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 620640bb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/output.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "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 deleted file mode 100644 index 1f98115f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="67ebe8c1-3b8d-4b6b-9fa2-1f9e8748594a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.027.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-01"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1f133419-9d11-4832-b989-a15342419ead"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="2"/> - </numerator> - <denominator> - <value value="2"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2021-06-15"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/b3b4bbd6-567e-4d12-b4cc-3ebbeb511949"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-01"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b3b4bbd6-567e-4d12-b4cc-3ebbeb511949"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="23816"/> - </coding> - <text value="Simvastatin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1dcabf8c-ccf7-485f-b795-9d7b3a0bac47"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="dd61cd21-c866-4387-8bd1-08fa85636751"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_d9118e05/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/output.json new file mode 100644 index 00000000..152852fb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "3b05f092-8219-4635-8a62-7e4e14170a18", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5952a54e-638a-4665-9643-5a5438c7ae7f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/aecfdd9f-c130-4d0d-b8a6-b09b5d2db036" + }, + "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": "aecfdd9f-c130-4d0d-b8a6-b09b5d2db036", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1a64a87d-d9c6-4c0e-a665-a3ff4370c1a8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "009487a1-f6a6-4358-b2e4-23d51b25c58e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/output.xml new file mode 100644 index 00000000..917ceffe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3b05f092-8219-4635-8a62-7e4e14170a18"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-01"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5952a54e-638a-4665-9643-5a5438c7ae7f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2021-06-15"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/aecfdd9f-c130-4d0d-b8a6-b09b5d2db036"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-01"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="aecfdd9f-c130-4d0d-b8a6-b09b5d2db036"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1a64a87d-d9c6-4c0e-a665-a3ff4370c1a8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="009487a1-f6a6-4358-b2e4-23d51b25c58e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/input.xml new file mode 100644 index 00000000..38d5e897 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="d9118e05-6e13-4df6-af50-552401cf9ba2"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/d3a554f4-cb2c-4fb5-b03a-f22e8b0f8f70"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d3a554f4-cb2c-4fb5-b03a-f22e8b0f8f70"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/d45717d2-9bca-435c-94aa-56932d81d2cc"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/d45717d2-9bca-435c-94aa-56932d81d2cc"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d45717d2-9bca-435c-94aa-56932d81d2cc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2021-06-15"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2021-04-01"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.json new file mode 100644 index 00000000..21451926 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "4995089a-d749-483b-b3cd-34d858fa8d63", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c429c59f-e7a2-4f09-b1f6-cabb994d8de8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/5ae420aa-00d0-4dcc-82d9-b4dd297b8959" + }, + "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": "5ae420aa-00d0-4dcc-82d9-b4dd297b8959", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "70e4f2a5-51ac-4741-b34d-9d9024fe26c7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "81b67fe7-cb6d-4626-ad3e-98b203f77ff5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.xml new file mode 100644 index 00000000..aeeeec65 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4995089a-d749-483b-b3cd-34d858fa8d63"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-01"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c429c59f-e7a2-4f09-b1f6-cabb994d8de8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2021-06-15"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5ae420aa-00d0-4dcc-82d9-b4dd297b8959"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-01"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5ae420aa-00d0-4dcc-82d9-b4dd297b8959"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="70e4f2a5-51ac-4741-b34d-9d9024fe26c7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="81b67fe7-cb6d-4626-ad3e-98b203f77ff5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_726e6cdd/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.json new file mode 100644 index 00000000..3894f23c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.json @@ -0,0 +1,227 @@ +{ + "resourceType": "Parameters", + "id": "2d0018d4-6770-4bd9-a7ac-27951233fba7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "70b91e56-7a81-4cd0-bfe7-1c53e059ed0e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f175c89d-e893-4eea-9aea-2b8f390e52fc" + }, + "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": "f175c89d-e893-4eea-9aea-2b8f390e52fc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0a81f1db-a4b8-4682-adcc-1ca48a65d0a9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0ac55ff5-90f0-41f7-84bc-00398010a5b4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_726e6cdd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.xml new file mode 100644 index 00000000..fe9a9f0e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.xml @@ -0,0 +1,229 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2d0018d4-6770-4bd9-a7ac-27951233fba7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.033.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="70b91e56-7a81-4cd0-bfe7-1c53e059ed0e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f175c89d-e893-4eea-9aea-2b8f390e52fc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f175c89d-e893-4eea-9aea-2b8f390e52fc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22339"/> + </coding> + <text value="Somatropin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="12"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0a81f1db-a4b8-4682-adcc-1ca48a65d0a9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0ac55ff5-90f0-41f7-84bc-00398010a5b4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index b468ea3c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/output.json +++ /dev/null @@ -1,227 +0,0 @@ -{ - "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 deleted file mode 100644 index 6db71b3a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/output.xml +++ /dev/null @@ -1,229 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a90c2e57-ef70-4fdc-a852-d88961d882cc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.033.40"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b03d634f-3db5-4f88-a07c-2ccb16321689"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/35c23913-91b7-4840-ab77-160ebbbb8357"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="35c23913-91b7-4840-ab77-160ebbbb8357"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22339"/> - </coding> - <text value="Somatropin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="12"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a8138e59-004e-480b-8623-61a542f00f8f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7fed72e7-aa72-495b-bb84-3c64bfc7b3ce"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/input.xml new file mode 100644 index 00000000..ad6d5c3d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/input.xml @@ -0,0 +1,370 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="726e6cdd-c93d-418c-aeeb-1cfe60228916"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.033.40"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/aa3065d8-255d-4812-8fb4-c6e29bf54085"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="aa3065d8-255d-4812-8fb4-c6e29bf54085"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/a05364ab-29b1-4553-90b8-9657e2f5f5ed"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/a05364ab-29b1-4553-90b8-9657e2f5f5ed"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a05364ab-29b1-4553-90b8-9657e2f5f5ed"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/dc811d43-aad4-4c8d-a58c-2e0258710142"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/dc811d43-aad4-4c8d-a58c-2e0258710142"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dc811d43-aad4-4c8d-a58c-2e0258710142"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22339"/> + </coding> + <text value="Somatropin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="12"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/output.json new file mode 100644 index 00000000..2964de7a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/output.json @@ -0,0 +1,227 @@ +{ + "resourceType": "Parameters", + "id": "b694cfd5-e453-4448-8698-884a3689da2f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "90a3bc01-5170-497d-913c-3a632dbd7362", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4ef435aa-aeb2-4ee6-a67a-609f721fe43d" + }, + "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": "4ef435aa-aeb2-4ee6-a67a-609f721fe43d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f18d970d-5448-4ff4-a823-4cb1173e7939", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "704662c8-b8be-4b11-853f-d63c971ab8ee", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_726e6cdd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/output.xml new file mode 100644 index 00000000..2d8ef304 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/output.xml @@ -0,0 +1,229 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b694cfd5-e453-4448-8698-884a3689da2f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.033.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="90a3bc01-5170-497d-913c-3a632dbd7362"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4ef435aa-aeb2-4ee6-a67a-609f721fe43d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4ef435aa-aeb2-4ee6-a67a-609f721fe43d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22339"/> + </coding> + <text value="Somatropin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="12"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f18d970d-5448-4ff4-a823-4cb1173e7939"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="704662c8-b8be-4b11-853f-d63c971ab8ee"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_9356774b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.json new file mode 100644 index 00000000..6be0a1d4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.json @@ -0,0 +1,227 @@ +{ + "resourceType": "Parameters", + "id": "586b8ee1-1e1d-4d21-b379-86e333d9f205", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "420652f2-7b34-4461-88bf-a9117821f787", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d9dcf468-52e2-4374-a00f-632477ad401e" + }, + "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": "d9dcf468-52e2-4374-a00f-632477ad401e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d5e3f147-44df-4f5c-95c2-4187517430c9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b693a47a-148a-49d2-ac8b-4ce3d628762c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9356774b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.xml new file mode 100644 index 00000000..13380b4b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.xml @@ -0,0 +1,229 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="586b8ee1-1e1d-4d21-b379-86e333d9f205"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.058.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="420652f2-7b34-4461-88bf-a9117821f787"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d9dcf468-52e2-4374-a00f-632477ad401e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d9dcf468-52e2-4374-a00f-632477ad401e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Filmtabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="30150"/> + </coding> + <text value="Vardenafil"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="10"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d5e3f147-44df-4f5c-95c2-4187517430c9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b693a47a-148a-49d2-ac8b-4ce3d628762c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index a593ab53..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/output.json +++ /dev/null @@ -1,227 +0,0 @@ -{ - "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 deleted file mode 100644 index 03860903..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/output.xml +++ /dev/null @@ -1,229 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="97f6247a-676f-4350-ad0e-24e1fa4e2586"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.058.62"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9520e77c-75fb-4bf3-ab8c-b1cf9e8f46af"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/68f94ad1-1880-4680-be06-59eccab3350f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="68f94ad1-1880-4680-be06-59eccab3350f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <form> - <text value="Filmtabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="30150"/> - </coding> - <text value="Vardenafil"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="10"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0c947bd5-9cbf-41bd-9751-fa81ae33ace9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4de0fb61-2ac1-43d6-aa0d-8d9a85b64bfc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/input.xml new file mode 100644 index 00000000..b710436f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/input.xml @@ -0,0 +1,370 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9356774b-81cb-482b-b000-819685088248"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.058.62"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/af7de0b9-e866-4999-8d76-955bcf0ef6d6"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="af7de0b9-e866-4999-8d76-955bcf0ef6d6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/d916cbae-da4b-11eb-8d19-0242ac130003"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/d916cbae-da4b-11eb-8d19-0242ac130003"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d916cbae-da4b-11eb-8d19-0242ac130003"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/94e3dff6-da48-11eb-8d19-0242ac130003"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/94e3dff6-da48-11eb-8d19-0242ac130003"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="94e3dff6-da48-11eb-8d19-0242ac130003"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Filmtabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="30150"/> + </coding> + <text value="Vardenafil"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="10"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="SEL"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/output.json new file mode 100644 index 00000000..a7b5fac8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/output.json @@ -0,0 +1,227 @@ +{ + "resourceType": "Parameters", + "id": "c78afc7a-281b-461d-b17f-0d0318e96e73", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "edd528e6-012a-4d66-995c-27c20ac75d5c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/db9db620-c07f-4353-8e6a-d4c360ad5e8d" + }, + "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": "db9db620-c07f-4353-8e6a-d4c360ad5e8d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bd633c95-b3e9-43cc-bfed-c5443889556d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "39e68802-befe-46c3-b42a-d1ed2b2b55e4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9356774b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/output.xml new file mode 100644 index 00000000..553e1578 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/output.xml @@ -0,0 +1,229 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c78afc7a-281b-461d-b17f-0d0318e96e73"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.058.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="edd528e6-012a-4d66-995c-27c20ac75d5c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/db9db620-c07f-4353-8e6a-d4c360ad5e8d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="db9db620-c07f-4353-8e6a-d4c360ad5e8d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Filmtabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="30150"/> + </coding> + <text value="Vardenafil"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="10"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bd633c95-b3e9-43cc-bfed-c5443889556d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="39e68802-befe-46c3-b42a-d1ed2b2b55e4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_218b581d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.json new file mode 100644 index 00000000..5c88980d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.json @@ -0,0 +1,239 @@ +{ + "resourceType": "Parameters", + "id": "ebf6de1c-770c-409f-ac23-8fe8f6e62e3f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2fcf55c4-aab3-40c3-b183-1fc81a1947f8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f34b64d6-dbbd-4894-b08d-6acf610f46f7" + }, + "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": "f34b64d6-dbbd-4894-b08d-6acf610f46f7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5334c50e-7bcd-47ec-8c75-ebb02af6e543", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "164236a9-adf5-43f2-8bdb-693681003179", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.xml new file mode 100644 index 00000000..2c0be574 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.xml @@ -0,0 +1,240 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ebf6de1c-770c-409f-ac23-8fe8f6e62e3f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2fcf55c4-aab3-40c3-b183-1fc81a1947f8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f34b64d6-dbbd-4894-b08d-6acf610f46f7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f34b64d6-dbbd-4894-b08d-6acf610f46f7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5334c50e-7bcd-47ec-8c75-ebb02af6e543"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="164236a9-adf5-43f2-8bdb-693681003179"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index f2cf210e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/output.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "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 deleted file mode 100644 index 9916876b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/output.xml +++ /dev/null @@ -1,240 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="7dc8dca7-65b6-4c40-8e0e-c64d807a817e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c73f5a93-068f-4c2f-861c-3b087885cc7f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/532640fb-aac2-469a-a303-1058a563527e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="532640fb-aac2-469a-a303-1058a563527e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22308"/> - </coding> - <text value="Gabapentin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="300"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a74550e7-4b12-4f75-ae26-44b06389a683"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="74403da9-2669-4f0c-a5c7-b7f0b986ce10"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_218b581d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/output.json new file mode 100644 index 00000000..586a95d0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/output.json @@ -0,0 +1,239 @@ +{ + "resourceType": "Parameters", + "id": "21e1c356-926e-42be-8e64-d26340d174ee", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7d756251-fab8-48ba-9d41-7834eeabaee3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5919e67d-20e6-4ee9-b51f-f27eea9e93cf" + }, + "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": "5919e67d-20e6-4ee9-b51f-f27eea9e93cf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2cabbf81-92c6-461b-ac12-fd013157a77b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6d99e84c-11d8-456f-9b95-d8f23cddcefa", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/output.xml new file mode 100644 index 00000000..a28f8aa9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/output.xml @@ -0,0 +1,240 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="21e1c356-926e-42be-8e64-d26340d174ee"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7d756251-fab8-48ba-9d41-7834eeabaee3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5919e67d-20e6-4ee9-b51f-f27eea9e93cf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5919e67d-20e6-4ee9-b51f-f27eea9e93cf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2cabbf81-92c6-461b-ac12-fd013157a77b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6d99e84c-11d8-456f-9b95-d8f23cddcefa"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 0d9c7ea7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/output.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "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 deleted file mode 100644 index 4ed39c32..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/output.xml +++ /dev/null @@ -1,240 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f0255f73-4409-4383-9e28-8401763b610d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c860f15a-9526-4aec-ad08-21ad609d173f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/8a0b51bb-da20-4e70-a47f-7733d369547f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8a0b51bb-da20-4e70-a47f-7733d369547f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22308"/> - </coding> - <text value="Gabapentin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="300"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="888bf544-51c1-42d6-a976-f00f2f4e95c9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f6bf3896-fe4e-4a0b-a3af-e2ecbca70bde"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_V1_VerordnungArzt_f0255f73_218b581d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/output.json new file mode 100644 index 00000000..75d7369d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/output.json @@ -0,0 +1,239 @@ +{ + "resourceType": "Parameters", + "id": "3765a2a2-bd59-4a35-b84a-ff12b2eef3f0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2c24e915-9f2a-4eb5-afa6-83ad020fa4ec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/78dd151b-8e56-47b8-8ece-d23061aa8f58" + }, + "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": "78dd151b-8e56-47b8-8ece-d23061aa8f58", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ed32661e-8b8c-41fe-b768-0e0823cdbfb0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a7d7d348-ff08-4b09-919d-9bbe634b6064", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/output.xml new file mode 100644 index 00000000..d55b8133 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/output.xml @@ -0,0 +1,240 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3765a2a2-bd59-4a35-b84a-ff12b2eef3f0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2c24e915-9f2a-4eb5-afa6-83ad020fa4ec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/78dd151b-8e56-47b8-8ece-d23061aa8f58"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="78dd151b-8e56-47b8-8ece-d23061aa8f58"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ed32661e-8b8c-41fe-b768-0e0823cdbfb0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a7d7d348-ff08-4b09-919d-9bbe634b6064"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index c0bdf1cc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/output.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "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 deleted file mode 100644 index a611553a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/output.xml +++ /dev/null @@ -1,240 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="19ee1a38-15d8-4c06-865c-68e3d55c1351"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="54d7f7f3-2c3e-4c66-9f6a-734f89e58878"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/1faa49b4-e1b8-46c1-b1e8-252c1cbb7db4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1faa49b4-e1b8-46c1-b1e8-252c1cbb7db4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22308"/> - </coding> - <text value="Gabapentin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="300"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6d547bd9-3b29-457c-b846-3521fac7ddbb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="bd27bb72-1a73-4b7d-89b6-2f13b221e3d7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_218b581d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/output.json new file mode 100644 index 00000000..cc797290 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/output.json @@ -0,0 +1,239 @@ +{ + "resourceType": "Parameters", + "id": "45db719d-e1d6-4473-b448-86f344e5cfe6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "bbf019b9-2166-41bc-97d3-55b52278dc03", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/821f0405-f057-4683-a6f1-f0bf200eb83a" + }, + "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": "821f0405-f057-4683-a6f1-f0bf200eb83a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d0a58aa5-1f44-4f58-8686-1980899e6dc7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6d37dd6e-6e75-433a-a400-35f738eca4c2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/output.xml new file mode 100644 index 00000000..c8551b40 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/output.xml @@ -0,0 +1,240 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="45db719d-e1d6-4473-b448-86f344e5cfe6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="bbf019b9-2166-41bc-97d3-55b52278dc03"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/821f0405-f057-4683-a6f1-f0bf200eb83a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="821f0405-f057-4683-a6f1-f0bf200eb83a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d0a58aa5-1f44-4f58-8686-1980899e6dc7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6d37dd6e-6e75-433a-a400-35f738eca4c2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/input.xml new file mode 100644 index 00000000..4cd54e24 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/input.xml @@ -0,0 +1,414 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="218b581d-ccbe-480e-b8d7-f5f9b925e8c4"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/5c43d99a-64ba-436d-9b8c-6ee5156d7607"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5c43d99a-64ba-436d-9b8c-6ee5156d7607"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="4"/> + </valueCoding> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/e091f324-689b-4f3c-875d-050b525b09c5"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/e091f324-689b-4f3c-875d-050b525b09c5"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e091f324-689b-4f3c-875d-050b525b09c5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"/> + </extension> + </family> + <given value="Friëdrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="BG"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Alternative_IK"> + <valueIdentifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="121191241"/> + </valueIdentifier> + </extension> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="Verwaltungs-BG"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.json new file mode 100644 index 00000000..aa5dd637 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.json @@ -0,0 +1,239 @@ +{ + "resourceType": "Parameters", + "id": "3a4fe12d-adf4-438d-b7bb-fbde6d96a7cd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a1cacdda-2b90-4d75-a198-03334539c099", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8e88cd06-79f2-42ff-9452-7c666fbd4e38" + }, + "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": "8e88cd06-79f2-42ff-9452-7c666fbd4e38", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9004face-1de8-4c9d-a8d9-6e7e55dfd0b0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f770c315-da83-4f5b-8890-07fb15dd3283", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.xml new file mode 100644 index 00000000..8b801ae6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.xml @@ -0,0 +1,240 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3a4fe12d-adf4-438d-b7bb-fbde6d96a7cd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a1cacdda-2b90-4d75-a198-03334539c099"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8e88cd06-79f2-42ff-9452-7c666fbd4e38"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8e88cd06-79f2-42ff-9452-7c666fbd4e38"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9004face-1de8-4c9d-a8d9-6e7e55dfd0b0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f770c315-da83-4f5b-8890-07fb15dd3283"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 195d657b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/output.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "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 deleted file mode 100644 index ced790ad..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/output.xml +++ /dev/null @@ -1,240 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b4263a0b-7173-4338-8611-4246f4bc8949"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="669079fe-2b61-413f-9420-dd2e75d1621b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/ddd348ed-f957-4949-931f-46e36482a2bb"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ddd348ed-f957-4949-931f-46e36482a2bb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22308"/> - </coding> - <text value="Gabapentin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="300"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6ac39e1f-7fbd-4233-adc5-e0db4cefd071"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1b7b80f6-a127-4669-bec4-c742b97ce374"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/input.xml new file mode 100644 index 00000000..4cd54e24 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/input.xml @@ -0,0 +1,414 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="218b581d-ccbe-480e-b8d7-f5f9b925e8c4"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/5c43d99a-64ba-436d-9b8c-6ee5156d7607"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5c43d99a-64ba-436d-9b8c-6ee5156d7607"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="4"/> + </valueCoding> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/e091f324-689b-4f3c-875d-050b525b09c5"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/e091f324-689b-4f3c-875d-050b525b09c5"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e091f324-689b-4f3c-875d-050b525b09c5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"/> + </extension> + </family> + <given value="Friëdrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="BG"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Alternative_IK"> + <valueIdentifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="121191241"/> + </valueIdentifier> + </extension> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="Verwaltungs-BG"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/output.json new file mode 100644 index 00000000..83d79c0e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/output.json @@ -0,0 +1,239 @@ +{ + "resourceType": "Parameters", + "id": "024ea201-89de-4666-9434-1d46616ba7c0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "84c96587-1c09-47dd-8ce6-fd546a091181", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/87c6ad34-623c-4c02-9c96-e8095a95ab83" + }, + "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": "87c6ad34-623c-4c02-9c96-e8095a95ab83", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5c930ca0-32e0-43b2-9755-725366731f90", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e7279002-a59e-4ee5-9550-e8bbbcd0ef5b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/output.xml new file mode 100644 index 00000000..176aa139 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/output.xml @@ -0,0 +1,240 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="024ea201-89de-4666-9434-1d46616ba7c0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="84c96587-1c09-47dd-8ce6-fd546a091181"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/87c6ad34-623c-4c02-9c96-e8095a95ab83"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="87c6ad34-623c-4c02-9c96-e8095a95ab83"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5c930ca0-32e0-43b2-9755-725366731f90"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e7279002-a59e-4ee5-9550-e8bbbcd0ef5b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index c60f59ac..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/output.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "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 deleted file mode 100644 index 8d9755a5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6cd22004-c851-43bd-ae92-1d341e3fa93b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.022.73"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="009b3387-f4d0-416e-815e-627ea0eb90d0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="2"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2023-07-27"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/cc60e0e6-bfab-4eeb-a3f6-8f0f8eadae96"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="cc60e0e6-bfab-4eeb-a3f6-8f0f8eadae96"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="23816"/> - </coding> - <text value="Simvastatin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="63dc5fc5-5a14-4c0f-b25c-11dac171a20c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a893e520-6b8a-4586-b623-0c885e0f03a7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_cd6d3a17/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/output.json new file mode 100644 index 00000000..26e7b166 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "5188fbbe-f607-47ae-82b6-2e4380a05859", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0532489a-4b18-4094-9d41-61086715de69", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/7ff7a9d1-ad13-473d-858c-0fa4df3146c5" + }, + "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": "7ff7a9d1-ad13-473d-858c-0fa4df3146c5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "849a3449-75ce-42f7-b607-913c590cb3aa", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "165245ff-8154-46af-9580-c923ea76dd0d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/output.xml new file mode 100644 index 00000000..4406d7d4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5188fbbe-f607-47ae-82b6-2e4380a05859"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0532489a-4b18-4094-9d41-61086715de69"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2023-07-27"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7ff7a9d1-ad13-473d-858c-0fa4df3146c5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7ff7a9d1-ad13-473d-858c-0fa4df3146c5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="849a3449-75ce-42f7-b607-913c590cb3aa"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="165245ff-8154-46af-9580-c923ea76dd0d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 80346631..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/output.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "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 deleted file mode 100644 index a36b14f8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="855669ce-b86c-4b58-8991-5c310599fc17"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.022.73"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9cf79fef-6398-4772-a913-82988beb7bd2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="2"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-11-27"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/fac2d08b-aadb-4980-acb3-750b3b8bfe44"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fac2d08b-aadb-4980-acb3-750b3b8bfe44"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="23816"/> - </coding> - <text value="Simvastatin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5afb32ea-1463-4bf9-b259-85e293354da4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="babc7651-88bb-4288-97aa-c70d081054cc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_cd6d3a17/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/output.json new file mode 100644 index 00000000..8a92f42f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "24fa2c64-7e70-4bf1-89b1-6c5bc8ad7b73", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e7cd3df3-c3ff-4c8f-9430-9aa4acf2ef03", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/fc06b830-5efe-4580-af3b-4e83f46e6510" + }, + "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": "fc06b830-5efe-4580-af3b-4e83f46e6510", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "81330e42-2d3f-470c-9f6c-9ca3f8d26396", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "629576ad-44fe-4b26-90d5-9cde48b9965c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/output.xml new file mode 100644 index 00000000..678b689f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="24fa2c64-7e70-4bf1-89b1-6c5bc8ad7b73"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e7cd3df3-c3ff-4c8f-9430-9aa4acf2ef03"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-27"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fc06b830-5efe-4580-af3b-4e83f46e6510"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fc06b830-5efe-4580-af3b-4e83f46e6510"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="81330e42-2d3f-470c-9f6c-9ca3f8d26396"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="629576ad-44fe-4b26-90d5-9cde48b9965c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/input.xml new file mode 100644 index 00000000..17503370 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="cd6d3a17-8105-4f1e-86ff-48cd5cebf245"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/dc55a629-9d26-467e-83be-55a5a21d6016"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="dc55a629-9d26-467e-83be-55a5a21d6016"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/f63578ab-c3d5-4364-ac13-e20873cb716c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/f63578ab-c3d5-4364-ac13-e20873cb716c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f63578ab-c3d5-4364-ac13-e20873cb716c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-11-27"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost - Die Gesundheitskasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.json new file mode 100644 index 00000000..89e06ad1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "d9a50d0d-b40d-4917-bfa0-dc8429a461ec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a4b61103-cf1d-41db-b9d9-9897eac90183", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/505ebcb8-c464-42d4-af15-c1d73932cc49" + }, + "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": "505ebcb8-c464-42d4-af15-c1d73932cc49", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "437a1696-2876-4b1f-aa95-68a5437212d0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2a696378-342c-41b6-9fd5-2b213823f5d2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.xml new file mode 100644 index 00000000..a838173c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d9a50d0d-b40d-4917-bfa0-dc8429a461ec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a4b61103-cf1d-41db-b9d9-9897eac90183"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-27"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/505ebcb8-c464-42d4-af15-c1d73932cc49"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="505ebcb8-c464-42d4-af15-c1d73932cc49"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="437a1696-2876-4b1f-aa95-68a5437212d0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2a696378-342c-41b6-9fd5-2b213823f5d2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 7b1d7622..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/output.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "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 deleted file mode 100644 index 088a8080..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0e20c760-fcac-434c-94ae-5133f4b59eb6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.027.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d3d63b4e-3e26-4afa-8ad3-f681af1ea2cf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="2"/> - </numerator> - <denominator> - <value value="2"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2023-09-15"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/510a84d5-4f56-4ed4-8d6d-53ccdac831aa"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="510a84d5-4f56-4ed4-8d6d-53ccdac831aa"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="23816"/> - </coding> - <text value="Simvastatin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="dfab7a53-4b2e-4ffc-8cf1-c41e66dbf926"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ea08fc8f-80d0-4be2-a08d-fd81cbfcb06a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_d9118e05/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/output.json new file mode 100644 index 00000000..81dc1912 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "24a8bbf9-e394-49c3-b3a3-64d62fb8344a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7e409c74-fbcc-4132-bbbf-d0dd7d665348", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/7cdf5eb5-8bc1-452b-ad9e-c714a6bb2136" + }, + "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": "7cdf5eb5-8bc1-452b-ad9e-c714a6bb2136", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "41830458-94b3-4b49-b09c-94c740c004de", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "439d1509-5973-4f4a-857f-a8ac684c9754", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/output.xml new file mode 100644 index 00000000..24da4ad5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="24a8bbf9-e394-49c3-b3a3-64d62fb8344a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7e409c74-fbcc-4132-bbbf-d0dd7d665348"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2023-09-15"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7cdf5eb5-8bc1-452b-ad9e-c714a6bb2136"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7cdf5eb5-8bc1-452b-ad9e-c714a6bb2136"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="41830458-94b3-4b49-b09c-94c740c004de"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="439d1509-5973-4f4a-857f-a8ac684c9754"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 005213b5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/output.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "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 deleted file mode 100644 index ac4e7c1d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d1c94e5f-4ff1-4ace-8330-d109c35e8dc7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.027.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b4d44313-868d-4b65-8e98-937c424f8bc6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="2"/> - </numerator> - <denominator> - <value value="2"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2025-01-15"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/bc7aac49-f6a2-4d50-ba08-a6f974e26dfc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bc7aac49-f6a2-4d50-ba08-a6f974e26dfc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="23816"/> - </coding> - <text value="Simvastatin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f6e71e5c-62a1-42dc-a0b3-f9540dc23897"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a7f65ddd-2f1f-427d-9db8-f27ae6ceaaa6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_d9118e05/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/output.json new file mode 100644 index 00000000..3cba3cd6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "782e6550-a41d-41e0-a3af-67f585277e1f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b1d9a145-cfe2-437f-a7de-304be807eb9b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/3fbc59ef-e458-476d-a1d1-87d914cbef72" + }, + "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": "3fbc59ef-e458-476d-a1d1-87d914cbef72", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bf5919d0-30fa-4ac5-a063-219bc688a282", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a33458b9-6a84-45c3-ba52-fcf77b07d631", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/output.xml new file mode 100644 index 00000000..10330f56 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="782e6550-a41d-41e0-a3af-67f585277e1f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b1d9a145-cfe2-437f-a7de-304be807eb9b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-01-15"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3fbc59ef-e458-476d-a1d1-87d914cbef72"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3fbc59ef-e458-476d-a1d1-87d914cbef72"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bf5919d0-30fa-4ac5-a063-219bc688a282"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a33458b9-6a84-45c3-ba52-fcf77b07d631"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/input.xml new file mode 100644 index 00000000..1c835296 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="d9118e05-6e13-4df6-af50-552401cf9ba2"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/d3a554f4-cb2c-4fb5-b03a-f22e8b0f8f70"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d3a554f4-cb2c-4fb5-b03a-f22e8b0f8f70"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/d45717d2-9bca-435c-94aa-56932d81d2cc"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/d45717d2-9bca-435c-94aa-56932d81d2cc"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d45717d2-9bca-435c-94aa-56932d81d2cc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2025-01-15"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost - Die Gesundheitskasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.json new file mode 100644 index 00000000..b1870ffa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "0aa887f3-dab1-4853-a79c-007821535699", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4f544c8e-91da-4971-aa5b-ccc0ed1a0bb7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/0e66f66f-db60-4a37-949c-319638f26397" + }, + "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": "0e66f66f-db60-4a37-949c-319638f26397", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "45c1b786-a0aa-495a-ae88-885893f6ee2c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6a992c30-c10d-4d99-878c-5bc751f680c4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.xml new file mode 100644 index 00000000..d8d2ae6e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0aa887f3-dab1-4853-a79c-007821535699"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4f544c8e-91da-4971-aa5b-ccc0ed1a0bb7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-01-15"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0e66f66f-db60-4a37-949c-319638f26397"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0e66f66f-db60-4a37-949c-319638f26397"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="45c1b786-a0aa-495a-ae88-885893f6ee2c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6a992c30-c10d-4d99-878c-5bc751f680c4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index bacd88d7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/output.json +++ /dev/null @@ -1,242 +0,0 @@ -{ - "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 deleted file mode 100644 index 8b6a8041..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/output.xml +++ /dev/null @@ -1,243 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2d950b54-3c16-46ff-a066-e2cfe7df21d1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.021.76"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="99fcc4be-478c-436f-ba85-15f0df2616ea"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/0eb9adcd-6096-4bd3-85ad-c4bf0d6389b0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0eb9adcd-6096-4bd3-85ad-c4bf0d6389b0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <form> - <text value="Retardtabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="11900"/> - </coding> - <text value="Diclofenac-Natrium"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="75"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="05b53220-f936-4207-94db-c5ddf881917c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f2127273-2b98-4273-ba0b-636a6acb6806"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_cf0d4980/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/output.json new file mode 100644 index 00000000..aa3021ee --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/output.json @@ -0,0 +1,242 @@ +{ + "resourceType": "Parameters", + "id": "1fd90b25-0efb-4c02-9e12-f3cce4ff6f11", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "86861219-edf3-4f10-8b6e-f89b22d23d6a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9b06db56-0d80-4fb3-9469-79d2017844d5" + }, + "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": "9b06db56-0d80-4fb3-9469-79d2017844d5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8e188c28-9b38-44ca-8724-c1ba7ec15703", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "fbc72f1e-646d-4ac4-ac50-5dd76ba7ff8a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/output.xml new file mode 100644 index 00000000..acde82fd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/output.xml @@ -0,0 +1,243 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1fd90b25-0efb-4c02-9e12-f3cce4ff6f11"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="86861219-edf3-4f10-8b6e-f89b22d23d6a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9b06db56-0d80-4fb3-9469-79d2017844d5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9b06db56-0d80-4fb3-9469-79d2017844d5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <form> + <text value="Retardtabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="11900"/> + </coding> + <text value="Diclofenac-Natrium"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="75"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8e188c28-9b38-44ca-8724-c1ba7ec15703"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="fbc72f1e-646d-4ac4-ac50-5dd76ba7ff8a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 011d014a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/output.json +++ /dev/null @@ -1,242 +0,0 @@ -{ - "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 deleted file mode 100644 index 6b603c54..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/output.xml +++ /dev/null @@ -1,243 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c49e3851-dcfa-45e5-a6a7-9091cc3b8b2f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.021.76"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="f8596dcd-8f7e-4f86-acc6-585ab45f855c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/2b0d2067-41cf-46b3-a589-70a09481f4df"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2b0d2067-41cf-46b3-a589-70a09481f4df"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <form> - <text value="Retardtabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="11900"/> - </coding> - <text value="Diclofenac-Natrium"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="75"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1519454c-768b-4d0c-bf26-c842845de5f0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d1947a8c-cd83-42cc-9840-532a09f4c83b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_cf0d4980/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/output.json new file mode 100644 index 00000000..1366bda3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/output.json @@ -0,0 +1,242 @@ +{ + "resourceType": "Parameters", + "id": "b91bea61-b379-4996-9eec-d2d6d63deca1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9a5f3511-3ac2-4cbe-94b6-cd996694d4cb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/52f1920c-4109-492a-b3d6-ed772bc32461" + }, + "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": "52f1920c-4109-492a-b3d6-ed772bc32461", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cb7ffba0-ba04-415d-a726-299f529398b9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d526e0bb-ab4a-4804-ac63-2cc4d049888b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/output.xml new file mode 100644 index 00000000..2c1f4366 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/output.xml @@ -0,0 +1,243 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b91bea61-b379-4996-9eec-d2d6d63deca1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9a5f3511-3ac2-4cbe-94b6-cd996694d4cb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/52f1920c-4109-492a-b3d6-ed772bc32461"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="52f1920c-4109-492a-b3d6-ed772bc32461"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <form> + <text value="Retardtabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="11900"/> + </coding> + <text value="Diclofenac-Natrium"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="75"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cb7ffba0-ba04-415d-a726-299f529398b9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d526e0bb-ab4a-4804-ac63-2cc4d049888b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/input.xml new file mode 100644 index 00000000..3c530cf0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/input.xml @@ -0,0 +1,406 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="cf0d4980-af01-44f4-a38c-d6bf14b82e07"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="7a0b2d5e-8660-47b2-b26a-0e3dbba4399d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/0886a530-68ef-4517-9999-b24f79b08da1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/0886a530-68ef-4517-9999-b24f79b08da1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0886a530-68ef-4517-9999-b24f79b08da1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="Unfalltag"> + <valueDate value="2024-11-27"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a3ccc266-b033-47cc-9361-98ec450f7db9"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a3ccc266-b033-47cc-9361-98ec450f7db9"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a3ccc266-b033-47cc-9361-98ec450f7db9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Retardtabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="11900"/> + </coding> + <text value="Diclofenac-Natrium"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="75"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.json new file mode 100644 index 00000000..455f8232 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.json @@ -0,0 +1,242 @@ +{ + "resourceType": "Parameters", + "id": "166e5539-3e12-4de7-b145-2d81dece1c9a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ae3c90cb-d370-4879-9d17-17b3df96671a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/29ec90ed-ae95-4ab3-ac20-72f333004b9f" + }, + "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": "29ec90ed-ae95-4ab3-ac20-72f333004b9f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "93381fbf-1b8c-47be-acf8-9eac42087604", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6da775c1-8d4b-4a9b-b3c3-fc9a4fb9eb72", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.xml new file mode 100644 index 00000000..27c7bb3f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.xml @@ -0,0 +1,243 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="166e5539-3e12-4de7-b145-2d81dece1c9a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ae3c90cb-d370-4879-9d17-17b3df96671a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/29ec90ed-ae95-4ab3-ac20-72f333004b9f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="29ec90ed-ae95-4ab3-ac20-72f333004b9f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <form> + <text value="Retardtabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="11900"/> + </coding> + <text value="Diclofenac-Natrium"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="75"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="93381fbf-1b8c-47be-acf8-9eac42087604"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6da775c1-8d4b-4a9b-b3c3-fc9a4fb9eb72"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index a5efb907..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "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 deleted file mode 100644 index 456018fc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="86dcf637-1d9f-428a-9b72-5dbb8570bf34"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="940204d6-6481-4de4-9bff-24760bf5bb46"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/b3bd044e-51f7-4f9b-b246-4b8e124091f6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b3bd044e-51f7-4f9b-b246-4b8e124091f6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bdfa0c2d-daab-4774-ba68-f03243d2a747"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="0a90b855-fea0-44b8-9ab9-af031ca3ec3f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/output.json new file mode 100644 index 00000000..46f14463 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "eabc9ff3-415a-4df0-8247-2d13b87484b6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "98d7ce52-1b6c-4947-8337-e0286c8a26c9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3299a155-4b81-440d-a9ca-20e1b502944e" + }, + "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": "3299a155-4b81-440d-a9ca-20e1b502944e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2ac65b66-f050-4540-b543-9bfb7c86ec28", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e318a4d2-d0d3-46a2-beb1-627ac0c4b5af", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/output.xml new file mode 100644 index 00000000..2aa85e89 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="eabc9ff3-415a-4df0-8247-2d13b87484b6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="98d7ce52-1b6c-4947-8337-e0286c8a26c9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3299a155-4b81-440d-a9ca-20e1b502944e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3299a155-4b81-440d-a9ca-20e1b502944e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2ac65b66-f050-4540-b543-9bfb7c86ec28"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e318a4d2-d0d3-46a2-beb1-627ac0c4b5af"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_V1_VerordnungArzt_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.json new file mode 100644 index 00000000..ddab1c41 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "1f2044cc-fb89-414d-b047-06c2add92c86", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d889d47f-52d7-4c0f-97fb-defb17104da0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c825f2b3-bed5-45f4-968d-f898497ef604" + }, + "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": "c825f2b3-bed5-45f4-968d-f898497ef604", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "58900c11-90dc-420b-8cef-0069863d477a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ec462b7f-6314-462c-9328-ba91515de8f0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.xml new file mode 100644 index 00000000..72b8633d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1f2044cc-fb89-414d-b047-06c2add92c86"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d889d47f-52d7-4c0f-97fb-defb17104da0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c825f2b3-bed5-45f4-968d-f898497ef604"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c825f2b3-bed5-45f4-968d-f898497ef604"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="58900c11-90dc-420b-8cef-0069863d477a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ec462b7f-6314-462c-9328-ba91515de8f0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 0bd386a1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "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 deleted file mode 100644 index 0d1e8a6b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e065344f-6a41-4da4-adbb-e9526a356281"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="01c54bdb-52e5-4978-9114-e2410b5bf694"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/66be3439-b2c9-4f1e-877c-4107a05f7e49"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="66be3439-b2c9-4f1e-877c-4107a05f7e49"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="63f0cde3-751e-4bb7-97d4-2f1f5349e921"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="cf950eb5-0247-4b25-a51d-9794500552dd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/output.json new file mode 100644 index 00000000..62de1ac8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "6f76f2db-7b9a-4336-a571-9a842c2a25df", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9af973b6-c9ea-4557-8786-357a7d3bbd38", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ee8a6601-fecb-4300-9cfc-1dd2b9bbbc11" + }, + "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": "ee8a6601-fecb-4300-9cfc-1dd2b9bbbc11", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d221fd91-7199-436e-a58c-dd22c4ef1324", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e8a27a4d-75b7-4f00-8328-36043018169b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/output.xml new file mode 100644 index 00000000..038959fb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6f76f2db-7b9a-4336-a571-9a842c2a25df"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9af973b6-c9ea-4557-8786-357a7d3bbd38"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ee8a6601-fecb-4300-9cfc-1dd2b9bbbc11"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ee8a6601-fecb-4300-9cfc-1dd2b9bbbc11"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d221fd91-7199-436e-a58c-dd22c4ef1324"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e8a27a4d-75b7-4f00-8328-36043018169b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index fbb82a46..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "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 deleted file mode 100644 index ba2a3bd6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1951fd21-d593-442d-9139-1c8b57597feb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="55087ec1-bf5d-4e60-829d-0256c23f6755"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/5ea16472-ec94-4f86-99b7-dbd804f8760d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5ea16472-ec94-4f86-99b7-dbd804f8760d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c124fb65-6505-4324-9f70-e068e27e2ce1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="37439d2b-8e0f-479d-8b8e-7efdbffc2742"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_V2_VerordnungArzt_1951fd21_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/output.json new file mode 100644 index 00000000..ba2c70c2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "da487019-acff-44df-b73b-b9db5adf7aeb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6ed9a07c-bb9c-4238-b751-c52639180d41", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1dde4459-b86b-4552-9af3-471ee0fc1018" + }, + "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": "1dde4459-b86b-4552-9af3-471ee0fc1018", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c82b747e-a4d3-468e-a6fc-de883c0ec23d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5084e79b-d581-4c96-b756-70c4e34aca4b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/output.xml new file mode 100644 index 00000000..0382e9da --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="da487019-acff-44df-b73b-b9db5adf7aeb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6ed9a07c-bb9c-4238-b751-c52639180d41"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1dde4459-b86b-4552-9af3-471ee0fc1018"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1dde4459-b86b-4552-9af3-471ee0fc1018"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c82b747e-a4d3-468e-a6fc-de883c0ec23d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5084e79b-d581-4c96-b756-70c4e34aca4b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 3e20d220..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "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 deleted file mode 100644 index 16437d19..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="68631a1b-0d0d-41e1-b959-bbf15a83082d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e20e77ed-3873-4ff5-b935-55e865fb47a9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/0da2a3f7-4c6d-4cf7-826f-b80700fd3d5c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0da2a3f7-4c6d-4cf7-826f-b80700fd3d5c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6cff63ea-cae9-47f1-a50b-817f024ef7af"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="3fb283f7-ac68-4a74-8df9-0940076cb181"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/output.json new file mode 100644 index 00000000..df78cb23 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "a4e1718d-182c-4fa9-8b61-0b5f20354899", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8bf13920-8afa-48f8-9210-44f8ab0e12ea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c63fde9d-3898-4976-8ae3-f3b8f4696c57" + }, + "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": "c63fde9d-3898-4976-8ae3-f3b8f4696c57", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "725202b2-2697-4c8f-bf4e-e086ce9c5573", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "84ea45a6-617a-4e5a-a819-53dd95d3851c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/output.xml new file mode 100644 index 00000000..78ef47cf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a4e1718d-182c-4fa9-8b61-0b5f20354899"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8bf13920-8afa-48f8-9210-44f8ab0e12ea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c63fde9d-3898-4976-8ae3-f3b8f4696c57"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c63fde9d-3898-4976-8ae3-f3b8f4696c57"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="725202b2-2697-4c8f-bf4e-e086ce9c5573"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="84ea45a6-617a-4e5a-a819-53dd95d3851c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_V2_VerordnungArzt_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.json new file mode 100644 index 00000000..2cc20c67 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "4c41affc-e872-4b8c-9769-f66f3977a4d2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "df8b6804-d2a6-4eb0-ae5b-f95013dc1225", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f6ad8a53-2f69-4cb8-ab89-3d52416ca940" + }, + "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": "f6ad8a53-2f69-4cb8-ab89-3d52416ca940", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d43cf100-b8d0-4377-8464-e2f0d1f65069", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "948913a3-b68a-4805-9c92-24999bb28d00", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.xml new file mode 100644 index 00000000..304189ac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4c41affc-e872-4b8c-9769-f66f3977a4d2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="df8b6804-d2a6-4eb0-ae5b-f95013dc1225"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f6ad8a53-2f69-4cb8-ab89-3d52416ca940"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f6ad8a53-2f69-4cb8-ab89-3d52416ca940"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d43cf100-b8d0-4377-8464-e2f0d1f65069"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="948913a3-b68a-4805-9c92-24999bb28d00"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/input.xml new file mode 100644 index 00000000..b44c7f76 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9c85a2a5-92ee-4a57-83cb-ba90a0df2a21"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a7eefdd-df71-4a72-8047-c158017534a1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin mit dem Schwerpunkt Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.json new file mode 100644 index 00000000..96df570f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "a14eb2c0-63ee-4c6c-9faa-0e9de79617df", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8a717b60-24b6-41c3-86e8-87298d93499f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/dd11f103-1157-4f9f-9c5e-a5dc5e4b941a" + }, + "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": "dd11f103-1157-4f9f-9c5e-a5dc5e4b941a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e92691fb-73ad-4a61-896d-e5cbd71117b3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "79cbb171-699a-4c3c-9ca3-97f01c909b1a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.xml new file mode 100644 index 00000000..655e2f88 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a14eb2c0-63ee-4c6c-9faa-0e9de79617df"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8a717b60-24b6-41c3-86e8-87298d93499f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/dd11f103-1157-4f9f-9c5e-a5dc5e4b941a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dd11f103-1157-4f9f-9c5e-a5dc5e4b941a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e92691fb-73ad-4a61-896d-e5cbd71117b3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="79cbb171-699a-4c3c-9ca3-97f01c909b1a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 4d8fff6f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "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 deleted file mode 100644 index 0b733302..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a07c7844-d45a-46e6-be63-1f15f560eced"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="69137af1-37c4-42c7-a441-4bfd48fd8175"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/341045da-cbb5-4db4-bd27-5bec94f9550d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="341045da-cbb5-4db4-bd27-5bec94f9550d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="78c82665-0db6-4356-9788-aa343ff64802"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="50d178f8-e052-4c31-8fc1-621fb94286cf"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/output.json new file mode 100644 index 00000000..38ba294d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "f3fd7b10-11bc-4776-bd31-5cdb4808764f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0a2f2b61-9edb-46a1-bbc7-104d2d75a021", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2ec2c41a-a303-4730-8c21-a533332320d4" + }, + "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": "2ec2c41a-a303-4730-8c21-a533332320d4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7de8e52b-aa26-46c7-8aa8-9eeac4522b00", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d59e3cd4-a264-47b2-9f03-9107056d8d24", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/output.xml new file mode 100644 index 00000000..76235b49 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f3fd7b10-11bc-4776-bd31-5cdb4808764f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0a2f2b61-9edb-46a1-bbc7-104d2d75a021"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2ec2c41a-a303-4730-8c21-a533332320d4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2ec2c41a-a303-4730-8c21-a533332320d4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7de8e52b-aa26-46c7-8aa8-9eeac4522b00"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d59e3cd4-a264-47b2-9f03-9107056d8d24"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 2f0c73d7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "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 deleted file mode 100644 index f955d1e8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f7577903-394a-4d4c-98b6-282ddd7f9daa"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="954da6f0-632d-4369-8ce7-0ef641d5d274"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/b55f176a-afeb-448b-899f-c41162da608a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b55f176a-afeb-448b-899f-c41162da608a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8776233b-3a50-4501-82ab-0e5c84e2569f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7aac2b2b-ebee-45ca-ad99-9431149051bc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/input.xml new file mode 100644 index 00000000..b44c7f76 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9c85a2a5-92ee-4a57-83cb-ba90a0df2a21"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a7eefdd-df71-4a72-8047-c158017534a1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin mit dem Schwerpunkt Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/output.json new file mode 100644 index 00000000..9c8a4d71 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "00638d71-24df-44cb-b145-a246ecc3a439", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ec59ece6-bda8-484b-9cac-afcfeb29bffe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1c02fb67-3d1f-43fc-a668-33221a910e99" + }, + "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": "1c02fb67-3d1f-43fc-a668-33221a910e99", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d27d6cf4-c616-4188-933f-6e60eb044221", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b83c5f8c-3e38-4cb1-85c9-9a80ba1e31c6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/output.xml new file mode 100644 index 00000000..dcdeb0f3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="00638d71-24df-44cb-b145-a246ecc3a439"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ec59ece6-bda8-484b-9cac-afcfeb29bffe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1c02fb67-3d1f-43fc-a668-33221a910e99"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1c02fb67-3d1f-43fc-a668-33221a910e99"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d27d6cf4-c616-4188-933f-6e60eb044221"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b83c5f8c-3e38-4cb1-85c9-9a80ba1e31c6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/input.xml new file mode 100644 index 00000000..b44c7f76 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9c85a2a5-92ee-4a57-83cb-ba90a0df2a21"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a7eefdd-df71-4a72-8047-c158017534a1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin mit dem Schwerpunkt Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.json new file mode 100644 index 00000000..22e85686 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "45773436-f380-4843-9825-bd11ff84e724", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "46ac3dcf-676a-473f-9319-c10c4fe1673f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3d7ada46-c92f-4d26-8799-b8cebba667fa" + }, + "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": "3d7ada46-c92f-4d26-8799-b8cebba667fa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dbebb974-0dc1-440d-a5ba-f6d743160108", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c79c22b4-982d-41cc-9b81-15d38ce29153", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.xml new file mode 100644 index 00000000..891aab8d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="45773436-f380-4843-9825-bd11ff84e724"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="46ac3dcf-676a-473f-9319-c10c4fe1673f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3d7ada46-c92f-4d26-8799-b8cebba667fa"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3d7ada46-c92f-4d26-8799-b8cebba667fa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dbebb974-0dc1-440d-a5ba-f6d743160108"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c79c22b4-982d-41cc-9b81-15d38ce29153"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 8c86e24c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "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 deleted file mode 100644 index 3572077b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ea19671f-18c5-4ae6-9ef1-ca48509bddee"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1269976b-f90f-4a1f-aaf9-58f2e6c96686"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/e79b8765-4b4f-45d6-ac59-5b4a57c80d19"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e79b8765-4b4f-45d6-ac59-5b4a57c80d19"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b5d2f04a-a222-4108-8c27-1e21840a95c9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4470b42c-13b5-4eb9-bf3b-c404d62adea7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/output.json new file mode 100644 index 00000000..78ca99a5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "4443fb51-9e68-4b1f-b26d-3a660ac0f115", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0aba6432-0363-4fef-b469-c548bb392a76", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9893a502-396d-4772-b0a0-faec986f08cd" + }, + "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": "9893a502-396d-4772-b0a0-faec986f08cd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dc50aea2-75d3-48f5-8b4f-fdbccca176c6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "07c04d91-ff95-4f1f-aeff-6f63a3545b7c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/output.xml new file mode 100644 index 00000000..24eb4eb9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4443fb51-9e68-4b1f-b26d-3a660ac0f115"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0aba6432-0363-4fef-b469-c548bb392a76"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9893a502-396d-4772-b0a0-faec986f08cd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9893a502-396d-4772-b0a0-faec986f08cd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dc50aea2-75d3-48f5-8b4f-fdbccca176c6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="07c04d91-ff95-4f1f-aeff-6f63a3545b7c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 7c29fc2d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "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 deleted file mode 100644 index 85aea413..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="fa6f0220-fa3d-4823-86a2-49f4ceac633e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0d2b9eed-f8f2-477d-a9b9-ffe93a89d2e9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/23b396cf-720e-4dfe-a85c-40c893c3bb4c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="23b396cf-720e-4dfe-a85c-40c893c3bb4c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5a7974a6-3ab8-44f2-b867-304024927e98"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a4919b37-f09b-4d1d-9d0c-3b5fa0ddfa6a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/input.xml new file mode 100644 index 00000000..b44c7f76 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9c85a2a5-92ee-4a57-83cb-ba90a0df2a21"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a7eefdd-df71-4a72-8047-c158017534a1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin mit dem Schwerpunkt Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/output.json new file mode 100644 index 00000000..13774aa2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "75ffea31-1b10-447f-9d2c-4dc3dd433ca1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "bfeb502d-531d-4000-ac50-07fcccace755", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8f1b73a8-8289-473b-8f9a-20a7cdcc91eb" + }, + "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": "8f1b73a8-8289-473b-8f9a-20a7cdcc91eb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ba78c270-2277-411f-b211-7155ed8b5020", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e9fb31c3-5643-4b9f-adff-e9a74afa30f6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/output.xml new file mode 100644 index 00000000..1143517a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="75ffea31-1b10-447f-9d2c-4dc3dd433ca1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="bfeb502d-531d-4000-ac50-07fcccace755"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8f1b73a8-8289-473b-8f9a-20a7cdcc91eb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8f1b73a8-8289-473b-8f9a-20a7cdcc91eb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ba78c270-2277-411f-b211-7155ed8b5020"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e9fb31c3-5643-4b9f-adff-e9a74afa30f6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_02ad9b11/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.json new file mode 100644 index 00000000..3ffb1d36 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "e39de544-dbd3-447c-9f70-11269f04761b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "74937ab7-4784-4177-aa45-2d2bd1db6455", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d4ff53b4-23f4-42ca-bf21-75c9a2426e2f" + }, + "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": "d4ff53b4-23f4-42ca-bf21-75c9a2426e2f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3a35f067-8e13-4e2a-97a7-528f3a70cd6b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d0c130e2-36b2-450f-b4b8-cb734488c9cf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_02ad9b11/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.xml new file mode 100644 index 00000000..142ac925 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e39de544-dbd3-447c-9f70-11269f04761b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.849.51"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="74937ab7-4784-4177-aa45-2d2bd1db6455"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d4ff53b4-23f4-42ca-bf21-75c9a2426e2f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d4ff53b4-23f4-42ca-bf21-75c9a2426e2f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3a35f067-8e13-4e2a-97a7-528f3a70cd6b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="557235300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0799) 538609283"/> + </telecom> + <telecom> + <system value="email"/> + <value value="annabelle.hertel@helmke.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Auf'm Kamp 223"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="223"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf'm Kamp"/> + </extension> + </line> + <city value="Neu Helenheim"/> + <postalCode value="41048"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d0c130e2-36b2-450f-b4b8-cb734488c9cf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="207670259"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index ed8c2a42..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/output.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "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 deleted file mode 100644 index 9a00585c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/output.xml +++ /dev/null @@ -1,236 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="02fcf3a5-1f45-4d89-a3e2-1c5ec77197ae"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.797.78"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6ed41e59-29ed-49e6-887d-e9709fae3da4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-02-08"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:13061707"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/974e2edb-8a73-4a61-93c2-cb71b7a15a64"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="974e2edb-8a73-4a61-93c2-cb71b7a15a64"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="45323114"/> - </coding> - <text value="Hydvofloxnin"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0f7e021f-6cae-47ad-9cff-3fdc7c002c04"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="711020854"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0340) 561450343"/> - </telecom> - <telecom> - <system value="email"/> - <value value="saphira.schaffarzik@jungbluth.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Am Arenzberg 46b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="46b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Am Arenzberg"/> - </extension> - </line> - <city value="Jessicafeld"/> - <postalCode value="12141"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="165995cf-c893-4e56-8fba-bc7d8dbdb011"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="616562658"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_475e9667/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/output.json new file mode 100644 index 00000000..2c40bee0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "9011dc52-4829-4b84-a9f1-8224f977dacd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e05760d4-4d33-42f9-aa34-4e0d81a0f766", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/f41badff-5fbe-49c3-bfa9-48ae13e56dcc" + }, + "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": "f41badff-5fbe-49c3-bfa9-48ae13e56dcc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8a773c96-1ef7-447c-980f-a9f210629085", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "25e6c0b2-7649-4511-9ac3-5dc78b8bd6f3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_475e9667/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/output.xml new file mode 100644 index 00000000..e8cef5b9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9011dc52-4829-4b84-a9f1-8224f977dacd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.797.78"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e05760d4-4d33-42f9-aa34-4e0d81a0f766"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-02-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f41badff-5fbe-49c3-bfa9-48ae13e56dcc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f41badff-5fbe-49c3-bfa9-48ae13e56dcc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="45323114"/> + </coding> + <text value="Hydvofloxnin"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8a773c96-1ef7-447c-980f-a9f210629085"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="25e6c0b2-7649-4511-9ac3-5dc78b8bd6f3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_05168195/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.json new file mode 100644 index 00000000..11c70043 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "f755d338-8655-490e-a87d-b9250cd7f017", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6959dbd2-6664-4b3b-9cf5-c31b009950c9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a2b2a952-2282-4e17-a6bf-404f6e02a6b9" + }, + "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": "a2b2a952-2282-4e17-a6bf-404f6e02a6b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e73a36d6-ad65-413b-9e6e-23a56461b3a8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2d47de49-9d0d-4e01-8c71-4462abd2f9c3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_05168195/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.xml new file mode 100644 index 00000000..21ab285d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f755d338-8655-490e-a87d-b9250cd7f017"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.994.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6959dbd2-6664-4b3b-9cf5-c31b009950c9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a2b2a952-2282-4e17-a6bf-404f6e02a6b9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a2b2a952-2282-4e17-a6bf-404f6e02a6b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="93081505"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e73a36d6-ad65-413b-9e6e-23a56461b3a8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="024545375"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09883) 7244642"/> + </telecom> + <telecom> + <system value="email"/> + <value value="arne.griese@vogt.de"/> + </telecom> + <address> + <type value="both"/> + <line value="An der Evangelischen Kirche 399"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="399"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="An der Evangelischen Kirche"/> + </extension> + </line> + <city value="West Evastadt"/> + <postalCode value="45627"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2d47de49-9d0d-4e01-8c71-4462abd2f9c3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="097388053"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index bd72631d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index c9549b8c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0854ff7a-096e-4b05-8891-d65377ef8c2f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.758.98"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3dc68924-cbce-4034-ac05-2d01e0f14383"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/c74ef147-3427-424c-9161-fd6456963df4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c74ef147-3427-424c-9161-fd6456963df4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="604c6a21-ac2e-4b91-8dfa-f5818ccc4df7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="015446034"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-929-6020489"/> - </telecom> - <telecom> - <system value="email"/> - <value value="johannes.ahrens@bogdashin.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Köttershof 163"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="163"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Köttershof"/> - </extension> - </line> - <city value="Lyafeld"/> - <postalCode value="17418"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="538ccf27-e854-4781-ba90-c76c5f074111"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="088952773"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_fce076cc/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/output.json new file mode 100644 index 00000000..39a85a49 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "6d26d6aa-4587-4427-829d-272bebf05a6a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a0848e46-ecee-473f-b47d-11de7e9d51fa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/05fdb67a-dd59-4797-b564-af31b190db6c" + }, + "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": "05fdb67a-dd59-4797-b564-af31b190db6c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e63d9a7e-1b4d-4480-ae18-7aed51d7ae93", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1f5a82ee-d1ae-4e10-8601-aeb581f817e6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_fce076cc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/output.xml new file mode 100644 index 00000000..8c82a12e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6d26d6aa-4587-4427-829d-272bebf05a6a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.758.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a0848e46-ecee-473f-b47d-11de7e9d51fa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/05fdb67a-dd59-4797-b564-af31b190db6c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="05fdb67a-dd59-4797-b564-af31b190db6c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e63d9a7e-1b4d-4480-ae18-7aed51d7ae93"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="015446034"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-929-6020489"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johannes.ahrens@bogdashin.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Köttershof 163"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="163"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Köttershof"/> + </extension> + </line> + <city value="Lyafeld"/> + <postalCode value="17418"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1f5a82ee-d1ae-4e10-8601-aeb581f817e6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="088952773"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index af812361..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index d4993f5c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="09045269-e500-4a27-9c75-dcc32404701f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.743.46"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0a6f4d0d-1cd7-4dd3-8f75-67772f961816"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/3288db97-6639-4f97-bdee-3ea070dd537f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3288db97-6639-4f97-bdee-3ea070dd537f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ab452531-93f0-4483-902d-0f7ac019a9ff"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="525817115"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0901) 412592712"/> - </telecom> - <telecom> - <system value="email"/> - <value value="dilara.kahl@klinger.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Schießbergstr. 3"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="3"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Schießbergstr."/> - </extension> - </line> - <city value="Emiliahagen"/> - <postalCode value="70859"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f36a31f8-e1e6-4ab7-8e85-15f89bbabe50"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="367206462"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_45a9ad90/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/output.json new file mode 100644 index 00000000..b5721dc1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "035c74be-2402-46e6-a91c-d694f35304de", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "daf96dd7-02f2-42da-a459-b4c101cb0954", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f66c4029-c745-47e5-8f21-b518342c0b2c" + }, + "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": "f66c4029-c745-47e5-8f21-b518342c0b2c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "668fd270-02c4-4fa8-8330-53ec6c294bc7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c2c5ecb6-11db-438b-8e4b-1e30bc8a250b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_45a9ad90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/output.xml new file mode 100644 index 00000000..a25a671f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="035c74be-2402-46e6-a91c-d694f35304de"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.743.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="daf96dd7-02f2-42da-a459-b4c101cb0954"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f66c4029-c745-47e5-8f21-b518342c0b2c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f66c4029-c745-47e5-8f21-b518342c0b2c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="668fd270-02c4-4fa8-8330-53ec6c294bc7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="525817115"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0901) 412592712"/> + </telecom> + <telecom> + <system value="email"/> + <value value="dilara.kahl@klinger.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Schießbergstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schießbergstr."/> + </extension> + </line> + <city value="Emiliahagen"/> + <postalCode value="70859"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c2c5ecb6-11db-438b-8e4b-1e30bc8a250b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="367206462"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_09e5d103/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.json new file mode 100644 index 00000000..6b03fb88 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "770015b1-1440-4078-9394-0bef57c8bb04", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "758e454b-54f9-4ed5-9707-05ae9e0d8c70", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0f733bf2-108e-4a6d-9414-c84ab358d2d4" + }, + "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": "0f733bf2-108e-4a6d-9414-c84ab358d2d4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d70fa6b7-3ef9-4baa-ba33-6c82e74190e4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "277f2b53-02a8-4ea9-9648-9436cb0d3a35", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_09e5d103/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.xml new file mode 100644 index 00000000..68e1cb6b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="770015b1-1440-4078-9394-0bef57c8bb04"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.690.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="758e454b-54f9-4ed5-9707-05ae9e0d8c70"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0f733bf2-108e-4a6d-9414-c84ab358d2d4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0f733bf2-108e-4a6d-9414-c84ab358d2d4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="47126688"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d70fa6b7-3ef9-4baa-ba33-6c82e74190e4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="029576346"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(01397) 5739283"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lydia.gaba@proske.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Piet-Mondrian-Str. 852"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="852"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Piet-Mondrian-Str."/> + </extension> + </line> + <city value="Schön Charlotta"/> + <postalCode value="92584"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="277f2b53-02a8-4ea9-9648-9436cb0d3a35"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="570752613"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_0b82f30f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.json new file mode 100644 index 00000000..fa7ae5a7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "573c3f43-7964-4c44-b64a-a727e6fbefdf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e9dcbce8-f009-481f-865f-eb3660b86397", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/90a0d16f-a93e-4432-9105-717a6bc3ca76" + }, + "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": "90a0d16f-a93e-4432-9105-717a6bc3ca76", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b8eef714-e539-4dd0-b3ed-2cd21b217365", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "54ebdcfd-5353-485f-8f83-36a896512ada", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0b82f30f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.xml new file mode 100644 index 00000000..b395eff9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="573c3f43-7964-4c44-b64a-a727e6fbefdf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.741.52"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e9dcbce8-f009-481f-865f-eb3660b86397"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/90a0d16f-a93e-4432-9105-717a6bc3ca76"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="90a0d16f-a93e-4432-9105-717a6bc3ca76"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b8eef714-e539-4dd0-b3ed-2cd21b217365"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="201216337"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0734) 924483515"/> + </telecom> + <telecom> + <system value="email"/> + <value value="marah.jahnke@kleinmann.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Dechant-Fein-Str. 29b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dechant-Fein-Str."/> + </extension> + </line> + <city value="Burgerburg"/> + <postalCode value="36436"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="54ebdcfd-5353-485f-8f83-36a896512ada"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="890977542"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 61260d5d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/output.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "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 deleted file mode 100644 index 9e5818fd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/output.xml +++ /dev/null @@ -1,236 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0d6a22d4-92ea-4317-9f4e-c125c74855d1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.694.65"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="960dba29-ae9d-4c74-a974-7136ded8f1e6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-11-04"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:e554a5a0-47a2-42dd-8b34-a6dd1e84b8b7"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/650cae11-d5ea-4ba5-a796-c1ab03a6eb47"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="650cae11-d5ea-4ba5-a796-c1ab03a6eb47"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09700354"/> - </coding> - <text value="Adavomilcain"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9a89df70-d79d-45f8-b7d5-787ac11c022c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="209739478"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(02711) 4600399"/> - </telecom> - <telecom> - <system value="email"/> - <value value="rené.uhrig@engel.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Heinrich-von-Kleist-Str. 75b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="75b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Heinrich-von-Kleist-Str."/> - </extension> - </line> - <city value="Ehmbrunn"/> - <postalCode value="75097"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c12fd7dc-1ab4-4985-a69f-1246ec3a0d1d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="238658744"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_bddb1f9e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/output.json new file mode 100644 index 00000000..f1b9e3f1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "6d01b865-92b2-4a05-9262-004224c1f7a0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c1d82837-c968-4815-91f9-7831e7f823be", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/278c5017-e2aa-4886-8484-77f7988b845b" + }, + "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": "278c5017-e2aa-4886-8484-77f7988b845b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ce569136-6b6c-4846-b9c9-45103e486feb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "00411af5-c53b-441c-b855-e900debb3a45", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bddb1f9e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/output.xml new file mode 100644 index 00000000..b7ccd381 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6d01b865-92b2-4a05-9262-004224c1f7a0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.694.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c1d82837-c968-4815-91f9-7831e7f823be"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:e554a5a0-47a2-42dd-8b34-a6dd1e84b8b7"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/278c5017-e2aa-4886-8484-77f7988b845b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="278c5017-e2aa-4886-8484-77f7988b845b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09700354"/> + </coding> + <text value="Adavomilcain"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ce569136-6b6c-4846-b9c9-45103e486feb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="209739478"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02711) 4600399"/> + </telecom> + <telecom> + <system value="email"/> + <value value="rené.uhrig@engel.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Heinrich-von-Kleist-Str. 75b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heinrich-von-Kleist-Str."/> + </extension> + </line> + <city value="Ehmbrunn"/> + <postalCode value="75097"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="00411af5-c53b-441c-b855-e900debb3a45"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="238658744"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_0d9bb3b8/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.json new file mode 100644 index 00000000..96776b6e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "8ed80d43-2d85-4448-b232-b2dcc7586d8a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1401df03-7f09-4d8c-9e2c-cdeea0007d29", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6ed686ef-779c-4a04-b03a-4d72b73297cf" + }, + "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": "6ed686ef-779c-4a04-b03a-4d72b73297cf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0094ca58-410e-4d96-b461-0ee422f9913e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6d532077-70bc-435f-9b71-65e14265dade", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0d9bb3b8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.xml new file mode 100644 index 00000000..ff3c8531 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8ed80d43-2d85-4448-b232-b2dcc7586d8a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1401df03-7f09-4d8c-9e2c-cdeea0007d29"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6ed686ef-779c-4a04-b03a-4d72b73297cf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6ed686ef-779c-4a04-b03a-4d72b73297cf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0094ca58-410e-4d96-b461-0ee422f9913e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="173654881"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(07189) 9689975"/> + </telecom> + <telecom> + <system value="email"/> + <value value="pius.bethke@morhelfer.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Mozartstr. 252"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="252"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Mozartstr."/> + </extension> + </line> + <city value="Forststadt"/> + <postalCode value="48325"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6d532077-70bc-435f-9b71-65e14265dade"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="246042887"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_0fdadb04/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.json new file mode 100644 index 00000000..be4cdfc0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ca1e4e61-ceb3-499d-8de1-f593d4856038", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5d1cb3cb-980d-444e-b3db-eff5085208ed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/496dac2e-488d-46b2-b828-546f95eea410" + }, + "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": "496dac2e-488d-46b2-b828-546f95eea410", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d5182edb-f9f7-49c4-a63f-d3e89c005a1c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e11b1c3f-68d1-4622-994a-0047d56474ce", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0fdadb04/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.xml new file mode 100644 index 00000000..2c93a0e7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ca1e4e61-ceb3-499d-8de1-f593d4856038"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.746.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5d1cb3cb-980d-444e-b3db-eff5085208ed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/496dac2e-488d-46b2-b828-546f95eea410"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="496dac2e-488d-46b2-b828-546f95eea410"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d5182edb-f9f7-49c4-a63f-d3e89c005a1c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="612914060"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0061) 349909615"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ronja.boruschewski@assmus.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Elbestr. 917"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="917"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Elbestr."/> + </extension> + </line> + <city value="Güldemeisterheim"/> + <postalCode value="78118"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e11b1c3f-68d1-4622-994a-0047d56474ce"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="935884750"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_10feb16e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.json new file mode 100644 index 00000000..cbbffeba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "61351664-1b74-4a3b-9af8-e482fd1e9f68", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3bc08cbb-1c4c-4bcf-9e5c-8badd30073ee", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2d35401c-fe45-4621-8ef5-55c2e8be4f6e" + }, + "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": "2d35401c-fe45-4621-8ef5-55c2e8be4f6e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e0eaa55f-4d5f-4b5c-be58-53824bf931c3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b5872fce-05fd-4abd-b9b3-9a49f4924d79", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_10feb16e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.xml new file mode 100644 index 00000000..6f6c6007 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="61351664-1b74-4a3b-9af8-e482fd1e9f68"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.760.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3bc08cbb-1c4c-4bcf-9e5c-8badd30073ee"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2d35401c-fe45-4621-8ef5-55c2e8be4f6e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2d35401c-fe45-4621-8ef5-55c2e8be4f6e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e0eaa55f-4d5f-4b5c-be58-53824bf931c3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="470426554"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0379) 822340692"/> + </telecom> + <telecom> + <system value="email"/> + <value value="fabian.bienasch@just.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Weizkamp 877"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="877"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weizkamp"/> + </extension> + </line> + <city value="Groß Ruben"/> + <postalCode value="68177"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b5872fce-05fd-4abd-b9b3-9a49f4924d79"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="439856521"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 296ff92b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 009fa45d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="11cffc5c-5f6b-43e8-8424-c537754b1528"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.690.77"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ea424f03-9433-4c99-8656-4791b87b8edf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/42f50541-e1a0-49c6-bb04-2f532c4b5ba3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="42f50541-e1a0-49c6-bb04-2f532c4b5ba3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="47126688"/> - </coding> - <text value="Zytostatika"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="7b11ff5f-5b2e-40e1-832e-bee8812589c8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="029576346"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(01397) 5739283"/> - </telecom> - <telecom> - <system value="email"/> - <value value="lydia.gaba@proske.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Piet-Mondrian-Str. 852"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="852"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Piet-Mondrian-Str."/> - </extension> - </line> - <city value="Schön Charlotta"/> - <postalCode value="92584"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="26aabd0d-51bf-42cd-b2ac-5863c7ca31f8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="570752613"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/input.xml new file mode 100644 index 00000000..d0859f6f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="09e5d103-158c-4926-b043-50aeaa06951e"/> + <meta> + <lastUpdated value="2024-02-08T19:07:57.112+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.690.77"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:07:57.112+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/65d091bf-c7cc-474f-b1c7-59788e420e60"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="65d091bf-c7cc-474f-b1c7-59788e420e60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/f6f0a3e5-bc11-4444-a52c-eaddacadb291"/> + </subject> + <date value="2024-02-08T19:07:57+01:00"/> + <author> + <reference value="Practitioner/8d36b557-4568-41b9-9e67-6cbd89d783b1"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/77ab1ef2-82b9-4954-ab5d-807d33b33258"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/b9af01b1-37e3-4445-8e0b-ab0e04c236aa"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/eef73e6f-fe8a-485c-aa13-537070311ebc"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/5d524fd1-9f6f-4a89-b14e-7c2b14bc0c24"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5d524fd1-9f6f-4a89-b14e-7c2b14bc0c24"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="47126688"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/f6f0a3e5-bc11-4444-a52c-eaddacadb291"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="f6f0a3e5-bc11-4444-a52c-eaddacadb291"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1990-02-03"/> + <address> + <type value="both"/> + <line value="Am Heidkamp 65b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="65b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Heidkamp"/> + </extension> + </line> + <city value="Groß Ianstadt"/> + <postalCode value="34551"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/77ab1ef2-82b9-4954-ab5d-807d33b33258"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="77ab1ef2-82b9-4954-ab5d-807d33b33258"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="029576346"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(01397) 5739283"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lydia.gaba@proske.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Piet-Mondrian-Str. 852"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="852"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Piet-Mondrian-Str."/> + </extension> + </line> + <city value="Schön Charlotta"/> + <postalCode value="92584"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/b9af01b1-37e3-4445-8e0b-ab0e04c236aa"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="b9af01b1-37e3-4445-8e0b-ab0e04c236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="88"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/2ae86d18-a95a-407b-94a8-680a330f3547"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108833355"/> + </identifier> + <display value="BKK Akzo Nobel ‐Bayern‐"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/8d36b557-4568-41b9-9e67-6cbd89d783b1"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8d36b557-4568-41b9-9e67-6cbd89d783b1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="570752613"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/eef73e6f-fe8a-485c-aa13-537070311ebc"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="eef73e6f-fe8a-485c-aa13-537070311ebc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5d524fd1-9f6f-4a89-b14e-7c2b14bc0c24"/> + </medicationReference> + <subject> + <reference value="Patient/f6f0a3e5-bc11-4444-a52c-eaddacadb291"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/8d36b557-4568-41b9-9e67-6cbd89d783b1"/> + </requester> + <insurance> + <reference value="Coverage/b9af01b1-37e3-4445-8e0b-ab0e04c236aa"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/output.json new file mode 100644 index 00000000..20beb622 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "91d71191-4522-4287-9a07-48f2d89ea499", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "993384fc-5559-42f0-9ba7-8f06edbd6653", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b8cea273-015f-42ad-91d6-53f081dacfc3" + }, + "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": "b8cea273-015f-42ad-91d6-53f081dacfc3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fbe9ee53-5ba1-4388-a8ce-3214a790177a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d895e513-9498-43d5-9aa0-d2b4fa0d0069", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_09e5d103/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/output.xml new file mode 100644 index 00000000..4cd4c6cd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="91d71191-4522-4287-9a07-48f2d89ea499"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.690.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="993384fc-5559-42f0-9ba7-8f06edbd6653"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b8cea273-015f-42ad-91d6-53f081dacfc3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b8cea273-015f-42ad-91d6-53f081dacfc3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="47126688"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fbe9ee53-5ba1-4388-a8ce-3214a790177a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="029576346"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(01397) 5739283"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lydia.gaba@proske.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Piet-Mondrian-Str. 852"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="852"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Piet-Mondrian-Str."/> + </extension> + </line> + <city value="Schön Charlotta"/> + <postalCode value="92584"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d895e513-9498-43d5-9aa0-d2b4fa0d0069"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="570752613"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_12931066/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.json new file mode 100644 index 00000000..29c5c25b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "92a641d3-cc43-4184-bb91-bae1f8eb3465", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c5dc8dd7-8a4c-4b39-af58-e121c0d31554", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3fd34d31-4518-46f7-8c06-e192dff42938" + }, + "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": "3fd34d31-4518-46f7-8c06-e192dff42938", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0807fbac-7610-4964-8cd3-0ea030d2e1da", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5b83b62f-1c2b-4327-bdad-eaba3c588f83", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_12931066/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.xml new file mode 100644 index 00000000..0e37af97 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="92a641d3-cc43-4184-bb91-bae1f8eb3465"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.771.59"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c5dc8dd7-8a4c-4b39-af58-e121c0d31554"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3fd34d31-4518-46f7-8c06-e192dff42938"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3fd34d31-4518-46f7-8c06-e192dff42938"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0807fbac-7610-4964-8cd3-0ea030d2e1da"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="886581532"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0713) 038011891"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kalle.finke@grothkopp.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Voigtslach 329"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="329"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Voigtslach"/> + </extension> + </line> + <city value="Dennisheim"/> + <postalCode value="94140"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5b83b62f-1c2b-4327-bdad-eaba3c588f83"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="059579535"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 2e967485..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 78fe508e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="13ef7eed-97af-477f-8cb7-33b438ceb81b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.474.837.87"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-13"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6fb5c77a-295b-42a3-a883-978345bafc9a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/73a55bc6-86b7-4f52-8c23-fb5bd62a8386"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-13"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="73a55bc6-86b7-4f52-8c23-fb5bd62a8386"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d9211856-d0f2-4952-8d40-6d841349343a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="017186060"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-381-2710885"/> - </telecom> - <telecom> - <system value="email"/> - <value value="sam.kisabaka@gamper.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Heidehöhe 26"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="26"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Heidehöhe"/> - </extension> - </line> - <city value="Bigdelifeld"/> - <postalCode value="07258"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6b65884b-092e-49a9-9b01-d363dd6c9d11"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="421218808"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_df4a4b64/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/output.json new file mode 100644 index 00000000..18219698 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "33f0590e-40fa-4474-a449-edbf62bfa25e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "da5eafd1-e579-4f93-8940-c2fa0829156c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3e617772-728e-4a16-aa22-5a8d2920218b" + }, + "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": "3e617772-728e-4a16-aa22-5a8d2920218b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8120c506-d37d-4d38-bb55-bc9c8a72d41f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2bf7043d-edc8-4554-a4c4-08444289c21d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_df4a4b64/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/output.xml new file mode 100644 index 00000000..0e483fc6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="33f0590e-40fa-4474-a449-edbf62bfa25e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.837.87"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="da5eafd1-e579-4f93-8940-c2fa0829156c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3e617772-728e-4a16-aa22-5a8d2920218b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3e617772-728e-4a16-aa22-5a8d2920218b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8120c506-d37d-4d38-bb55-bc9c8a72d41f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="017186060"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-381-2710885"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sam.kisabaka@gamper.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Heidehöhe 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heidehöhe"/> + </extension> + </line> + <city value="Bigdelifeld"/> + <postalCode value="07258"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2bf7043d-edc8-4554-a4c4-08444289c21d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="421218808"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 049c43fc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 15bf552b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="141bdd95-a5d0-407a-bf9a-23f122b489c9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.763.83"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9ca15ac5-9993-4e7f-bdf0-5efd57fa1bd3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/064b5b70-f2e6-494b-b0d8-b37684dd1f1d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="064b5b70-f2e6-494b-b0d8-b37684dd1f1d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2df46d3d-1b73-4b11-aa0e-01757e22152f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="628598894"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-5469-02854941"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mareike.schaffarzik@neupert.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Hamberger Str. 0"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="0"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Hamberger Str."/> - </extension> - </line> - <city value="Klein Veronika"/> - <postalCode value="87026"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="13d98bb8-fd59-43c7-9c71-bd3c04b8ef26"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="271120832"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_617b672a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/output.json new file mode 100644 index 00000000..602ef2d2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "2661a3bf-fc38-41c2-9da7-cd979c4d88cd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "df032489-2d0c-4ce2-9c6f-0c74286a602b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6031420c-3631-41dd-834a-a983857ec256" + }, + "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": "6031420c-3631-41dd-834a-a983857ec256", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "73c98a71-e9d8-4ceb-ac09-a0e708e2f176", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ec7d3e64-8a0f-428e-b5a2-23aeac549a5b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_617b672a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/output.xml new file mode 100644 index 00000000..4501e8d4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2661a3bf-fc38-41c2-9da7-cd979c4d88cd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.763.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="df032489-2d0c-4ce2-9c6f-0c74286a602b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6031420c-3631-41dd-834a-a983857ec256"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6031420c-3631-41dd-834a-a983857ec256"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="73c98a71-e9d8-4ceb-ac09-a0e708e2f176"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="628598894"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5469-02854941"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mareike.schaffarzik@neupert.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Hamberger Str. 0"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="0"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hamberger Str."/> + </extension> + </line> + <city value="Klein Veronika"/> + <postalCode value="87026"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ec7d3e64-8a0f-428e-b5a2-23aeac549a5b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="271120832"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_14d9b2f3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.json new file mode 100644 index 00000000..512df96a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "f2343f17-0a06-4b05-a02d-42ee214f718a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7e6c69b5-bf77-42fe-b2ae-e3c34c945389", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f4fe27e4-014f-4ae1-a671-c643bb244160" + }, + "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": "f4fe27e4-014f-4ae1-a671-c643bb244160", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6ae763e8-1c37-4b2d-9b24-4abe12297875", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "04a6bea6-88d8-4d23-89d2-de7c24f552e1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_14d9b2f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.xml new file mode 100644 index 00000000..ca392eaf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f2343f17-0a06-4b05-a02d-42ee214f718a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.749.28"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7e6c69b5-bf77-42fe-b2ae-e3c34c945389"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f4fe27e4-014f-4ae1-a671-c643bb244160"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f4fe27e4-014f-4ae1-a671-c643bb244160"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6ae763e8-1c37-4b2d-9b24-4abe12297875"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="483945359"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0980) 607271140"/> + </telecom> + <telecom> + <system value="email"/> + <value value="robert.gunther@ranz.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Hemmelrather Hof 59a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="59a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Hemmelrather Hof"/> + </extension> + </line> + <city value="Honzburg"/> + <postalCode value="40382"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="04a6bea6-88d8-4d23-89d2-de7c24f552e1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="768593806"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_16b1f573/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.json new file mode 100644 index 00000000..4e2c4b92 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "b9eda41b-12ac-459c-9203-89085134682c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1de64b9d-36dd-4e70-b27e-2f28a2066113", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f6e5c0cd-cd63-4979-ae64-8ea397ebec44" + }, + "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": "f6e5c0cd-cd63-4979-ae64-8ea397ebec44", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7da508d6-277f-43af-ac2f-041d7b3dd53a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ee7d3695-1fa7-4050-9cc7-4995d2de5919", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_16b1f573/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.xml new file mode 100644 index 00000000..156a0221 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b9eda41b-12ac-459c-9203-89085134682c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.756.07"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1de64b9d-36dd-4e70-b27e-2f28a2066113"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f6e5c0cd-cd63-4979-ae64-8ea397ebec44"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f6e5c0cd-cd63-4979-ae64-8ea397ebec44"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7da508d6-277f-43af-ac2f-041d7b3dd53a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="460007921"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3117-51449999"/> + </telecom> + <telecom> + <system value="email"/> + <value value="meik.tonat@herrmann.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Windthorststr. 57a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Windthorststr."/> + </extension> + </line> + <city value="Pinnockland"/> + <postalCode value="14407"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ee7d3695-1fa7-4050-9cc7-4995d2de5919"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="699637007"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 1138767e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index cba912bf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="16ca6d24-f682-482d-9040-d69746625423"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.740.55"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="db66e7f5-48c6-4431-b7ac-ce2a00fc28d3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/6157088c-4610-4a56-9b50-1f307af80a20"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6157088c-4610-4a56-9b50-1f307af80a20"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5a5bb221-340a-410a-a57f-5031ac99da36"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="739445767"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0222) 778778860"/> - </telecom> - <telecom> - <system value="email"/> - <value value="tina.filipowski@xn--tpfer-jua.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Moosweg 68c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="68c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Moosweg"/> - </extension> - </line> - <city value="Süd Marek"/> - <postalCode value="48927"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b13ddd90-f03b-4205-a558-8fe0ec60c74d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="755566422"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_5d6fae1d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/output.json new file mode 100644 index 00000000..48b70ead --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "9c81fea7-df08-47bf-82cf-1fda27a9032d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "bb6aedbc-37c1-4b51-a9d8-6af6ba00a256", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8baff364-19c2-4a84-b477-feceb1871cba" + }, + "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": "8baff364-19c2-4a84-b477-feceb1871cba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "35c5fb51-9099-4eb6-902d-fa0a10c6ffd2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c33d1531-a143-4241-afcc-5997ed6bf46a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5d6fae1d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/output.xml new file mode 100644 index 00000000..1d92a68c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9c81fea7-df08-47bf-82cf-1fda27a9032d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.740.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="bb6aedbc-37c1-4b51-a9d8-6af6ba00a256"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8baff364-19c2-4a84-b477-feceb1871cba"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8baff364-19c2-4a84-b477-feceb1871cba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="35c5fb51-9099-4eb6-902d-fa0a10c6ffd2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="739445767"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0222) 778778860"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tina.filipowski@xn--tpfer-jua.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Moosweg 68c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="68c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Moosweg"/> + </extension> + </line> + <city value="Süd Marek"/> + <postalCode value="48927"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c33d1531-a143-4241-afcc-5997ed6bf46a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="755566422"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_1906d211/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.json new file mode 100644 index 00000000..338f2f33 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "d2f8e839-66c7-46af-a58d-97403a4d556b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c60e14f7-339d-4f55-b68d-090ffc67d867", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2c8373fd-8fbb-48fe-9366-ed20217e5e39" + }, + "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": "2c8373fd-8fbb-48fe-9366-ed20217e5e39", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ced1fe32-42f5-41e4-a0ef-98058706bd25", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "61dedbcf-04b1-485e-87c9-c9a0bf5607e8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_1906d211/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.xml new file mode 100644 index 00000000..d0751f4f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d2f8e839-66c7-46af-a58d-97403a4d556b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.999.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c60e14f7-339d-4f55-b68d-090ffc67d867"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2c8373fd-8fbb-48fe-9366-ed20217e5e39"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2c8373fd-8fbb-48fe-9366-ed20217e5e39"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27318836"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ced1fe32-42f5-41e4-a0ef-98058706bd25"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="609731540"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(04575) 9941676"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mirac.gruszecki@knut.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Auf der Weide 54"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="54"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf der Weide"/> + </extension> + </line> + <city value="West Jella"/> + <postalCode value="50049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="61dedbcf-04b1-485e-87c9-c9a0bf5607e8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="960975636"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index cda16f50..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 0bbccdf4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="19a7bde6-0763-4097-84ce-a879257dbc48"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.766.74"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="445b10fe-6d04-4ba8-8a12-2efa592571bb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/55c6a716-fb67-4e66-afff-3360cce8c0ad"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="55c6a716-fb67-4e66-afff-3360cce8c0ad"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2aebb1fb-7191-4e99-88c8-2b815fa6df42"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="173654881"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(07189) 9689975"/> - </telecom> - <telecom> - <system value="email"/> - <value value="pius.bethke@morhelfer.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Mozartstr. 252"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="252"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Mozartstr."/> - </extension> - </line> - <city value="Forststadt"/> - <postalCode value="48325"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b66322c4-cd68-49f6-a314-9e00049936eb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="246042887"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/input.xml new file mode 100644 index 00000000..28d2e711 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="0d9bb3b8-f143-435d-9518-c4e59201662f"/> + <meta> + <lastUpdated value="2024-02-08T19:05:20.485+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:05:20.485+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/839322d9-d2f7-4549-8644-b5a0d1b1d562"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="839322d9-d2f7-4549-8644-b5a0d1b1d562"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/cdca531a-574b-4c55-bc6e-ec156641b91d"/> + </subject> + <date value="2024-02-08T19:05:20+01:00"/> + <author> + <reference value="Practitioner/7e475265-db07-4448-8665-c8a07ab730b8"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5eab3edb-d017-42c2-952f-2544ecedcd60"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/3eb0db45-5cca-473b-b800-2519f918e92b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/db8141f7-d56e-4b62-83f1-07626c48bfb6"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/5390eeb6-cf71-4d6d-bf2a-179bdd86773b"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5390eeb6-cf71-4d6d-bf2a-179bdd86773b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/cdca531a-574b-4c55-bc6e-ec156641b91d"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="cdca531a-574b-4c55-bc6e-ec156641b91d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1977-05-16"/> + <address> + <type value="both"/> + <line value="Siemensstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siemensstr."/> + </extension> + </line> + <city value="Teufelscheid"/> + <postalCode value="95865"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/5eab3edb-d017-42c2-952f-2544ecedcd60"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5eab3edb-d017-42c2-952f-2544ecedcd60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="173654881"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(07189) 9689975"/> + </telecom> + <telecom> + <system value="email"/> + <value value="pius.bethke@morhelfer.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Mozartstr. 252"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="252"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Mozartstr."/> + </extension> + </line> + <city value="Forststadt"/> + <postalCode value="48325"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/3eb0db45-5cca-473b-b800-2519f918e92b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="3eb0db45-5cca-473b-b800-2519f918e92b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/8e3fa63f-f9f6-45c0-aad2-a4e05a8dc425"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="102137985"/> + </identifier> + <display value="TUI BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/7e475265-db07-4448-8665-c8a07ab730b8"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7e475265-db07-4448-8665-c8a07ab730b8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="246042887"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/db8141f7-d56e-4b62-83f1-07626c48bfb6"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="db8141f7-d56e-4b62-83f1-07626c48bfb6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5390eeb6-cf71-4d6d-bf2a-179bdd86773b"/> + </medicationReference> + <subject> + <reference value="Patient/cdca531a-574b-4c55-bc6e-ec156641b91d"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/7e475265-db07-4448-8665-c8a07ab730b8"/> + </requester> + <insurance> + <reference value="Coverage/3eb0db45-5cca-473b-b800-2519f918e92b"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/output.json new file mode 100644 index 00000000..0c443142 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "d6fb3397-2f9a-4120-a1f7-1f776cca3e2a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3780cff4-a8fe-4a0d-b259-2fa6482fc106", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e274827b-f397-4fe5-9d9d-5d8d62b24316" + }, + "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": "e274827b-f397-4fe5-9d9d-5d8d62b24316", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bc132899-03c0-4371-a588-91c24fc18fa6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d61dbd7a-8d12-4916-9baf-734fbd326ff8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0d9bb3b8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/output.xml new file mode 100644 index 00000000..b4d29cfd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d6fb3397-2f9a-4120-a1f7-1f776cca3e2a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3780cff4-a8fe-4a0d-b259-2fa6482fc106"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e274827b-f397-4fe5-9d9d-5d8d62b24316"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e274827b-f397-4fe5-9d9d-5d8d62b24316"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bc132899-03c0-4371-a588-91c24fc18fa6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="173654881"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(07189) 9689975"/> + </telecom> + <telecom> + <system value="email"/> + <value value="pius.bethke@morhelfer.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Mozartstr. 252"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="252"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Mozartstr."/> + </extension> + </line> + <city value="Forststadt"/> + <postalCode value="48325"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d61dbd7a-8d12-4916-9baf-734fbd326ff8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="246042887"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 5c065d14..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index f19dc85a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1b51052c-0f29-47a1-9c14-6b1f8f640901"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.761.89"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="bc9d4b76-08e7-4242-86df-976b39afe80c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/49f477b0-707b-4257-8aa5-c404e2dfddbb"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="49f477b0-707b-4257-8aa5-c404e2dfddbb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e0e5ee9f-a0c1-493d-bcc9-7a88b7fe079b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="710988584"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-882-3423799"/> - </telecom> - <telecom> - <system value="email"/> - <value value="samia.hingst@lohmann.ch"/> - </telecom> - <address> - <type value="both"/> - <line value="In der Dasladen 80"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="80"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="In der Dasladen"/> - </extension> - </line> - <city value="Nord Sarahscheid"/> - <postalCode value="97709"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c492b9e3-9745-4967-a4bd-97afddbd4b52"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="662556538"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_fb9ea88e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/output.json new file mode 100644 index 00000000..f6de4c19 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "81e667db-26bc-40e4-8067-a6dc3056e36b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "23eeeaae-8669-4626-a826-147d96c6280c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/931a7759-7cfa-4203-8fc4-f9558f5955f9" + }, + "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": "931a7759-7cfa-4203-8fc4-f9558f5955f9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "410d3a66-f178-4708-90a5-f6e9a0bd3957", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "85f544df-f0ea-416b-a33c-3fa5466aa48c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_fb9ea88e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/output.xml new file mode 100644 index 00000000..713a0da0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="81e667db-26bc-40e4-8067-a6dc3056e36b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.761.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="23eeeaae-8669-4626-a826-147d96c6280c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/931a7759-7cfa-4203-8fc4-f9558f5955f9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="931a7759-7cfa-4203-8fc4-f9558f5955f9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="410d3a66-f178-4708-90a5-f6e9a0bd3957"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="710988584"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-882-3423799"/> + </telecom> + <telecom> + <system value="email"/> + <value value="samia.hingst@lohmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="In der Dasladen 80"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="80"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="In der Dasladen"/> + </extension> + </line> + <city value="Nord Sarahscheid"/> + <postalCode value="97709"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="85f544df-f0ea-416b-a33c-3fa5466aa48c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="662556538"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_1be382e5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.json new file mode 100644 index 00000000..d9da3a9a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "2bf53174-047b-452a-9d87-14ca432ce424", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "97525f3a-49bd-456d-8e43-feaf19ab6001", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3f9833a4-e3a1-4d62-bb06-3074f551af34" + }, + "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": "3f9833a4-e3a1-4d62-bb06-3074f551af34", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9d13934f-d735-453f-a9e4-346227c66fff", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a7fea336-4d55-4a75-bb20-bb6cedd48d64", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_1be382e5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.xml new file mode 100644 index 00000000..a2c5d954 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2bf53174-047b-452a-9d87-14ca432ce424"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.687.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="97525f3a-49bd-456d-8e43-feaf19ab6001"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3f9833a4-e3a1-4d62-bb06-3074f551af34"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3f9833a4-e3a1-4d62-bb06-3074f551af34"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60537835"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9d13934f-d735-453f-a9e4-346227c66fff"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="384514918"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09898) 0577227"/> + </telecom> + <telecom> + <system value="email"/> + <value value="daniel.engelen@lewke.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Kneippstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kneippstr."/> + </extension> + </line> + <city value="Neu Ricardoheim"/> + <postalCode value="46562"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a7fea336-4d55-4a75-bb20-bb6cedd48d64"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="417223439"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index e7be41b6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index f238d48b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1c646da7-8b84-42d2-9e37-2fb2cbac57dd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.765.77"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="114aa22f-fe85-4206-85f5-9cdb09d618d9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/dfcfda34-ab6c-42ae-8061-5302903210a6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="dfcfda34-ab6c-42ae-8061-5302903210a6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d4572afc-f68e-41eb-bb85-1fbe7aa06b85"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="600372833"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0682) 787150898"/> - </telecom> - <telecom> - <system value="email"/> - <value value="alessio.ehrig@behnke.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Am Gesundheitspark 31c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="31c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Am Gesundheitspark"/> - </extension> - </line> - <city value="Groß Annagrün"/> - <postalCode value="34652"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="8327cf51-9921-4298-af32-165d7a51d06f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="386029325"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_4149362e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/output.json new file mode 100644 index 00000000..62e82af1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "07a3d8cb-796b-4750-9bd2-37456bdcdfd1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3810aa6b-f61d-47d5-9856-7dfe1c143929", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/44dd3515-e454-44fb-8f05-a59f95214f33" + }, + "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": "44dd3515-e454-44fb-8f05-a59f95214f33", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4abffbbf-78c4-4c49-9f23-17e87583a2a9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a92984a6-f140-4062-862f-6cb47f4001fd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4149362e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/output.xml new file mode 100644 index 00000000..aac4d490 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="07a3d8cb-796b-4750-9bd2-37456bdcdfd1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3810aa6b-f61d-47d5-9856-7dfe1c143929"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/44dd3515-e454-44fb-8f05-a59f95214f33"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="44dd3515-e454-44fb-8f05-a59f95214f33"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4abffbbf-78c4-4c49-9f23-17e87583a2a9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="600372833"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0682) 787150898"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alessio.ehrig@behnke.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Gesundheitspark 31c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="31c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Gesundheitspark"/> + </extension> + </line> + <city value="Groß Annagrün"/> + <postalCode value="34652"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a92984a6-f140-4062-862f-6cb47f4001fd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="386029325"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 2930b26e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index f50e2b33..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1ed8eaa8-f5e8-4397-a9c6-32742f3e3669"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.777.41"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0452c1c8-4a08-4210-97ec-42f314f950b9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/41344481-db84-4db6-9ee5-cee8846a0ec1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="50"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="41344481-db84-4db6-9ee5-cee8846a0ec1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="11648419"/> - </coding> - <text value="IBUFLAM akut"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bab078f8-e743-4b75-aa62-471b008f969a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="505323366"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0283) 686271780"/> - </telecom> - <telecom> - <system value="email"/> - <value value="alexa.newton@salzmann.ch"/> - </telecom> - <address> - <type value="both"/> - <line value="Potsdamer Str. 01c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="01c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Potsdamer Str."/> - </extension> - </line> - <city value="Alt Elianastadt"/> - <postalCode value="41650"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="11c606e1-3640-4394-a85a-bfe8c18efe4c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="826335247"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_37c652cb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/output.json new file mode 100644 index 00000000..1a02efc9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "bb7ea7e4-743f-4fbd-9983-adaed03850b1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "867252f0-69fd-4e8e-baff-2215acbefaca", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8b711af0-d30c-4c6b-aff6-e2bb38457b5e" + }, + "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": "8b711af0-d30c-4c6b-aff6-e2bb38457b5e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "81f3274c-d4e1-458c-9b37-d05b3a09fb4e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6b7aab55-3d0e-4011-95ef-e85aeaa68868", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_37c652cb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/output.xml new file mode 100644 index 00000000..9f119316 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bb7ea7e4-743f-4fbd-9983-adaed03850b1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.777.41"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="867252f0-69fd-4e8e-baff-2215acbefaca"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8b711af0-d30c-4c6b-aff6-e2bb38457b5e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="50"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8b711af0-d30c-4c6b-aff6-e2bb38457b5e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11648419"/> + </coding> + <text value="IBUFLAM akut"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="81f3274c-d4e1-458c-9b37-d05b3a09fb4e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="505323366"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0283) 686271780"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alexa.newton@salzmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Potsdamer Str. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Potsdamer Str."/> + </extension> + </line> + <city value="Alt Elianastadt"/> + <postalCode value="41650"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6b7aab55-3d0e-4011-95ef-e85aeaa68868"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="826335247"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_230dc009/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.json new file mode 100644 index 00000000..c4c6ce6f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "c5a001c6-7f31-489d-99ec-332ad4b43655", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "995e83d3-7040-4bb2-b774-6bd4a2d5c25d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5fcbccee-2522-4118-87a4-0ccdb6463233" + }, + "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": "5fcbccee-2522-4118-87a4-0ccdb6463233", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2a4ca217-ab52-467d-966d-0a136df41a8a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7c0004b1-407b-460a-ae0c-d3cb936a5da6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_230dc009/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.xml new file mode 100644 index 00000000..70e96010 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c5a001c6-7f31-489d-99ec-332ad4b43655"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.555.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="995e83d3-7040-4bb2-b774-6bd4a2d5c25d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5fcbccee-2522-4118-87a4-0ccdb6463233"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5fcbccee-2522-4118-87a4-0ccdb6463233"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a4ca217-ab52-467d-966d-0a136df41a8a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="496255531"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-197-7069529"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tara.pollmächer@xn--dck-hoa.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Augustastr. 27"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Augustastr."/> + </extension> + </line> + <city value="Logandorf"/> + <postalCode value="84236"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7c0004b1-407b-460a-ae0c-d3cb936a5da6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="368352769"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index cc87caef..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index ccb33514..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="265b0953-2cda-4106-92a6-46582f6ca701"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.996.31"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="14c3d243-30ce-4918-b4a6-c0f2f2100063"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/b36cf820-3c18-4abe-a049-4f52c19d3f26"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b36cf820-3c18-4abe-a049-4f52c19d3f26"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="48094708"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f37fbc52-ebf8-423e-884b-c86600cfebec"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="889081004"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-8265-38308644"/> - </telecom> - <telecom> - <system value="email"/> - <value value="karlo.benner@wilts.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Kalkstr. 7"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="7"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Kalkstr."/> - </extension> - </line> - <city value="Rohländerstadt"/> - <postalCode value="98861"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="eeca44d5-48ea-4b63-8f0c-9ba69b874e9d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="892116208"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_4ff8a848/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/output.json new file mode 100644 index 00000000..09c8655c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "a7dd4af9-8e72-48eb-b553-dd1d92e3bd01", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6ffe2d1b-75b7-4766-a925-1b825720990e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c29186a2-ed8f-42af-a894-d7a7f7f209f0" + }, + "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": "c29186a2-ed8f-42af-a894-d7a7f7f209f0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9800746f-b58f-48af-84ea-760811dfdcc7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c8f3be86-eff8-4a14-b4af-652d5ecdb0d5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4ff8a848/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/output.xml new file mode 100644 index 00000000..7f083b88 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a7dd4af9-8e72-48eb-b553-dd1d92e3bd01"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.996.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6ffe2d1b-75b7-4766-a925-1b825720990e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c29186a2-ed8f-42af-a894-d7a7f7f209f0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c29186a2-ed8f-42af-a894-d7a7f7f209f0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="48094708"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9800746f-b58f-48af-84ea-760811dfdcc7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="889081004"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8265-38308644"/> + </telecom> + <telecom> + <system value="email"/> + <value value="karlo.benner@wilts.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Kalkstr. 7"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="7"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kalkstr."/> + </extension> + </line> + <city value="Rohländerstadt"/> + <postalCode value="98861"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c8f3be86-eff8-4a14-b4af-652d5ecdb0d5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="892116208"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_29aa5ba0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.json new file mode 100644 index 00000000..fd938f3a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "1ff79f3d-cb91-4b6f-97a9-781e1b47b5d8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3e41f8b0-de26-427d-9c24-cc718dbd7301", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c778f342-8422-4bab-8879-21d024d1a101" + }, + "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": "c778f342-8422-4bab-8879-21d024d1a101", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8de82f5e-df94-4705-9497-4c2ee1b072c9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0c809101-5a83-4851-b194-3373be82823c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_29aa5ba0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.xml new file mode 100644 index 00000000..638f8994 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1ff79f3d-cb91-4b6f-97a9-781e1b47b5d8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.751.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3e41f8b0-de26-427d-9c24-cc718dbd7301"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c778f342-8422-4bab-8879-21d024d1a101"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c778f342-8422-4bab-8879-21d024d1a101"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8de82f5e-df94-4705-9497-4c2ee1b072c9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="506889695"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3700-72846964"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sophie.schönfeld@nagel.com"/> + </telecom> + <address> + <type value="both"/> + <line value="In der Dasladen 30a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="30a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="In der Dasladen"/> + </extension> + </line> + <city value="Thustheim"/> + <postalCode value="47051"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0c809101-5a83-4851-b194-3373be82823c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="180212463"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index fc564a78..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 0e55c71c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2a985325-2ef2-4119-8902-f6c859b5fa57"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.807.48"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="49f1c762-60f8-4cad-9368-b7c0f4d15d3d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/e14b6a00-99ac-405f-a452-9e6ddee9fb90"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e14b6a00-99ac-405f-a452-9e6ddee9fb90"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a5a7159e-31e6-46c8-9a05-a73b503f5819"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="623514458"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-832-4027347"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hamza.hübl@adam.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Insterstr. 93c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="93c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Insterstr."/> - </extension> - </line> - <city value="Koubaastadt"/> - <postalCode value="64092"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="41754ac0-e399-472b-8a6a-516933e52b8a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="806233722"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_4c861d6d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/output.json new file mode 100644 index 00000000..8cf68fdd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "d1773abc-f0af-4ef5-b726-3e68d4b213fd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "703c5539-049d-47ab-bf70-604ed8b218ab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/da490c1e-9c3a-46e5-986b-b3f57de26d9c" + }, + "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": "da490c1e-9c3a-46e5-986b-b3f57de26d9c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a9e63735-bead-4946-b2b9-504fd490d84f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c0249fa4-7f4e-4bf8-afba-94dc8b0d4aec", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4c861d6d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/output.xml new file mode 100644 index 00000000..a7a9f1be --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d1773abc-f0af-4ef5-b726-3e68d4b213fd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.807.48"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="703c5539-049d-47ab-bf70-604ed8b218ab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/da490c1e-9c3a-46e5-986b-b3f57de26d9c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="da490c1e-9c3a-46e5-986b-b3f57de26d9c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a9e63735-bead-4946-b2b9-504fd490d84f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="623514458"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-832-4027347"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hamza.hübl@adam.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Insterstr. 93c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="93c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Insterstr."/> + </extension> + </line> + <city value="Koubaastadt"/> + <postalCode value="64092"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c0249fa4-7f4e-4bf8-afba-94dc8b0d4aec"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="806233722"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 8a365c2e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index b824051c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2aa2072e-337b-4af7-8ecb-9a5708b03f14"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.747.34"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="029e0df2-6103-4ef7-812b-23ad2e28956a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/5e8c38ba-8101-49c1-8458-06f8e8fc34cf"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5e8c38ba-8101-49c1-8458-06f8e8fc34cf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b3e4f46c-dacc-436e-9b0d-d1e6b8c9ccb3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="011361824"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-9570-93669717"/> - </telecom> - <telecom> - <system value="email"/> - <value value="amir.einert@abraham.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Weizkamp 5"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="5"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Weizkamp"/> - </extension> - </line> - <city value="Henkelheim"/> - <postalCode value="71075"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d8c1b101-073c-49f4-95e8-065df90f3138"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="884700727"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_902668fe/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/output.json new file mode 100644 index 00000000..3320cf08 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "12133412-c330-4069-b6bc-47c0b3d8a322", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "77a41a3c-7e10-48d7-9d5a-7052aa1e503e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/02fb189c-e2a5-4a60-bbce-7d0044bd7676" + }, + "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": "02fb189c-e2a5-4a60-bbce-7d0044bd7676", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "571ebf65-0274-42db-a140-14c246283b36", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "accdc258-854d-44e7-a281-454b1d7b87f8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_902668fe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/output.xml new file mode 100644 index 00000000..8cea0443 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="12133412-c330-4069-b6bc-47c0b3d8a322"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.747.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="77a41a3c-7e10-48d7-9d5a-7052aa1e503e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/02fb189c-e2a5-4a60-bbce-7d0044bd7676"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="02fb189c-e2a5-4a60-bbce-7d0044bd7676"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="571ebf65-0274-42db-a140-14c246283b36"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="011361824"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-9570-93669717"/> + </telecom> + <telecom> + <system value="email"/> + <value value="amir.einert@abraham.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Weizkamp 5"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="5"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weizkamp"/> + </extension> + </line> + <city value="Henkelheim"/> + <postalCode value="71075"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="accdc258-854d-44e7-a281-454b1d7b87f8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="884700727"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_2b62d10b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.json new file mode 100644 index 00000000..1b1e0a75 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "19db6509-fb9d-4e23-b9e1-6e3a853557c3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e1163f47-fa8d-4e48-9657-788c1b0714a2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ea89e880-b1ba-476f-9b7f-1236141dcd85" + }, + "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": "ea89e880-b1ba-476f-9b7f-1236141dcd85", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dfa8d4d7-fda9-42ad-9718-c2acf0e000eb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1da2320f-ccdb-4c86-a5fd-ce0bb202f538", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_2b62d10b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.xml new file mode 100644 index 00000000..df1e75bb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="19db6509-fb9d-4e23-b9e1-6e3a853557c3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.993.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e1163f47-fa8d-4e48-9657-788c1b0714a2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ea89e880-b1ba-476f-9b7f-1236141dcd85"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ea89e880-b1ba-476f-9b7f-1236141dcd85"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="86732221"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dfa8d4d7-fda9-42ad-9718-c2acf0e000eb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="482117907"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-535-4011988"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tristan.linden@bruder.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Berliner Str. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Str."/> + </extension> + </line> + <city value="Stollestadt"/> + <postalCode value="66216"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1da2320f-ccdb-4c86-a5fd-ce0bb202f538"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="218194094"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 152d0550..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index f74a2821..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2cbc202c-0dd5-4fa2-95a6-255a66df816f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.993.40"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="74bb8c64-2362-4a0d-92bf-7b802372d741"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/3a75730a-0fbe-47cf-a033-ddbaa73a3c8d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3a75730a-0fbe-47cf-a033-ddbaa73a3c8d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="86732221"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e194e9da-73b7-4e77-81d9-2c4a726203e3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="482117907"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-535-4011988"/> - </telecom> - <telecom> - <system value="email"/> - <value value="tristan.linden@bruder.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Berliner Str. 9"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="9"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Berliner Str."/> - </extension> - </line> - <city value="Stollestadt"/> - <postalCode value="66216"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4aeaf204-ab2c-4eae-a294-e5ee46e9dc30"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="218194094"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/input.xml new file mode 100644 index 00000000..cf0b4421 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="2b62d10b-9e89-4862-aac0-f86289215236"/> + <meta> + <lastUpdated value="2024-02-08T19:20:55.669+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.993.40"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:20:55.669+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/08452da3-5e0e-4f79-8f26-18e9ab419359"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="08452da3-5e0e-4f79-8f26-18e9ab419359"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/7a889c59-dee1-4614-9008-9d18a903b707"/> + </subject> + <date value="2024-02-08T19:20:55+01:00"/> + <author> + <reference value="Practitioner/df062986-77e8-4830-80f4-6d4f78c19eed"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/ce35e6b5-17eb-4aee-81a5-a8b00020ef60"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/ed60ea09-ba96-46e9-a288-05bd87e594e7"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/fc6a383b-d7d6-4262-9468-41b40b969f19"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/44e01efe-2e01-4a3c-9245-08e4046e73e1"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="44e01efe-2e01-4a3c-9245-08e4046e73e1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="86732221"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/7a889c59-dee1-4614-9008-9d18a903b707"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="7a889c59-dee1-4614-9008-9d18a903b707"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1973-07-29"/> + <address> + <type value="both"/> + <line value="Kuhlmannweg 502"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="502"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kuhlmannweg"/> + </extension> + </line> + <city value="Gamperscheid"/> + <postalCode value="07607"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/ce35e6b5-17eb-4aee-81a5-a8b00020ef60"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ce35e6b5-17eb-4aee-81a5-a8b00020ef60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="482117907"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-535-4011988"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tristan.linden@bruder.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Berliner Str. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Str."/> + </extension> + </line> + <city value="Stollestadt"/> + <postalCode value="66216"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/ed60ea09-ba96-46e9-a288-05bd87e594e7"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="ed60ea09-ba96-46e9-a288-05bd87e594e7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="52"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/a9b0eddf-4d26-47c8-9373-85f967a82527"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140028"/> + </identifier> + <display value="SIGNAL IDUNA Krankenversicherung a.G."/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/df062986-77e8-4830-80f4-6d4f78c19eed"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="df062986-77e8-4830-80f4-6d4f78c19eed"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="218194094"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/fc6a383b-d7d6-4262-9468-41b40b969f19"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fc6a383b-d7d6-4262-9468-41b40b969f19"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/44e01efe-2e01-4a3c-9245-08e4046e73e1"/> + </medicationReference> + <subject> + <reference value="Patient/7a889c59-dee1-4614-9008-9d18a903b707"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/df062986-77e8-4830-80f4-6d4f78c19eed"/> + </requester> + <insurance> + <reference value="Coverage/ed60ea09-ba96-46e9-a288-05bd87e594e7"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/output.json new file mode 100644 index 00000000..c548af91 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "c641a0a3-b3ae-4764-84c0-e1ce432865be", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ffa003b0-6f40-4ffa-9546-49d34217c894", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1a7a1826-cbfa-4513-9976-fc9ec2cc4a69" + }, + "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": "1a7a1826-cbfa-4513-9976-fc9ec2cc4a69", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "97b3d95e-18d1-4c90-907b-12749c91f14b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e3e613dd-b698-4437-9a65-2f29e62a1751", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_2b62d10b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/output.xml new file mode 100644 index 00000000..dfff5309 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c641a0a3-b3ae-4764-84c0-e1ce432865be"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.993.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ffa003b0-6f40-4ffa-9546-49d34217c894"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1a7a1826-cbfa-4513-9976-fc9ec2cc4a69"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1a7a1826-cbfa-4513-9976-fc9ec2cc4a69"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="86732221"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="97b3d95e-18d1-4c90-907b-12749c91f14b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="482117907"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-535-4011988"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tristan.linden@bruder.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Berliner Str. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Str."/> + </extension> + </line> + <city value="Stollestadt"/> + <postalCode value="66216"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e3e613dd-b698-4437-9a65-2f29e62a1751"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="218194094"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 208510ed..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index b9ad80d9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2d9e5916-0fc8-49f5-866b-79ea6348ec52"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.772.56"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="22268ace-3d00-4d83-82ce-324d09e621a3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/4042c8a5-2719-4c14-a9d5-d295da64d02a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4042c8a5-2719-4c14-a9d5-d295da64d02a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="37914278"/> - </coding> - <text value="Ilopterproston"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6d6661da-1633-4486-ae63-f3f13516f62e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="032584845"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(05736) 6284866"/> - </telecom> - <telecom> - <system value="email"/> - <value value="lene.soller@schuhaj.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Pestalozzistr. 49c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="49c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Pestalozzistr."/> - </extension> - </line> - <city value="Joannastadt"/> - <postalCode value="59066"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1235c6da-88c1-43b3-9816-7d88b93f7564"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="180405337"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_f88786be/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/output.json new file mode 100644 index 00000000..c2048b4c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "1425ce3f-c041-46cf-9565-bc47f3f8d59c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7e4774fd-2af6-40c8-89a1-e88a79ddcef4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a028814e-bf1f-498b-bec2-fc7c70db0d36" + }, + "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": "a028814e-bf1f-498b-bec2-fc7c70db0d36", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bce0e899-130f-40d4-b9ae-663de62b2322", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "109e1e75-d5f2-43c3-aa8b-d872c421316d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f88786be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/output.xml new file mode 100644 index 00000000..21198278 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1425ce3f-c041-46cf-9565-bc47f3f8d59c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.772.56"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7e4774fd-2af6-40c8-89a1-e88a79ddcef4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a028814e-bf1f-498b-bec2-fc7c70db0d36"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a028814e-bf1f-498b-bec2-fc7c70db0d36"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="37914278"/> + </coding> + <text value="Ilopterproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bce0e899-130f-40d4-b9ae-663de62b2322"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="032584845"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05736) 6284866"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lene.soller@schuhaj.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Pestalozzistr. 49c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="49c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pestalozzistr."/> + </extension> + </line> + <city value="Joannastadt"/> + <postalCode value="59066"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="109e1e75-d5f2-43c3-aa8b-d872c421316d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="180405337"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_2ddcab15/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.json new file mode 100644 index 00000000..6d0a8e11 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "1cd14fef-77d2-40dd-bfce-9b38deef114f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0e5023f3-0019-45bc-a811-4a3b4568c382", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/03f17a3b-85fb-40f2-b308-81d1c08eacba" + }, + "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": "03f17a3b-85fb-40f2-b308-81d1c08eacba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2ff828d1-d872-4710-a983-58e7f1e7f627", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f520b0b7-4998-4b46-85fa-abb3e2404a25", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_2ddcab15/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.xml new file mode 100644 index 00000000..70af35fa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1cd14fef-77d2-40dd-bfce-9b38deef114f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.781.29"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0e5023f3-0019-45bc-a811-4a3b4568c382"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:5cd52661-eea8-4da7-aca7-bc1ae61f5d0f"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/03f17a3b-85fb-40f2-b308-81d1c08eacba"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="03f17a3b-85fb-40f2-b308-81d1c08eacba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16403786"/> + </coding> + <text value="Belglucofen"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2ff828d1-d872-4710-a983-58e7f1e7f627"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="478570881"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8195-22746056"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johann.morgenstern@albrecht.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Hütte 73a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="73a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hütte"/> + </extension> + </line> + <city value="Neu Talealand"/> + <postalCode value="87121"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f520b0b7-4998-4b46-85fa-abb3e2404a25"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="395405673"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 7da0537a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/output.json +++ /dev/null @@ -1,234 +0,0 @@ -{ - "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 deleted file mode 100644 index 7aaf35ce..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/output.xml +++ /dev/null @@ -1,237 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2e209d67-d097-4b87-8fa4-222922d917ec"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.524.76"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d0ed1878-58c4-4fa7-b4d2-ea7228862155"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-11-04"/> - <end value="2025-02-02"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:7bb30620-cb76-4f3a-a459-5ad4c4b63b14"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/b269138f-27ba-4606-acce-e55fdca0869b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b269138f-27ba-4606-acce-e55fdca0869b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="61892969"/> - </coding> - <text value="Hepabraproston"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3672a543-ac0c-45a2-95a9-c0acc07d5e64"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="558753276"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-6491-96705367"/> - </telecom> - <telecom> - <system value="email"/> - <value value="flora.lauckner@orthmann.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Böcklerstr. 43b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="43b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Böcklerstr."/> - </extension> - </line> - <city value="Groß Finnjadorf"/> - <postalCode value="78873"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="97b978a1-eb8e-4f81-bfd7-3485711aba15"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="642521068"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_4f51deff/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/output.json new file mode 100644 index 00000000..0346c3b6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "675aa9ab-d9aa-44ed-8668-035c4da32371", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "acdc7f6b-e350-4508-9b35-65a7727bc8c6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/0986557a-a3ef-49c0-8213-592c2251860f" + }, + "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": "0986557a-a3ef-49c0-8213-592c2251860f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4bc5d972-36f0-4551-bb46-3ababc123136", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d9469a45-857d-4f9d-9e7b-483318795dae", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4f51deff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/output.xml new file mode 100644 index 00000000..c9ea0cd8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="675aa9ab-d9aa-44ed-8668-035c4da32371"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.524.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="acdc7f6b-e350-4508-9b35-65a7727bc8c6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + <end value="2025-02-02"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:7bb30620-cb76-4f3a-a459-5ad4c4b63b14"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0986557a-a3ef-49c0-8213-592c2251860f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0986557a-a3ef-49c0-8213-592c2251860f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61892969"/> + </coding> + <text value="Hepabraproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4bc5d972-36f0-4551-bb46-3ababc123136"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="558753276"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-6491-96705367"/> + </telecom> + <telecom> + <system value="email"/> + <value value="flora.lauckner@orthmann.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Böcklerstr. 43b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="43b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Böcklerstr."/> + </extension> + </line> + <city value="Groß Finnjadorf"/> + <postalCode value="78873"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d9469a45-857d-4f9d-9e7b-483318795dae"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="642521068"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_35469770/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.json new file mode 100644 index 00000000..d63d9822 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "483e951d-7cc4-4cc1-b761-099d49df67ae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "32639dd3-d085-472b-ae77-63f4c3d19198", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/49447380-5c99-4d56-b626-138e41102872" + }, + "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": "49447380-5c99-4d56-b626-138e41102872", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "52b7796d-19ce-42b4-b387-fc71d820366a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8713d00d-850a-4359-a5f8-1ec3a9b9a48e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_35469770/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.xml new file mode 100644 index 00000000..db9e36ea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="483e951d-7cc4-4cc1-b761-099d49df67ae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.754.13"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="32639dd3-d085-472b-ae77-63f4c3d19198"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/49447380-5c99-4d56-b626-138e41102872"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="49447380-5c99-4d56-b626-138e41102872"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="52b7796d-19ce-42b4-b387-fc71d820366a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="469861049"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-868-7658755"/> + </telecom> + <telecom> + <system value="email"/> + <value value="milo.roggatz@kette.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Ilmstr. 86"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="86"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ilmstr."/> + </extension> + </line> + <city value="Klein Jack"/> + <postalCode value="92689"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8713d00d-850a-4359-a5f8-1ec3a9b9a48e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="793794444"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/input.xml new file mode 100644 index 00000000..472a5571 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="37c652cb-7289-4335-abf0-3c5e6a0c810a"/> + <meta> + <lastUpdated value="2024-02-08T19:07:19.035+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.777.41"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:07:19.035+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/8b8723dc-cfe9-40d5-b725-f12f78808bcd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8b8723dc-cfe9-40d5-b725-f12f78808bcd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/36b168a7-617e-4260-b021-a0c9b3f8ff9a"/> + </subject> + <date value="2024-02-08T19:07:19+01:00"/> + <author> + <reference value="Practitioner/1448974f-2444-444e-aee7-72be480f0729"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/6a90c2e0-038f-49c6-b4ae-dcdaad5b3c36"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/556b0843-bf3c-4f36-86f6-bd2b53cb4676"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/fa002435-4e02-4fa2-8895-d1bba2efbb2a"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/59004187-ab21-4702-9966-5d1b9a32b5ac"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="59004187-ab21-4702-9966-5d1b9a32b5ac"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11648419"/> + </coding> + <text value="IBUFLAM akut"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/36b168a7-617e-4260-b021-a0c9b3f8ff9a"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="36b168a7-617e-4260-b021-a0c9b3f8ff9a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="2004-02-19"/> + <address> + <type value="both"/> + <line value="Lucasstr. 90b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="90b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lucasstr."/> + </extension> + </line> + <city value="Ahmaddorf"/> + <postalCode value="94082"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/6a90c2e0-038f-49c6-b4ae-dcdaad5b3c36"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6a90c2e0-038f-49c6-b4ae-dcdaad5b3c36"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="505323366"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0283) 686271780"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alexa.newton@salzmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Potsdamer Str. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Potsdamer Str."/> + </extension> + </line> + <city value="Alt Elianastadt"/> + <postalCode value="41650"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/556b0843-bf3c-4f36-86f6-bd2b53cb4676"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="556b0843-bf3c-4f36-86f6-bd2b53cb4676"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/4adac281-9915-4c72-96e4-e80f37662ab0"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="100602360"/> + </identifier> + <display value="IKK Brandenburg und Berlin"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/1448974f-2444-444e-aee7-72be480f0729"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1448974f-2444-444e-aee7-72be480f0729"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="826335247"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/fa002435-4e02-4fa2-8895-d1bba2efbb2a"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fa002435-4e02-4fa2-8895-d1bba2efbb2a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/59004187-ab21-4702-9966-5d1b9a32b5ac"/> + </medicationReference> + <subject> + <reference value="Patient/36b168a7-617e-4260-b021-a0c9b3f8ff9a"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/1448974f-2444-444e-aee7-72be480f0729"/> + </requester> + <insurance> + <reference value="Coverage/556b0843-bf3c-4f36-86f6-bd2b53cb4676"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="50"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.json new file mode 100644 index 00000000..cc22b2b0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "acc5ecbd-27e3-480f-bbb5-792672d657be", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "60462ab8-8402-44e5-b2f2-cd72dc5a6986", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e7cc0c06-4e8e-4d8f-8318-0e2f74797567" + }, + "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": "e7cc0c06-4e8e-4d8f-8318-0e2f74797567", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "71fe69a8-5b41-4fe7-9363-938eea37055e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7ebb13ab-e349-4328-b8d6-5769fc01e261", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_37c652cb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.xml new file mode 100644 index 00000000..f81531e4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="acc5ecbd-27e3-480f-bbb5-792672d657be"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.777.41"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="60462ab8-8402-44e5-b2f2-cd72dc5a6986"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e7cc0c06-4e8e-4d8f-8318-0e2f74797567"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="50"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e7cc0c06-4e8e-4d8f-8318-0e2f74797567"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11648419"/> + </coding> + <text value="IBUFLAM akut"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="71fe69a8-5b41-4fe7-9363-938eea37055e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="505323366"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0283) 686271780"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alexa.newton@salzmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Potsdamer Str. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Potsdamer Str."/> + </extension> + </line> + <city value="Alt Elianastadt"/> + <postalCode value="41650"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7ebb13ab-e349-4328-b8d6-5769fc01e261"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="826335247"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 862ef4e6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index ab1e27de..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="3bc18bf8-6167-4d38-bcf6-e961053e706a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.752.19"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="141e436b-0c7e-4212-a353-4cd7d06c3a1d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/533167f2-3f23-497c-8d62-0b45a5f3f9f1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="533167f2-3f23-497c-8d62-0b45a5f3f9f1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b7a6afe8-134b-47fd-9b04-575e222d8c99"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="712972127"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(07022) 9438121"/> - </telecom> - <telecom> - <system value="email"/> - <value value="jeremy.benninger@riekmann.ch"/> - </telecom> - <address> - <type value="both"/> - <line value="Cranachstr. 392"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="392"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Cranachstr."/> - </extension> - </line> - <city value="Bussestadt"/> - <postalCode value="00355"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="151e84b8-9ac1-4ee4-9a11-96a4173ca4f5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="379988496"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_a3c77b03/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/output.json new file mode 100644 index 00000000..47195355 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "4c890e17-5610-4374-8e55-702c7d374fd0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b1347c1f-276a-4306-b0e0-a0798f902ed0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2dd3e5a4-8840-4cc5-bc24-502b8783032c" + }, + "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": "2dd3e5a4-8840-4cc5-bc24-502b8783032c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a209461b-b329-473f-ae5b-ddef050b88d5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4937b056-2eaf-4957-aac7-7ea8cb7e94d8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a3c77b03/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/output.xml new file mode 100644 index 00000000..d0dded17 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4c890e17-5610-4374-8e55-702c7d374fd0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.752.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b1347c1f-276a-4306-b0e0-a0798f902ed0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2dd3e5a4-8840-4cc5-bc24-502b8783032c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2dd3e5a4-8840-4cc5-bc24-502b8783032c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a209461b-b329-473f-ae5b-ddef050b88d5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="712972127"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(07022) 9438121"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jeremy.benninger@riekmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Cranachstr. 392"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="392"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Cranachstr."/> + </extension> + </line> + <city value="Bussestadt"/> + <postalCode value="00355"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4937b056-2eaf-4957-aac7-7ea8cb7e94d8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="379988496"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 670807d8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 984250ee..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="3f310f6f-7ddb-4ea5-91db-cc4326d94958"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.998.25"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9b3089c0-975a-4fd6-b31c-650465a23ddb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/b5d080d6-d611-4bdc-af54-5d80bd638384"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b5d080d6-d611-4bdc-af54-5d80bd638384"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="73951654"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="dba0764e-870f-45e5-965a-e936c802f09b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="714643725"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-247-4772661"/> - </telecom> - <telecom> - <system value="email"/> - <value value="lina.mallmann@zaituc.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Rückertstr. 78c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="78c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Rückertstr."/> - </extension> - </line> - <city value="Wollmannheim"/> - <postalCode value="08712"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c9839da3-3dab-4ccc-a4ca-d8a0142a34d4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="434355951"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_e17e8259/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/output.json new file mode 100644 index 00000000..1e25e756 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "5c6c726c-7ca6-4567-9dfe-8192817d4e9d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9c6a7445-01a6-487e-be95-cee08055e5f7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e2005908-6878-4f85-be79-df342e1599cc" + }, + "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": "e2005908-6878-4f85-be79-df342e1599cc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "447c8383-b353-4b28-9084-3da251878fc7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a78412b0-b978-4ec8-aca9-42dffd8bc0c7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e17e8259/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/output.xml new file mode 100644 index 00000000..7e72b51b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5c6c726c-7ca6-4567-9dfe-8192817d4e9d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.998.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9c6a7445-01a6-487e-be95-cee08055e5f7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e2005908-6878-4f85-be79-df342e1599cc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e2005908-6878-4f85-be79-df342e1599cc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="73951654"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="447c8383-b353-4b28-9084-3da251878fc7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="714643725"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-247-4772661"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lina.mallmann@zaituc.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Rückertstr. 78c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="78c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Rückertstr."/> + </extension> + </line> + <city value="Wollmannheim"/> + <postalCode value="08712"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a78412b0-b978-4ec8-aca9-42dffd8bc0c7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="434355951"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/input.xml new file mode 100644 index 00000000..d3438cf5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4149362e-f739-4912-b8cf-84b7c560cfa8"/> + <meta> + <lastUpdated value="2024-02-08T19:05:02.287+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:05:02.287+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/ab3e55e0-a523-4fa2-a0b7-70aed02c4b88"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ab3e55e0-a523-4fa2-a0b7-70aed02c4b88"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/d2a58934-6bcf-4efb-8251-44a6f3066927"/> + </subject> + <date value="2024-02-08T19:05:02+01:00"/> + <author> + <reference value="Practitioner/ba3f86fc-f00a-4335-8615-61c7d18b9dee"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/8e7aa328-ef87-4d90-8f4e-32ebc1fbd4ab"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/cbd29358-bfce-4086-83b4-b345fe7e1aec"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/d8493c0d-9a81-4e7d-a98e-8f693bb8e612"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/8e061f5f-d969-4642-b6fc-1fd835f0e282"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8e061f5f-d969-4642-b6fc-1fd835f0e282"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/d2a58934-6bcf-4efb-8251-44a6f3066927"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="d2a58934-6bcf-4efb-8251-44a6f3066927"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1972-12-05"/> + <address> + <type value="both"/> + <line value="Schwalbenweg 88a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schwalbenweg"/> + </extension> + </line> + <city value="Ost Friedrich"/> + <postalCode value="42778"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/8e7aa328-ef87-4d90-8f4e-32ebc1fbd4ab"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8e7aa328-ef87-4d90-8f4e-32ebc1fbd4ab"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="600372833"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0682) 787150898"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alessio.ehrig@behnke.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Gesundheitspark 31c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="31c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Gesundheitspark"/> + </extension> + </line> + <city value="Groß Annagrün"/> + <postalCode value="34652"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/cbd29358-bfce-4086-83b4-b345fe7e1aec"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="cbd29358-bfce-4086-83b4-b345fe7e1aec"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="48"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/8a3f8bea-7edc-4069-bc7f-c44d57c5adac"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101570104"/> + </identifier> + <display value="Hanseatische Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/ba3f86fc-f00a-4335-8615-61c7d18b9dee"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ba3f86fc-f00a-4335-8615-61c7d18b9dee"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="386029325"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/d8493c0d-9a81-4e7d-a98e-8f693bb8e612"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d8493c0d-9a81-4e7d-a98e-8f693bb8e612"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/8e061f5f-d969-4642-b6fc-1fd835f0e282"/> + </medicationReference> + <subject> + <reference value="Patient/d2a58934-6bcf-4efb-8251-44a6f3066927"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/ba3f86fc-f00a-4335-8615-61c7d18b9dee"/> + </requester> + <insurance> + <reference value="Coverage/cbd29358-bfce-4086-83b4-b345fe7e1aec"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.json new file mode 100644 index 00000000..517cf1d2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "70bd017e-fdbd-4093-970a-693e09248017", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ff1a5733-6047-4f7f-b927-2890e27da199", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8ee2523e-f98d-4fcf-90ce-2770e5ddc490" + }, + "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": "8ee2523e-f98d-4fcf-90ce-2770e5ddc490", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4777680a-aa9d-4d2a-8f23-4e4be10b1820", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c56f3391-ac7d-476e-a1c7-5ce95a675f37", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4149362e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.xml new file mode 100644 index 00000000..a04d79ba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="70bd017e-fdbd-4093-970a-693e09248017"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ff1a5733-6047-4f7f-b927-2890e27da199"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8ee2523e-f98d-4fcf-90ce-2770e5ddc490"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8ee2523e-f98d-4fcf-90ce-2770e5ddc490"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4777680a-aa9d-4d2a-8f23-4e4be10b1820"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="600372833"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0682) 787150898"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alessio.ehrig@behnke.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Gesundheitspark 31c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="31c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Gesundheitspark"/> + </extension> + </line> + <city value="Groß Annagrün"/> + <postalCode value="34652"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c56f3391-ac7d-476e-a1c7-5ce95a675f37"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="386029325"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_41ecb9a7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.json new file mode 100644 index 00000000..f5eb22eb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "28093659-4d21-4fdb-960c-675afb481dfa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "421d8f8f-8dc6-4a0f-9ebc-966e615206a5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7af3deb3-84a8-4999-b19f-d5ba2a1ca96b" + }, + "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": "7af3deb3-84a8-4999-b19f-d5ba2a1ca96b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7e658e47-de3d-49f7-8023-711421e6efb6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "82c2f742-28d4-4271-b24f-862243038d43", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_41ecb9a7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.xml new file mode 100644 index 00000000..d322b423 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="28093659-4d21-4fdb-960c-675afb481dfa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.753.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="421d8f8f-8dc6-4a0f-9ebc-966e615206a5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7af3deb3-84a8-4999-b19f-d5ba2a1ca96b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7af3deb3-84a8-4999-b19f-d5ba2a1ca96b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7e658e47-de3d-49f7-8023-711421e6efb6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="200088168"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0758) 645067737"/> + </telecom> + <telecom> + <system value="email"/> + <value value="immanuel.seigel@hoffman.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Carstens-Ring 57b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Carstens-Ring"/> + </extension> + </line> + <city value="Gatzkabrunn"/> + <postalCode value="71914"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="82c2f742-28d4-4271-b24f-862243038d43"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="309203716"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/input.xml new file mode 100644 index 00000000..8909d21d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="45a9ad90-cd13-47ce-979b-03b3eb68e4d1"/> + <meta> + <lastUpdated value="2024-02-08T19:01:20.654+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.743.46"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:01:20.654+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/2bb80506-72d4-4a0c-b961-7e95e620f6ff"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="2bb80506-72d4-4a0c-b961-7e95e620f6ff"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/cb57a234-a70e-4b09-a2ce-269bdc6dc427"/> + </subject> + <date value="2024-02-08T19:01:20+01:00"/> + <author> + <reference value="Practitioner/e36eaabf-7ea4-46c7-b876-afc2b94800b7"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/495a6929-56cb-4428-b911-ec9de279b884"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/b12df018-0540-4a68-b8fc-1288dc83e9bd"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/cffcc37f-beeb-4f1a-bdff-c0d1c3099943"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/98670442-3d6e-4199-a1a7-45011daa2d53"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="98670442-3d6e-4199-a1a7-45011daa2d53"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/cb57a234-a70e-4b09-a2ce-269bdc6dc427"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="cb57a234-a70e-4b09-a2ce-269bdc6dc427"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1968-08-23"/> + <address> + <type value="both"/> + <line value="Lohrstr. 15c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lohrstr."/> + </extension> + </line> + <city value="Bestberg"/> + <postalCode value="20862"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/495a6929-56cb-4428-b911-ec9de279b884"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="495a6929-56cb-4428-b911-ec9de279b884"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="525817115"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0901) 412592712"/> + </telecom> + <telecom> + <system value="email"/> + <value value="dilara.kahl@klinger.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Schießbergstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schießbergstr."/> + </extension> + </line> + <city value="Emiliahagen"/> + <postalCode value="70859"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/b12df018-0540-4a68-b8fc-1288dc83e9bd"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="b12df018-0540-4a68-b8fc-1288dc83e9bd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="02"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/356617a2-fae6-4fd1-aedc-1486da84440e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104224634"/> + </identifier> + <display value="BKK Deutsche Bank AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/e36eaabf-7ea4-46c7-b876-afc2b94800b7"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e36eaabf-7ea4-46c7-b876-afc2b94800b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="367206462"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/cffcc37f-beeb-4f1a-bdff-c0d1c3099943"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cffcc37f-beeb-4f1a-bdff-c0d1c3099943"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/98670442-3d6e-4199-a1a7-45011daa2d53"/> + </medicationReference> + <subject> + <reference value="Patient/cb57a234-a70e-4b09-a2ce-269bdc6dc427"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/e36eaabf-7ea4-46c7-b876-afc2b94800b7"/> + </requester> + <insurance> + <reference value="Coverage/b12df018-0540-4a68-b8fc-1288dc83e9bd"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.json new file mode 100644 index 00000000..5c798a78 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "c378b16e-b608-4611-9180-e538d55902ab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b265eb88-ced7-4782-b67b-7d6ec08a7ee1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6286519e-e295-4e75-91c0-376c32475d91" + }, + "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": "6286519e-e295-4e75-91c0-376c32475d91", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3eb8b6d0-2d11-4458-9782-68212562b0cc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4d4ef81f-2d82-4bdf-bf62-384efc5d636d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_45a9ad90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.xml new file mode 100644 index 00000000..d6dac4d6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c378b16e-b608-4611-9180-e538d55902ab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.743.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b265eb88-ced7-4782-b67b-7d6ec08a7ee1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6286519e-e295-4e75-91c0-376c32475d91"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6286519e-e295-4e75-91c0-376c32475d91"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3eb8b6d0-2d11-4458-9782-68212562b0cc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="525817115"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0901) 412592712"/> + </telecom> + <telecom> + <system value="email"/> + <value value="dilara.kahl@klinger.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Schießbergstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schießbergstr."/> + </extension> + </line> + <city value="Emiliahagen"/> + <postalCode value="70859"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4d4ef81f-2d82-4bdf-bf62-384efc5d636d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="367206462"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/input.xml new file mode 100644 index 00000000..da6a5834 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/input.xml @@ -0,0 +1,402 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="475e9667-6035-46f7-93a0-b5670db0d9e4"/> + <meta> + <lastUpdated value="2024-02-08T19:12:22.040+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.797.78"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:12:22.040+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/0160de5b-87dd-44fa-8d35-1d63f95e3f2b"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="0160de5b-87dd-44fa-8d35-1d63f95e3f2b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <date value="2024-02-08T19:12:22+01:00"/> + <author> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/9b1df1a4-e4fc-40ac-8bdd-d838a414eff6"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/7050c523-c612-4440-a6f9-d07f3ac52b5e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7050c523-c612-4440-a6f9-d07f3ac52b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="45323114"/> + </coding> + <text value="Hydvofloxnin"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1963-08-18"/> + <address> + <type value="both"/> + <line value="Friedrich-List-Str. 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Friedrich-List-Str."/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="40934"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="268d5615-319b-448d-884a-ce034b70d01c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="47"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/e11c162b-d22c-4576-88e2-21a9c878c33e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108433248"/> + </identifier> + <display value="Siemens‐Betriebskrankenkasse SBK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/9b1df1a4-e4fc-40ac-8bdd-d838a414eff6"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9b1df1a4-e4fc-40ac-8bdd-d838a414eff6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-02-08"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/7050c523-c612-4440-a6f9-d07f3ac52b5e"/> + </medicationReference> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + </requester> + <insurance> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.json new file mode 100644 index 00000000..d15bc428 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "df05f8ce-0a55-4e84-bdad-f5cd7c6d2c3c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "89a93f06-24f9-443a-b118-36b8e825761a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/7c10566b-f9e2-4711-a58e-b43a9ae2db09" + }, + "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": "7c10566b-f9e2-4711-a58e-b43a9ae2db09", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3a63ca43-c163-47d6-aac8-6da6e838fbe0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "89a2153e-c670-4851-8353-7d05dce6be0c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_475e9667/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.xml new file mode 100644 index 00000000..7597e96f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="df05f8ce-0a55-4e84-bdad-f5cd7c6d2c3c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.797.78"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="89a93f06-24f9-443a-b118-36b8e825761a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-02-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7c10566b-f9e2-4711-a58e-b43a9ae2db09"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7c10566b-f9e2-4711-a58e-b43a9ae2db09"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="45323114"/> + </coding> + <text value="Hydvofloxnin"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3a63ca43-c163-47d6-aac8-6da6e838fbe0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="89a2153e-c670-4851-8353-7d05dce6be0c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/input.xml new file mode 100644 index 00000000..ba541286 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4c861d6d-69cc-4f3f-9ef2-d294f63dc408"/> + <meta> + <lastUpdated value="2024-02-08T19:13:06.426+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.807.48"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:13:06.426+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/a1a35ee0-1972-45d1-a1c2-439e359d4a01"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a1a35ee0-1972-45d1-a1c2-439e359d4a01"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/7f489f10-5bc7-47da-a60a-d5230ba517a4"/> + </subject> + <date value="2024-02-08T19:13:06+01:00"/> + <author> + <reference value="Practitioner/de76c437-4555-45a6-b4ad-ec1e1fadde41"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/369088ec-c775-4b28-a028-8ec3fafce3d1"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/2d6b1d33-9c02-46fc-9379-9638ae84d3af"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/15ba04da-90df-41c9-9225-38de3a68d36c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/05e937fd-3b04-4422-acb5-ec31f39109c9"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="05e937fd-3b04-4422-acb5-ec31f39109c9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/7f489f10-5bc7-47da-a60a-d5230ba517a4"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="7f489f10-5bc7-47da-a60a-d5230ba517a4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1978-04-23"/> + <address> + <type value="both"/> + <line value="Ulrichstr. 29b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ulrichstr."/> + </extension> + </line> + <city value="Rikefeld"/> + <postalCode value="82333"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/369088ec-c775-4b28-a028-8ec3fafce3d1"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="369088ec-c775-4b28-a028-8ec3fafce3d1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="623514458"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-832-4027347"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hamza.hübl@adam.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Insterstr. 93c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="93c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Insterstr."/> + </extension> + </line> + <city value="Koubaastadt"/> + <postalCode value="64092"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/2d6b1d33-9c02-46fc-9379-9638ae84d3af"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="2d6b1d33-9c02-46fc-9379-9638ae84d3af"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="88"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/b76541f3-2440-4d42-a0c3-d279d63bb9f7"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104926702"/> + </identifier> + <display value="DIE BERGISCHE KRANKENKASSE"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/de76c437-4555-45a6-b4ad-ec1e1fadde41"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="de76c437-4555-45a6-b4ad-ec1e1fadde41"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="806233722"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/15ba04da-90df-41c9-9225-38de3a68d36c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="15ba04da-90df-41c9-9225-38de3a68d36c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/05e937fd-3b04-4422-acb5-ec31f39109c9"/> + </medicationReference> + <subject> + <reference value="Patient/7f489f10-5bc7-47da-a60a-d5230ba517a4"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/de76c437-4555-45a6-b4ad-ec1e1fadde41"/> + </requester> + <insurance> + <reference value="Coverage/2d6b1d33-9c02-46fc-9379-9638ae84d3af"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.json new file mode 100644 index 00000000..c4ad8256 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "3d9aff51-8734-43c5-a5a9-7bebebddab24", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b52fc533-280f-4280-9b48-94ad4f93a40d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e57b7c98-9726-4193-81f3-6f26c7de58d8" + }, + "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": "e57b7c98-9726-4193-81f3-6f26c7de58d8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "235eda2b-aeb3-4f96-afcf-2b3f632216fa", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e938d1f2-7198-4af2-8b81-58a819b6a12b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4c861d6d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.xml new file mode 100644 index 00000000..0e3e4ff6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3d9aff51-8734-43c5-a5a9-7bebebddab24"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.807.48"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b52fc533-280f-4280-9b48-94ad4f93a40d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e57b7c98-9726-4193-81f3-6f26c7de58d8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e57b7c98-9726-4193-81f3-6f26c7de58d8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="235eda2b-aeb3-4f96-afcf-2b3f632216fa"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="623514458"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-832-4027347"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hamza.hübl@adam.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Insterstr. 93c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="93c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Insterstr."/> + </extension> + </line> + <city value="Koubaastadt"/> + <postalCode value="64092"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e938d1f2-7198-4af2-8b81-58a819b6a12b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="806233722"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 43094b4d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 1074390d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4ee123e6-3e44-412e-bc22-4d1151a387d5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.995.34"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="da4d3da9-7c1e-45b2-9cbb-aaddd22ea8ce"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/a5db261e-f5ed-479d-a5de-0453f1a4a10f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a5db261e-f5ed-479d-a5de-0453f1a4a10f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="46260462"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e550f607-daaa-417c-b341-f11ce4838246"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="382601542"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-902-0356405"/> - </telecom> - <telecom> - <system value="email"/> - <value value="jan.leschnik@lichtenfeld.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Liebigstr. 9"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="9"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Liebigstr."/> - </extension> - </line> - <city value="Ost Marius"/> - <postalCode value="85692"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="faebf636-3fb9-4fe5-a700-7de20dcb9bf0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="804424206"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_9c9429a1/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/output.json new file mode 100644 index 00000000..0a1f84f9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "daa63258-cc4a-45d1-a8db-4333d97ffcee", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0df92635-b8c9-4a8d-bb1c-4d4f83014880", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/261ca99f-5108-4fe0-a032-e734274251f2" + }, + "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": "261ca99f-5108-4fe0-a032-e734274251f2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "df27c5e1-794b-41ac-8e09-661752024370", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "23e05c30-dbcf-4c43-b783-0aded0de6418", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c9429a1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/output.xml new file mode 100644 index 00000000..0267ccf3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="daa63258-cc4a-45d1-a8db-4333d97ffcee"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.995.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0df92635-b8c9-4a8d-bb1c-4d4f83014880"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/261ca99f-5108-4fe0-a032-e734274251f2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="261ca99f-5108-4fe0-a032-e734274251f2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="46260462"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="df27c5e1-794b-41ac-8e09-661752024370"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="382601542"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-902-0356405"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jan.leschnik@lichtenfeld.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Liebigstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Liebigstr."/> + </extension> + </line> + <city value="Ost Marius"/> + <postalCode value="85692"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="23e05c30-dbcf-4c43-b783-0aded0de6418"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="804424206"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/input.xml new file mode 100644 index 00000000..ebac57ff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/input.xml @@ -0,0 +1,403 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4f51deff-9ab0-4535-88ad-ad3558cdb029"/> + <meta> + <lastUpdated value="2024-02-08T19:08:46.196+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.524.76"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:08:46.196+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/8248823c-4d32-4acb-8093-1a0dca2e4958"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8248823c-4d32-4acb-8093-1a0dca2e4958"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/548a50d9-ccba-49c8-bb93-f01e7e382180"/> + </subject> + <date value="2024-02-08T19:08:46+01:00"/> + <author> + <reference value="Practitioner/c012b5ce-943d-4ffd-ba46-aad411a3318b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/be5472bd-bb65-49a5-9d29-0d9bc4668232"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/bf7efc39-ede1-4b41-ada7-1ace947958f6"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/ddbccc8c-9b70-49eb-a3c7-9f7cb6fda02b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/ddc36347-ec0e-4c74-9320-af6410313905"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ddc36347-ec0e-4c74-9320-af6410313905"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61892969"/> + </coding> + <text value="Hepabraproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/548a50d9-ccba-49c8-bb93-f01e7e382180"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="548a50d9-ccba-49c8-bb93-f01e7e382180"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1993-03-09"/> + <address> + <type value="both"/> + <line value="Peschstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Peschstr."/> + </extension> + </line> + <city value="Klein Josiebrunn"/> + <postalCode value="35925"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/be5472bd-bb65-49a5-9d29-0d9bc4668232"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="be5472bd-bb65-49a5-9d29-0d9bc4668232"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="558753276"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-6491-96705367"/> + </telecom> + <telecom> + <system value="email"/> + <value value="flora.lauckner@orthmann.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Böcklerstr. 43b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="43b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Böcklerstr."/> + </extension> + </line> + <city value="Groß Finnjadorf"/> + <postalCode value="78873"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/bf7efc39-ede1-4b41-ada7-1ace947958f6"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="bf7efc39-ede1-4b41-ada7-1ace947958f6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="71"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/e81257c3-6322-4862-a2f2-d05598f0dbdf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="950585030"/> + </identifier> + <display value="PBeaKK Postbeamtenkrankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/c012b5ce-943d-4ffd-ba46-aad411a3318b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c012b5ce-943d-4ffd-ba46-aad411a3318b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="642521068"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/ddbccc8c-9b70-49eb-a3c7-9f7cb6fda02b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ddbccc8c-9b70-49eb-a3c7-9f7cb6fda02b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-11-04"/> + <end value="2025-02-02"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:7bb30620-cb76-4f3a-a459-5ad4c4b63b14"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/ddc36347-ec0e-4c74-9320-af6410313905"/> + </medicationReference> + <subject> + <reference value="Patient/548a50d9-ccba-49c8-bb93-f01e7e382180"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/c012b5ce-943d-4ffd-ba46-aad411a3318b"/> + </requester> + <insurance> + <reference value="Coverage/bf7efc39-ede1-4b41-ada7-1ace947958f6"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.json new file mode 100644 index 00000000..52485335 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "438026cb-b276-487c-b658-585d50d02725", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "dc573af6-fe26-4d8e-a538-fda040df54c3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/54c07cb6-5f2f-4326-8d24-001f7bff81cd" + }, + "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": "54c07cb6-5f2f-4326-8d24-001f7bff81cd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "96e1b575-6a12-4109-b7f9-fdd16712522a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7c3b3fe8-b60f-4382-adad-737b0dbe08c0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4f51deff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.xml new file mode 100644 index 00000000..5fa9e88e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="438026cb-b276-487c-b658-585d50d02725"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.524.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="dc573af6-fe26-4d8e-a538-fda040df54c3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + <end value="2025-02-02"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:7bb30620-cb76-4f3a-a459-5ad4c4b63b14"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/54c07cb6-5f2f-4326-8d24-001f7bff81cd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="54c07cb6-5f2f-4326-8d24-001f7bff81cd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61892969"/> + </coding> + <text value="Hepabraproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="96e1b575-6a12-4109-b7f9-fdd16712522a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="558753276"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-6491-96705367"/> + </telecom> + <telecom> + <system value="email"/> + <value value="flora.lauckner@orthmann.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Böcklerstr. 43b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="43b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Böcklerstr."/> + </extension> + </line> + <city value="Groß Finnjadorf"/> + <postalCode value="78873"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7c3b3fe8-b60f-4382-adad-737b0dbe08c0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="642521068"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/input.xml new file mode 100644 index 00000000..547376e4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4ff8a848-53cb-42dc-a7ac-3f90bacd2e1d"/> + <meta> + <lastUpdated value="2024-02-08T19:21:25.693+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.996.31"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:21:25.693+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/3e75dbf0-505e-426a-b0d1-7c48b8838dc8"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="3e75dbf0-505e-426a-b0d1-7c48b8838dc8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/11c7df44-c880-464e-bec1-a0169d8a2d23"/> + </subject> + <date value="2024-02-08T19:21:25+01:00"/> + <author> + <reference value="Practitioner/fe11c397-5ee6-475a-b27a-497fb946b1f2"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2533ab91-11e3-4272-84a5-36077b8b1d6f"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/915cf042-7168-437d-9c10-d87aa67d2516"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/22c85c7b-ef57-48d0-8c16-05e705b37719"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/979f9f1b-d9d5-4784-9c1e-0b1abe22d2ea"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="979f9f1b-d9d5-4784-9c1e-0b1abe22d2ea"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="48094708"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/11c7df44-c880-464e-bec1-a0169d8a2d23"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="11c7df44-c880-464e-bec1-a0169d8a2d23"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1975-01-22"/> + <address> + <type value="both"/> + <line value="Wüstenhof 7"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="7"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wüstenhof"/> + </extension> + </line> + <city value="Neu Youssefhagen"/> + <postalCode value="80809"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/2533ab91-11e3-4272-84a5-36077b8b1d6f"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2533ab91-11e3-4272-84a5-36077b8b1d6f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="889081004"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8265-38308644"/> + </telecom> + <telecom> + <system value="email"/> + <value value="karlo.benner@wilts.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Kalkstr. 7"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="7"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kalkstr."/> + </extension> + </line> + <city value="Rohländerstadt"/> + <postalCode value="98861"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/915cf042-7168-437d-9c10-d87aa67d2516"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="915cf042-7168-437d-9c10-d87aa67d2516"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/f65b8aec-c039-4f18-ad69-1636ae6dffcd"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141461"/> + </identifier> + <display value="ottonova Krankenversicherung AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/fe11c397-5ee6-475a-b27a-497fb946b1f2"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="fe11c397-5ee6-475a-b27a-497fb946b1f2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="892116208"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/22c85c7b-ef57-48d0-8c16-05e705b37719"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="22c85c7b-ef57-48d0-8c16-05e705b37719"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/979f9f1b-d9d5-4784-9c1e-0b1abe22d2ea"/> + </medicationReference> + <subject> + <reference value="Patient/11c7df44-c880-464e-bec1-a0169d8a2d23"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/fe11c397-5ee6-475a-b27a-497fb946b1f2"/> + </requester> + <insurance> + <reference value="Coverage/915cf042-7168-437d-9c10-d87aa67d2516"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.json new file mode 100644 index 00000000..ed5b2b26 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "33f630b7-8b7d-4612-9a37-502aca3c9756", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a07ac8b3-e5fd-4bcc-9a11-ec8953d8e3f6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/90407384-bb72-44d0-8062-5a2a7773580f" + }, + "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": "90407384-bb72-44d0-8062-5a2a7773580f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e4df7461-bb2e-4f5a-9a69-5a6f9b933928", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6596d023-ab6e-4987-b2af-e8cad8fd1ac6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4ff8a848/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.xml new file mode 100644 index 00000000..fb33d7f9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="33f630b7-8b7d-4612-9a37-502aca3c9756"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.996.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a07ac8b3-e5fd-4bcc-9a11-ec8953d8e3f6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/90407384-bb72-44d0-8062-5a2a7773580f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="90407384-bb72-44d0-8062-5a2a7773580f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="48094708"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e4df7461-bb2e-4f5a-9a69-5a6f9b933928"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="889081004"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8265-38308644"/> + </telecom> + <telecom> + <system value="email"/> + <value value="karlo.benner@wilts.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Kalkstr. 7"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="7"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kalkstr."/> + </extension> + </line> + <city value="Rohländerstadt"/> + <postalCode value="98861"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6596d023-ab6e-4987-b2af-e8cad8fd1ac6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="892116208"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_5093c3ab/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.json new file mode 100644 index 00000000..6cef6898 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "19768e3a-e78e-411d-9bb4-c5a8b6b746d8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a99b1006-b16e-4b0f-beab-cea92524c83a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5bd3b09e-e8b2-43e0-92a6-0596d1621671" + }, + "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": "5bd3b09e-e8b2-43e0-92a6-0596d1621671", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c09d74a8-625d-4285-9a4d-cb0abeee0831", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "57000251-5119-4909-b30c-d1e32d756f65", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5093c3ab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.xml new file mode 100644 index 00000000..e103073a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="19768e3a-e78e-411d-9bb4-c5a8b6b746d8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.764.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a99b1006-b16e-4b0f-beab-cea92524c83a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5bd3b09e-e8b2-43e0-92a6-0596d1621671"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5bd3b09e-e8b2-43e0-92a6-0596d1621671"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c09d74a8-625d-4285-9a4d-cb0abeee0831"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="035362503"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-514-9983229"/> + </telecom> + <telecom> + <system value="email"/> + <value value="erik.gauder@borsch.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Ortelsburger Str. 75a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ortelsburger Str."/> + </extension> + </line> + <city value="Illinggrün"/> + <postalCode value="36070"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="57000251-5119-4909-b30c-d1e32d756f65"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="333698756"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 3074bd12..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 948ddb4a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="550e0973-f3c1-4f33-a38e-5abd53eb16ff"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.768.68"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1203556d-5a69-430c-94d4-a07268ae4a83"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/3e4559f6-bd46-46ea-a5b6-1c9a0510fbe9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3e4559f6-bd46-46ea-a5b6-1c9a0510fbe9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="35a7d6f9-d096-4010-b01e-8136d99fe2ec"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="206219256"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0011) 867656050"/> - </telecom> - <telecom> - <system value="email"/> - <value value="jolie.deckert@tepper.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Leichlinger Str. 86"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="86"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Leichlinger Str."/> - </extension> - </line> - <city value="Schön Magdalena"/> - <postalCode value="75443"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f8ac4ddc-35b5-4479-9c7a-ed3ccb395e6a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="279711745"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_bbc51505/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/output.json new file mode 100644 index 00000000..f92a7642 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "1ecd70e8-901a-429f-b3c5-1025f8032441", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fb7073b0-3b06-4348-9680-f716a8d0bb94", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e6b54ef8-decb-42ba-aede-651c4193663b" + }, + "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": "e6b54ef8-decb-42ba-aede-651c4193663b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fefa202b-f4e9-40e9-82a5-815b55283271", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "fa876e7c-5c73-4c2c-9c09-5a2245b3a015", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bbc51505/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/output.xml new file mode 100644 index 00000000..0c073f64 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1ecd70e8-901a-429f-b3c5-1025f8032441"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.768.68"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fb7073b0-3b06-4348-9680-f716a8d0bb94"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e6b54ef8-decb-42ba-aede-651c4193663b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e6b54ef8-decb-42ba-aede-651c4193663b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fefa202b-f4e9-40e9-82a5-815b55283271"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="206219256"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0011) 867656050"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jolie.deckert@tepper.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Leichlinger Str. 86"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="86"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Leichlinger Str."/> + </extension> + </line> + <city value="Schön Magdalena"/> + <postalCode value="75443"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="fa876e7c-5c73-4c2c-9c09-5a2245b3a015"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="279711745"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 31312bf8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 4c722809..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="55258d43-25f6-4ed7-b18f-b5c53414a9f6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.474.839.81"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-13"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a4aef1fb-275d-4e65-8f6e-b3b670cc3e7b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/3b858aee-87f0-4969-8c03-bddcb752a3ea"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-13"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3b858aee-87f0-4969-8c03-bddcb752a3ea"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="18c4f936-739a-4822-98f2-d8d9972852a4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="729642118"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0622) 265074965"/> - </telecom> - <telecom> - <system value="email"/> - <value value="miray.lokar@patzwahl.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Marie-Schlei-Str. 67"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="67"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Marie-Schlei-Str."/> - </extension> - </line> - <city value="Nageldorf"/> - <postalCode value="44392"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="da9e00a7-7ee6-43a9-8667-ae47abf3d8b2"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="547425702"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_5f3e877b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/output.json new file mode 100644 index 00000000..c4df0d87 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "9cf56184-2a3f-44eb-937a-0cf462b56967", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f7306f04-178e-40c0-967d-975bd0e589c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bc80b86f-3bd6-480a-8019-10021fbf032a" + }, + "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": "bc80b86f-3bd6-480a-8019-10021fbf032a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "80382aff-e3a1-40ef-a67a-aae22c7ab82b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "23ef6492-4a86-4df2-929c-a08ae28a4a3f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f3e877b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/output.xml new file mode 100644 index 00000000..5a759492 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9cf56184-2a3f-44eb-937a-0cf462b56967"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.839.81"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f7306f04-178e-40c0-967d-975bd0e589c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bc80b86f-3bd6-480a-8019-10021fbf032a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bc80b86f-3bd6-480a-8019-10021fbf032a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="80382aff-e3a1-40ef-a67a-aae22c7ab82b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="729642118"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0622) 265074965"/> + </telecom> + <telecom> + <system value="email"/> + <value value="miray.lokar@patzwahl.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Marie-Schlei-Str. 67"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="67"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Marie-Schlei-Str."/> + </extension> + </line> + <city value="Nageldorf"/> + <postalCode value="44392"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="23ef6492-4a86-4df2-929c-a08ae28a4a3f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="547425702"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index b95244f8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index e4a36c7c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5665652f-ebc9-4a67-8bf9-35a063c219c2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.474.838.84"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-13"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="05f36a2a-62cc-4d05-8d83-412c0724f6b2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/db8d886a-7ec5-41d4-b325-be2f0488d6dc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-13"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="db8d886a-7ec5-41d4-b325-be2f0488d6dc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8d5a7d94-ad95-4b31-a70d-37bd726dc57b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="475308196"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0958) 130707809"/> - </telecom> - <telecom> - <system value="email"/> - <value value="wilhelm.welz@kofferschlager.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Schopenhauerstr. 35c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="35c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Schopenhauerstr."/> - </extension> - </line> - <city value="Hamzafeld"/> - <postalCode value="15855"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="3e3c42a7-b128-48b8-b04c-a34e70a4416a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="183015301"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_90d5dd65/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/output.json new file mode 100644 index 00000000..197face7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "e89f408e-4a11-49a4-bef9-c19ec553faa8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6576e0c9-2eb7-40e2-94e7-53cf468b078a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5d27fc7b-9159-49de-8f02-caa4878378be" + }, + "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": "5d27fc7b-9159-49de-8f02-caa4878378be", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0721f171-8e9e-4ebc-8354-2d4d70cd5891", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "69379799-a5bd-4acd-ac21-5f25b723b6bb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_90d5dd65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/output.xml new file mode 100644 index 00000000..8b82a6a1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e89f408e-4a11-49a4-bef9-c19ec553faa8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.838.84"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6576e0c9-2eb7-40e2-94e7-53cf468b078a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5d27fc7b-9159-49de-8f02-caa4878378be"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5d27fc7b-9159-49de-8f02-caa4878378be"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0721f171-8e9e-4ebc-8354-2d4d70cd5891"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="475308196"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0958) 130707809"/> + </telecom> + <telecom> + <system value="email"/> + <value value="wilhelm.welz@kofferschlager.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Schopenhauerstr. 35c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="35c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schopenhauerstr."/> + </extension> + </line> + <city value="Hamzafeld"/> + <postalCode value="15855"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="69379799-a5bd-4acd-ac21-5f25b723b6bb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="183015301"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/input.xml new file mode 100644 index 00000000..b4455cc7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5d6fae1d-0122-44ab-b697-aa740f389624"/> + <meta> + <lastUpdated value="2024-02-08T19:00:13.562+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.740.55"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:00:13.562+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/57151291-0629-4c86-ad85-4e264cc9d162"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="57151291-0629-4c86-ad85-4e264cc9d162"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/dda1ced0-80d2-4248-bce6-a0474f688b56"/> + </subject> + <date value="2024-02-08T19:00:13+01:00"/> + <author> + <reference value="Practitioner/809cb76c-01d7-405b-b788-176e3b8528eb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/37148422-0e59-40e1-b9fd-8cf03be9f37f"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/1dbdf07f-d8de-44e9-9a83-b512dd0f808c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/9c283609-db40-408c-9563-862b9b03e4a9"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/6cbfa774-2875-4c4e-a158-0b01299011fc"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6cbfa774-2875-4c4e-a158-0b01299011fc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/dda1ced0-80d2-4248-bce6-a0474f688b56"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="dda1ced0-80d2-4248-bce6-a0474f688b56"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="2005-04-30"/> + <address> + <type value="both"/> + <line value="Maria-Terwiel-Str. 96a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="96a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Maria-Terwiel-Str."/> + </extension> + </line> + <city value="West Janek"/> + <postalCode value="66396"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/37148422-0e59-40e1-b9fd-8cf03be9f37f"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="37148422-0e59-40e1-b9fd-8cf03be9f37f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="739445767"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0222) 778778860"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tina.filipowski@xn--tpfer-jua.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Moosweg 68c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="68c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Moosweg"/> + </extension> + </line> + <city value="Süd Marek"/> + <postalCode value="48927"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/1dbdf07f-d8de-44e9-9a83-b512dd0f808c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1dbdf07f-d8de-44e9-9a83-b512dd0f808c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/9a75a23d-c00d-4cc3-96ad-4fd93c754876"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101320043"/> + </identifier> + <display value="BKK Schleswig‐Holstein"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/809cb76c-01d7-405b-b788-176e3b8528eb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="809cb76c-01d7-405b-b788-176e3b8528eb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="755566422"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/9c283609-db40-408c-9563-862b9b03e4a9"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9c283609-db40-408c-9563-862b9b03e4a9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/6cbfa774-2875-4c4e-a158-0b01299011fc"/> + </medicationReference> + <subject> + <reference value="Patient/dda1ced0-80d2-4248-bce6-a0474f688b56"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/809cb76c-01d7-405b-b788-176e3b8528eb"/> + </requester> + <insurance> + <reference value="Coverage/1dbdf07f-d8de-44e9-9a83-b512dd0f808c"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.json new file mode 100644 index 00000000..883db3d6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "2430c5f9-e99a-43df-aae7-a43e163e113d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "bd11a3d3-fd1d-4357-a149-549739d9170d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b7675398-e0f1-4e3e-8ab8-a927ee60085d" + }, + "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": "b7675398-e0f1-4e3e-8ab8-a927ee60085d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "421ea83e-810b-453e-b9d5-ba98a044a6e4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8d2e63ad-a584-45c8-abec-ce1519009aeb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5d6fae1d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.xml new file mode 100644 index 00000000..8d9eb495 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2430c5f9-e99a-43df-aae7-a43e163e113d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.740.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="bd11a3d3-fd1d-4357-a149-549739d9170d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b7675398-e0f1-4e3e-8ab8-a927ee60085d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b7675398-e0f1-4e3e-8ab8-a927ee60085d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="421ea83e-810b-453e-b9d5-ba98a044a6e4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="739445767"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0222) 778778860"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tina.filipowski@xn--tpfer-jua.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Moosweg 68c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="68c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Moosweg"/> + </extension> + </line> + <city value="Süd Marek"/> + <postalCode value="48927"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8d2e63ad-a584-45c8-abec-ce1519009aeb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="755566422"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 53d121c7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 9bdb6a03..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5da0791f-d7e2-4d44-916d-f1f1427b4b45"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.753.16"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e102612a-e3d7-4e28-a843-b79e4e9fda01"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/58e5713f-cc81-4af6-a9eb-e667fedd8b87"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="58e5713f-cc81-4af6-a9eb-e667fedd8b87"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="63e14df2-b909-4579-868f-8c06ccd3639a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="200088168"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0758) 645067737"/> - </telecom> - <telecom> - <system value="email"/> - <value value="immanuel.seigel@hoffman.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Karl-Carstens-Ring 57b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="57b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Karl-Carstens-Ring"/> - </extension> - </line> - <city value="Gatzkabrunn"/> - <postalCode value="71914"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4eccd935-0135-4007-ac08-f3b348986846"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="309203716"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/input.xml new file mode 100644 index 00000000..06cceaa0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="41ecb9a7-be48-4100-99a1-ba07858db65e"/> + <meta> + <lastUpdated value="2024-02-08T19:03:21.057+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.753.16"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:03:21.057+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/4dc602e6-7c33-417b-925a-e5f7503e9e15"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4dc602e6-7c33-417b-925a-e5f7503e9e15"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/97b2fe9b-a0c2-4fa8-91b7-9923fadb2d4e"/> + </subject> + <date value="2024-02-08T19:03:21+01:00"/> + <author> + <reference value="Practitioner/6faefd86-bea8-4e76-b52c-a11eea2f0435"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/a30a377b-74e2-47de-ba10-738de88cdb44"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/0e2b1a9b-4baa-43dc-8ebc-dfc1b2fa5456"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/b4e54c5a-395f-459a-b7e9-2585e41f98eb"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/8b58a971-50ea-412e-b5d0-5fc7a314e626"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8b58a971-50ea-412e-b5d0-5fc7a314e626"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/97b2fe9b-a0c2-4fa8-91b7-9923fadb2d4e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="97b2fe9b-a0c2-4fa8-91b7-9923fadb2d4e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1988-04-08"/> + <address> + <type value="both"/> + <line value="Ilmstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ilmstr."/> + </extension> + </line> + <city value="Trauthscheid"/> + <postalCode value="03912"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/a30a377b-74e2-47de-ba10-738de88cdb44"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a30a377b-74e2-47de-ba10-738de88cdb44"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="200088168"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0758) 645067737"/> + </telecom> + <telecom> + <system value="email"/> + <value value="immanuel.seigel@hoffman.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Carstens-Ring 57b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Carstens-Ring"/> + </extension> + </line> + <city value="Gatzkabrunn"/> + <postalCode value="71914"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/0e2b1a9b-4baa-43dc-8ebc-dfc1b2fa5456"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="0e2b1a9b-4baa-43dc-8ebc-dfc1b2fa5456"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="83"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/4b416261-bf60-4f18-b8c5-426d594f175f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035576"/> + </identifier> + <display value="BKK Scheufelen"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/6faefd86-bea8-4e76-b52c-a11eea2f0435"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6faefd86-bea8-4e76-b52c-a11eea2f0435"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="309203716"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/b4e54c5a-395f-459a-b7e9-2585e41f98eb"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b4e54c5a-395f-459a-b7e9-2585e41f98eb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/8b58a971-50ea-412e-b5d0-5fc7a314e626"/> + </medicationReference> + <subject> + <reference value="Patient/97b2fe9b-a0c2-4fa8-91b7-9923fadb2d4e"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/6faefd86-bea8-4e76-b52c-a11eea2f0435"/> + </requester> + <insurance> + <reference value="Coverage/0e2b1a9b-4baa-43dc-8ebc-dfc1b2fa5456"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/output.json new file mode 100644 index 00000000..73944135 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "f5cdcd46-dcec-4de1-b233-e41f1274c4bd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5294062f-44f6-41e3-bcbf-bf9c23538ee3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2a469c62-04fd-483a-856d-a04d4b86b9e2" + }, + "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": "2a469c62-04fd-483a-856d-a04d4b86b9e2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "34e34c82-320c-4891-ab1c-9488de611a10", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "fc99e631-313e-4479-970a-1fdc4cb7c322", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_41ecb9a7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/output.xml new file mode 100644 index 00000000..c1f18d74 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f5cdcd46-dcec-4de1-b233-e41f1274c4bd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.753.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5294062f-44f6-41e3-bcbf-bf9c23538ee3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2a469c62-04fd-483a-856d-a04d4b86b9e2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2a469c62-04fd-483a-856d-a04d4b86b9e2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="34e34c82-320c-4891-ab1c-9488de611a10"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="200088168"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0758) 645067737"/> + </telecom> + <telecom> + <system value="email"/> + <value value="immanuel.seigel@hoffman.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Carstens-Ring 57b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Carstens-Ring"/> + </extension> + </line> + <city value="Gatzkabrunn"/> + <postalCode value="71914"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="fc99e631-313e-4479-970a-1fdc4cb7c322"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="309203716"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 2029b6c7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index eb0c167d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5ed8a5cd-8141-4266-b5bc-c001596381b5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.748.31"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6306e375-a0ae-42a5-a431-2543055a10f5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/f2590930-90b3-4418-a9bc-f4593a4f77ce"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f2590930-90b3-4418-a9bc-f4593a4f77ce"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b2cad0ec-1c63-4f31-b9a1-7b3170052b07"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="384664925"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-3412-28869735"/> - </telecom> - <telecom> - <system value="email"/> - <value value="sinan.pietsch@rau.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Weiherstr. 07c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="07c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Weiherstr."/> - </extension> - </line> - <city value="Klein Calvinburg"/> - <postalCode value="92983"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="aeabb5e6-ec38-4347-a7be-6cd62c755d3e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="757953135"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_c88ccdf7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/output.json new file mode 100644 index 00000000..2be1beba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "dbc5ce1d-a64c-428a-8467-7344aa14668e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "488053f0-ab1a-4d5c-8fe6-dd59d4504fd8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6df02b67-c2f3-466f-83d4-2ffdcfd6a1ed" + }, + "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": "6df02b67-c2f3-466f-83d4-2ffdcfd6a1ed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2a2c7268-b852-4104-b1b5-2c46157fa0c2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f1de5c36-4321-4a9e-b1c3-d91fd3966a02", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c88ccdf7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/output.xml new file mode 100644 index 00000000..abe2a74e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dbc5ce1d-a64c-428a-8467-7344aa14668e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.748.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="488053f0-ab1a-4d5c-8fe6-dd59d4504fd8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6df02b67-c2f3-466f-83d4-2ffdcfd6a1ed"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6df02b67-c2f3-466f-83d4-2ffdcfd6a1ed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a2c7268-b852-4104-b1b5-2c46157fa0c2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="384664925"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3412-28869735"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sinan.pietsch@rau.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Weiherstr. 07c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="07c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weiherstr."/> + </extension> + </line> + <city value="Klein Calvinburg"/> + <postalCode value="92983"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f1de5c36-4321-4a9e-b1c3-d91fd3966a02"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="757953135"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/input.xml new file mode 100644 index 00000000..c9d931b6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5f3e877b-bdc8-4166-8d13-123156f5ba3c"/> + <meta> + <lastUpdated value="2024-02-13T11:24:23.186+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.839.81"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-13T11:24:23.186+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/14debb01-19ca-47b1-b531-f23a5247a231"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="14debb01-19ca-47b1-b531-f23a5247a231"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/9464f5bb-72c6-45ad-97eb-a197c47c7246"/> + </subject> + <date value="2024-02-13T11:24:23+01:00"/> + <author> + <reference value="Practitioner/a7c10125-eb41-433b-aad5-0cc622bf83a3"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/96104855-2546-43ac-b236-d58a67831b7f"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/96f1cbfe-9743-4857-9ac5-e9b19ec62b88"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/f9ac880b-b8b7-4851-94f0-e0f7b76aeb46"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/df050e5c-b920-4933-b6e3-f231a205ec3b"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="df050e5c-b920-4933-b6e3-f231a205ec3b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/9464f5bb-72c6-45ad-97eb-a197c47c7246"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="9464f5bb-72c6-45ad-97eb-a197c47c7246"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + <name> + <use value="official"/> + <family value="Gondern"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Gondern"/> + </extension> + </family> + <given value="Aenna"/> + </name> + <birthDate value="1969-02-04"/> + <address> + <type value="both"/> + <line value="Erich-Klausener-Str. 35"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="35"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Erich-Klausener-Str."/> + </extension> + </line> + <city value="Alt Jack"/> + <postalCode value="81404"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/96104855-2546-43ac-b236-d58a67831b7f"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="96104855-2546-43ac-b236-d58a67831b7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="729642118"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0622) 265074965"/> + </telecom> + <telecom> + <system value="email"/> + <value value="miray.lokar@patzwahl.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Marie-Schlei-Str. 67"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="67"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Marie-Schlei-Str."/> + </extension> + </line> + <city value="Nageldorf"/> + <postalCode value="44392"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/96f1cbfe-9743-4857-9ac5-e9b19ec62b88"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="96f1cbfe-9743-4857-9ac5-e9b19ec62b88"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="71"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fdd2b6a3-b2ad-4a0e-a8a7-734017bd80e6"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="106431572"/> + </identifier> + <display value="BKK der G. M. PFAFF AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/a7c10125-eb41-433b-aad5-0cc622bf83a3"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a7c10125-eb41-433b-aad5-0cc622bf83a3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="547425702"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/f9ac880b-b8b7-4851-94f0-e0f7b76aeb46"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f9ac880b-b8b7-4851-94f0-e0f7b76aeb46"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/df050e5c-b920-4933-b6e3-f231a205ec3b"/> + </medicationReference> + <subject> + <reference value="Patient/9464f5bb-72c6-45ad-97eb-a197c47c7246"/> + </subject> + <authoredOn value="2024-02-13"/> + <requester> + <reference value="Practitioner/a7c10125-eb41-433b-aad5-0cc622bf83a3"/> + </requester> + <insurance> + <reference value="Coverage/96f1cbfe-9743-4857-9ac5-e9b19ec62b88"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.json new file mode 100644 index 00000000..274f57b0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "68c6cb9e-ac12-46cc-98be-3b8811331b68", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1e68a71a-3a94-4747-868c-8ef9ce6c4000", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3a426203-9304-444d-b363-d2d244f38025" + }, + "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": "3a426203-9304-444d-b363-d2d244f38025", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f6fdb602-3a35-4bc5-921b-5c7b8d15bfd2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "04f02728-c8b7-4726-bf1c-1c241596e5d5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f3e877b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.xml new file mode 100644 index 00000000..3ff7ca1b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="68c6cb9e-ac12-46cc-98be-3b8811331b68"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.839.81"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1e68a71a-3a94-4747-868c-8ef9ce6c4000"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3a426203-9304-444d-b363-d2d244f38025"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3a426203-9304-444d-b363-d2d244f38025"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f6fdb602-3a35-4bc5-921b-5c7b8d15bfd2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="729642118"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0622) 265074965"/> + </telecom> + <telecom> + <system value="email"/> + <value value="miray.lokar@patzwahl.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Marie-Schlei-Str. 67"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="67"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Marie-Schlei-Str."/> + </extension> + </line> + <city value="Nageldorf"/> + <postalCode value="44392"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="04f02728-c8b7-4726-bf1c-1c241596e5d5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="547425702"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/input.xml new file mode 100644 index 00000000..896a4bc6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="617b672a-49b7-44ea-bf57-45549fc16c7a"/> + <meta> + <lastUpdated value="2024-02-08T19:04:47.509+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.763.83"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:04:47.509+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/59a4c284-e20f-4cf4-b798-817a60a75ba3"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="59a4c284-e20f-4cf4-b798-817a60a75ba3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/7af161cf-1e2f-4f7a-b215-892123cf0d67"/> + </subject> + <date value="2024-02-08T19:04:47+01:00"/> + <author> + <reference value="Practitioner/611c56d3-1475-4aec-890b-bf7caa277d53"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/8fa4b481-d173-4a0f-b363-fa4cd71886ae"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/90d9635b-bda9-45cb-a771-edfaf26166ae"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/240b740a-38a0-45fb-93af-3c0db018d511"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/4e2900dc-cee2-4343-84cd-a07347018b68"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4e2900dc-cee2-4343-84cd-a07347018b68"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/7af161cf-1e2f-4f7a-b215-892123cf0d67"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="7af161cf-1e2f-4f7a-b215-892123cf0d67"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1982-10-18"/> + <address> + <type value="both"/> + <line value="In der Wüste 62b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="62b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="In der Wüste"/> + </extension> + </line> + <city value="Alt Janhagen"/> + <postalCode value="53605"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/8fa4b481-d173-4a0f-b363-fa4cd71886ae"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8fa4b481-d173-4a0f-b363-fa4cd71886ae"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="628598894"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5469-02854941"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mareike.schaffarzik@neupert.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Hamberger Str. 0"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="0"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hamberger Str."/> + </extension> + </line> + <city value="Klein Veronika"/> + <postalCode value="87026"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/90d9635b-bda9-45cb-a771-edfaf26166ae"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="90d9635b-bda9-45cb-a771-edfaf26166ae"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="47"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/2a5ac829-ef63-4e6b-a5d8-959e8a49477e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="106329225"/> + </identifier> + <display value="Debeka BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/611c56d3-1475-4aec-890b-bf7caa277d53"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="611c56d3-1475-4aec-890b-bf7caa277d53"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="271120832"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/240b740a-38a0-45fb-93af-3c0db018d511"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="240b740a-38a0-45fb-93af-3c0db018d511"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/4e2900dc-cee2-4343-84cd-a07347018b68"/> + </medicationReference> + <subject> + <reference value="Patient/7af161cf-1e2f-4f7a-b215-892123cf0d67"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/611c56d3-1475-4aec-890b-bf7caa277d53"/> + </requester> + <insurance> + <reference value="Coverage/90d9635b-bda9-45cb-a771-edfaf26166ae"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.json new file mode 100644 index 00000000..4ee45a4c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "6003fcfe-409b-47c5-9e44-d3c3112c8122", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "bbb7507b-70cb-453b-b928-e951469fdc5a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7668c045-1107-4661-bab2-84ceb5669a0e" + }, + "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": "7668c045-1107-4661-bab2-84ceb5669a0e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fb284dec-da04-4bf2-acf6-9282183b153d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "cc81d137-ae25-4618-b005-759cc18d0330", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_617b672a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.xml new file mode 100644 index 00000000..8003f061 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6003fcfe-409b-47c5-9e44-d3c3112c8122"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.763.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="bbb7507b-70cb-453b-b928-e951469fdc5a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7668c045-1107-4661-bab2-84ceb5669a0e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7668c045-1107-4661-bab2-84ceb5669a0e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fb284dec-da04-4bf2-acf6-9282183b153d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="628598894"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5469-02854941"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mareike.schaffarzik@neupert.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Hamberger Str. 0"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="0"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hamberger Str."/> + </extension> + </line> + <city value="Klein Veronika"/> + <postalCode value="87026"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cc81d137-ae25-4618-b005-759cc18d0330"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="271120832"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_62dd6004/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.json new file mode 100644 index 00000000..8484a79f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "08582723-6ea8-4060-be7e-299e85efee8d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d3097901-3ecd-4371-bd02-370ad8d20d94", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3968afa0-2451-4411-8800-cb6a340650e9" + }, + "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": "3968afa0-2451-4411-8800-cb6a340650e9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8b3b1dcb-1a13-4a22-9695-13a92e2d03e7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b6bbb3e9-2de0-48c9-9ca2-e796cd11cf0f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_62dd6004/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.xml new file mode 100644 index 00000000..3f23ed3c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="08582723-6ea8-4060-be7e-299e85efee8d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.767.71"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d3097901-3ecd-4371-bd02-370ad8d20d94"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3968afa0-2451-4411-8800-cb6a340650e9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3968afa0-2451-4411-8800-cb6a340650e9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8b3b1dcb-1a13-4a22-9695-13a92e2d03e7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="021082808"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-4306-82643876"/> + </telecom> + <telecom> + <system value="email"/> + <value value="friederike.raukuc@ruch.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Kolberger Str. 4"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="4"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kolberger Str."/> + </extension> + </line> + <city value="Ferdinandfeld"/> + <postalCode value="34234"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b6bbb3e9-2de0-48c9-9ca2-e796cd11cf0f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="489959499"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 6a256881..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 6f13ed04..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="670603fd-0652-4d5e-96fb-d357e4723e48"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.999.22"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="91ea2815-3dd2-484e-9cb4-a51c52875e1b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/01306fbd-1e22-4ed6-8b50-4b8557ad8d4a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="01306fbd-1e22-4ed6-8b50-4b8557ad8d4a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="27318836"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6b8cc4cc-b884-4165-920b-9c37bbcfe98a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="609731540"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(04575) 9941676"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mirac.gruszecki@knut.ch"/> - </telecom> - <address> - <type value="both"/> - <line value="Auf der Weide 54"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="54"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Auf der Weide"/> - </extension> - </line> - <city value="West Jella"/> - <postalCode value="50049"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="11f75bc6-eed2-4cc5-ba89-1aff6d9e2d77"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="960975636"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/input.xml new file mode 100644 index 00000000..9971193c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="1906d211-d8ca-4635-867e-2b1308755ac1"/> + <meta> + <lastUpdated value="2024-02-08T19:21:53.935+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.999.22"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:21:53.935+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/1fd47752-1a27-4eb6-8d21-5a7a13ead2b1"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1fd47752-1a27-4eb6-8d21-5a7a13ead2b1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/f9cf3a5b-f688-4820-ba61-6d943f1c65b7"/> + </subject> + <date value="2024-02-08T19:21:53+01:00"/> + <author> + <reference value="Practitioner/a17e0c31-44d2-4bec-ab26-0524c849e7d3"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/e2c97d75-fbda-4663-97db-fa6c558078d1"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/4e632510-ed5d-482a-94da-79e9551f078d"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/5a9612fd-eb52-42fa-a3cf-1837ff35a26d"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/44a2f90f-39d2-407b-9ff6-d85f733885de"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="44a2f90f-39d2-407b-9ff6-d85f733885de"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27318836"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/f9cf3a5b-f688-4820-ba61-6d943f1c65b7"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="f9cf3a5b-f688-4820-ba61-6d943f1c65b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1987-03-26"/> + <address> + <type value="both"/> + <line value="Bahnallee 20b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="20b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bahnallee"/> + </extension> + </line> + <city value="Bad Matti"/> + <postalCode value="97961"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/e2c97d75-fbda-4663-97db-fa6c558078d1"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e2c97d75-fbda-4663-97db-fa6c558078d1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="609731540"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(04575) 9941676"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mirac.gruszecki@knut.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Auf der Weide 54"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="54"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf der Weide"/> + </extension> + </line> + <city value="West Jella"/> + <postalCode value="50049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/4e632510-ed5d-482a-94da-79e9551f078d"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="4e632510-ed5d-482a-94da-79e9551f078d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/a288621a-893e-4c15-8329-2ff974908493"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141450"/> + </identifier> + <display value="INTER"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/a17e0c31-44d2-4bec-ab26-0524c849e7d3"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a17e0c31-44d2-4bec-ab26-0524c849e7d3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="960975636"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/5a9612fd-eb52-42fa-a3cf-1837ff35a26d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5a9612fd-eb52-42fa-a3cf-1837ff35a26d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/44a2f90f-39d2-407b-9ff6-d85f733885de"/> + </medicationReference> + <subject> + <reference value="Patient/f9cf3a5b-f688-4820-ba61-6d943f1c65b7"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/a17e0c31-44d2-4bec-ab26-0524c849e7d3"/> + </requester> + <insurance> + <reference value="Coverage/4e632510-ed5d-482a-94da-79e9551f078d"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/output.json new file mode 100644 index 00000000..db13aae4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "03136736-ddef-4f0b-9e54-57a94c22013e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "92e98a29-6379-464c-a0f8-c37b427efae3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/aa0da2d3-3419-4981-aebe-e47e54664eef" + }, + "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": "aa0da2d3-3419-4981-aebe-e47e54664eef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0957923c-fc1d-4fda-acce-c7aac94c1031", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f47a96e6-b147-4044-852c-3498584e1398", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_1906d211/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/output.xml new file mode 100644 index 00000000..892d9b95 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="03136736-ddef-4f0b-9e54-57a94c22013e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.999.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="92e98a29-6379-464c-a0f8-c37b427efae3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/aa0da2d3-3419-4981-aebe-e47e54664eef"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="aa0da2d3-3419-4981-aebe-e47e54664eef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27318836"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0957923c-fc1d-4fda-acce-c7aac94c1031"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="609731540"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(04575) 9941676"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mirac.gruszecki@knut.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Auf der Weide 54"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="54"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf der Weide"/> + </extension> + </line> + <city value="West Jella"/> + <postalCode value="50049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f47a96e6-b147-4044-852c-3498584e1398"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="960975636"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 6ccbdfdc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index a9d27e91..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6f96c033-6f59-4828-bec7-ea7383d4633f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.033.000.19"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ab2bcf6e-1c48-4328-8c5e-89aa868f80ca"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/72837df0-5489-4133-9e89-52bedb38b753"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="72837df0-5489-4133-9e89-52bedb38b753"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="27677334"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f8155559-76c9-49bf-b2b3-7f1d0f91342e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="476736714"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0048) 622241522"/> - </telecom> - <telecom> - <system value="email"/> - <value value="ismael.riethmüller@brauer.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Kanalstr. 01c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="01c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Kanalstr."/> - </extension> - </line> - <city value="Griemburg"/> - <postalCode value="85414"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2133bce0-ce5b-44f6-9e50-81da60d8d31a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="874457048"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_b4bf1696/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/output.json new file mode 100644 index 00000000..adb9f0ee --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "fa1224b8-0220-40a8-bc26-ef515a01c86f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "192024d5-def1-4058-8f7a-a549b3e473e5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/503d2578-b2d9-4ccc-b888-0dafe8ffd8e8" + }, + "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": "503d2578-b2d9-4ccc-b888-0dafe8ffd8e8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6be48e10-4e98-45c0-af79-a44c4ae24f32", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "80b46b20-ce7a-4fd1-b161-86e9f7de1d57", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b4bf1696/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/output.xml new file mode 100644 index 00000000..1689e0b7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fa1224b8-0220-40a8-bc26-ef515a01c86f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.033.000.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="192024d5-def1-4058-8f7a-a549b3e473e5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/503d2578-b2d9-4ccc-b888-0dafe8ffd8e8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="503d2578-b2d9-4ccc-b888-0dafe8ffd8e8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27677334"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6be48e10-4e98-45c0-af79-a44c4ae24f32"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="476736714"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0048) 622241522"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ismael.riethmüller@brauer.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Kanalstr. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kanalstr."/> + </extension> + </line> + <city value="Griemburg"/> + <postalCode value="85414"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="80b46b20-ce7a-4fd1-b161-86e9f7de1d57"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="874457048"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index b04c9952..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index dd5b3686..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="76455c58-041c-44f4-b11d-524834f14dd0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.994.37"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="bcb27605-dfd1-43f2-9871-7ff6ece13f34"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/004221c2-be2a-47a8-929b-ffd30e660d0f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="004221c2-be2a-47a8-929b-ffd30e660d0f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="93081505"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="01a062c4-376d-49ef-b42b-b4fdc2b907ca"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="024545375"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(09883) 7244642"/> - </telecom> - <telecom> - <system value="email"/> - <value value="arne.griese@vogt.de"/> - </telecom> - <address> - <type value="both"/> - <line value="An der Evangelischen Kirche 399"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="399"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="An der Evangelischen Kirche"/> - </extension> - </line> - <city value="West Evastadt"/> - <postalCode value="45627"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c5deb48c-24a2-499e-b874-1071a2f874f1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="097388053"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/input.xml new file mode 100644 index 00000000..1a1a24f7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="05168195-7a18-423f-97b7-4281a99396ae"/> + <meta> + <lastUpdated value="2024-02-08T19:21:00.107+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.994.37"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:21:00.107+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/a5a79e57-e05e-425d-a72b-7f6b857e1dca"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a5a79e57-e05e-425d-a72b-7f6b857e1dca"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ab199aec-bfd6-4b35-9e8a-77806c142b9b"/> + </subject> + <date value="2024-02-08T19:21:00+01:00"/> + <author> + <reference value="Practitioner/e256a490-76dd-4fe9-b624-d0bb9101449e"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/8e688089-d4b2-4dcb-a245-511942ff25be"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/bddaebe6-bd60-4180-a7a5-5a7396edd0d6"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/715981a5-7222-4b26-b5a9-dfde9a05c8a5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/86ea5ae2-bb11-4e5d-827e-f2ca5dcb291b"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86ea5ae2-bb11-4e5d-827e-f2ca5dcb291b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="93081505"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/ab199aec-bfd6-4b35-9e8a-77806c142b9b"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ab199aec-bfd6-4b35-9e8a-77806c142b9b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2001-01-27"/> + <address> + <type value="both"/> + <line value="Günther-Weisenborn-Str. 92b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="92b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Günther-Weisenborn-Str."/> + </extension> + </line> + <city value="Cedricland"/> + <postalCode value="27129"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/8e688089-d4b2-4dcb-a245-511942ff25be"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8e688089-d4b2-4dcb-a245-511942ff25be"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="024545375"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09883) 7244642"/> + </telecom> + <telecom> + <system value="email"/> + <value value="arne.griese@vogt.de"/> + </telecom> + <address> + <type value="both"/> + <line value="An der Evangelischen Kirche 399"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="399"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="An der Evangelischen Kirche"/> + </extension> + </line> + <city value="West Evastadt"/> + <postalCode value="45627"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/bddaebe6-bd60-4180-a7a5-5a7396edd0d6"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="bddaebe6-bd60-4180-a7a5-5a7396edd0d6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="02"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/76f4e134-aa0b-406c-9730-63244eead690"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141358"/> + </identifier> + <display value="Provinzial"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/e256a490-76dd-4fe9-b624-d0bb9101449e"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e256a490-76dd-4fe9-b624-d0bb9101449e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="097388053"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/715981a5-7222-4b26-b5a9-dfde9a05c8a5"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="715981a5-7222-4b26-b5a9-dfde9a05c8a5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/86ea5ae2-bb11-4e5d-827e-f2ca5dcb291b"/> + </medicationReference> + <subject> + <reference value="Patient/ab199aec-bfd6-4b35-9e8a-77806c142b9b"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/e256a490-76dd-4fe9-b624-d0bb9101449e"/> + </requester> + <insurance> + <reference value="Coverage/bddaebe6-bd60-4180-a7a5-5a7396edd0d6"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/output.json new file mode 100644 index 00000000..fc251aaa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "a0ec6f86-ab8f-4adc-ace5-f782f6a34700", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "269cafa5-8bb2-45d4-9427-defb1d9a573e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e12f5f9e-3ef9-4fb9-a30b-7a69c91a9597" + }, + "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": "e12f5f9e-3ef9-4fb9-a30b-7a69c91a9597", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "69df5fb7-da02-458c-9cc4-d77e8c8f0543", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "bbdaf098-20fa-423e-b543-8330111bccec", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_05168195/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/output.xml new file mode 100644 index 00000000..6fe2be95 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a0ec6f86-ab8f-4adc-ace5-f782f6a34700"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.994.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="269cafa5-8bb2-45d4-9427-defb1d9a573e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e12f5f9e-3ef9-4fb9-a30b-7a69c91a9597"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e12f5f9e-3ef9-4fb9-a30b-7a69c91a9597"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="93081505"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="69df5fb7-da02-458c-9cc4-d77e8c8f0543"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="024545375"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09883) 7244642"/> + </telecom> + <telecom> + <system value="email"/> + <value value="arne.griese@vogt.de"/> + </telecom> + <address> + <type value="both"/> + <line value="An der Evangelischen Kirche 399"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="399"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="An der Evangelischen Kirche"/> + </extension> + </line> + <city value="West Evastadt"/> + <postalCode value="45627"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bbdaf098-20fa-423e-b543-8330111bccec"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="097388053"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index a9b2ceb7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index d6a07817..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="78aebb81-146e-4528-a605-21ea3cfaea85"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.474.849.51"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-13"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="24566dae-d41d-433f-a27c-cf1871d68bc4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/fc461f3d-1127-4bdd-9ddc-ced553950677"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-13"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fc461f3d-1127-4bdd-9ddc-ced553950677"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="536f8ff0-a082-4225-8253-741fbd5c53d8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="557235300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0799) 538609283"/> - </telecom> - <telecom> - <system value="email"/> - <value value="annabelle.hertel@helmke.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Auf'm Kamp 223"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="223"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Auf'm Kamp"/> - </extension> - </line> - <city value="Neu Helenheim"/> - <postalCode value="41048"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="14d14332-86b4-4afe-bfab-848d1ad57042"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="207670259"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/input.xml new file mode 100644 index 00000000..8859e5c9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="02ad9b11-4b60-48b2-a40a-08a13fbfa698"/> + <meta> + <lastUpdated value="2024-02-13T11:25:46.097+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.849.51"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-13T11:25:46.097+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/70600d26-5c79-46d8-b596-5314d6d1da7d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="70600d26-5c79-46d8-b596-5314d6d1da7d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/a9bf401a-57fe-47b2-af60-c41477f1f367"/> + </subject> + <date value="2024-02-13T11:25:46+01:00"/> + <author> + <reference value="Practitioner/f3e3bd37-94b3-4df7-9932-b8b596913ba0"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/f12f19c8-c236-402d-b176-236e97328b39"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/9ceddd83-1852-4f4a-b976-d52330f48dfe"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/b9ef75cb-6c6f-4a46-a562-22ab56be3d6f"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/f8db2a4c-5a5a-491c-b649-f6fcf8af12ca"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f8db2a4c-5a5a-491c-b649-f6fcf8af12ca"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/a9bf401a-57fe-47b2-af60-c41477f1f367"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="a9bf401a-57fe-47b2-af60-c41477f1f367"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="C020222113"/> + </identifier> + <name> + <use value="official"/> + <family value="Fox"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Fox"/> + </extension> + </family> + <given value="Lucius"/> + </name> + <birthDate value="1959-10-21"/> + <address> + <type value="both"/> + <line value="Myliusstr. 17b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Myliusstr."/> + </extension> + </line> + <city value="Schön Lucahagen"/> + <postalCode value="14615"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/f12f19c8-c236-402d-b176-236e97328b39"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f12f19c8-c236-402d-b176-236e97328b39"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="557235300"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0799) 538609283"/> + </telecom> + <telecom> + <system value="email"/> + <value value="annabelle.hertel@helmke.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Auf'm Kamp 223"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="223"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf'm Kamp"/> + </extension> + </line> + <city value="Neu Helenheim"/> + <postalCode value="41048"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/9ceddd83-1852-4f4a-b976-d52330f48dfe"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="9ceddd83-1852-4f4a-b976-d52330f48dfe"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="98"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/40dc2fdf-dfc8-48dd-8024-b87082ea3506"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="105230101"/> + </identifier> + <display value="HEAG BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/f3e3bd37-94b3-4df7-9932-b8b596913ba0"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f3e3bd37-94b3-4df7-9932-b8b596913ba0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="207670259"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/b9ef75cb-6c6f-4a46-a562-22ab56be3d6f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b9ef75cb-6c6f-4a46-a562-22ab56be3d6f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/f8db2a4c-5a5a-491c-b649-f6fcf8af12ca"/> + </medicationReference> + <subject> + <reference value="Patient/a9bf401a-57fe-47b2-af60-c41477f1f367"/> + </subject> + <authoredOn value="2024-02-13"/> + <requester> + <reference value="Practitioner/f3e3bd37-94b3-4df7-9932-b8b596913ba0"/> + </requester> + <insurance> + <reference value="Coverage/9ceddd83-1852-4f4a-b976-d52330f48dfe"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/output.json new file mode 100644 index 00000000..77e9c4d1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "97cfc866-bac5-49af-b75e-734a9d74b7f3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "24309b7f-17d0-48a3-942b-09a10a895e67", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5971f4a6-fe06-4c09-b7cb-df79fba3737e" + }, + "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": "5971f4a6-fe06-4c09-b7cb-df79fba3737e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1747e840-59f2-4a3b-93cf-52e7969edd08", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a09aed6e-7440-403e-af55-229f6d8fa8fd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_02ad9b11/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/output.xml new file mode 100644 index 00000000..2bbfc070 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="97cfc866-bac5-49af-b75e-734a9d74b7f3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.849.51"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="24309b7f-17d0-48a3-942b-09a10a895e67"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5971f4a6-fe06-4c09-b7cb-df79fba3737e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5971f4a6-fe06-4c09-b7cb-df79fba3737e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1747e840-59f2-4a3b-93cf-52e7969edd08"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="557235300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0799) 538609283"/> + </telecom> + <telecom> + <system value="email"/> + <value value="annabelle.hertel@helmke.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Auf'm Kamp 223"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="223"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf'm Kamp"/> + </extension> + </line> + <city value="Neu Helenheim"/> + <postalCode value="41048"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a09aed6e-7440-403e-af55-229f6d8fa8fd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="207670259"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 8986f00a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 7e2c5afa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="7b9e2504-bc8f-45d8-8990-7aed7b7f1f4e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.764.80"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9c08f435-54b7-470a-b8a3-e34f132b38c9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/c4ac2cc7-7c60-4ee2-93c4-5b2db6b46d13"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c4ac2cc7-7c60-4ee2-93c4-5b2db6b46d13"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="acc71e49-f9d3-4b11-9bfb-ede8ce507261"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="035362503"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-514-9983229"/> - </telecom> - <telecom> - <system value="email"/> - <value value="erik.gauder@borsch.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Ortelsburger Str. 75a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="75a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Ortelsburger Str."/> - </extension> - </line> - <city value="Illinggrün"/> - <postalCode value="36070"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c68cacf6-e2b0-469e-8cb3-9c790a9bcaad"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="333698756"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/input.xml new file mode 100644 index 00000000..086090a9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5093c3ab-b34d-4d1a-9b12-47396c7779ef"/> + <meta> + <lastUpdated value="2024-02-08T19:04:54.903+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.764.80"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:04:54.903+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/5a943779-7455-4ab6-b9d6-34db310d62f2"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5a943779-7455-4ab6-b9d6-34db310d62f2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/c72488fe-8f3c-4a64-82a8-aa63a1e4514b"/> + </subject> + <date value="2024-02-08T19:04:54+01:00"/> + <author> + <reference value="Practitioner/e103913e-3b51-4197-a728-678e00e90aef"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/4a1a12b5-520f-41d7-8705-173fb3a318ad"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/b4d55984-4b2c-4b3a-b633-17c732eb001f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/0a477b86-cd17-4c37-90e4-89117b735a14"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/59321cad-29d5-4873-9f7e-d4e9460578fa"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="59321cad-29d5-4873-9f7e-d4e9460578fa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/c72488fe-8f3c-4a64-82a8-aa63a1e4514b"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="c72488fe-8f3c-4a64-82a8-aa63a1e4514b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1996-08-30"/> + <address> + <type value="both"/> + <line value="Friedensstr. 7"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="7"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Friedensstr."/> + </extension> + </line> + <city value="Henrikedorf"/> + <postalCode value="16975"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/4a1a12b5-520f-41d7-8705-173fb3a318ad"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4a1a12b5-520f-41d7-8705-173fb3a318ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="035362503"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-514-9983229"/> + </telecom> + <telecom> + <system value="email"/> + <value value="erik.gauder@borsch.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Ortelsburger Str. 75a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ortelsburger Str."/> + </extension> + </line> + <city value="Illinggrün"/> + <postalCode value="36070"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/b4d55984-4b2c-4b3a-b633-17c732eb001f"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="b4d55984-4b2c-4b3a-b633-17c732eb001f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="20"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/204924b7-57b3-46ed-bf4e-17cd6fdca2b3"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="103525909"/> + </identifier> + <display value="BKK Achenbach Buschhütten"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/e103913e-3b51-4197-a728-678e00e90aef"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e103913e-3b51-4197-a728-678e00e90aef"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="333698756"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/0a477b86-cd17-4c37-90e4-89117b735a14"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0a477b86-cd17-4c37-90e4-89117b735a14"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/59321cad-29d5-4873-9f7e-d4e9460578fa"/> + </medicationReference> + <subject> + <reference value="Patient/c72488fe-8f3c-4a64-82a8-aa63a1e4514b"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/e103913e-3b51-4197-a728-678e00e90aef"/> + </requester> + <insurance> + <reference value="Coverage/b4d55984-4b2c-4b3a-b633-17c732eb001f"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/output.json new file mode 100644 index 00000000..e53effa7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "6bb5debb-650c-41a5-9b6c-94896ade2af2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "aed7683b-0c8f-485c-8313-96d616e19c6e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a2443777-03bf-4ff2-aecf-7ea47d78fece" + }, + "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": "a2443777-03bf-4ff2-aecf-7ea47d78fece", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "40fe4a0c-3a7d-432a-910e-5c4fe1a24466", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1a753b11-193c-4976-a23e-e4e66499c9e3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5093c3ab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/output.xml new file mode 100644 index 00000000..3325787d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6bb5debb-650c-41a5-9b6c-94896ade2af2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.764.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="aed7683b-0c8f-485c-8313-96d616e19c6e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a2443777-03bf-4ff2-aecf-7ea47d78fece"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a2443777-03bf-4ff2-aecf-7ea47d78fece"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="40fe4a0c-3a7d-432a-910e-5c4fe1a24466"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="035362503"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-514-9983229"/> + </telecom> + <telecom> + <system value="email"/> + <value value="erik.gauder@borsch.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Ortelsburger Str. 75a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ortelsburger Str."/> + </extension> + </line> + <city value="Illinggrün"/> + <postalCode value="36070"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1a753b11-193c-4976-a23e-e4e66499c9e3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="333698756"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_7c15a984/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.json new file mode 100644 index 00000000..eb87db7d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "9338e5d7-ac52-4b8e-b975-fc1a93d154af", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "612c0c25-b6d2-4c71-8cce-e256295cf9c3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b96b4321-2fa3-47f6-be5f-294886670281" + }, + "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": "b96b4321-2fa3-47f6-be5f-294886670281", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "74c455d4-69b2-4f18-bd85-efaac6fe54c1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "41b0f409-c5a7-4c34-949a-88018c2e986a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7c15a984/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.xml new file mode 100644 index 00000000..ad884473 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9338e5d7-ac52-4b8e-b975-fc1a93d154af"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.759.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="612c0c25-b6d2-4c71-8cce-e256295cf9c3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b96b4321-2fa3-47f6-be5f-294886670281"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b96b4321-2fa3-47f6-be5f-294886670281"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="74c455d4-69b2-4f18-bd85-efaac6fe54c1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="729708749"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05891) 9020530"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tyler.schultz@striezel.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Maria-Terwiel-Str. 45a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="45a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Maria-Terwiel-Str."/> + </extension> + </line> + <city value="Nabeinland"/> + <postalCode value="32786"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="41b0f409-c5a7-4c34-949a-88018c2e986a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="763324597"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_7fe0b57d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.json new file mode 100644 index 00000000..6e84b5b5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "68183ede-0347-4308-bd7e-ffbcbcd6cc7a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1e746d65-1ae2-43c6-86e4-37a9e1312042", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1bdb3783-509c-4766-a9c6-5bdc207de09e" + }, + "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": "1bdb3783-509c-4766-a9c6-5bdc207de09e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3a251d1d-2965-4366-b86f-0d6384289900", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b142e0a7-4c18-42c9-ac38-807c052b90ac", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7fe0b57d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.xml new file mode 100644 index 00000000..fa497b04 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="68183ede-0347-4308-bd7e-ffbcbcd6cc7a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.997.28"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1e746d65-1ae2-43c6-86e4-37a9e1312042"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1bdb3783-509c-4766-a9c6-5bdc207de09e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1bdb3783-509c-4766-a9c6-5bdc207de09e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64536028"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3a251d1d-2965-4366-b86f-0d6384289900"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="529873977"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-479-7901020"/> + </telecom> + <telecom> + <system value="email"/> + <value value="dana.meisch@kolokas.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Bohofsweg 52"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="52"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bohofsweg"/> + </extension> + </line> + <city value="Winterhagen"/> + <postalCode value="08005"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b142e0a7-4c18-42c9-ac38-807c052b90ac"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="866731615"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_80a43c33/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.json new file mode 100644 index 00000000..b653e901 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "b1664453-ec6b-479c-a355-3ffadd06ee76", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "55ef594c-17ed-47eb-8e6e-173813e970a2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8297caa1-428d-4297-b852-97ee9067b4ed" + }, + "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": "8297caa1-428d-4297-b852-97ee9067b4ed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a7705078-68f3-4da2-b2df-f2604af83f0c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "162f381f-6fbf-483f-b0aa-8529ae0de327", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_80a43c33/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.xml new file mode 100644 index 00000000..7d73b2d3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b1664453-ec6b-479c-a355-3ffadd06ee76"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.755.10"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="55ef594c-17ed-47eb-8e6e-173813e970a2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8297caa1-428d-4297-b852-97ee9067b4ed"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8297caa1-428d-4297-b852-97ee9067b4ed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a7705078-68f3-4da2-b2df-f2604af83f0c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="737599264"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(08673) 2510563"/> + </telecom> + <telecom> + <system value="email"/> + <value value="nadine.karhoff@huckestein.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Erftstr. 57"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Erftstr."/> + </extension> + </line> + <city value="Lehmannstadt"/> + <postalCode value="05982"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="162f381f-6fbf-483f-b0aa-8529ae0de327"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="408698026"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index dc36c194..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index da750a45..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="83c10e2d-b415-4541-b731-dd10c15db75d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.770.62"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="eb51b7ce-a0e0-4621-8d0f-b65e316af176"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/f83732fb-e351-406d-a6db-45cc98a9dfbe"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f83732fb-e351-406d-a6db-45cc98a9dfbe"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="61252891"/> - </coding> - <text value="Gemvomilsäure"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="335e0a8d-1a89-43e2-a08c-73c31de0531a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="614137063"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Arzt"/> - <telecom> - <system value="phone"/> - <value value="+49-073-0437663"/> - </telecom> - <telecom> - <system value="email"/> - <value value="teresa.roggatz@evers.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Burgweg 88"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="88"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Burgweg"/> - </extension> - </line> - <city value="Jonland"/> - <postalCode value="15501"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e6cde8c7-addc-446b-820c-8d171add5c6a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="176464353"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Kein Arzt"/> - <family value="Arzt"/> - <given value="Kein"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_dac55c3e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/output.json new file mode 100644 index 00000000..501930f5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "e1501ffa-8a23-4d7e-a86d-f2faba2ed031", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2e2d7b86-5776-4514-80e8-9609add5d7fe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b629b6a2-c9a8-4f40-94d9-20fcdfdf3e7b" + }, + "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": "b629b6a2-c9a8-4f40-94d9-20fcdfdf3e7b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "691a5cef-888d-4967-b9eb-3c50f2dccafc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "018f41b7-8582-49ef-a1d3-21bbc5e9f15b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dac55c3e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/output.xml new file mode 100644 index 00000000..2b4b467a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e1501ffa-8a23-4d7e-a86d-f2faba2ed031"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.770.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2e2d7b86-5776-4514-80e8-9609add5d7fe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b629b6a2-c9a8-4f40-94d9-20fcdfdf3e7b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b629b6a2-c9a8-4f40-94d9-20fcdfdf3e7b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61252891"/> + </coding> + <text value="Gemvomilsäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="691a5cef-888d-4967-b9eb-3c50f2dccafc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614137063"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Arzt"/> + <telecom> + <system value="phone"/> + <value value="+49-073-0437663"/> + </telecom> + <telecom> + <system value="email"/> + <value value="teresa.roggatz@evers.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Burgweg 88"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Burgweg"/> + </extension> + </line> + <city value="Jonland"/> + <postalCode value="15501"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="018f41b7-8582-49ef-a1d3-21bbc5e9f15b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="176464353"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Kein Arzt"/> + <family value="Arzt"/> + <given value="Kein"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 18d60bcd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/output.json +++ /dev/null @@ -1,234 +0,0 @@ -{ - "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 deleted file mode 100644 index 92116474..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/output.xml +++ /dev/null @@ -1,237 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="840ab9b1-7e7c-4655-abe6-67a94d8943e0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.788.08"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c3f6e478-908d-47c2-8404-107110b97a85"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-05-08"/> - <end value="2024-08-06"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:a415d54e-a4c5-4701-9388-6f47bd1f2ca8"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/14926b2d-93fc-4cc2-ab95-d7e9bd9362a7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="14926b2d-93fc-4cc2-ab95-d7e9bd9362a7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="53825226"/> - </coding> - <text value="Acialian"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8ba7a6a6-6760-4ad0-ab70-1a864315d2f1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="553151319"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0741) 498956760"/> - </telecom> - <telecom> - <system value="email"/> - <value value="edwin.mai@hommel.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Bornheimer Str. 39c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="39c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Bornheimer Str."/> - </extension> - </line> - <city value="West Davinbrunn"/> - <postalCode value="97176"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6b457149-695e-4516-a1e6-8fd898fb55a6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="556570801"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_c79c0fe3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/output.json new file mode 100644 index 00000000..e45cb59e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "1eccd4d8-9f1f-45b3-80ba-c426ddc2659b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "eb182db1-57c1-477f-bf33-fcc965ca185d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/eb18098e-fa16-4baa-b463-ce579938e5c7" + }, + "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": "eb18098e-fa16-4baa-b463-ce579938e5c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5d798218-fe11-47e7-bf57-0f3a78d0bdf0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d7625c1a-fcfc-40a4-9a8b-9d3416b71f07", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c79c0fe3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/output.xml new file mode 100644 index 00000000..ce641103 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1eccd4d8-9f1f-45b3-80ba-c426ddc2659b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.788.08"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="eb182db1-57c1-477f-bf33-fcc965ca185d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-05-08"/> + <end value="2024-08-06"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:a415d54e-a4c5-4701-9388-6f47bd1f2ca8"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/eb18098e-fa16-4baa-b463-ce579938e5c7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="eb18098e-fa16-4baa-b463-ce579938e5c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="53825226"/> + </coding> + <text value="Acialian"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d798218-fe11-47e7-bf57-0f3a78d0bdf0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="553151319"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0741) 498956760"/> + </telecom> + <telecom> + <system value="email"/> + <value value="edwin.mai@hommel.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Bornheimer Str. 39c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="39c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bornheimer Str."/> + </extension> + </line> + <city value="West Davinbrunn"/> + <postalCode value="97176"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d7625c1a-fcfc-40a4-9a8b-9d3416b71f07"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="556570801"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 413d5041..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/output.json +++ /dev/null @@ -1,234 +0,0 @@ -{ - "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 deleted file mode 100644 index f1cda740..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/output.xml +++ /dev/null @@ -1,237 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="862aa430-7e77-46bf-a812-2b8462b1af9a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.783.23"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="99eb6227-10fa-44ac-b4b1-f522a79dfcb9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-02-08"/> - <end value="2024-05-08"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:bd9c009f-514a-4ed2-a1ae-d895273794e2"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/2ce6f086-e5f5-4b4e-9be6-46f2733b4a49"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2ce6f086-e5f5-4b4e-9be6-46f2733b4a49"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="64996244"/> - </coding> - <text value="Amoamiproston"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d01742a7-10ea-4423-b032-feba361338e3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="614566446"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-1696-50296460"/> - </telecom> - <telecom> - <system value="email"/> - <value value="raphael.bieler@horna.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Jägerstr. 6"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="6"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Jägerstr."/> - </extension> - </line> - <city value="Neu Can"/> - <postalCode value="78332"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="3351dc60-be88-4de9-8e46-8e1f69192a6e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="811131577"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_bf973351/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/output.json new file mode 100644 index 00000000..54067dbf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "c544284f-e179-4626-94be-ebb36af46949", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6f5c322e-ec59-437c-b82d-3f37ebd01a91", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/03614727-4ac0-4a08-bb3c-22fa5dc51620" + }, + "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": "03614727-4ac0-4a08-bb3c-22fa5dc51620", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cd378108-901d-48e2-ad86-6f4caab74c83", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "43c13d94-d774-4d21-a073-c3c6f893d71d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bf973351/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/output.xml new file mode 100644 index 00000000..841ad8a9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c544284f-e179-4626-94be-ebb36af46949"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.783.23"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6f5c322e-ec59-437c-b82d-3f37ebd01a91"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-02-08"/> + <end value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:bd9c009f-514a-4ed2-a1ae-d895273794e2"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/03614727-4ac0-4a08-bb3c-22fa5dc51620"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="03614727-4ac0-4a08-bb3c-22fa5dc51620"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64996244"/> + </coding> + <text value="Amoamiproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cd378108-901d-48e2-ad86-6f4caab74c83"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614566446"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-1696-50296460"/> + </telecom> + <telecom> + <system value="email"/> + <value value="raphael.bieler@horna.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Jägerstr. 6"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="6"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Jägerstr."/> + </extension> + </line> + <city value="Neu Can"/> + <postalCode value="78332"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="43c13d94-d774-4d21-a073-c3c6f893d71d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="811131577"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index b24e917d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 8ea92b79..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="89383746-cd7d-488f-a826-ff3e53b2f3fa"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.750.25"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="bff6522b-161d-4266-ab34-7c4922e0911a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/16172f3b-d0cd-4301-8787-a711a4f6b5d2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="16172f3b-d0cd-4301-8787-a711a4f6b5d2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="82134801-829a-4ce4-a954-cfbdb14bd871"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="512348559"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-171-5912020"/> - </telecom> - <telecom> - <system value="email"/> - <value value="johannes.baganz@ladewig.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Karl-Carstens-Ring 82"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="82"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Karl-Carstens-Ring"/> - </extension> - </line> - <city value="Abramovicstadt"/> - <postalCode value="17526"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2d990c51-af9c-48bd-8a90-ba6326df4c7b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="051629877"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_b0ce4ff1/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/output.json new file mode 100644 index 00000000..2f156fa9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "a336e291-a8fc-4690-886d-927d1f7bf8fc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "45b99345-95af-4726-8464-05ee14e1650a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a1b2ac17-cc7e-4d3e-9d22-4bf786dd601f" + }, + "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": "a1b2ac17-cc7e-4d3e-9d22-4bf786dd601f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0d29cdf3-6ab5-4c02-b5b0-21cb36c9527b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "172f99b6-87ec-4724-8b53-9bbe20bfa15b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b0ce4ff1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/output.xml new file mode 100644 index 00000000..13a324c0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a336e291-a8fc-4690-886d-927d1f7bf8fc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.750.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="45b99345-95af-4726-8464-05ee14e1650a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a1b2ac17-cc7e-4d3e-9d22-4bf786dd601f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a1b2ac17-cc7e-4d3e-9d22-4bf786dd601f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0d29cdf3-6ab5-4c02-b5b0-21cb36c9527b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="512348559"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-171-5912020"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johannes.baganz@ladewig.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Carstens-Ring 82"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="82"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Carstens-Ring"/> + </extension> + </line> + <city value="Abramovicstadt"/> + <postalCode value="17526"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="172f99b6-87ec-4724-8b53-9bbe20bfa15b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="051629877"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index db2bf454..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 07d1d289..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="8e4b0bfe-99a2-410c-8602-abc46d657060"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.759.95"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4f17abd7-4b2c-4fc0-a17f-c098ef18ba7b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/678f3d4a-bbbb-4374-813e-f532665f0f70"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="678f3d4a-bbbb-4374-813e-f532665f0f70"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e0570b98-b683-4160-96a0-f39dde94bca1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="729708749"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(05891) 9020530"/> - </telecom> - <telecom> - <system value="email"/> - <value value="tyler.schultz@striezel.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Maria-Terwiel-Str. 45a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="45a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Maria-Terwiel-Str."/> - </extension> - </line> - <city value="Nabeinland"/> - <postalCode value="32786"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ef371a4d-37c2-4c5f-9700-6acce9ed89d3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="763324597"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/input.xml new file mode 100644 index 00000000..bbffbcea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7c15a984-2fe1-4ade-b9e8-ffab2e767074"/> + <meta> + <lastUpdated value="2024-02-08T19:04:12.290+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.759.95"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:04:12.290+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/ac397912-b14c-4e5e-ba91-ec88c9b8955f"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ac397912-b14c-4e5e-ba91-ec88c9b8955f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/e841adbf-9467-48db-8cc0-1b3f38d4e6e1"/> + </subject> + <date value="2024-02-08T19:04:12+01:00"/> + <author> + <reference value="Practitioner/447ff84a-92cf-4b10-a46f-47dc22d9ad1c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/67f11d8d-7d47-4525-bf5e-49ce76798a37"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/ce1eb878-f3f0-4cdb-8ff0-0a3397442293"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/0636312b-9c11-4f67-ad01-ffc1e4880339"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/7a4edde1-5a03-4b1c-8b27-33effeca6295"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7a4edde1-5a03-4b1c-8b27-33effeca6295"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/e841adbf-9467-48db-8cc0-1b3f38d4e6e1"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="e841adbf-9467-48db-8cc0-1b3f38d4e6e1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1974-12-11"/> + <address> + <type value="both"/> + <line value="Eidechsenweg 88"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Eidechsenweg"/> + </extension> + </line> + <city value="Lewinfeld"/> + <postalCode value="37893"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/67f11d8d-7d47-4525-bf5e-49ce76798a37"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="67f11d8d-7d47-4525-bf5e-49ce76798a37"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="729708749"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05891) 9020530"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tyler.schultz@striezel.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Maria-Terwiel-Str. 45a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="45a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Maria-Terwiel-Str."/> + </extension> + </line> + <city value="Nabeinland"/> + <postalCode value="32786"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/ce1eb878-f3f0-4cdb-8ff0-0a3397442293"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="ce1eb878-f3f0-4cdb-8ff0-0a3397442293"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="60"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/3fe586e4-a51b-4f3b-8ddd-7a1ca4b7ca16"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101520329"/> + </identifier> + <display value="ESSO BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/447ff84a-92cf-4b10-a46f-47dc22d9ad1c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="447ff84a-92cf-4b10-a46f-47dc22d9ad1c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="763324597"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/0636312b-9c11-4f67-ad01-ffc1e4880339"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0636312b-9c11-4f67-ad01-ffc1e4880339"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/7a4edde1-5a03-4b1c-8b27-33effeca6295"/> + </medicationReference> + <subject> + <reference value="Patient/e841adbf-9467-48db-8cc0-1b3f38d4e6e1"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/447ff84a-92cf-4b10-a46f-47dc22d9ad1c"/> + </requester> + <insurance> + <reference value="Coverage/ce1eb878-f3f0-4cdb-8ff0-0a3397442293"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/output.json new file mode 100644 index 00000000..fac2eb4c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "7df329db-12a7-4062-aa7c-2c7224b9e22d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6bb5953f-1fcb-4ad6-a31f-95f9d70ff9ad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/48f0d715-1688-4b87-b56f-2b2f19b4d2c4" + }, + "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": "48f0d715-1688-4b87-b56f-2b2f19b4d2c4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0f0ee882-9635-416a-8be9-f99b36707ad4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c2f64334-b81c-49aa-a79f-ee2c3bc5952f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7c15a984/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/output.xml new file mode 100644 index 00000000..190dc232 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7df329db-12a7-4062-aa7c-2c7224b9e22d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.759.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6bb5953f-1fcb-4ad6-a31f-95f9d70ff9ad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/48f0d715-1688-4b87-b56f-2b2f19b4d2c4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="48f0d715-1688-4b87-b56f-2b2f19b4d2c4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0f0ee882-9635-416a-8be9-f99b36707ad4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="729708749"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05891) 9020530"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tyler.schultz@striezel.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Maria-Terwiel-Str. 45a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="45a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Maria-Terwiel-Str."/> + </extension> + </line> + <city value="Nabeinland"/> + <postalCode value="32786"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c2f64334-b81c-49aa-a79f-ee2c3bc5952f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="763324597"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/input.xml new file mode 100644 index 00000000..62fba05f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="902668fe-ee41-4ba4-ba52-6e212947e007"/> + <meta> + <lastUpdated value="2024-02-08T19:02:16.965+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.747.34"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:02:16.965+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/e2c78304-f042-4e65-82dd-d32fa8f97777"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="e2c78304-f042-4e65-82dd-d32fa8f97777"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/22efc377-d100-4cff-a54b-87182545b0e9"/> + </subject> + <date value="2024-02-08T19:02:16+01:00"/> + <author> + <reference value="Practitioner/b4be1332-2490-4471-bed6-b13c724c471c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/fe9a7c33-90aa-49c6-9d5d-8559a988b567"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/6cb1ce16-344c-46fe-8836-2360f8e6eb1d"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/6558f071-27e0-4216-803b-ae0ce5774f7c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/6a0b2e58-4efb-4a96-808b-943c4b0b1aa7"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6a0b2e58-4efb-4a96-808b-943c4b0b1aa7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/22efc377-d100-4cff-a54b-87182545b0e9"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="22efc377-d100-4cff-a54b-87182545b0e9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1997-06-17"/> + <address> + <type value="both"/> + <line value="Meckhofer Feld 27c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Meckhofer Feld"/> + </extension> + </line> + <city value="Knuthagen"/> + <postalCode value="94518"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/fe9a7c33-90aa-49c6-9d5d-8559a988b567"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fe9a7c33-90aa-49c6-9d5d-8559a988b567"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="011361824"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-9570-93669717"/> + </telecom> + <telecom> + <system value="email"/> + <value value="amir.einert@abraham.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Weizkamp 5"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="5"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weizkamp"/> + </extension> + </line> + <city value="Henkelheim"/> + <postalCode value="71075"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/6cb1ce16-344c-46fe-8836-2360f8e6eb1d"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="6cb1ce16-344c-46fe-8836-2360f8e6eb1d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="83"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/2bdccfe2-f1ec-4cf9-99a0-7bae778b66b8"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104926702"/> + </identifier> + <display value="DIE BERGISCHE KRANKENKASSE"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/b4be1332-2490-4471-bed6-b13c724c471c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b4be1332-2490-4471-bed6-b13c724c471c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="884700727"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/6558f071-27e0-4216-803b-ae0ce5774f7c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6558f071-27e0-4216-803b-ae0ce5774f7c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/6a0b2e58-4efb-4a96-808b-943c4b0b1aa7"/> + </medicationReference> + <subject> + <reference value="Patient/22efc377-d100-4cff-a54b-87182545b0e9"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/b4be1332-2490-4471-bed6-b13c724c471c"/> + </requester> + <insurance> + <reference value="Coverage/6cb1ce16-344c-46fe-8836-2360f8e6eb1d"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.json new file mode 100644 index 00000000..6df3ad0f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "e825677d-11dd-48c9-81d8-8933756b90c8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2ce817cb-0542-4a46-99f9-57ce6d1508b2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c8bcbf5e-deb2-4fc8-8931-c97bc74e696e" + }, + "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": "c8bcbf5e-deb2-4fc8-8931-c97bc74e696e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b4505796-c387-43f2-9dc9-6e4eaa543555", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e65db70d-3538-48c2-ba06-6d81b21fa3f8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_902668fe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.xml new file mode 100644 index 00000000..264d5dd9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e825677d-11dd-48c9-81d8-8933756b90c8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.747.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2ce817cb-0542-4a46-99f9-57ce6d1508b2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c8bcbf5e-deb2-4fc8-8931-c97bc74e696e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c8bcbf5e-deb2-4fc8-8931-c97bc74e696e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b4505796-c387-43f2-9dc9-6e4eaa543555"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="011361824"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-9570-93669717"/> + </telecom> + <telecom> + <system value="email"/> + <value value="amir.einert@abraham.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Weizkamp 5"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="5"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weizkamp"/> + </extension> + </line> + <city value="Henkelheim"/> + <postalCode value="71075"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e65db70d-3538-48c2-ba06-6d81b21fa3f8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="884700727"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/input.xml new file mode 100644 index 00000000..3496765e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="90d5dd65-592d-49ee-b4da-91d974b44782"/> + <meta> + <lastUpdated value="2024-02-13T11:24:19.674+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.838.84"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-13T11:24:19.674+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/f1fcba8a-2089-48df-b9d1-3fd0ebf44372"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f1fcba8a-2089-48df-b9d1-3fd0ebf44372"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/2b1056c8-05ac-490b-bc0f-9498aa9ca97b"/> + </subject> + <date value="2024-02-13T11:24:19+01:00"/> + <author> + <reference value="Practitioner/0dae4db5-5baf-4f12-97e2-9da390ba38ec"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/12b70d30-9b13-4991-9444-6664176c625d"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/31cb2aef-bd2b-4330-b6e1-4f10e9be7efb"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/da268dcc-0bd0-4aa6-9f95-6ac48a855a7d"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/23508214-d55e-4f87-861a-1a40081c6ac8"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="23508214-d55e-4f87-861a-1a40081c6ac8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/2b1056c8-05ac-490b-bc0f-9498aa9ca97b"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="2b1056c8-05ac-490b-bc0f-9498aa9ca97b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + <name> + <use value="official"/> + <family value="Gondern"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Gondern"/> + </extension> + </family> + <given value="Aenna"/> + </name> + <birthDate value="1999-11-19"/> + <address> + <type value="both"/> + <line value="Eichenkamp 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Eichenkamp"/> + </extension> + </line> + <city value="Valerieheim"/> + <postalCode value="13594"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/12b70d30-9b13-4991-9444-6664176c625d"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="12b70d30-9b13-4991-9444-6664176c625d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="475308196"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0958) 130707809"/> + </telecom> + <telecom> + <system value="email"/> + <value value="wilhelm.welz@kofferschlager.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Schopenhauerstr. 35c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="35c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schopenhauerstr."/> + </extension> + </line> + <city value="Hamzafeld"/> + <postalCode value="15855"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/31cb2aef-bd2b-4330-b6e1-4f10e9be7efb"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="31cb2aef-bd2b-4330-b6e1-4f10e9be7efb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="46"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/43b1e718-07b9-4529-86ee-c44ba8cdd6b3"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104424830"/> + </identifier> + <display value="BKK GRILLO‐WERKE AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/0dae4db5-5baf-4f12-97e2-9da390ba38ec"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0dae4db5-5baf-4f12-97e2-9da390ba38ec"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="183015301"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/da268dcc-0bd0-4aa6-9f95-6ac48a855a7d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="da268dcc-0bd0-4aa6-9f95-6ac48a855a7d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/23508214-d55e-4f87-861a-1a40081c6ac8"/> + </medicationReference> + <subject> + <reference value="Patient/2b1056c8-05ac-490b-bc0f-9498aa9ca97b"/> + </subject> + <authoredOn value="2024-02-13"/> + <requester> + <reference value="Practitioner/0dae4db5-5baf-4f12-97e2-9da390ba38ec"/> + </requester> + <insurance> + <reference value="Coverage/31cb2aef-bd2b-4330-b6e1-4f10e9be7efb"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.json new file mode 100644 index 00000000..98c233a0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "5c201c6d-dde5-43c5-81b9-0af674640446", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "081a9213-82fe-486f-8688-d0a0b3b5fd31", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5265675e-9c0f-495d-b29a-f510e6a2b2e9" + }, + "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": "5265675e-9c0f-495d-b29a-f510e6a2b2e9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c190c22f-bc26-4738-ad6b-7e7f528718df", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "85a20744-7787-494f-9e59-4955be711931", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_90d5dd65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.xml new file mode 100644 index 00000000..ba463897 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5c201c6d-dde5-43c5-81b9-0af674640446"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.838.84"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="081a9213-82fe-486f-8688-d0a0b3b5fd31"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5265675e-9c0f-495d-b29a-f510e6a2b2e9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5265675e-9c0f-495d-b29a-f510e6a2b2e9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c190c22f-bc26-4738-ad6b-7e7f528718df"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="475308196"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0958) 130707809"/> + </telecom> + <telecom> + <system value="email"/> + <value value="wilhelm.welz@kofferschlager.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Schopenhauerstr. 35c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="35c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schopenhauerstr."/> + </extension> + </line> + <city value="Hamzafeld"/> + <postalCode value="15855"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="85a20744-7787-494f-9e59-4955be711931"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="183015301"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index c6dd4568..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 76ca7ee5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9102a310-f212-45fc-9b61-8dcf22155c7b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.751.22"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6cf75093-d0a5-4469-b36b-22daae54e38b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/7cc57022-ff6d-44ca-a6a0-0e91a437ff87"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7cc57022-ff6d-44ca-a6a0-0e91a437ff87"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b00a22be-4d49-46eb-928f-1642fbfa1e61"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="506889695"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-3700-72846964"/> - </telecom> - <telecom> - <system value="email"/> - <value value="sophie.schönfeld@nagel.com"/> - </telecom> - <address> - <type value="both"/> - <line value="In der Dasladen 30a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="30a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="In der Dasladen"/> - </extension> - </line> - <city value="Thustheim"/> - <postalCode value="47051"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4a4a515f-5051-4c03-9da8-9faf42e40290"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="180212463"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/input.xml new file mode 100644 index 00000000..9222ab46 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="29aa5ba0-95a8-455a-b778-c4e99fb14f4e"/> + <meta> + <lastUpdated value="2024-02-08T19:02:46.424+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.751.22"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:02:46.424+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/99db91d9-a106-4d44-9055-dab900aedd77"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="99db91d9-a106-4d44-9055-dab900aedd77"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/166e1245-fad6-4fbe-a4af-9397b601b41c"/> + </subject> + <date value="2024-02-08T19:02:46+01:00"/> + <author> + <reference value="Practitioner/0b84603f-dea2-4d9e-be30-1b82e4eab8eb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/ea916fbd-94de-4b9a-aa59-742323cb5b8c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/36652b25-e431-4eae-8030-eb0982f22c59"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/97838e28-140b-45c4-96c8-d5282f578213"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/5088d1cf-46f8-4c89-b3c7-1fbda757aadb"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5088d1cf-46f8-4c89-b3c7-1fbda757aadb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/166e1245-fad6-4fbe-a4af-9397b601b41c"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="166e1245-fad6-4fbe-a4af-9397b601b41c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1987-11-10"/> + <address> + <type value="both"/> + <line value="Felderstr. 42"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="42"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Felderstr."/> + </extension> + </line> + <city value="Walzburg"/> + <postalCode value="85624"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/ea916fbd-94de-4b9a-aa59-742323cb5b8c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ea916fbd-94de-4b9a-aa59-742323cb5b8c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="506889695"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3700-72846964"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sophie.schönfeld@nagel.com"/> + </telecom> + <address> + <type value="both"/> + <line value="In der Dasladen 30a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="30a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="In der Dasladen"/> + </extension> + </line> + <city value="Thustheim"/> + <postalCode value="47051"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/36652b25-e431-4eae-8030-eb0982f22c59"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="36652b25-e431-4eae-8030-eb0982f22c59"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/2086073c-e58b-4e52-a82e-002fa0aef975"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108633433"/> + </identifier> + <display value="BKK Kassana"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/0b84603f-dea2-4d9e-be30-1b82e4eab8eb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0b84603f-dea2-4d9e-be30-1b82e4eab8eb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="180212463"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/97838e28-140b-45c4-96c8-d5282f578213"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="97838e28-140b-45c4-96c8-d5282f578213"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5088d1cf-46f8-4c89-b3c7-1fbda757aadb"/> + </medicationReference> + <subject> + <reference value="Patient/166e1245-fad6-4fbe-a4af-9397b601b41c"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/0b84603f-dea2-4d9e-be30-1b82e4eab8eb"/> + </requester> + <insurance> + <reference value="Coverage/36652b25-e431-4eae-8030-eb0982f22c59"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/output.json new file mode 100644 index 00000000..93dd2fbf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "01682932-ed3c-4de0-a7ee-7cb5cc52ce87", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "999d4cf1-8458-4aba-a026-5a1d648d3f4a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3b0ef825-e568-4184-9993-81c9be3544a9" + }, + "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": "3b0ef825-e568-4184-9993-81c9be3544a9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b6177a62-b5bc-4a77-b0ee-a50b56f0f65c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7d813a00-a326-45b5-821a-7b59163d4ab9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_29aa5ba0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/output.xml new file mode 100644 index 00000000..2ea5c649 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="01682932-ed3c-4de0-a7ee-7cb5cc52ce87"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.751.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="999d4cf1-8458-4aba-a026-5a1d648d3f4a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3b0ef825-e568-4184-9993-81c9be3544a9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3b0ef825-e568-4184-9993-81c9be3544a9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b6177a62-b5bc-4a77-b0ee-a50b56f0f65c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="506889695"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3700-72846964"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sophie.schönfeld@nagel.com"/> + </telecom> + <address> + <type value="both"/> + <line value="In der Dasladen 30a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="30a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="In der Dasladen"/> + </extension> + </line> + <city value="Thustheim"/> + <postalCode value="47051"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7d813a00-a326-45b5-821a-7b59163d4ab9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="180212463"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index b11ba35a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index f7b2e892..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="94ddf2c1-2b99-41e0-9ceb-8468f995c336"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.760.92"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="346ee2ec-0c6c-46cf-a926-1786a547e421"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/05544bb4-3e9b-43c3-b578-fa1831106a11"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="05544bb4-3e9b-43c3-b578-fa1831106a11"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6a4ffc95-532c-4e14-92ac-db6769cce435"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="470426554"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0379) 822340692"/> - </telecom> - <telecom> - <system value="email"/> - <value value="fabian.bienasch@just.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Weizkamp 877"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="877"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Weizkamp"/> - </extension> - </line> - <city value="Groß Ruben"/> - <postalCode value="68177"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="cf184f46-d4d1-4111-80b1-07a98f3b2e01"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="439856521"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/input.xml new file mode 100644 index 00000000..93f057e4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="10feb16e-8499-4b4b-bbd3-354242c57e36"/> + <meta> + <lastUpdated value="2024-02-08T19:04:29.248+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.760.92"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:04:29.248+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/8fef5be4-59e2-4aa7-93df-bc2bfbdf6741"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8fef5be4-59e2-4aa7-93df-bc2bfbdf6741"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/6eb1209c-247f-4ac0-a0a0-05646acbf05e"/> + </subject> + <date value="2024-02-08T19:04:29+01:00"/> + <author> + <reference value="Practitioner/f90378fb-00f4-411d-9784-7eb409b49135"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5c832b6d-d75f-4d91-aea3-4de9775ad304"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/5964ab86-f941-47da-a4a4-3f81d6fd2d79"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/3d87138e-12c0-4fc3-84e5-30b6f771a276"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/a6c17c6c-f17b-4c17-bd92-9db6b49a9848"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a6c17c6c-f17b-4c17-bd92-9db6b49a9848"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/6eb1209c-247f-4ac0-a0a0-05646acbf05e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="6eb1209c-247f-4ac0-a0a0-05646acbf05e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1973-05-04"/> + <address> + <type value="both"/> + <line value="Werftstr. 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Werftstr."/> + </extension> + </line> + <city value="Schön Peter"/> + <postalCode value="04784"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/5c832b6d-d75f-4d91-aea3-4de9775ad304"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5c832b6d-d75f-4d91-aea3-4de9775ad304"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="470426554"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0379) 822340692"/> + </telecom> + <telecom> + <system value="email"/> + <value value="fabian.bienasch@just.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Weizkamp 877"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="877"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weizkamp"/> + </extension> + </line> + <city value="Groß Ruben"/> + <postalCode value="68177"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/5964ab86-f941-47da-a4a4-3f81d6fd2d79"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="5964ab86-f941-47da-a4a4-3f81d6fd2d79"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="48"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/443cea35-9f8f-404e-9f20-c9ab49dd067f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101560000"/> + </identifier> + <display value="DAK‐Gesundheit"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/f90378fb-00f4-411d-9784-7eb409b49135"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f90378fb-00f4-411d-9784-7eb409b49135"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="439856521"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/3d87138e-12c0-4fc3-84e5-30b6f771a276"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3d87138e-12c0-4fc3-84e5-30b6f771a276"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a6c17c6c-f17b-4c17-bd92-9db6b49a9848"/> + </medicationReference> + <subject> + <reference value="Patient/6eb1209c-247f-4ac0-a0a0-05646acbf05e"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/f90378fb-00f4-411d-9784-7eb409b49135"/> + </requester> + <insurance> + <reference value="Coverage/5964ab86-f941-47da-a4a4-3f81d6fd2d79"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/output.json new file mode 100644 index 00000000..7c010b58 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ec301700-e4bd-48cb-8293-57c7263f5045", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "be4bec05-c081-435c-860b-2e861cfc54b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/73c71001-c7ab-4f65-b8b5-75aba44e3129" + }, + "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": "73c71001-c7ab-4f65-b8b5-75aba44e3129", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "97a432aa-0f99-4dd0-9744-7bb985b8d256", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7bc3ada9-5ebc-475e-a673-9612c57cf75d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_10feb16e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/output.xml new file mode 100644 index 00000000..553fe362 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ec301700-e4bd-48cb-8293-57c7263f5045"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.760.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="be4bec05-c081-435c-860b-2e861cfc54b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/73c71001-c7ab-4f65-b8b5-75aba44e3129"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="73c71001-c7ab-4f65-b8b5-75aba44e3129"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="97a432aa-0f99-4dd0-9744-7bb985b8d256"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="470426554"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0379) 822340692"/> + </telecom> + <telecom> + <system value="email"/> + <value value="fabian.bienasch@just.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Weizkamp 877"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="877"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weizkamp"/> + </extension> + </line> + <city value="Groß Ruben"/> + <postalCode value="68177"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7bc3ada9-5ebc-475e-a673-9612c57cf75d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="439856521"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_9645a6a3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.json new file mode 100644 index 00000000..0ab3eee4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "0d170add-84e3-4084-9e7f-5b24c2232dc1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e1122ffa-de52-4bd0-a178-708439f46a8f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9161265a-f3ef-423b-bed6-c4986449d187" + }, + "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": "9161265a-f3ef-423b-bed6-c4986449d187", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d078b65b-976f-4793-962b-176770051b65", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "dbed312f-f9ed-45fa-891c-fd25506b511d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9645a6a3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.xml new file mode 100644 index 00000000..5ce0f7ea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0d170add-84e3-4084-9e7f-5b24c2232dc1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.757.04"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e1122ffa-de52-4bd0-a178-708439f46a8f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9161265a-f3ef-423b-bed6-c4986449d187"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9161265a-f3ef-423b-bed6-c4986449d187"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d078b65b-976f-4793-962b-176770051b65"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711619336"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02416) 4196742"/> + </telecom> + <telecom> + <system value="email"/> + <value value="meike.wassiluk@bogdashin.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Dünenweg 81b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="81b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dünenweg"/> + </extension> + </line> + <city value="Groß Daria"/> + <postalCode value="56205"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dbed312f-f9ed-45fa-891c-fd25506b511d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="611647025"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 540d1799..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index a65e6dd6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="968173c9-e3d8-439f-92c2-1e716bafc2a7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.771.59"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7f656ffa-ea89-4c20-a705-f989bbf644ad"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/6c92a863-de6d-468d-a046-81a527eb6e17"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6c92a863-de6d-468d-a046-81a527eb6e17"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="76f199c0-3e9c-44aa-a3a3-357a5ab7d7e7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="886581532"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0713) 038011891"/> - </telecom> - <telecom> - <system value="email"/> - <value value="kalle.finke@grothkopp.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Voigtslach 329"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="329"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Voigtslach"/> - </extension> - </line> - <city value="Dennisheim"/> - <postalCode value="94140"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="46c89078-d117-444e-a6dd-5c5502fca366"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="059579535"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/input.xml new file mode 100644 index 00000000..b7f324cf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="12931066-598a-4106-a5db-52a3b960f4fc"/> + <meta> + <lastUpdated value="2024-02-08T19:06:30.109+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.771.59"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:06:30.109+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/f71f620c-66c1-421b-8ac9-a26e06783765"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f71f620c-66c1-421b-8ac9-a26e06783765"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/0e3dbf2e-460c-4c37-8c12-a0570934a15e"/> + </subject> + <date value="2024-02-08T19:06:30+01:00"/> + <author> + <reference value="Practitioner/0f6d2336-9e7f-40cf-81ff-1b223434404c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/f04a7101-7d3b-4852-bd53-d2869ec2a33d"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/edd0a842-7b0a-4c9e-b9a6-c23ef1fbb8fe"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/f6cdbc10-132d-4356-8bcd-358f8ed2e794"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/69a76552-f201-4bd0-832f-8d6519ef9783"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="69a76552-f201-4bd0-832f-8d6519ef9783"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/0e3dbf2e-460c-4c37-8c12-a0570934a15e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="0e3dbf2e-460c-4c37-8c12-a0570934a15e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1966-11-12"/> + <address> + <type value="both"/> + <line value="Unterölbach 256"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="256"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Unterölbach"/> + </extension> + </line> + <city value="Ost Levinfeld"/> + <postalCode value="76451"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/f04a7101-7d3b-4852-bd53-d2869ec2a33d"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f04a7101-7d3b-4852-bd53-d2869ec2a33d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="886581532"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0713) 038011891"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kalle.finke@grothkopp.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Voigtslach 329"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="329"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Voigtslach"/> + </extension> + </line> + <city value="Dennisheim"/> + <postalCode value="94140"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/edd0a842-7b0a-4c9e-b9a6-c23ef1fbb8fe"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="edd0a842-7b0a-4c9e-b9a6-c23ef1fbb8fe"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="50"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/232608e2-dc26-4c80-8bed-0d22cf8a3eeb"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104424794"/> + </identifier> + <display value="BKK DEMAG KRAUSS‐MAFFEI"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/0f6d2336-9e7f-40cf-81ff-1b223434404c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0f6d2336-9e7f-40cf-81ff-1b223434404c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="059579535"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/f6cdbc10-132d-4356-8bcd-358f8ed2e794"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f6cdbc10-132d-4356-8bcd-358f8ed2e794"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/69a76552-f201-4bd0-832f-8d6519ef9783"/> + </medicationReference> + <subject> + <reference value="Patient/0e3dbf2e-460c-4c37-8c12-a0570934a15e"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/0f6d2336-9e7f-40cf-81ff-1b223434404c"/> + </requester> + <insurance> + <reference value="Coverage/edd0a842-7b0a-4c9e-b9a6-c23ef1fbb8fe"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/output.json new file mode 100644 index 00000000..38da387f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "fbcf5e28-27d6-4c8d-b53b-2cd2d5ebd593", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "93cd56e3-3dba-4e89-acc2-e227368379fb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9f3c5fcf-1c85-4df6-a93a-c49014639cfa" + }, + "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": "9f3c5fcf-1c85-4df6-a93a-c49014639cfa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1269e78c-a4e5-4342-bcc8-75f0aa5f055f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0d370458-a545-424f-bf24-e3ecfb52a3c7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_12931066/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/output.xml new file mode 100644 index 00000000..e3f107f5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fbcf5e28-27d6-4c8d-b53b-2cd2d5ebd593"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.771.59"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="93cd56e3-3dba-4e89-acc2-e227368379fb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9f3c5fcf-1c85-4df6-a93a-c49014639cfa"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9f3c5fcf-1c85-4df6-a93a-c49014639cfa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1269e78c-a4e5-4342-bcc8-75f0aa5f055f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="886581532"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0713) 038011891"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kalle.finke@grothkopp.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Voigtslach 329"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="329"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Voigtslach"/> + </extension> + </line> + <city value="Dennisheim"/> + <postalCode value="94140"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0d370458-a545-424f-bf24-e3ecfb52a3c7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="059579535"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/input.xml new file mode 100644 index 00000000..858d0117 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9c9429a1-5fea-4efd-af25-895e0dae990f"/> + <meta> + <lastUpdated value="2024-02-08T19:21:06.607+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.995.34"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:21:06.607+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/b8dab91e-380a-4614-bd6f-0e16394c706f"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="b8dab91e-380a-4614-bd6f-0e16394c706f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ec1a72a6-fe49-476d-a55c-58d45bb442c7"/> + </subject> + <date value="2024-02-08T19:21:06+01:00"/> + <author> + <reference value="Practitioner/74bcb361-7b45-4bbf-9ada-349c31844c9b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/8cfbcf92-9b35-49cb-aaf6-2c9424f7f329"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/1a25bfba-cdcd-4fc1-89ec-71e8ba6c8372"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/d0b95008-6152-4819-aa89-2c0ef49f8a2c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/1f16baef-810f-43e9-91e9-546c4dc027b6"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1f16baef-810f-43e9-91e9-546c4dc027b6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="46260462"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/ec1a72a6-fe49-476d-a55c-58d45bb442c7"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ec1a72a6-fe49-476d-a55c-58d45bb442c7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1983-10-25"/> + <address> + <type value="both"/> + <line value="Luisenstr. 14c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="14c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Luisenstr."/> + </extension> + </line> + <city value="Süd Elisa"/> + <postalCode value="81369"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/8cfbcf92-9b35-49cb-aaf6-2c9424f7f329"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8cfbcf92-9b35-49cb-aaf6-2c9424f7f329"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="382601542"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-902-0356405"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jan.leschnik@lichtenfeld.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Liebigstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Liebigstr."/> + </extension> + </line> + <city value="Ost Marius"/> + <postalCode value="85692"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/1a25bfba-cdcd-4fc1-89ec-71e8ba6c8372"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1a25bfba-cdcd-4fc1-89ec-71e8ba6c8372"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="61"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/6b4c6244-a473-4cc1-ab05-6d0cd3e23790"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140186"/> + </identifier> + <display value="HanseMerkur"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/74bcb361-7b45-4bbf-9ada-349c31844c9b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="74bcb361-7b45-4bbf-9ada-349c31844c9b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="804424206"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/d0b95008-6152-4819-aa89-2c0ef49f8a2c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d0b95008-6152-4819-aa89-2c0ef49f8a2c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/1f16baef-810f-43e9-91e9-546c4dc027b6"/> + </medicationReference> + <subject> + <reference value="Patient/ec1a72a6-fe49-476d-a55c-58d45bb442c7"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/74bcb361-7b45-4bbf-9ada-349c31844c9b"/> + </requester> + <insurance> + <reference value="Coverage/1a25bfba-cdcd-4fc1-89ec-71e8ba6c8372"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.json new file mode 100644 index 00000000..da85aa20 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "d8c21b5c-043f-49ef-b032-51f026178b36", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8013e4f1-c8aa-44a6-b9f5-a7dc5a357bae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7bedc891-da37-43ed-ab3e-d58cb4c3d637" + }, + "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": "7bedc891-da37-43ed-ab3e-d58cb4c3d637", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "09b1cf81-f9e5-4e04-8d2e-cba6477f9d11", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "364475d0-871b-428d-94ce-dea2cb8cf428", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c9429a1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.xml new file mode 100644 index 00000000..a4e9f015 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d8c21b5c-043f-49ef-b032-51f026178b36"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.995.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8013e4f1-c8aa-44a6-b9f5-a7dc5a357bae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7bedc891-da37-43ed-ab3e-d58cb4c3d637"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7bedc891-da37-43ed-ab3e-d58cb4c3d637"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="46260462"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="09b1cf81-f9e5-4e04-8d2e-cba6477f9d11"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="382601542"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-902-0356405"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jan.leschnik@lichtenfeld.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Liebigstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Liebigstr."/> + </extension> + </line> + <city value="Ost Marius"/> + <postalCode value="85692"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="364475d0-871b-428d-94ce-dea2cb8cf428"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="804424206"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index a0b3599d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 43fb93ba..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a0b1a2cd-960c-4cb7-8b2c-fe417e302b0a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.525.73"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2968ebf2-8f6b-44d0-b710-8fa56d995d95"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/ee02ccf6-f11e-4348-a08c-40d2953aebb2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ee02ccf6-f11e-4348-a08c-40d2953aebb2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="50188a79-f59e-47b8-a674-7132fcfaa3a6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="932596891"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0419) 301209056"/> - </telecom> - <telecom> - <system value="email"/> - <value value="soraya.rau@kron.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Erich-Heckel-Str. 25c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="25c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Erich-Heckel-Str."/> - </extension> - </line> - <city value="Bergerscheid"/> - <postalCode value="64326"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="864d61a2-b7ad-447b-bd28-db9d27716611"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="411539329"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_f9c4ff65/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/output.json new file mode 100644 index 00000000..b19dc313 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "26aad6d3-4bee-42ad-8f2e-227945e24e47", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d494d4b2-2e97-4470-97f8-f418dab78caf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8d743706-d864-4d22-a1b6-cca2f5ff081d" + }, + "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": "8d743706-d864-4d22-a1b6-cca2f5ff081d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cb9818da-30e0-4987-b589-3325d5be88b9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f206cbfc-553c-49c6-a0f7-25a786252bbe", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f9c4ff65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/output.xml new file mode 100644 index 00000000..02788117 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="26aad6d3-4bee-42ad-8f2e-227945e24e47"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.525.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d494d4b2-2e97-4470-97f8-f418dab78caf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8d743706-d864-4d22-a1b6-cca2f5ff081d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8d743706-d864-4d22-a1b6-cca2f5ff081d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cb9818da-30e0-4987-b589-3325d5be88b9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="932596891"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0419) 301209056"/> + </telecom> + <telecom> + <system value="email"/> + <value value="soraya.rau@kron.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Erich-Heckel-Str. 25c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="25c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Erich-Heckel-Str."/> + </extension> + </line> + <city value="Bergerscheid"/> + <postalCode value="64326"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f206cbfc-553c-49c6-a0f7-25a786252bbe"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="411539329"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_a39897e0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.json new file mode 100644 index 00000000..8ef9c872 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ae39d3e0-2bd0-4dab-83c4-3186bebe0a74", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ba9d36e4-0e64-4f90-ad73-312c3add9737", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/32c2f707-fa6a-42b6-bee9-cfa9a7f3da6d" + }, + "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": "32c2f707-fa6a-42b6-bee9-cfa9a7f3da6d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9eabbfec-858c-4bf8-8fe0-8d818dc1b9d1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "96cb6133-c6b2-4561-9a7d-b382e8acdc41", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a39897e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.xml new file mode 100644 index 00000000..52e65940 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ae39d3e0-2bd0-4dab-83c4-3186bebe0a74"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.686.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ba9d36e4-0e64-4f90-ad73-312c3add9737"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/32c2f707-fa6a-42b6-bee9-cfa9a7f3da6d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="32c2f707-fa6a-42b6-bee9-cfa9a7f3da6d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06427082"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9eabbfec-858c-4bf8-8fe0-8d818dc1b9d1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="487238495"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0631) 347228164"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kian.franta@riermeier.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Auerweg 65"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="65"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auerweg"/> + </extension> + </line> + <city value="Schön Leandra"/> + <postalCode value="55353"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="96cb6133-c6b2-4561-9a7d-b382e8acdc41"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="550442587"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/input.xml new file mode 100644 index 00000000..ad9a3250 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="a3c77b03-d043-4163-acb2-750ce46faac9"/> + <meta> + <lastUpdated value="2024-02-08T19:03:03.515+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.752.19"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:03:03.515+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/32f11423-62fd-4584-a3ec-ecb1d8b3afc7"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="32f11423-62fd-4584-a3ec-ecb1d8b3afc7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/a1fa83d4-aea7-4f5f-8199-28fd5548336b"/> + </subject> + <date value="2024-02-08T19:03:03+01:00"/> + <author> + <reference value="Practitioner/878fe6f2-7fc3-429f-9a58-1064c660ce59"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/4bdf4b4f-11b6-46ea-8b6a-aefcd546bf4b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/b8eb37c9-cb63-46b2-9d2e-ae09496fee23"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/a9146dcc-975d-434d-8d5e-d88e1f8fd5d2"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/80dcfd04-c4d9-4c31-bc4a-08253d86f10f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="80dcfd04-c4d9-4c31-bc4a-08253d86f10f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/a1fa83d4-aea7-4f5f-8199-28fd5548336b"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="a1fa83d4-aea7-4f5f-8199-28fd5548336b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1983-07-24"/> + <address> + <type value="both"/> + <line value="Am Mönchshof 4"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="4"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Mönchshof"/> + </extension> + </line> + <city value="Klein Henrickscheid"/> + <postalCode value="13559"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/4bdf4b4f-11b6-46ea-8b6a-aefcd546bf4b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4bdf4b4f-11b6-46ea-8b6a-aefcd546bf4b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="712972127"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(07022) 9438121"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jeremy.benninger@riekmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Cranachstr. 392"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="392"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Cranachstr."/> + </extension> + </line> + <city value="Bussestadt"/> + <postalCode value="00355"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/b8eb37c9-cb63-46b2-9d2e-ae09496fee23"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="b8eb37c9-cb63-46b2-9d2e-ae09496fee23"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="93"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/081ac686-e33b-448a-9a84-103f26d15b0c"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="106492393"/> + </identifier> + <display value="pronova BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/878fe6f2-7fc3-429f-9a58-1064c660ce59"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="878fe6f2-7fc3-429f-9a58-1064c660ce59"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="379988496"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/a9146dcc-975d-434d-8d5e-d88e1f8fd5d2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a9146dcc-975d-434d-8d5e-d88e1f8fd5d2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/80dcfd04-c4d9-4c31-bc4a-08253d86f10f"/> + </medicationReference> + <subject> + <reference value="Patient/a1fa83d4-aea7-4f5f-8199-28fd5548336b"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/878fe6f2-7fc3-429f-9a58-1064c660ce59"/> + </requester> + <insurance> + <reference value="Coverage/b8eb37c9-cb63-46b2-9d2e-ae09496fee23"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.json new file mode 100644 index 00000000..eb82ed59 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "7b7bb238-0205-44c9-8f13-e1f503633642", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "12cc7555-2aca-4689-8492-6cfbbad2691e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1d120930-4872-440c-abaf-b61379dd6305" + }, + "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": "1d120930-4872-440c-abaf-b61379dd6305", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2164f41b-eb7d-48b0-8390-289484d7bc07", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "38eb5d6c-d44c-48f7-b59a-87843840db58", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a3c77b03/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.xml new file mode 100644 index 00000000..fa4942d1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7b7bb238-0205-44c9-8f13-e1f503633642"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.752.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="12cc7555-2aca-4689-8492-6cfbbad2691e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1d120930-4872-440c-abaf-b61379dd6305"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1d120930-4872-440c-abaf-b61379dd6305"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2164f41b-eb7d-48b0-8390-289484d7bc07"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="712972127"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(07022) 9438121"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jeremy.benninger@riekmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Cranachstr. 392"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="392"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Cranachstr."/> + </extension> + </line> + <city value="Bussestadt"/> + <postalCode value="00355"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="38eb5d6c-d44c-48f7-b59a-87843840db58"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="379988496"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 01ada568..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index d4688f5a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a4f05dcd-c8d2-4af4-a09f-48b304c14830"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.555.80"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3d9b9db0-faf1-43c1-9d5d-0f8c303220a0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/ba6eb23d-efed-4d4c-aa1d-c998ae6c8d31"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ba6eb23d-efed-4d4c-aa1d-c998ae6c8d31"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="872a2c77-a0a6-4cd7-908a-3c79ced91e5d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="496255531"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-197-7069529"/> - </telecom> - <telecom> - <system value="email"/> - <value value="tara.pollmächer@xn--dck-hoa.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Augustastr. 27"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="27"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Augustastr."/> - </extension> - </line> - <city value="Logandorf"/> - <postalCode value="84236"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f91d6206-9d87-4330-871a-77808b55a6a6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="368352769"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/input.xml new file mode 100644 index 00000000..68987e4e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="230dc009-fe73-47bb-9d19-5e48449a4ba8"/> + <meta> + <lastUpdated value="2024-02-08T19:20:49.645+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.555.80"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:20:49.645+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/5b8c7a2b-2049-4b65-ac8b-a5f5559e99af"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5b8c7a2b-2049-4b65-ac8b-a5f5559e99af"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/f9667017-39e2-4062-8ce4-6429bbf68383"/> + </subject> + <date value="2024-02-08T19:20:49+01:00"/> + <author> + <reference value="Practitioner/394ca825-9f44-4784-898b-78f5e58689ed"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d45562ec-94e2-40ab-8156-c95bbc8f2030"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/2299b7ad-e1f9-41b6-b2cc-b1d0830a8b7f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/61191280-da3e-4342-bee9-429aa47cb42c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/e0761a89-bb4d-44f8-bef8-a8eec7122c5a"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e0761a89-bb4d-44f8-bef8-a8eec7122c5a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/f9667017-39e2-4062-8ce4-6429bbf68383"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="f9667017-39e2-4062-8ce4-6429bbf68383"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1980-04-02"/> + <address> + <type value="both"/> + <line value="Am Märchen 36"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="36"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Märchen"/> + </extension> + </line> + <city value="Bad Summer"/> + <postalCode value="15359"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/d45562ec-94e2-40ab-8156-c95bbc8f2030"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d45562ec-94e2-40ab-8156-c95bbc8f2030"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="496255531"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-197-7069529"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tara.pollmächer@xn--dck-hoa.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Augustastr. 27"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Augustastr."/> + </extension> + </line> + <city value="Logandorf"/> + <postalCode value="84236"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/2299b7ad-e1f9-41b6-b2cc-b1d0830a8b7f"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="2299b7ad-e1f9-41b6-b2cc-b1d0830a8b7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/85433d36-dc26-4eac-8c27-87c845e2c1be"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140437"/> + </identifier> + <display value="HALLESCHE"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/394ca825-9f44-4784-898b-78f5e58689ed"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="394ca825-9f44-4784-898b-78f5e58689ed"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="368352769"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/61191280-da3e-4342-bee9-429aa47cb42c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="61191280-da3e-4342-bee9-429aa47cb42c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/e0761a89-bb4d-44f8-bef8-a8eec7122c5a"/> + </medicationReference> + <subject> + <reference value="Patient/f9667017-39e2-4062-8ce4-6429bbf68383"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/394ca825-9f44-4784-898b-78f5e58689ed"/> + </requester> + <insurance> + <reference value="Coverage/2299b7ad-e1f9-41b6-b2cc-b1d0830a8b7f"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/output.json new file mode 100644 index 00000000..891eee1f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ea74b100-bbfe-4aa5-9516-8f7c01c7d244", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "12832ddf-2d62-4b53-bcdf-2d75c6edf602", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/63e561e4-698e-4d4c-8943-458335b16778" + }, + "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": "63e561e4-698e-4d4c-8943-458335b16778", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c4b81df2-b805-46f5-893e-3b493f2d4b6b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0f519001-5b60-4831-9039-33b883b8e360", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_230dc009/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/output.xml new file mode 100644 index 00000000..35490201 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ea74b100-bbfe-4aa5-9516-8f7c01c7d244"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.555.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="12832ddf-2d62-4b53-bcdf-2d75c6edf602"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/63e561e4-698e-4d4c-8943-458335b16778"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="63e561e4-698e-4d4c-8943-458335b16778"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c4b81df2-b805-46f5-893e-3b493f2d4b6b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="496255531"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-197-7069529"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tara.pollmächer@xn--dck-hoa.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Augustastr. 27"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Augustastr."/> + </extension> + </line> + <city value="Logandorf"/> + <postalCode value="84236"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0f519001-5b60-4831-9039-33b883b8e360"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="368352769"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_ab9f6a4e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.json new file mode 100644 index 00000000..f8c911e3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "a5d079d0-2c0a-4ef5-bed9-2433272747bf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "37fc0c5c-5859-478d-a41f-69635866cf7b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d118c472-d5dc-493d-8b8d-2ffaeb07a0ef" + }, + "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": "d118c472-d5dc-493d-8b8d-2ffaeb07a0ef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "322af811-727d-4508-91c7-63f3571b946c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1329bf6d-4fdf-4279-bf05-8cff4d0ad3d6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ab9f6a4e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.xml new file mode 100644 index 00000000..9ec49405 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a5d079d0-2c0a-4ef5-bed9-2433272747bf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.744.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="37fc0c5c-5859-478d-a41f-69635866cf7b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d118c472-d5dc-493d-8b8d-2ffaeb07a0ef"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d118c472-d5dc-493d-8b8d-2ffaeb07a0ef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="322af811-727d-4508-91c7-63f3571b946c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="883968316"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-074-9317125"/> + </telecom> + <telecom> + <system value="email"/> + <value value="amira.sauer@werrmann.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Wingchen-Str. 63"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="63"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Wingchen-Str."/> + </extension> + </line> + <city value="Nikescheid"/> + <postalCode value="34828"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1329bf6d-4fdf-4279-bf05-8cff4d0ad3d6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="225840686"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_ad686294/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.json new file mode 100644 index 00000000..4819dc07 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "fc0f2a50-a3f4-46b8-9130-01719cb031be", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ef41117e-f8c4-4ba4-9cca-ceef0c5c056f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d93aa7ca-77ae-4a5a-820f-a201a2eb4c4f" + }, + "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": "d93aa7ca-77ae-4a5a-820f-a201a2eb4c4f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "68947cb5-5bb6-42da-89fd-8b99deec0f77", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "afb39248-9aa4-4c4a-bd3e-1e051da30584", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ad686294/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.xml new file mode 100644 index 00000000..ccd4ba58 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fc0f2a50-a3f4-46b8-9130-01719cb031be"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.769.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ef41117e-f8c4-4ba4-9cca-ceef0c5c056f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d93aa7ca-77ae-4a5a-820f-a201a2eb4c4f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d93aa7ca-77ae-4a5a-820f-a201a2eb4c4f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="68947cb5-5bb6-42da-89fd-8b99deec0f77"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="555846595"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0267) 478020260"/> + </telecom> + <telecom> + <system value="email"/> + <value value="emre.bauschinger@kette.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Ulrichstr. 29c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ulrichstr."/> + </extension> + </line> + <city value="Klein Lilli"/> + <postalCode value="13664"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="afb39248-9aa4-4c4a-bd3e-1e051da30584"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="776481826"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index d66e8e26..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index f00cc7b4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ad7148f1-1538-4ecb-94cd-6a4d4b36c789"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.556.77"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0011451f-0bd2-42e9-bdba-9fcbf93ac9fb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/79b98e79-9ef1-4411-a26d-1c03a3649a0c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="79b98e79-9ef1-4411-a26d-1c03a3649a0c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="60453038"/> - </coding> - <text value="Becameat"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="edf8e3d5-ca15-414a-9436-18518c5d0a69"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="604808395"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0884) 756294235"/> - </telecom> - <telecom> - <system value="email"/> - <value value="elina.dilla@hansen.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Ahrstr. 27c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="27c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Ahrstr."/> - </extension> - </line> - <city value="Baranscheid"/> - <postalCode value="59779"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6ae37f3b-aff3-40e4-ac46-28e929dbeb87"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="177086960"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_c7ac3a7c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/output.json new file mode 100644 index 00000000..21e5413c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "37829973-e6ba-413b-ab08-8d853b6e624d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5fd4cf31-42db-4558-980e-48e0cad07950", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/476bd983-5362-41f2-8eda-e4d3a44b5575" + }, + "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": "476bd983-5362-41f2-8eda-e4d3a44b5575", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d355c807-613c-482d-a553-7f1e8fa25447", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2fdc0a3b-dda7-4456-8f54-1a636de9e7d5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c7ac3a7c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/output.xml new file mode 100644 index 00000000..95025180 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="37829973-e6ba-413b-ab08-8d853b6e624d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.556.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5fd4cf31-42db-4558-980e-48e0cad07950"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/476bd983-5362-41f2-8eda-e4d3a44b5575"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="476bd983-5362-41f2-8eda-e4d3a44b5575"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60453038"/> + </coding> + <text value="Becameat"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d355c807-613c-482d-a553-7f1e8fa25447"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="604808395"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0884) 756294235"/> + </telecom> + <telecom> + <system value="email"/> + <value value="elina.dilla@hansen.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Ahrstr. 27c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ahrstr."/> + </extension> + </line> + <city value="Baranscheid"/> + <postalCode value="59779"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2fdc0a3b-dda7-4456-8f54-1a636de9e7d5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="177086960"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index b274f749..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/output.json +++ /dev/null @@ -1,234 +0,0 @@ -{ - "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 deleted file mode 100644 index ed7c09e0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/output.xml +++ /dev/null @@ -1,237 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="aedad2dd-d8db-47f5-acd8-ce39ea9153be"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.784.20"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="493415e1-ad06-4763-b3e8-cdafb2af8c73"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-02-08"/> - <end value="2024-05-08"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:2f86b77d-8e11-42ac-89fe-5a1d39775378"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/dfb981c1-fe46-4996-bbbd-3b7d33a14c58"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="dfb981c1-fe46-4996-bbbd-3b7d33a14c58"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="42938335"/> - </coding> - <text value="Fexvomilzol"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="67cda6ff-0258-48e9-a5d4-2655e6700fca"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="839368350"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-7222-51775715"/> - </telecom> - <telecom> - <system value="email"/> - <value value="josie.malkus@jaros.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Pfarrer-Jekel-Str. 47a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="47a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Pfarrer-Jekel-Str."/> - </extension> - </line> - <city value="Klein Kimberlystadt"/> - <postalCode value="17592"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="de45e050-700e-4131-996c-c4b167de71d9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="792402920"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_e6706910/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/output.json new file mode 100644 index 00000000..880ce1c7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "c54a5900-b758-451d-8735-9561dcd72515", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "bb2e7762-c89b-4026-ba8e-bd365f3e0ac5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/76dc59d0-47f7-4aa3-9082-f5d7b643b8e7" + }, + "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": "76dc59d0-47f7-4aa3-9082-f5d7b643b8e7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5db6fbaa-1b49-49ac-972e-7bd9edff801b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b02323d1-b2ea-4206-b792-befdf08de038", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e6706910/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/output.xml new file mode 100644 index 00000000..4594129d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c54a5900-b758-451d-8735-9561dcd72515"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.784.20"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="bb2e7762-c89b-4026-ba8e-bd365f3e0ac5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-02-08"/> + <end value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:2f86b77d-8e11-42ac-89fe-5a1d39775378"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/76dc59d0-47f7-4aa3-9082-f5d7b643b8e7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="76dc59d0-47f7-4aa3-9082-f5d7b643b8e7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="42938335"/> + </coding> + <text value="Fexvomilzol"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5db6fbaa-1b49-49ac-972e-7bd9edff801b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="839368350"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7222-51775715"/> + </telecom> + <telecom> + <system value="email"/> + <value value="josie.malkus@jaros.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Pfarrer-Jekel-Str. 47a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="47a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pfarrer-Jekel-Str."/> + </extension> + </line> + <city value="Klein Kimberlystadt"/> + <postalCode value="17592"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b02323d1-b2ea-4206-b792-befdf08de038"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="792402920"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_b0589d4c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.json new file mode 100644 index 00000000..1efb6131 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "fb2137c4-e633-487c-aa04-ea80e310b29b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c1767de9-d623-414a-970c-4b16227f5d5d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e731bb7b-4b76-449e-909d-7df29eaddd42" + }, + "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": "e731bb7b-4b76-449e-909d-7df29eaddd42", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "606ea985-84c4-4e6f-9de2-d1e6d10244ae", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f1e97ce6-c033-4171-bc41-da8b968fbb2d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b0589d4c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.xml new file mode 100644 index 00000000..a07a7696 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fb2137c4-e633-487c-aa04-ea80e310b29b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.695.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c1767de9-d623-414a-970c-4b16227f5d5d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e731bb7b-4b76-449e-909d-7df29eaddd42"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e731bb7b-4b76-449e-909d-7df29eaddd42"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="14659553"/> + </coding> + <text value="Abaamisäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="606ea985-84c4-4e6f-9de2-d1e6d10244ae"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="461121725"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0442) 721610987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jason.schaffarzik@auer.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Lötzener Str. 44b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="44b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lötzener Str."/> + </extension> + </line> + <city value="West Juandorf"/> + <postalCode value="54462"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f1e97ce6-c033-4171-bc41-da8b968fbb2d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="706769059"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/input.xml new file mode 100644 index 00000000..f4b5d26f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="b0ce4ff1-1a81-4fea-a4d6-a2d4f774e8bd"/> + <meta> + <lastUpdated value="2024-02-08T19:02:41.455+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.750.25"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:02:41.455+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/28755ed9-1cab-49f1-92a0-df59f742534d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="28755ed9-1cab-49f1-92a0-df59f742534d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/2e7d06ca-9c30-46d5-8f4d-ed2565ad4327"/> + </subject> + <date value="2024-02-08T19:02:41+01:00"/> + <author> + <reference value="Practitioner/7977636e-4164-4508-93ca-edc596e0876a"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/f7a24eaf-b7fe-4588-8939-2bd6059df89c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/455da02b-088e-4bd0-8c21-250f777f1287"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/a15a5474-c3c7-44d2-b66e-3e123e7c556d"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/aefc67b0-e72e-49a7-b9c3-efec9eedcb84"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="aefc67b0-e72e-49a7-b9c3-efec9eedcb84"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/2e7d06ca-9c30-46d5-8f4d-ed2565ad4327"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="2e7d06ca-9c30-46d5-8f4d-ed2565ad4327"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1960-09-11"/> + <address> + <type value="both"/> + <line value="Jägerstr. 844"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="844"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Jägerstr."/> + </extension> + </line> + <city value="Ost Sebastian"/> + <postalCode value="58868"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/f7a24eaf-b7fe-4588-8939-2bd6059df89c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f7a24eaf-b7fe-4588-8939-2bd6059df89c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="512348559"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-171-5912020"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johannes.baganz@ladewig.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Carstens-Ring 82"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="82"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Carstens-Ring"/> + </extension> + </line> + <city value="Abramovicstadt"/> + <postalCode value="17526"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/455da02b-088e-4bd0-8c21-250f777f1287"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="455da02b-088e-4bd0-8c21-250f777f1287"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="55"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/2c535b7f-c8fb-463a-8ea8-78b04f51341f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="105530126"/> + </identifier> + <display value="BKK Werra‐Meissner"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/7977636e-4164-4508-93ca-edc596e0876a"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7977636e-4164-4508-93ca-edc596e0876a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="051629877"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/a15a5474-c3c7-44d2-b66e-3e123e7c556d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a15a5474-c3c7-44d2-b66e-3e123e7c556d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/aefc67b0-e72e-49a7-b9c3-efec9eedcb84"/> + </medicationReference> + <subject> + <reference value="Patient/2e7d06ca-9c30-46d5-8f4d-ed2565ad4327"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/7977636e-4164-4508-93ca-edc596e0876a"/> + </requester> + <insurance> + <reference value="Coverage/455da02b-088e-4bd0-8c21-250f777f1287"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.json new file mode 100644 index 00000000..dbe1c3c7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "f9abbaf2-44bf-49e2-aa31-e74dc5d9a3b4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3ef1e166-b901-40b9-a98b-9075bebdbdf7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3efbf75d-0c14-47b2-a4db-620c7014fed8" + }, + "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": "3efbf75d-0c14-47b2-a4db-620c7014fed8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1c991952-eeba-4be2-a518-f0bf7655f144", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "052026c2-b0bb-4dee-b46a-f6150a7dae89", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b0ce4ff1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.xml new file mode 100644 index 00000000..20ddbac8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f9abbaf2-44bf-49e2-aa31-e74dc5d9a3b4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.750.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3ef1e166-b901-40b9-a98b-9075bebdbdf7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3efbf75d-0c14-47b2-a4db-620c7014fed8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3efbf75d-0c14-47b2-a4db-620c7014fed8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1c991952-eeba-4be2-a518-f0bf7655f144"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="512348559"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-171-5912020"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johannes.baganz@ladewig.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Carstens-Ring 82"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="82"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Carstens-Ring"/> + </extension> + </line> + <city value="Abramovicstadt"/> + <postalCode value="17526"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="052026c2-b0bb-4dee-b46a-f6150a7dae89"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="051629877"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 40b05546..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 7e03235f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b1146a3f-5b7b-4b0b-a6d8-32245ea54c14"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.754.13"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="16a36888-bf66-4324-8c6c-e9f1201f0250"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/433e2d4e-5f34-4e70-8dc1-99748c3290d1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="433e2d4e-5f34-4e70-8dc1-99748c3290d1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f5b1dc55-ce05-4466-9fc6-15570b9b5d2f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="469861049"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-868-7658755"/> - </telecom> - <telecom> - <system value="email"/> - <value value="milo.roggatz@kette.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Ilmstr. 86"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="86"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Ilmstr."/> - </extension> - </line> - <city value="Klein Jack"/> - <postalCode value="92689"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="52c526f8-7e8f-4fd4-ba9f-512feaa81364"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="793794444"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/input.xml new file mode 100644 index 00000000..f938fe39 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="35469770-91ff-4243-be92-4793ec42fe75"/> + <meta> + <lastUpdated value="2024-02-08T19:03:28.958+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.754.13"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:03:28.958+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/b42e377c-a3d5-4c8d-81ed-45e54bea1c2d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="b42e377c-a3d5-4c8d-81ed-45e54bea1c2d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/cb233a39-6063-4b43-ab3a-528014b09051"/> + </subject> + <date value="2024-02-08T19:03:28+01:00"/> + <author> + <reference value="Practitioner/f61eb898-d68c-4b10-9847-27fbdac9f716"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/39c25ee9-792c-4ab4-b78b-bea5d34c6d55"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/88451434-747f-49c1-bafe-b3147b0df1f7"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/890e4caa-0bff-47b0-9e09-e86ac39b10c2"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/f08c8016-26d3-4201-9212-b49cb346a0f7"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f08c8016-26d3-4201-9212-b49cb346a0f7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/cb233a39-6063-4b43-ab3a-528014b09051"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="cb233a39-6063-4b43-ab3a-528014b09051"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1963-04-06"/> + <address> + <type value="both"/> + <line value="Händelstr. 886"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="886"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Händelstr."/> + </extension> + </line> + <city value="Süd Jarnestadt"/> + <postalCode value="57898"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/39c25ee9-792c-4ab4-b78b-bea5d34c6d55"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="39c25ee9-792c-4ab4-b78b-bea5d34c6d55"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="469861049"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-868-7658755"/> + </telecom> + <telecom> + <system value="email"/> + <value value="milo.roggatz@kette.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Ilmstr. 86"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="86"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ilmstr."/> + </extension> + </line> + <city value="Klein Jack"/> + <postalCode value="92689"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/88451434-747f-49c1-bafe-b3147b0df1f7"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="88451434-747f-49c1-bafe-b3147b0df1f7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/717fe0aa-bada-4c15-9eab-1385fad69455"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="106432038"/> + </identifier> + <display value="BKK VITAL"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/f61eb898-d68c-4b10-9847-27fbdac9f716"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f61eb898-d68c-4b10-9847-27fbdac9f716"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="793794444"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/890e4caa-0bff-47b0-9e09-e86ac39b10c2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="890e4caa-0bff-47b0-9e09-e86ac39b10c2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/f08c8016-26d3-4201-9212-b49cb346a0f7"/> + </medicationReference> + <subject> + <reference value="Patient/cb233a39-6063-4b43-ab3a-528014b09051"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/f61eb898-d68c-4b10-9847-27fbdac9f716"/> + </requester> + <insurance> + <reference value="Coverage/88451434-747f-49c1-bafe-b3147b0df1f7"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/output.json new file mode 100644 index 00000000..8746d3a6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "06731d87-9a5c-4352-95a3-55bedb471586", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4f55eded-d7ba-43ed-aa5a-0a43ee167cc2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6c46bcbe-ed5f-49b8-8bd6-03b2bdad8b2e" + }, + "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": "6c46bcbe-ed5f-49b8-8bd6-03b2bdad8b2e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d4af20c5-8fb8-4d68-b2d9-83ccde6f282a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ba8e2f3b-3424-42c3-838f-3c06155caf44", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_35469770/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/output.xml new file mode 100644 index 00000000..f7124c78 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="06731d87-9a5c-4352-95a3-55bedb471586"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.754.13"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4f55eded-d7ba-43ed-aa5a-0a43ee167cc2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6c46bcbe-ed5f-49b8-8bd6-03b2bdad8b2e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6c46bcbe-ed5f-49b8-8bd6-03b2bdad8b2e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d4af20c5-8fb8-4d68-b2d9-83ccde6f282a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="469861049"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-868-7658755"/> + </telecom> + <telecom> + <system value="email"/> + <value value="milo.roggatz@kette.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Ilmstr. 86"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="86"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ilmstr."/> + </extension> + </line> + <city value="Klein Jack"/> + <postalCode value="92689"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ba8e2f3b-3424-42c3-838f-3c06155caf44"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="793794444"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/input.xml new file mode 100644 index 00000000..42595c77 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="b4bf1696-8e3a-4cab-b08f-f54bea6ec8e5"/> + <meta> + <lastUpdated value="2024-02-08T19:22:15.368+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.033.000.19"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:22:15.368+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/67937ba1-3517-4254-91e3-f712f8670939"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="67937ba1-3517-4254-91e3-f712f8670939"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/c50e881c-543c-4d40-94f8-fcbeca3e1209"/> + </subject> + <date value="2024-02-08T19:22:15+01:00"/> + <author> + <reference value="Practitioner/7098d491-104d-41b2-88ba-47c8b726742e"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/61f02908-fa5a-4a22-b260-38df7e66e35e"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/028ccaa2-1cc3-4b6b-a17d-d85e0ba3088c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/ea671a1a-0514-454c-8fe9-5c730c9faaca"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/d321be67-767a-49d6-9882-55b76f937acb"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d321be67-767a-49d6-9882-55b76f937acb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27677334"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/c50e881c-543c-4d40-94f8-fcbeca3e1209"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="c50e881c-543c-4d40-94f8-fcbeca3e1209"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1986-01-12"/> + <address> + <type value="both"/> + <line value="Am Blauen Berg 92a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="92a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Blauen Berg"/> + </extension> + </line> + <city value="Neu Titushagen"/> + <postalCode value="06076"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/61f02908-fa5a-4a22-b260-38df7e66e35e"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="61f02908-fa5a-4a22-b260-38df7e66e35e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="476736714"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0048) 622241522"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ismael.riethmüller@brauer.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Kanalstr. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kanalstr."/> + </extension> + </line> + <city value="Griemburg"/> + <postalCode value="85414"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/028ccaa2-1cc3-4b6b-a17d-d85e0ba3088c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="028ccaa2-1cc3-4b6b-a17d-d85e0ba3088c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="83"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/285bcd76-1bde-40bd-b99a-7bf9b923d768"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140379"/> + </identifier> + <display value="Münchener Verein Versicherungsgruppe"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/7098d491-104d-41b2-88ba-47c8b726742e"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7098d491-104d-41b2-88ba-47c8b726742e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="874457048"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/ea671a1a-0514-454c-8fe9-5c730c9faaca"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ea671a1a-0514-454c-8fe9-5c730c9faaca"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/d321be67-767a-49d6-9882-55b76f937acb"/> + </medicationReference> + <subject> + <reference value="Patient/c50e881c-543c-4d40-94f8-fcbeca3e1209"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/7098d491-104d-41b2-88ba-47c8b726742e"/> + </requester> + <insurance> + <reference value="Coverage/028ccaa2-1cc3-4b6b-a17d-d85e0ba3088c"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.json new file mode 100644 index 00000000..e193f7ea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "bcf581ea-2c8b-4724-a909-40f91f272566", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "23fd1e16-6e38-4818-bd1a-45bf39db36a5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c9765e71-02c1-4dbd-8f03-14e3ea2785d8" + }, + "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": "c9765e71-02c1-4dbd-8f03-14e3ea2785d8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f94ed027-b29c-4014-9c47-6c5701d3ea43", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f9945aff-d564-4956-8398-97ea0eca3f66", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b4bf1696/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.xml new file mode 100644 index 00000000..c4e9ba48 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bcf581ea-2c8b-4724-a909-40f91f272566"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.033.000.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="23fd1e16-6e38-4818-bd1a-45bf39db36a5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c9765e71-02c1-4dbd-8f03-14e3ea2785d8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c9765e71-02c1-4dbd-8f03-14e3ea2785d8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27677334"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f94ed027-b29c-4014-9c47-6c5701d3ea43"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="476736714"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0048) 622241522"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ismael.riethmüller@brauer.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Kanalstr. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kanalstr."/> + </extension> + </line> + <city value="Griemburg"/> + <postalCode value="85414"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f9945aff-d564-4956-8398-97ea0eca3f66"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="874457048"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/input.xml new file mode 100644 index 00000000..b3118433 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="bbc51505-a924-44d3-95a1-cdf3ea6e1e12"/> + <meta> + <lastUpdated value="2024-02-08T19:06:05.616+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.768.68"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:06:05.616+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/9417c9fb-f619-47ac-9e82-cf735c3baa33"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="9417c9fb-f619-47ac-9e82-cf735c3baa33"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/6e23aa41-b9a7-427a-bd9f-76b22ecc94f2"/> + </subject> + <date value="2024-02-08T19:06:05+01:00"/> + <author> + <reference value="Practitioner/d4a47344-8491-4e45-9e9d-d395b09e4842"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2bb20da5-9ec4-432e-b0ce-7364a3024719"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/b2a89e0d-9701-4ae4-918b-4e1ec67aa77c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/24df256b-4e04-46d7-8c5c-1d44bcf7cea8"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/69edbee6-3e1f-451f-b960-53a10c879038"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="69edbee6-3e1f-451f-b960-53a10c879038"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/6e23aa41-b9a7-427a-bd9f-76b22ecc94f2"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="6e23aa41-b9a7-427a-bd9f-76b22ecc94f2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1992-12-04"/> + <address> + <type value="both"/> + <line value="Alfred-Stock-Str. 6"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="6"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Alfred-Stock-Str."/> + </extension> + </line> + <city value="Lillyhagen"/> + <postalCode value="01823"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/2bb20da5-9ec4-432e-b0ce-7364a3024719"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2bb20da5-9ec4-432e-b0ce-7364a3024719"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="206219256"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0011) 867656050"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jolie.deckert@tepper.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Leichlinger Str. 86"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="86"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Leichlinger Str."/> + </extension> + </line> + <city value="Schön Magdalena"/> + <postalCode value="75443"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/b2a89e0d-9701-4ae4-918b-4e1ec67aa77c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="b2a89e0d-9701-4ae4-918b-4e1ec67aa77c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/0fa88aa5-ff0c-48c5-8072-f1fbc8b54de0"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="103725547"/> + </identifier> + <display value="BKK Herford Minden Ravensberg"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/d4a47344-8491-4e45-9e9d-d395b09e4842"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d4a47344-8491-4e45-9e9d-d395b09e4842"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="279711745"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/24df256b-4e04-46d7-8c5c-1d44bcf7cea8"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="24df256b-4e04-46d7-8c5c-1d44bcf7cea8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/69edbee6-3e1f-451f-b960-53a10c879038"/> + </medicationReference> + <subject> + <reference value="Patient/6e23aa41-b9a7-427a-bd9f-76b22ecc94f2"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/d4a47344-8491-4e45-9e9d-d395b09e4842"/> + </requester> + <insurance> + <reference value="Coverage/b2a89e0d-9701-4ae4-918b-4e1ec67aa77c"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.json new file mode 100644 index 00000000..1a584492 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ca66824c-46c1-4d20-b5f9-01bb2abf45d3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "72ab2fc7-d2ce-4d2e-9c82-f29bed946176", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/cc15e247-be5d-4e1f-9c92-bcc2316f41c8" + }, + "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": "cc15e247-be5d-4e1f-9c92-bcc2316f41c8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2d8bdff2-fed3-4107-a319-a1ef99ecbd14", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "831ceea4-6eed-4ee0-8f2a-157b1fc115e2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bbc51505/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.xml new file mode 100644 index 00000000..8b1f4fae --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ca66824c-46c1-4d20-b5f9-01bb2abf45d3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.768.68"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="72ab2fc7-d2ce-4d2e-9c82-f29bed946176"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/cc15e247-be5d-4e1f-9c92-bcc2316f41c8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cc15e247-be5d-4e1f-9c92-bcc2316f41c8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2d8bdff2-fed3-4107-a319-a1ef99ecbd14"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="206219256"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0011) 867656050"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jolie.deckert@tepper.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Leichlinger Str. 86"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="86"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Leichlinger Str."/> + </extension> + </line> + <city value="Schön Magdalena"/> + <postalCode value="75443"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="831ceea4-6eed-4ee0-8f2a-157b1fc115e2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="279711745"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index b4cf7737..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 661eebb7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bcba7c06-44a6-4eb8-a379-fc111fde58b7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.745.40"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6a0e635b-64ad-4969-93f5-fe994385582a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/8f62bfd7-b261-4a5f-863c-3f29b9fec76a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8f62bfd7-b261-4a5f-863c-3f29b9fec76a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="59478707-1d4f-42a6-a25d-e5feaac40f6b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="517599493"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-8307-82061900"/> - </telecom> - <telecom> - <system value="email"/> - <value value="ylvi.dauer@grossheim.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Schopenhauerstr. 11c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="11c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Schopenhauerstr."/> - </extension> - </line> - <city value="Groß Lucian"/> - <postalCode value="71897"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b4fab319-0f45-4804-b3dd-bf4a78907267"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="247511094"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_f731f36c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/output.json new file mode 100644 index 00000000..ceeb9e61 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "6bf2b0cc-e53c-4cab-9dab-0c73586dc1a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d539b525-fa7d-4e87-a60a-d1d9e5866fe6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f9be69b5-b358-4f68-a28e-4e176ed30e01" + }, + "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": "f9be69b5-b358-4f68-a28e-4e176ed30e01", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b330c878-e04c-4cdb-a069-2dc0e9e4795c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "02fc2fe9-4148-4f75-a949-c14174152500", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f731f36c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/output.xml new file mode 100644 index 00000000..b20d0af4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6bf2b0cc-e53c-4cab-9dab-0c73586dc1a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.745.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d539b525-fa7d-4e87-a60a-d1d9e5866fe6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f9be69b5-b358-4f68-a28e-4e176ed30e01"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f9be69b5-b358-4f68-a28e-4e176ed30e01"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b330c878-e04c-4cdb-a069-2dc0e9e4795c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="517599493"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8307-82061900"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ylvi.dauer@grossheim.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Schopenhauerstr. 11c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="11c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schopenhauerstr."/> + </extension> + </line> + <city value="Groß Lucian"/> + <postalCode value="71897"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="02fc2fe9-4148-4f75-a949-c14174152500"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="247511094"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/input.xml new file mode 100644 index 00000000..bfad4b45 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/input.xml @@ -0,0 +1,402 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="bddb1f9e-3ace-4e46-91aa-fde4ae9476a4"/> + <meta> + <lastUpdated value="2024-02-08T19:09:44.694+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.694.65"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:09:44.694+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/6d549094-f741-4b83-9a64-fdb53a7c072e"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6d549094-f741-4b83-9a64-fdb53a7c072e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/2d93cb84-911d-48ac-a7dd-ee088a73f6d5"/> + </subject> + <date value="2024-02-08T19:09:44+01:00"/> + <author> + <reference value="Practitioner/e9e8839f-7be8-4a38-b1f4-941e49cb79b0"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/70f1f9dd-901a-4504-bb23-a9ad5cead1a6"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/8e490d99-5eab-4829-bf40-8275cc1e5fbc"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/50ecbff4-026b-48fe-bf27-598301687b31"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/49bb3cc1-e2e6-45ca-857a-64a95ad2ac4d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="49bb3cc1-e2e6-45ca-857a-64a95ad2ac4d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09700354"/> + </coding> + <text value="Adavomilcain"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/2d93cb84-911d-48ac-a7dd-ee088a73f6d5"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="2d93cb84-911d-48ac-a7dd-ee088a73f6d5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="2004-07-31"/> + <address> + <type value="both"/> + <line value="Stettiner Str. 30c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="30c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Stettiner Str."/> + </extension> + </line> + <city value="Nadjaburg"/> + <postalCode value="83842"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/70f1f9dd-901a-4504-bb23-a9ad5cead1a6"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="70f1f9dd-901a-4504-bb23-a9ad5cead1a6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="209739478"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02711) 4600399"/> + </telecom> + <telecom> + <system value="email"/> + <value value="rené.uhrig@engel.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Heinrich-von-Kleist-Str. 75b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heinrich-von-Kleist-Str."/> + </extension> + </line> + <city value="Ehmbrunn"/> + <postalCode value="75097"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/8e490d99-5eab-4829-bf40-8275cc1e5fbc"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="8e490d99-5eab-4829-bf40-8275cc1e5fbc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="61"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ad52da10-2a59-4274-9797-a31fc71e899a"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108029306"/> + </identifier> + <display value="BKK advita"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/e9e8839f-7be8-4a38-b1f4-941e49cb79b0"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e9e8839f-7be8-4a38-b1f4-941e49cb79b0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="238658744"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/50ecbff4-026b-48fe-bf27-598301687b31"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="50ecbff4-026b-48fe-bf27-598301687b31"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:e554a5a0-47a2-42dd-8b34-a6dd1e84b8b7"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/49bb3cc1-e2e6-45ca-857a-64a95ad2ac4d"/> + </medicationReference> + <subject> + <reference value="Patient/2d93cb84-911d-48ac-a7dd-ee088a73f6d5"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/e9e8839f-7be8-4a38-b1f4-941e49cb79b0"/> + </requester> + <insurance> + <reference value="Coverage/8e490d99-5eab-4829-bf40-8275cc1e5fbc"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.json new file mode 100644 index 00000000..31742dbe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "760d3203-86c3-483d-a954-0e8aa5b44879", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c074bccc-ab21-4ab6-b0c8-a3b68b4d39ea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/1cfe6ede-ec32-44ef-a633-4f246973e9af" + }, + "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": "1cfe6ede-ec32-44ef-a633-4f246973e9af", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "63e076ab-44f9-4c58-893b-895ac72ca177", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6d9e5e76-2846-4159-97ba-257a197faee7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bddb1f9e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.xml new file mode 100644 index 00000000..6eab00d1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="760d3203-86c3-483d-a954-0e8aa5b44879"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.694.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c074bccc-ab21-4ab6-b0c8-a3b68b4d39ea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:e554a5a0-47a2-42dd-8b34-a6dd1e84b8b7"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1cfe6ede-ec32-44ef-a633-4f246973e9af"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1cfe6ede-ec32-44ef-a633-4f246973e9af"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09700354"/> + </coding> + <text value="Adavomilcain"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="63e076ab-44f9-4c58-893b-895ac72ca177"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="209739478"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02711) 4600399"/> + </telecom> + <telecom> + <system value="email"/> + <value value="rené.uhrig@engel.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Heinrich-von-Kleist-Str. 75b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heinrich-von-Kleist-Str."/> + </extension> + </line> + <city value="Ehmbrunn"/> + <postalCode value="75097"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6d9e5e76-2846-4159-97ba-257a197faee7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="238658744"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/input.xml new file mode 100644 index 00000000..928aa91e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/input.xml @@ -0,0 +1,403 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="bf973351-0c57-4bc1-baa8-d7c582195f15"/> + <meta> + <lastUpdated value="2024-02-08T19:10:22.207+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.783.23"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:10:22.207+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/60ad4b2b-0eff-49ae-9dc2-7d1a9b7bc4b2"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="60ad4b2b-0eff-49ae-9dc2-7d1a9b7bc4b2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="14"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/5c16270e-68ab-4102-924b-9f95c43684c7"/> + </subject> + <date value="2024-02-08T19:10:22+01:00"/> + <author> + <reference value="Practitioner/0e183ae2-45a8-47a6-9ce5-2ad73000ee85"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/179e2677-1eae-4562-845e-f4f63f402ccd"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/1e89c7b5-f2b8-487f-97bf-80feb610476c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/53d65237-cef0-4445-a3f6-b83d51266a97"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/49e39da1-cb64-4664-8867-41acc19dd7d6"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="49e39da1-cb64-4664-8867-41acc19dd7d6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64996244"/> + </coding> + <text value="Amoamiproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/5c16270e-68ab-4102-924b-9f95c43684c7"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="5c16270e-68ab-4102-924b-9f95c43684c7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1967-01-24"/> + <address> + <type value="both"/> + <line value="Lehner Mühle 52b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="52b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lehner Mühle"/> + </extension> + </line> + <city value="Klein Fiona"/> + <postalCode value="52806"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/179e2677-1eae-4562-845e-f4f63f402ccd"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="179e2677-1eae-4562-845e-f4f63f402ccd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614566446"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-1696-50296460"/> + </telecom> + <telecom> + <system value="email"/> + <value value="raphael.bieler@horna.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Jägerstr. 6"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="6"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Jägerstr."/> + </extension> + </line> + <city value="Neu Can"/> + <postalCode value="78332"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/1e89c7b5-f2b8-487f-97bf-80feb610476c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1e89c7b5-f2b8-487f-97bf-80feb610476c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/4d195251-5563-48a0-aeef-20ab174773f0"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="107832012"/> + </identifier> + <display value="BKK VerbundPlus"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/0e183ae2-45a8-47a6-9ce5-2ad73000ee85"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0e183ae2-45a8-47a6-9ce5-2ad73000ee85"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="811131577"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/53d65237-cef0-4445-a3f6-b83d51266a97"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53d65237-cef0-4445-a3f6-b83d51266a97"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-02-08"/> + <end value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:bd9c009f-514a-4ed2-a1ae-d895273794e2"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/49e39da1-cb64-4664-8867-41acc19dd7d6"/> + </medicationReference> + <subject> + <reference value="Patient/5c16270e-68ab-4102-924b-9f95c43684c7"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/0e183ae2-45a8-47a6-9ce5-2ad73000ee85"/> + </requester> + <insurance> + <reference value="Coverage/1e89c7b5-f2b8-487f-97bf-80feb610476c"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.json new file mode 100644 index 00000000..f43517ae --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "d28349dc-8341-4065-8ad7-24dcc3764e8f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e41913b0-5406-493f-ace2-c933b04b2124", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/6dfa2157-24b2-4d60-a350-2f2fb4adcd30" + }, + "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": "6dfa2157-24b2-4d60-a350-2f2fb4adcd30", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f8f752a9-3564-4969-9250-950cbdb48a68", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "542ac46f-ecae-4b14-9ee4-7c9f42dfe690", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bf973351/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.xml new file mode 100644 index 00000000..2c095616 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d28349dc-8341-4065-8ad7-24dcc3764e8f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.783.23"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e41913b0-5406-493f-ace2-c933b04b2124"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-02-08"/> + <end value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:bd9c009f-514a-4ed2-a1ae-d895273794e2"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6dfa2157-24b2-4d60-a350-2f2fb4adcd30"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6dfa2157-24b2-4d60-a350-2f2fb4adcd30"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64996244"/> + </coding> + <text value="Amoamiproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f8f752a9-3564-4969-9250-950cbdb48a68"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614566446"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-1696-50296460"/> + </telecom> + <telecom> + <system value="email"/> + <value value="raphael.bieler@horna.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Jägerstr. 6"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="6"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Jägerstr."/> + </extension> + </line> + <city value="Neu Can"/> + <postalCode value="78332"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="542ac46f-ecae-4b14-9ee4-7c9f42dfe690"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="811131577"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_bfd34b90/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.json new file mode 100644 index 00000000..024b176f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "66d8b5bf-24fc-4ca8-9624-e92d2ebf57c2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d6c2a47f-89b6-459e-b3b8-188fa1fd1623", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4228af4c-1683-4ab2-b6e7-90d51b5f1d96" + }, + "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": "4228af4c-1683-4ab2-b6e7-90d51b5f1d96", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3f3bc88d-96e1-49b4-803a-40ac26883915", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "34518ab5-3501-4e25-8e93-1fa6fb7642a1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bfd34b90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.xml new file mode 100644 index 00000000..7d384af3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="66d8b5bf-24fc-4ca8-9624-e92d2ebf57c2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.836.90"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d6c2a47f-89b6-459e-b3b8-188fa1fd1623"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4228af4c-1683-4ab2-b6e7-90d51b5f1d96"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4228af4c-1683-4ab2-b6e7-90d51b5f1d96"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3f3bc88d-96e1-49b4-803a-40ac26883915"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="483241394"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-585-8075726"/> + </telecom> + <telecom> + <system value="email"/> + <value value="batuhan.bartels@karsten.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Heimstättenweg 692"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="692"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heimstättenweg"/> + </extension> + </line> + <city value="Neu Malina"/> + <postalCode value="67550"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="34518ab5-3501-4e25-8e93-1fa6fb7642a1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="621509815"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 395e6c77..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 43f80d38..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c2ad19ce-176b-4a94-bd2f-c6f98bd8419f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.687.86"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e5f78797-2ccd-48e4-beed-a3d329539102"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/4923c468-267c-4f36-8335-2dc6474ea35f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4923c468-267c-4f36-8335-2dc6474ea35f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="60537835"/> - </coding> - <text value="Zytostatika"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2da9911f-f338-4288-a6a4-7f8660a5b5a3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="384514918"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(09898) 0577227"/> - </telecom> - <telecom> - <system value="email"/> - <value value="daniel.engelen@lewke.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Kneippstr. 9"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="9"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Kneippstr."/> - </extension> - </line> - <city value="Neu Ricardoheim"/> - <postalCode value="46562"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e3f0fe97-3653-4889-b654-eeb1808a5f2c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="417223439"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/input.xml new file mode 100644 index 00000000..cffaa178 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="1be382e5-6d0f-4ac2-8b55-0193d68afe97"/> + <meta> + <lastUpdated value="2024-02-08T19:07:30.537+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.687.86"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:07:30.537+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/467d5064-f053-4007-9182-4e07b4558c5f"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="467d5064-f053-4007-9182-4e07b4558c5f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/3c4a595c-4b7e-4656-9e3c-51f72e7966fe"/> + </subject> + <date value="2024-02-08T19:07:30+01:00"/> + <author> + <reference value="Practitioner/56153ecc-2e19-4b24-8911-2ce5d572b133"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/17a112d9-b27d-4c98-b8b6-62f8172ead9f"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/12446a1b-0c43-4aef-a02b-6ab59150d7c3"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/dfb4411c-1704-43cb-acc0-ba312c2fb5f7"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/f9adf34b-54b3-4136-8227-bbb52adb4a81"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f9adf34b-54b3-4136-8227-bbb52adb4a81"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60537835"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/3c4a595c-4b7e-4656-9e3c-51f72e7966fe"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="3c4a595c-4b7e-4656-9e3c-51f72e7966fe"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1993-06-01"/> + <address> + <type value="both"/> + <line value="Reusrather Str. 44a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="44a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Reusrather Str."/> + </extension> + </line> + <city value="Christinadorf"/> + <postalCode value="66304"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/17a112d9-b27d-4c98-b8b6-62f8172ead9f"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="17a112d9-b27d-4c98-b8b6-62f8172ead9f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="384514918"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09898) 0577227"/> + </telecom> + <telecom> + <system value="email"/> + <value value="daniel.engelen@lewke.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Kneippstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kneippstr."/> + </extension> + </line> + <city value="Neu Ricardoheim"/> + <postalCode value="46562"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/12446a1b-0c43-4aef-a02b-6ab59150d7c3"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="12446a1b-0c43-4aef-a02b-6ab59150d7c3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="61"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/c62e8e5a-88bd-465b-b0d7-fa99e4ff4c03"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104626903"/> + </identifier> + <display value="BKK BPW Bergische Achsen KG Wiehl"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/56153ecc-2e19-4b24-8911-2ce5d572b133"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="56153ecc-2e19-4b24-8911-2ce5d572b133"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="417223439"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/dfb4411c-1704-43cb-acc0-ba312c2fb5f7"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="dfb4411c-1704-43cb-acc0-ba312c2fb5f7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/f9adf34b-54b3-4136-8227-bbb52adb4a81"/> + </medicationReference> + <subject> + <reference value="Patient/3c4a595c-4b7e-4656-9e3c-51f72e7966fe"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/56153ecc-2e19-4b24-8911-2ce5d572b133"/> + </requester> + <insurance> + <reference value="Coverage/12446a1b-0c43-4aef-a02b-6ab59150d7c3"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/output.json new file mode 100644 index 00000000..cc5564d9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "c1b62bdf-857b-4a27-b8f4-a4766d348701", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1b83c38c-71de-48e5-92cf-7b1d03683c1f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9f0aa787-4f0c-41f7-bf19-03e9a7c1ee01" + }, + "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": "9f0aa787-4f0c-41f7-bf19-03e9a7c1ee01", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6cfa6c31-2773-4084-be0a-b3e188eaaac3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "41feaf77-e4d9-4d07-b81a-8364bd476e16", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_1be382e5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/output.xml new file mode 100644 index 00000000..22a148c5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c1b62bdf-857b-4a27-b8f4-a4766d348701"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.687.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1b83c38c-71de-48e5-92cf-7b1d03683c1f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9f0aa787-4f0c-41f7-bf19-03e9a7c1ee01"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9f0aa787-4f0c-41f7-bf19-03e9a7c1ee01"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60537835"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6cfa6c31-2773-4084-be0a-b3e188eaaac3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="384514918"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09898) 0577227"/> + </telecom> + <telecom> + <system value="email"/> + <value value="daniel.engelen@lewke.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Kneippstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kneippstr."/> + </extension> + </line> + <city value="Neu Ricardoheim"/> + <postalCode value="46562"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="41feaf77-e4d9-4d07-b81a-8364bd476e16"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="417223439"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 21b647b4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index b48dc83d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c3479bd3-ba4f-4cd3-8078-d9c265ac1e61"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.742.49"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8e3f324d-5b48-474f-a96b-e39f69f37449"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/5b71dbdc-9f9b-49bb-bb45-c19252142d47"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5b71dbdc-9f9b-49bb-bb45-c19252142d47"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="37cef92f-8334-4616-bbd7-8f4dddcd9abf"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="739219832"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(02590) 1658207"/> - </telecom> - <telecom> - <system value="email"/> - <value value="kerim.lenk@roba.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Hallesche Str. 17b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="17b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Hallesche Str."/> - </extension> - </line> - <city value="Leanderfeld"/> - <postalCode value="59483"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f42afeae-8ecf-4c2a-9463-fb862edc4ef6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="610878599"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_cb7063e3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/output.json new file mode 100644 index 00000000..aedfa0a0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "90272d8f-d4e0-4587-8784-418c918c7064", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "da36fb24-d1e7-4f84-8829-437d7c871b07", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d1dd68e3-812a-43ee-9373-0bfca801c8b1" + }, + "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": "d1dd68e3-812a-43ee-9373-0bfca801c8b1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2f48863d-0925-4836-bdfd-1de56709b0fd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ffec1f0a-1157-435d-b317-92725162c2e7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cb7063e3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/output.xml new file mode 100644 index 00000000..94b5de59 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="90272d8f-d4e0-4587-8784-418c918c7064"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.742.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="da36fb24-d1e7-4f84-8829-437d7c871b07"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d1dd68e3-812a-43ee-9373-0bfca801c8b1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d1dd68e3-812a-43ee-9373-0bfca801c8b1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2f48863d-0925-4836-bdfd-1de56709b0fd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="739219832"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02590) 1658207"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kerim.lenk@roba.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Hallesche Str. 17b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hallesche Str."/> + </extension> + </line> + <city value="Leanderfeld"/> + <postalCode value="59483"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ffec1f0a-1157-435d-b317-92725162c2e7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="610878599"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index f6407a74..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/output.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "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 deleted file mode 100644 index ea39df4f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/output.xml +++ /dev/null @@ -1,236 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c60771b5-57fe-4f01-9f04-2efeb8c32856"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.781.29"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4b3de641-7044-4d47-9727-a27891d68b8c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-11-04"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:5cd52661-eea8-4da7-aca7-bc1ae61f5d0f"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/816d7904-e986-4da8-a034-79aac629a09e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="816d7904-e986-4da8-a034-79aac629a09e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16403786"/> - </coding> - <text value="Belglucofen"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="176817a9-caa3-4b9c-8932-d86c8478f7cf"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="478570881"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-8195-22746056"/> - </telecom> - <telecom> - <system value="email"/> - <value value="johann.morgenstern@albrecht.ch"/> - </telecom> - <address> - <type value="both"/> - <line value="Hütte 73a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="73a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Hütte"/> - </extension> - </line> - <city value="Neu Talealand"/> - <postalCode value="87121"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b79bb7f7-936c-4a54-b89d-93d71eb93e62"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="395405673"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/input.xml new file mode 100644 index 00000000..664812ba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/input.xml @@ -0,0 +1,402 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="2ddcab15-3b85-488e-b935-49fda20d353d"/> + <meta> + <lastUpdated value="2024-02-08T19:08:27.711+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.781.29"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:08:27.711+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/12659734-9b3e-4932-bd52-652ff6bc903a"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="12659734-9b3e-4932-bd52-652ff6bc903a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/01d2ff96-ecdc-4a36-976f-0a604b52f7c9"/> + </subject> + <date value="2024-02-08T19:08:27+01:00"/> + <author> + <reference value="Practitioner/bdc763ab-18c4-4e45-8745-1608171691f4"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/286b8fb0-1500-4038-82b9-25785e4a521d"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/b4f19b86-8aa4-415c-a614-53e7fc7c1ff6"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/f4b17ec9-a826-4050-90a1-971921caa9b1"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/5afd8ef0-d91a-445a-9c00-5277f1c57e62"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5afd8ef0-d91a-445a-9c00-5277f1c57e62"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16403786"/> + </coding> + <text value="Belglucofen"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/01d2ff96-ecdc-4a36-976f-0a604b52f7c9"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="01d2ff96-ecdc-4a36-976f-0a604b52f7c9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1990-02-27"/> + <address> + <type value="both"/> + <line value="Warnowstr. 17b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Warnowstr."/> + </extension> + </line> + <city value="Cecilebrunn"/> + <postalCode value="21240"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/286b8fb0-1500-4038-82b9-25785e4a521d"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="286b8fb0-1500-4038-82b9-25785e4a521d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="478570881"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8195-22746056"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johann.morgenstern@albrecht.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Hütte 73a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="73a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hütte"/> + </extension> + </line> + <city value="Neu Talealand"/> + <postalCode value="87121"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/b4f19b86-8aa4-415c-a614-53e7fc7c1ff6"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="b4f19b86-8aa4-415c-a614-53e7fc7c1ff6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="78"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/32997f49-99d6-46b1-9303-66f9d921f17b"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018007"/> + </identifier> + <display value="AOK Baden‐Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/bdc763ab-18c4-4e45-8745-1608171691f4"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bdc763ab-18c4-4e45-8745-1608171691f4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="395405673"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/f4b17ec9-a826-4050-90a1-971921caa9b1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f4b17ec9-a826-4050-90a1-971921caa9b1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:5cd52661-eea8-4da7-aca7-bc1ae61f5d0f"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5afd8ef0-d91a-445a-9c00-5277f1c57e62"/> + </medicationReference> + <subject> + <reference value="Patient/01d2ff96-ecdc-4a36-976f-0a604b52f7c9"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/bdc763ab-18c4-4e45-8745-1608171691f4"/> + </requester> + <insurance> + <reference value="Coverage/b4f19b86-8aa4-415c-a614-53e7fc7c1ff6"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/output.json new file mode 100644 index 00000000..e993b849 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "270f4611-825a-4e11-b121-0ea0d669a5f1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1fb0b03f-fd69-4f1e-b541-ca8616e96459", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/304af69c-da70-4d7d-a522-40bbea792ce0" + }, + "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": "304af69c-da70-4d7d-a522-40bbea792ce0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d802ae8e-fe38-4c26-85ac-b79c262d7ecf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1284b2ae-0c9f-42c9-8f3d-93b7f5881deb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_2ddcab15/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/output.xml new file mode 100644 index 00000000..e0fec05e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="270f4611-825a-4e11-b121-0ea0d669a5f1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.781.29"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1fb0b03f-fd69-4f1e-b541-ca8616e96459"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:5cd52661-eea8-4da7-aca7-bc1ae61f5d0f"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/304af69c-da70-4d7d-a522-40bbea792ce0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="304af69c-da70-4d7d-a522-40bbea792ce0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16403786"/> + </coding> + <text value="Belglucofen"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d802ae8e-fe38-4c26-85ac-b79c262d7ecf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="478570881"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8195-22746056"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johann.morgenstern@albrecht.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Hütte 73a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="73a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hütte"/> + </extension> + </line> + <city value="Neu Talealand"/> + <postalCode value="87121"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1284b2ae-0c9f-42c9-8f3d-93b7f5881deb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="395405673"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/input.xml new file mode 100644 index 00000000..436acecf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/input.xml @@ -0,0 +1,403 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c79c0fe3-008c-457e-a850-3ebcee3f0eb4"/> + <meta> + <lastUpdated value="2024-02-08T19:11:27.699+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.788.08"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:11:27.699+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/1731d2df-2079-4ebf-a14f-40537202b323"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1731d2df-2079-4ebf-a14f-40537202b323"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/8a11cc7f-1d1c-49e1-85b1-c256b80f604d"/> + </subject> + <date value="2024-02-08T19:11:27+01:00"/> + <author> + <reference value="Practitioner/29f4115f-8ea3-4811-90cc-4238bbcc9044"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/f7da1bab-c58e-4f03-98b2-4e389a506f0c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/d1f0a811-7121-4a3e-96e8-88a84924ebeb"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/9f6500cd-dd6d-404b-ac6d-7743ed6e6d50"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/7a994aab-1679-4a11-9969-9ec8b878f194"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7a994aab-1679-4a11-9969-9ec8b878f194"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="53825226"/> + </coding> + <text value="Acialian"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/8a11cc7f-1d1c-49e1-85b1-c256b80f604d"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="8a11cc7f-1d1c-49e1-85b1-c256b80f604d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="2000-11-09"/> + <address> + <type value="both"/> + <line value="Liebigstr. 205"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="205"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Liebigstr."/> + </extension> + </line> + <city value="Victoriaberg"/> + <postalCode value="91381"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/f7da1bab-c58e-4f03-98b2-4e389a506f0c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f7da1bab-c58e-4f03-98b2-4e389a506f0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="553151319"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0741) 498956760"/> + </telecom> + <telecom> + <system value="email"/> + <value value="edwin.mai@hommel.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Bornheimer Str. 39c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="39c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bornheimer Str."/> + </extension> + </line> + <city value="West Davinbrunn"/> + <postalCode value="97176"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/d1f0a811-7121-4a3e-96e8-88a84924ebeb"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="d1f0a811-7121-4a3e-96e8-88a84924ebeb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="20"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/8f4dc3c3-c35f-47d0-9c4e-4ecb174216bc"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="100609049"/> + </identifier> + <display value="LKK Mittel‐ und Ostdeutschland"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/29f4115f-8ea3-4811-90cc-4238bbcc9044"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="29f4115f-8ea3-4811-90cc-4238bbcc9044"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="556570801"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/9f6500cd-dd6d-404b-ac6d-7743ed6e6d50"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9f6500cd-dd6d-404b-ac6d-7743ed6e6d50"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-05-08"/> + <end value="2024-08-06"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:a415d54e-a4c5-4701-9388-6f47bd1f2ca8"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/7a994aab-1679-4a11-9969-9ec8b878f194"/> + </medicationReference> + <subject> + <reference value="Patient/8a11cc7f-1d1c-49e1-85b1-c256b80f604d"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/29f4115f-8ea3-4811-90cc-4238bbcc9044"/> + </requester> + <insurance> + <reference value="Coverage/d1f0a811-7121-4a3e-96e8-88a84924ebeb"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.json new file mode 100644 index 00000000..d72686b7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "281d77d7-ea28-4e0d-b022-ab6df4e0d4ae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "77c3346b-50a0-4f23-b34b-5ed5913266d0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/2a2878ca-ef18-41c8-99ac-221210f7d9a9" + }, + "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": "2a2878ca-ef18-41c8-99ac-221210f7d9a9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9b3182fd-4a81-407e-8f11-2fe865a0da59", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "48609715-6a5b-4307-a097-a057fc8bfff6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c79c0fe3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.xml new file mode 100644 index 00000000..25c9c517 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="281d77d7-ea28-4e0d-b022-ab6df4e0d4ae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.788.08"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="77c3346b-50a0-4f23-b34b-5ed5913266d0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-05-08"/> + <end value="2024-08-06"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:a415d54e-a4c5-4701-9388-6f47bd1f2ca8"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2a2878ca-ef18-41c8-99ac-221210f7d9a9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2a2878ca-ef18-41c8-99ac-221210f7d9a9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="53825226"/> + </coding> + <text value="Acialian"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9b3182fd-4a81-407e-8f11-2fe865a0da59"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="553151319"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0741) 498956760"/> + </telecom> + <telecom> + <system value="email"/> + <value value="edwin.mai@hommel.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Bornheimer Str. 39c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="39c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bornheimer Str."/> + </extension> + </line> + <city value="West Davinbrunn"/> + <postalCode value="97176"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="48609715-6a5b-4307-a097-a057fc8bfff6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="556570801"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/input.xml new file mode 100644 index 00000000..bd971c74 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c7ac3a7c-dfe1-4789-b273-cbb39820d1b9"/> + <meta> + <lastUpdated value="2024-02-08T19:20:52.097+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.556.77"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:20:52.097+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/5ea5d115-cc0d-4fc8-85d7-33ebde8586b4"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5ea5d115-cc0d-4fc8-85d7-33ebde8586b4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/cc493f73-2667-4f93-b6fe-00fb281c520e"/> + </subject> + <date value="2024-02-08T19:20:52+01:00"/> + <author> + <reference value="Practitioner/5c573e79-dcee-491e-80db-2d3b0c9faaef"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/1ef93fb3-d51b-4b9d-a08f-75d8ba39a8cc"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/bb1aef69-f832-4448-b75c-7d8e27415bea"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/4e4793aa-1d2a-4a78-9587-247a7f87fe3f"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/e83c5df3-bc8a-4c76-8608-99873d4d7300"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e83c5df3-bc8a-4c76-8608-99873d4d7300"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60453038"/> + </coding> + <text value="Becameat"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/cc493f73-2667-4f93-b6fe-00fb281c520e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="cc493f73-2667-4f93-b6fe-00fb281c520e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110488614"/> + </identifier> + <name> + <use value="official"/> + <family value="Hütter"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hütter"/> + </extension> + </family> + <given value="Leonie"/> + </name> + <birthDate value="2000-09-02"/> + <address> + <type value="both"/> + <line value="Rotdornweg 64"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="64"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Rotdornweg"/> + </extension> + </line> + <city value="Schön Zoé"/> + <postalCode value="72099"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/1ef93fb3-d51b-4b9d-a08f-75d8ba39a8cc"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1ef93fb3-d51b-4b9d-a08f-75d8ba39a8cc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="604808395"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0884) 756294235"/> + </telecom> + <telecom> + <system value="email"/> + <value value="elina.dilla@hansen.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Ahrstr. 27c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ahrstr."/> + </extension> + </line> + <city value="Baranscheid"/> + <postalCode value="59779"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/bb1aef69-f832-4448-b75c-7d8e27415bea"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="bb1aef69-f832-4448-b75c-7d8e27415bea"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="20"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/48460345-0e16-44f8-b00c-4e8b1dbd14b1"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="105330168"/> + </identifier> + <display value="Salus BKK ‐ Die Gutfühlversicherung"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/5c573e79-dcee-491e-80db-2d3b0c9faaef"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5c573e79-dcee-491e-80db-2d3b0c9faaef"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="177086960"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/4e4793aa-1d2a-4a78-9587-247a7f87fe3f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4e4793aa-1d2a-4a78-9587-247a7f87fe3f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/e83c5df3-bc8a-4c76-8608-99873d4d7300"/> + </medicationReference> + <subject> + <reference value="Patient/cc493f73-2667-4f93-b6fe-00fb281c520e"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/5c573e79-dcee-491e-80db-2d3b0c9faaef"/> + </requester> + <insurance> + <reference value="Coverage/bb1aef69-f832-4448-b75c-7d8e27415bea"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.json new file mode 100644 index 00000000..dd4a61fa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ec7bd373-dcb4-47bd-b7bb-62e47814eb8c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fb302ac0-229f-455d-8acd-5aad22276fc9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9cc15c90-3f1d-48e7-b08b-0009fdb7afe8" + }, + "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": "9cc15c90-3f1d-48e7-b08b-0009fdb7afe8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "189b0f24-a7eb-4429-928e-ba9346554943", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "09a1c788-75fc-41ee-af4c-6891094af8e2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c7ac3a7c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.xml new file mode 100644 index 00000000..e8fb8559 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ec7bd373-dcb4-47bd-b7bb-62e47814eb8c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.556.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fb302ac0-229f-455d-8acd-5aad22276fc9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9cc15c90-3f1d-48e7-b08b-0009fdb7afe8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9cc15c90-3f1d-48e7-b08b-0009fdb7afe8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60453038"/> + </coding> + <text value="Becameat"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="189b0f24-a7eb-4429-928e-ba9346554943"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="604808395"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0884) 756294235"/> + </telecom> + <telecom> + <system value="email"/> + <value value="elina.dilla@hansen.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Ahrstr. 27c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ahrstr."/> + </extension> + </line> + <city value="Baranscheid"/> + <postalCode value="59779"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="09a1c788-75fc-41ee-af4c-6891094af8e2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="177086960"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/input.xml new file mode 100644 index 00000000..67130e40 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c88ccdf7-6d35-4beb-af61-0fbb71fd2cd2"/> + <meta> + <lastUpdated value="2024-02-08T19:02:25.907+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.748.31"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:02:25.907+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/15104c2a-ebd5-46b2-9f10-436ebc5e24c4"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="15104c2a-ebd5-46b2-9f10-436ebc5e24c4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/7e53ccab-d571-48ac-a4b6-a2db50275fbc"/> + </subject> + <date value="2024-02-08T19:02:25+01:00"/> + <author> + <reference value="Practitioner/f955f5f9-9715-4889-95b6-3173f69e51f3"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/14784295-5b53-4857-8384-5405abf4fd1c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/80a64522-1f22-4cf2-932d-1ff7e0d50e55"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/85b5cb40-d059-4a99-9cfb-4be1abaec335"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/e191c101-a57e-4998-8640-ebf8e45d1294"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e191c101-a57e-4998-8640-ebf8e45d1294"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/7e53ccab-d571-48ac-a4b6-a2db50275fbc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="7e53ccab-d571-48ac-a4b6-a2db50275fbc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1999-06-05"/> + <address> + <type value="both"/> + <line value="Dhünnstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dhünnstr."/> + </extension> + </line> + <city value="Liaberg"/> + <postalCode value="99069"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/14784295-5b53-4857-8384-5405abf4fd1c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="14784295-5b53-4857-8384-5405abf4fd1c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="384664925"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3412-28869735"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sinan.pietsch@rau.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Weiherstr. 07c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="07c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weiherstr."/> + </extension> + </line> + <city value="Klein Calvinburg"/> + <postalCode value="92983"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/80a64522-1f22-4cf2-932d-1ff7e0d50e55"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="80a64522-1f22-4cf2-932d-1ff7e0d50e55"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="49"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/0cab25c9-d9d0-4078-81a5-00a075fca02d"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108433099"/> + </identifier> + <display value="BKK Schwesternschaft vom BRK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/f955f5f9-9715-4889-95b6-3173f69e51f3"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f955f5f9-9715-4889-95b6-3173f69e51f3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="757953135"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/85b5cb40-d059-4a99-9cfb-4be1abaec335"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="85b5cb40-d059-4a99-9cfb-4be1abaec335"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/e191c101-a57e-4998-8640-ebf8e45d1294"/> + </medicationReference> + <subject> + <reference value="Patient/7e53ccab-d571-48ac-a4b6-a2db50275fbc"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/f955f5f9-9715-4889-95b6-3173f69e51f3"/> + </requester> + <insurance> + <reference value="Coverage/80a64522-1f22-4cf2-932d-1ff7e0d50e55"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.json new file mode 100644 index 00000000..0474e4e9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ea1b1f5a-be2b-4061-8dcd-f46f9ff74f43", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "adfb2864-78b8-492c-8554-06e2df3e7378", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/95cdcea7-d9e8-421d-9e80-e8efd021e08d" + }, + "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": "95cdcea7-d9e8-421d-9e80-e8efd021e08d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "16c2b529-5eba-48a2-88d9-9e12fb5054b7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6f2f0038-c389-4263-8d95-b511642ec7a0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c88ccdf7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.xml new file mode 100644 index 00000000..e5d24ae0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ea1b1f5a-be2b-4061-8dcd-f46f9ff74f43"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.748.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="adfb2864-78b8-492c-8554-06e2df3e7378"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/95cdcea7-d9e8-421d-9e80-e8efd021e08d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="95cdcea7-d9e8-421d-9e80-e8efd021e08d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="16c2b529-5eba-48a2-88d9-9e12fb5054b7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="384664925"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3412-28869735"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sinan.pietsch@rau.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Weiherstr. 07c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="07c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weiherstr."/> + </extension> + </line> + <city value="Klein Calvinburg"/> + <postalCode value="92983"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6f2f0038-c389-4263-8d95-b511642ec7a0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="757953135"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 8b46a62d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index b27f128b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="cae47569-4117-4e68-9add-e6a9bb3c52fd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.769.65"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="44d15e0d-18b6-4063-aad4-9e53e390f832"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/c3da57aa-2367-4f55-b668-eeb78ba0fff8"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c3da57aa-2367-4f55-b668-eeb78ba0fff8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="baf19225-f82c-40a3-90ff-c367bc6352ea"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="555846595"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0267) 478020260"/> - </telecom> - <telecom> - <system value="email"/> - <value value="emre.bauschinger@kette.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Ulrichstr. 29c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="29c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Ulrichstr."/> - </extension> - </line> - <city value="Klein Lilli"/> - <postalCode value="13664"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ea70ab82-2cc4-4c4f-b2c1-6e4a2ef204cc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="776481826"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/input.xml new file mode 100644 index 00000000..ad4e4bfe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ad686294-da57-47e1-b95d-5093fbc7591e"/> + <meta> + <lastUpdated value="2024-02-08T19:06:13.201+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.769.65"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:06:13.201+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/61965d3c-1346-4295-9745-d80977d48100"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="61965d3c-1346-4295-9745-d80977d48100"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/e6bc9b2f-6835-41f2-b5fb-af854d51e2ad"/> + </subject> + <date value="2024-02-08T19:06:13+01:00"/> + <author> + <reference value="Practitioner/473c22fb-cb05-4345-a765-8dbacd6095aa"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/6681c9dd-7b4c-4731-a07f-202f3deb86c1"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/6add1b2a-08cb-433c-9435-658367e5e9e4"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/541babee-78ea-4c4c-8401-c675a1404fb2"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/0df78f1b-8930-4f2f-8c92-3a8659f694ff"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0df78f1b-8930-4f2f-8c92-3a8659f694ff"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/e6bc9b2f-6835-41f2-b5fb-af854d51e2ad"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="e6bc9b2f-6835-41f2-b5fb-af854d51e2ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1982-05-31"/> + <address> + <type value="both"/> + <line value="Auf'm Berg 87a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="87a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf'm Berg"/> + </extension> + </line> + <city value="Ost Lionelburg"/> + <postalCode value="84318"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/6681c9dd-7b4c-4731-a07f-202f3deb86c1"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6681c9dd-7b4c-4731-a07f-202f3deb86c1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="555846595"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0267) 478020260"/> + </telecom> + <telecom> + <system value="email"/> + <value value="emre.bauschinger@kette.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Ulrichstr. 29c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ulrichstr."/> + </extension> + </line> + <city value="Klein Lilli"/> + <postalCode value="13664"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/6add1b2a-08cb-433c-9435-658367e5e9e4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="6add1b2a-08cb-433c-9435-658367e5e9e4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="20"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/6e33d0fd-3c21-4148-9c82-65449a5a3146"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="103524101"/> + </identifier> + <display value="BKK BJB"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/473c22fb-cb05-4345-a765-8dbacd6095aa"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="473c22fb-cb05-4345-a765-8dbacd6095aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="776481826"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/541babee-78ea-4c4c-8401-c675a1404fb2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="541babee-78ea-4c4c-8401-c675a1404fb2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/0df78f1b-8930-4f2f-8c92-3a8659f694ff"/> + </medicationReference> + <subject> + <reference value="Patient/e6bc9b2f-6835-41f2-b5fb-af854d51e2ad"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/473c22fb-cb05-4345-a765-8dbacd6095aa"/> + </requester> + <insurance> + <reference value="Coverage/6add1b2a-08cb-433c-9435-658367e5e9e4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/output.json new file mode 100644 index 00000000..b12b3543 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "e22d78b5-13d6-4505-9a05-61239447f196", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6aee9cbe-d5d4-4641-b83a-a1fa9afe1da9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1a1bef6b-2d44-432e-a98e-9a059aca29b8" + }, + "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": "1a1bef6b-2d44-432e-a98e-9a059aca29b8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6a74a8e7-4534-4e3b-b278-bff3e61e3fe3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "bd7b3f0c-1730-4779-af5d-74d84205a5f7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ad686294/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/output.xml new file mode 100644 index 00000000..5d10c6ae --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e22d78b5-13d6-4505-9a05-61239447f196"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.769.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6aee9cbe-d5d4-4641-b83a-a1fa9afe1da9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1a1bef6b-2d44-432e-a98e-9a059aca29b8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1a1bef6b-2d44-432e-a98e-9a059aca29b8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6a74a8e7-4534-4e3b-b278-bff3e61e3fe3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="555846595"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0267) 478020260"/> + </telecom> + <telecom> + <system value="email"/> + <value value="emre.bauschinger@kette.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Ulrichstr. 29c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ulrichstr."/> + </extension> + </line> + <city value="Klein Lilli"/> + <postalCode value="13664"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bd7b3f0c-1730-4779-af5d-74d84205a5f7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="776481826"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/input.xml new file mode 100644 index 00000000..675ff122 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="cb7063e3-a77f-4a77-8adc-fd72d411e9c8"/> + <meta> + <lastUpdated value="2024-02-08T19:01:11.472+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.742.49"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:01:11.472+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/d64b245f-1fc3-4afd-b3ca-1bd05404b4dd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d64b245f-1fc3-4afd-b3ca-1bd05404b4dd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/35432718-78f1-42c2-b4a9-e4df4b9f669b"/> + </subject> + <date value="2024-02-08T19:01:11+01:00"/> + <author> + <reference value="Practitioner/b74c6cee-3a64-4c55-aaa4-bc90f1be1d97"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d922c186-df05-4754-8d65-77b9a3235617"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/5b1c5dff-53f8-4564-946d-9920a8d70581"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/d44af484-32b7-4d34-99b4-457b3069c606"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/b8b6f343-e196-4bf1-87e4-482535ff8f0e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b8b6f343-e196-4bf1-87e4-482535ff8f0e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/35432718-78f1-42c2-b4a9-e4df4b9f669b"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="35432718-78f1-42c2-b4a9-e4df4b9f669b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1965-07-21"/> + <address> + <type value="both"/> + <line value="Bertha-von-Suttner-Str. 27b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bertha-von-Suttner-Str."/> + </extension> + </line> + <city value="Reppinland"/> + <postalCode value="87321"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/d922c186-df05-4754-8d65-77b9a3235617"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d922c186-df05-4754-8d65-77b9a3235617"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="739219832"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02590) 1658207"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kerim.lenk@roba.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Hallesche Str. 17b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hallesche Str."/> + </extension> + </line> + <city value="Leanderfeld"/> + <postalCode value="59483"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/5b1c5dff-53f8-4564-946d-9920a8d70581"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="5b1c5dff-53f8-4564-946d-9920a8d70581"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="73"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/a8b2b87b-4392-4690-9bac-49657c515ecf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="106329225"/> + </identifier> + <display value="Debeka BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/b74c6cee-3a64-4c55-aaa4-bc90f1be1d97"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b74c6cee-3a64-4c55-aaa4-bc90f1be1d97"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="610878599"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/d44af484-32b7-4d34-99b4-457b3069c606"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d44af484-32b7-4d34-99b4-457b3069c606"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b8b6f343-e196-4bf1-87e4-482535ff8f0e"/> + </medicationReference> + <subject> + <reference value="Patient/35432718-78f1-42c2-b4a9-e4df4b9f669b"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/b74c6cee-3a64-4c55-aaa4-bc90f1be1d97"/> + </requester> + <insurance> + <reference value="Coverage/5b1c5dff-53f8-4564-946d-9920a8d70581"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.json new file mode 100644 index 00000000..434b0439 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "0e9e58b4-77b6-4bc9-bfa2-9ef1293e91bb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e7beae61-f650-47d9-840b-94659f9a7432", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/10539d53-05cc-4ace-9c3a-4da3a98482b2" + }, + "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": "10539d53-05cc-4ace-9c3a-4da3a98482b2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b23d5fac-1b5c-4725-bde7-feba6ec28ee4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "da5de964-b440-4605-8bd7-f8485eda732d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cb7063e3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.xml new file mode 100644 index 00000000..c55c1851 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0e9e58b4-77b6-4bc9-bfa2-9ef1293e91bb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.742.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e7beae61-f650-47d9-840b-94659f9a7432"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/10539d53-05cc-4ace-9c3a-4da3a98482b2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="10539d53-05cc-4ace-9c3a-4da3a98482b2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b23d5fac-1b5c-4725-bde7-feba6ec28ee4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="739219832"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02590) 1658207"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kerim.lenk@roba.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Hallesche Str. 17b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hallesche Str."/> + </extension> + </line> + <city value="Leanderfeld"/> + <postalCode value="59483"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="da5de964-b440-4605-8bd7-f8485eda732d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="610878599"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 5dee9ba7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 533e101c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="cb78899c-8deb-48e4-b603-3375b8e76433"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.474.836.90"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-13"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a4ff1615-29ad-4478-b76a-384f35b4eec9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/02b1cf42-eb71-4b4d-8211-677e920002a3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-13"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="02b1cf42-eb71-4b4d-8211-677e920002a3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="013f4260-3581-4013-92ab-55559a8b5299"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="483241394"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-585-8075726"/> - </telecom> - <telecom> - <system value="email"/> - <value value="batuhan.bartels@karsten.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Heimstättenweg 692"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="692"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Heimstättenweg"/> - </extension> - </line> - <city value="Neu Malina"/> - <postalCode value="67550"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5a6e6e28-6131-4aad-93ea-a34104d8e51f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="621509815"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/input.xml new file mode 100644 index 00000000..96227a47 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="bfd34b90-c3fa-450e-9b91-4c6156e8d74d"/> + <meta> + <lastUpdated value="2024-02-13T11:23:52.280+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.836.90"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-13T11:23:52.280+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/ebd6518e-a8f0-4067-9931-5e29498e9c40"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ebd6518e-a8f0-4067-9931-5e29498e9c40"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/047873e5-96d4-4106-9f99-72b65dbf76e4"/> + </subject> + <date value="2024-02-13T11:23:52+01:00"/> + <author> + <reference value="Practitioner/17d08f73-042f-4600-8b01-0992849962b6"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/f4255b6c-e2e0-4f18-b62e-6a51ade495bb"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/d5e7df92-fdd5-4c2d-bae6-47f42ccc45a0"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/fdc1cbac-1f92-4765-abb4-0d5b9f794c97"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/d1b3efd6-6840-4520-af6a-aab87abd368f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d1b3efd6-6840-4520-af6a-aab87abd368f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/047873e5-96d4-4106-9f99-72b65dbf76e4"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="047873e5-96d4-4106-9f99-72b65dbf76e4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + <name> + <use value="official"/> + <family value="Gondern"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Gondern"/> + </extension> + </family> + <given value="Aenna"/> + </name> + <birthDate value="1972-07-01"/> + <address> + <type value="both"/> + <line value="Schmalenbruch 99b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="99b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schmalenbruch"/> + </extension> + </line> + <city value="West Cedrikbrunn"/> + <postalCode value="35630"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/f4255b6c-e2e0-4f18-b62e-6a51ade495bb"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f4255b6c-e2e0-4f18-b62e-6a51ade495bb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="483241394"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-585-8075726"/> + </telecom> + <telecom> + <system value="email"/> + <value value="batuhan.bartels@karsten.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Heimstättenweg 692"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="692"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heimstättenweg"/> + </extension> + </line> + <city value="Neu Malina"/> + <postalCode value="67550"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/d5e7df92-fdd5-4c2d-bae6-47f42ccc45a0"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="d5e7df92-fdd5-4c2d-bae6-47f42ccc45a0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="02"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/6900ee86-c08f-4b5d-9e20-70da4e9cfdcc"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="100696012"/> + </identifier> + <display value="AOK Nordost ‐ Die Gesundheitskasse"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/17d08f73-042f-4600-8b01-0992849962b6"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="17d08f73-042f-4600-8b01-0992849962b6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="621509815"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/fdc1cbac-1f92-4765-abb4-0d5b9f794c97"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fdc1cbac-1f92-4765-abb4-0d5b9f794c97"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/d1b3efd6-6840-4520-af6a-aab87abd368f"/> + </medicationReference> + <subject> + <reference value="Patient/047873e5-96d4-4106-9f99-72b65dbf76e4"/> + </subject> + <authoredOn value="2024-02-13"/> + <requester> + <reference value="Practitioner/17d08f73-042f-4600-8b01-0992849962b6"/> + </requester> + <insurance> + <reference value="Coverage/d5e7df92-fdd5-4c2d-bae6-47f42ccc45a0"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/output.json new file mode 100644 index 00000000..15c4e983 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "2ff9c556-88f8-4c66-8c06-4d9381c5f347", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "565bd3ad-3c1c-4e0c-b901-ef203942c0db", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f50f28b5-3df1-42e2-8baf-3c2b758f8fb5" + }, + "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": "f50f28b5-3df1-42e2-8baf-3c2b758f8fb5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f6c0674b-c45e-47b5-8473-3e0e623fd17b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c1b0584f-1a2d-4bda-8dbf-e2160448cca9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bfd34b90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/output.xml new file mode 100644 index 00000000..6cfe3379 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2ff9c556-88f8-4c66-8c06-4d9381c5f347"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.836.90"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="565bd3ad-3c1c-4e0c-b901-ef203942c0db"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f50f28b5-3df1-42e2-8baf-3c2b758f8fb5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f50f28b5-3df1-42e2-8baf-3c2b758f8fb5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f6c0674b-c45e-47b5-8473-3e0e623fd17b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="483241394"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-585-8075726"/> + </telecom> + <telecom> + <system value="email"/> + <value value="batuhan.bartels@karsten.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Heimstättenweg 692"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="692"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heimstättenweg"/> + </extension> + </line> + <city value="Neu Malina"/> + <postalCode value="67550"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c1b0584f-1a2d-4bda-8dbf-e2160448cca9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="621509815"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index f9837b66..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index f377559d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="cc2415eb-63f4-46bb-8706-adba8717be17"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.757.04"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="543abae0-1f76-4169-acb2-499bb938c92f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/4a54cd38-e331-4a5c-84fb-b89651817c6e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4a54cd38-e331-4a5c-84fb-b89651817c6e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2f0b6987-2996-4028-9ef8-84c523d69888"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="711619336"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(02416) 4196742"/> - </telecom> - <telecom> - <system value="email"/> - <value value="meike.wassiluk@bogdashin.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Dünenweg 81b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="81b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Dünenweg"/> - </extension> - </line> - <city value="Groß Daria"/> - <postalCode value="56205"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="872ab1b3-1080-4a11-880e-3511ab60c1be"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="611647025"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/input.xml new file mode 100644 index 00000000..e46fb632 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9645a6a3-6016-4b9e-bf29-c8faa8fc8750"/> + <meta> + <lastUpdated value="2024-02-08T19:03:47.398+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.757.04"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:03:47.398+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/46d6e641-fb91-4cbe-bd37-bb0f7819eec6"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="46d6e641-fb91-4cbe-bd37-bb0f7819eec6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/4b585812-dad9-4f66-b576-2d7fbc570dd0"/> + </subject> + <date value="2024-02-08T19:03:47+01:00"/> + <author> + <reference value="Practitioner/f58f8336-5270-4be2-a63e-89738d80e9d9"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/e9663715-b4dd-425c-a42e-d821c9ea22bb"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/c67706dd-024e-44bb-9b0a-bc7dae5eb045"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/4a39de55-372f-46fa-8a91-b060c7abedfa"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/61fbee44-f40d-4d40-a5a1-d7f50ef7bade"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="61fbee44-f40d-4d40-a5a1-d7f50ef7bade"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/4b585812-dad9-4f66-b576-2d7fbc570dd0"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="4b585812-dad9-4f66-b576-2d7fbc570dd0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1969-12-05"/> + <address> + <type value="both"/> + <line value="Otto-Varnhagen-Str. 891"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="891"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Otto-Varnhagen-Str."/> + </extension> + </line> + <city value="Neu Medine"/> + <postalCode value="79016"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/e9663715-b4dd-425c-a42e-d821c9ea22bb"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e9663715-b4dd-425c-a42e-d821c9ea22bb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711619336"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02416) 4196742"/> + </telecom> + <telecom> + <system value="email"/> + <value value="meike.wassiluk@bogdashin.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Dünenweg 81b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="81b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dünenweg"/> + </extension> + </line> + <city value="Groß Daria"/> + <postalCode value="56205"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/c67706dd-024e-44bb-9b0a-bc7dae5eb045"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="c67706dd-024e-44bb-9b0a-bc7dae5eb045"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="55"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/52880a97-04f5-4bd7-ae7d-de3c694381a7"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101300129"/> + </identifier> + <display value="IKK Nord"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/f58f8336-5270-4be2-a63e-89738d80e9d9"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f58f8336-5270-4be2-a63e-89738d80e9d9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="611647025"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/4a39de55-372f-46fa-8a91-b060c7abedfa"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a39de55-372f-46fa-8a91-b060c7abedfa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/61fbee44-f40d-4d40-a5a1-d7f50ef7bade"/> + </medicationReference> + <subject> + <reference value="Patient/4b585812-dad9-4f66-b576-2d7fbc570dd0"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/f58f8336-5270-4be2-a63e-89738d80e9d9"/> + </requester> + <insurance> + <reference value="Coverage/c67706dd-024e-44bb-9b0a-bc7dae5eb045"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/output.json new file mode 100644 index 00000000..2ff13674 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "f5f54485-4e30-4555-9d38-c900aa6287f8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "42388488-a9e9-493c-a6e3-2067caad0ed1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/78d142fd-15da-456e-a2f4-cfee43e88a63" + }, + "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": "78d142fd-15da-456e-a2f4-cfee43e88a63", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e2655848-812c-4670-b1d2-922d9c705a77", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5998cca2-e4e2-4d10-9127-e90c1846ddce", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9645a6a3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/output.xml new file mode 100644 index 00000000..197c5d5d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f5f54485-4e30-4555-9d38-c900aa6287f8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.757.04"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="42388488-a9e9-493c-a6e3-2067caad0ed1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/78d142fd-15da-456e-a2f4-cfee43e88a63"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="78d142fd-15da-456e-a2f4-cfee43e88a63"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e2655848-812c-4670-b1d2-922d9c705a77"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711619336"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02416) 4196742"/> + </telecom> + <telecom> + <system value="email"/> + <value value="meike.wassiluk@bogdashin.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Dünenweg 81b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="81b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dünenweg"/> + </extension> + </line> + <city value="Groß Daria"/> + <postalCode value="56205"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5998cca2-e4e2-4d10-9127-e90c1846ddce"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="611647025"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index e5aa0082..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 6e1475e9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ce4b1eb6-b8cd-4432-8dee-ca1cc4d4d26d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.744.43"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="bcd3f725-4744-48d0-bdf5-2125d2f6c176"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/34299c93-3cc4-4979-b938-61ae25a1182b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="34299c93-3cc4-4979-b938-61ae25a1182b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="dced6b37-c903-4054-88a7-3817ac9a7665"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="883968316"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-074-9317125"/> - </telecom> - <telecom> - <system value="email"/> - <value value="amira.sauer@werrmann.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Karl-Wingchen-Str. 63"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="63"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Karl-Wingchen-Str."/> - </extension> - </line> - <city value="Nikescheid"/> - <postalCode value="34828"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="336da92f-3759-4830-8195-a25eaadd86bd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="225840686"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/input.xml new file mode 100644 index 00000000..e2105647 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ab9f6a4e-32f6-4247-95cd-5256807d105f"/> + <meta> + <lastUpdated value="2024-02-08T19:01:28.155+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.744.43"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:01:28.155+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/01e7b8ea-04ba-4c76-9fc2-e6a77cedeab8"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="01e7b8ea-04ba-4c76-9fc2-e6a77cedeab8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/df501cd5-bf8f-4d1b-a63f-a8feee02452f"/> + </subject> + <date value="2024-02-08T19:01:28+01:00"/> + <author> + <reference value="Practitioner/a1b5615b-4fcc-44b4-8be5-a2f33cb9de3a"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/3824d24f-29c7-4463-bcac-c7d7c0a41bd0"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/e018f4e3-c679-4e00-8290-5038b54cbd77"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/09ab3a8f-66d8-4949-8628-3e699a0c7c7d"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/c0320ef7-7b01-458b-b5ef-4f442e600010"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c0320ef7-7b01-458b-b5ef-4f442e600010"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/df501cd5-bf8f-4d1b-a63f-a8feee02452f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="df501cd5-bf8f-4d1b-a63f-a8feee02452f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1980-10-21"/> + <address> + <type value="both"/> + <line value="Zur Alten Brauerei 12"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="12"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Zur Alten Brauerei"/> + </extension> + </line> + <city value="Colleenscheid"/> + <postalCode value="59418"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/3824d24f-29c7-4463-bcac-c7d7c0a41bd0"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3824d24f-29c7-4463-bcac-c7d7c0a41bd0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="883968316"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-074-9317125"/> + </telecom> + <telecom> + <system value="email"/> + <value value="amira.sauer@werrmann.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Wingchen-Str. 63"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="63"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Wingchen-Str."/> + </extension> + </line> + <city value="Nikescheid"/> + <postalCode value="34828"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/e018f4e3-c679-4e00-8290-5038b54cbd77"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e018f4e3-c679-4e00-8290-5038b54cbd77"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="62"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/bf6bd310-cf4b-4ab0-9a83-d587779ad764"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108608820"/> + </identifier> + <display value="LKK Franken und Oberbayern"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/a1b5615b-4fcc-44b4-8be5-a2f33cb9de3a"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a1b5615b-4fcc-44b4-8be5-a2f33cb9de3a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="225840686"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/09ab3a8f-66d8-4949-8628-3e699a0c7c7d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="09ab3a8f-66d8-4949-8628-3e699a0c7c7d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/c0320ef7-7b01-458b-b5ef-4f442e600010"/> + </medicationReference> + <subject> + <reference value="Patient/df501cd5-bf8f-4d1b-a63f-a8feee02452f"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/a1b5615b-4fcc-44b4-8be5-a2f33cb9de3a"/> + </requester> + <insurance> + <reference value="Coverage/e018f4e3-c679-4e00-8290-5038b54cbd77"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/output.json new file mode 100644 index 00000000..aba5e218 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "dcfdc856-1f51-418c-a638-22934208dcce", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "576800e0-6a73-4e6d-9a08-7de13c4090e2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0fde9498-1102-4ecd-b0fd-031467fd7e99" + }, + "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": "0fde9498-1102-4ecd-b0fd-031467fd7e99", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "080907eb-0fbf-4b91-86ce-0d63e21052d9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "fff36a9c-9a14-40e5-afa9-d72f6c97be19", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ab9f6a4e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/output.xml new file mode 100644 index 00000000..48f4306e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dcfdc856-1f51-418c-a638-22934208dcce"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.744.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="576800e0-6a73-4e6d-9a08-7de13c4090e2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0fde9498-1102-4ecd-b0fd-031467fd7e99"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0fde9498-1102-4ecd-b0fd-031467fd7e99"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="080907eb-0fbf-4b91-86ce-0d63e21052d9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="883968316"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-074-9317125"/> + </telecom> + <telecom> + <system value="email"/> + <value value="amira.sauer@werrmann.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Wingchen-Str. 63"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="63"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Wingchen-Str."/> + </extension> + </line> + <city value="Nikescheid"/> + <postalCode value="34828"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="fff36a9c-9a14-40e5-afa9-d72f6c97be19"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="225840686"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 53876284..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 660dd23e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="cec6c127-2c0f-47f3-a77f-783aba60b4cc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.756.07"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="941406d0-8aca-4b57-84d3-ba536c234670"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/fad7be59-97dc-47b3-9b51-8b5b228b14a3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fad7be59-97dc-47b3-9b51-8b5b228b14a3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4e7e857b-da67-42ba-a225-86156ffad206"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="460007921"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-3117-51449999"/> - </telecom> - <telecom> - <system value="email"/> - <value value="meik.tonat@herrmann.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Windthorststr. 57a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="57a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Windthorststr."/> - </extension> - </line> - <city value="Pinnockland"/> - <postalCode value="14407"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5cd2b953-f5d4-4019-ace2-518b80b0c3a6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="699637007"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/input.xml new file mode 100644 index 00000000..035ea1ff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="16b1f573-efe2-4deb-acb8-9ad8cc0ec788"/> + <meta> + <lastUpdated value="2024-02-08T19:03:39.890+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.756.07"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:03:39.890+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/d4c521b6-3b07-4fb8-a211-a3536b8b9103"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d4c521b6-3b07-4fb8-a211-a3536b8b9103"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/69f21c35-06ff-42f6-82e0-62342a3f9782"/> + </subject> + <date value="2024-02-08T19:03:39+01:00"/> + <author> + <reference value="Practitioner/527c3dac-63ca-4574-ace8-92e24dc28da7"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/82aa23bf-a04d-4882-9219-fa9d7df50f31"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/5186d9df-c2da-4d83-89ef-5013d6a154fc"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/8723e2b4-976f-4dda-8a53-dcfd83558380"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/5a09919f-802b-43e9-b62a-329150214fa4"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5a09919f-802b-43e9-b62a-329150214fa4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/69f21c35-06ff-42f6-82e0-62342a3f9782"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="69f21c35-06ff-42f6-82e0-62342a3f9782"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="2005-04-23"/> + <address> + <type value="both"/> + <line value="Buschkämpchen 723"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="723"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Buschkämpchen"/> + </extension> + </line> + <city value="Neu Torben"/> + <postalCode value="14006"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/82aa23bf-a04d-4882-9219-fa9d7df50f31"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="82aa23bf-a04d-4882-9219-fa9d7df50f31"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="460007921"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3117-51449999"/> + </telecom> + <telecom> + <system value="email"/> + <value value="meik.tonat@herrmann.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Windthorststr. 57a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Windthorststr."/> + </extension> + </line> + <city value="Pinnockland"/> + <postalCode value="14407"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/5186d9df-c2da-4d83-89ef-5013d6a154fc"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="5186d9df-c2da-4d83-89ef-5013d6a154fc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="71"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/12c05f74-316f-4b80-8571-17ae2893e209"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104239915"/> + </identifier> + <display value="BKK ESSANELLE"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/527c3dac-63ca-4574-ace8-92e24dc28da7"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="527c3dac-63ca-4574-ace8-92e24dc28da7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="699637007"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/8723e2b4-976f-4dda-8a53-dcfd83558380"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8723e2b4-976f-4dda-8a53-dcfd83558380"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5a09919f-802b-43e9-b62a-329150214fa4"/> + </medicationReference> + <subject> + <reference value="Patient/69f21c35-06ff-42f6-82e0-62342a3f9782"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/527c3dac-63ca-4574-ace8-92e24dc28da7"/> + </requester> + <insurance> + <reference value="Coverage/5186d9df-c2da-4d83-89ef-5013d6a154fc"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/output.json new file mode 100644 index 00000000..f5012487 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "021c401f-8dab-41ab-b2bc-562022715bc2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f5153441-2d36-4e42-b4c9-c282574be872", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6838947c-94f7-4e54-8a9f-45c0d1c797ff" + }, + "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": "6838947c-94f7-4e54-8a9f-45c0d1c797ff", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "432769b0-938c-47d1-b675-58e0dee7702d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "bc79a521-8f52-4a3a-ba8d-2f47ce4063cc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_16b1f573/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/output.xml new file mode 100644 index 00000000..f5beaaaa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="021c401f-8dab-41ab-b2bc-562022715bc2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.756.07"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f5153441-2d36-4e42-b4c9-c282574be872"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6838947c-94f7-4e54-8a9f-45c0d1c797ff"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6838947c-94f7-4e54-8a9f-45c0d1c797ff"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="432769b0-938c-47d1-b675-58e0dee7702d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="460007921"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3117-51449999"/> + </telecom> + <telecom> + <system value="email"/> + <value value="meik.tonat@herrmann.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Windthorststr. 57a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Windthorststr."/> + </extension> + </line> + <city value="Pinnockland"/> + <postalCode value="14407"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc79a521-8f52-4a3a-ba8d-2f47ce4063cc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="699637007"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 0195647b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index f938deb7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d45686e2-0719-49cc-bac4-d72015f30b5f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.746.37"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1b7ea09a-1140-497e-8658-9e68b1fcbf74"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/7031697f-97c5-4183-b01b-3b74883e9760"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7031697f-97c5-4183-b01b-3b74883e9760"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="11feef0f-39a4-465a-a97e-e1fcc54dfa83"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="612914060"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0061) 349909615"/> - </telecom> - <telecom> - <system value="email"/> - <value value="ronja.boruschewski@assmus.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Elbestr. 917"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="917"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Elbestr."/> - </extension> - </line> - <city value="Güldemeisterheim"/> - <postalCode value="78118"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="cc6710ca-c383-458b-8e99-c6df3bb47260"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="935884750"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/input.xml new file mode 100644 index 00000000..399c2156 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="0fdadb04-6a96-4ed8-a247-d0e1e5bcfdee"/> + <meta> + <lastUpdated value="2024-02-08T19:02:07.984+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.746.37"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:02:07.984+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/4eb71d9a-30f6-4ed5-85f9-6c4b68e538a6"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4eb71d9a-30f6-4ed5-85f9-6c4b68e538a6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/de2d24bf-ccea-46c0-b8a6-5671eb73ba53"/> + </subject> + <date value="2024-02-08T19:02:07+01:00"/> + <author> + <reference value="Practitioner/7af567eb-d688-4dbd-8bd0-ab96d4e49a57"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/7468d413-ca95-4df2-93a9-84c158605438"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/53d98065-8e96-4754-bc32-82ac6407c199"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/022f13d5-1427-4eb8-b147-69f54f13a042"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/7780cfc5-16f8-4bf0-b281-a0fc84749ad3"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7780cfc5-16f8-4bf0-b281-a0fc84749ad3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/de2d24bf-ccea-46c0-b8a6-5671eb73ba53"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="de2d24bf-ccea-46c0-b8a6-5671eb73ba53"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1998-04-09"/> + <address> + <type value="both"/> + <line value="Am Klösterchen 47a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="47a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Klösterchen"/> + </extension> + </line> + <city value="Alt Sabrina"/> + <postalCode value="26591"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/7468d413-ca95-4df2-93a9-84c158605438"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7468d413-ca95-4df2-93a9-84c158605438"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="612914060"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0061) 349909615"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ronja.boruschewski@assmus.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Elbestr. 917"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="917"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Elbestr."/> + </extension> + </line> + <city value="Güldemeisterheim"/> + <postalCode value="78118"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/53d98065-8e96-4754-bc32-82ac6407c199"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="53d98065-8e96-4754-bc32-82ac6407c199"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="49"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/99c05261-ecbc-47a2-9cdf-59f35e706fa5"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="102137985"/> + </identifier> + <display value="TUI BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/7af567eb-d688-4dbd-8bd0-ab96d4e49a57"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7af567eb-d688-4dbd-8bd0-ab96d4e49a57"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="935884750"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/022f13d5-1427-4eb8-b147-69f54f13a042"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="022f13d5-1427-4eb8-b147-69f54f13a042"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/7780cfc5-16f8-4bf0-b281-a0fc84749ad3"/> + </medicationReference> + <subject> + <reference value="Patient/de2d24bf-ccea-46c0-b8a6-5671eb73ba53"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/7af567eb-d688-4dbd-8bd0-ab96d4e49a57"/> + </requester> + <insurance> + <reference value="Coverage/53d98065-8e96-4754-bc32-82ac6407c199"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/output.json new file mode 100644 index 00000000..a128e476 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "6058e2ff-e370-4729-a431-32f01e25c50d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9674f572-6104-43c4-9574-cc3e0e0ee047", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f692d5e6-6037-445e-8b61-545a2a3c1fb0" + }, + "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": "f692d5e6-6037-445e-8b61-545a2a3c1fb0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "97f13bc9-0eb0-4d18-ab48-05b3bda60321", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "02496663-6d5e-4695-8800-ed7d3cffd1b3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0fdadb04/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/output.xml new file mode 100644 index 00000000..ea68aee0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6058e2ff-e370-4729-a431-32f01e25c50d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.746.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9674f572-6104-43c4-9574-cc3e0e0ee047"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f692d5e6-6037-445e-8b61-545a2a3c1fb0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f692d5e6-6037-445e-8b61-545a2a3c1fb0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="97f13bc9-0eb0-4d18-ab48-05b3bda60321"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="612914060"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0061) 349909615"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ronja.boruschewski@assmus.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Elbestr. 917"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="917"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Elbestr."/> + </extension> + </line> + <city value="Güldemeisterheim"/> + <postalCode value="78118"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="02496663-6d5e-4695-8800-ed7d3cffd1b3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="935884750"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.json new file mode 100644 index 00000000..014757f5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "0d3989f3-9f8d-406c-a46b-28a2d4e5672d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "22adf865-18a2-4784-bd7a-4b5c9233c393", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2002c2df-1bc0-48e6-be5b-8f2ccd012951" + }, + "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": "2002c2df-1bc0-48e6-be5b-8f2ccd012951", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b773e18d-5561-4de3-8304-9132e88b2eea", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c50af900-3144-463e-af70-0070fbd00047", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dac55c3e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.xml new file mode 100644 index 00000000..b1371951 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0d3989f3-9f8d-406c-a46b-28a2d4e5672d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.770.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="22adf865-18a2-4784-bd7a-4b5c9233c393"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2002c2df-1bc0-48e6-be5b-8f2ccd012951"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2002c2df-1bc0-48e6-be5b-8f2ccd012951"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61252891"/> + </coding> + <text value="Gemvomilsäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b773e18d-5561-4de3-8304-9132e88b2eea"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614137063"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Arzt"/> + <telecom> + <system value="phone"/> + <value value="+49-073-0437663"/> + </telecom> + <telecom> + <system value="email"/> + <value value="teresa.roggatz@evers.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Burgweg 88"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Burgweg"/> + </extension> + </line> + <city value="Jonland"/> + <postalCode value="15501"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c50af900-3144-463e-af70-0070fbd00047"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="176464353"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Kein Arzt"/> + <family value="Arzt"/> + <given value="Kein"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 0ccf3394..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 1ae19d5f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="dbeccf45-2015-4eb1-9515-5a54cf12a485"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.762.86"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c10582b8-aa26-436c-a38b-b70995bc58ef"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/5d293216-fe09-44fc-a961-797a8c6ee681"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5d293216-fe09-44fc-a961-797a8c6ee681"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d2afb627-cac3-4aaa-bd82-478564e556ec"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="178681307"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(03855) 5059185"/> - </telecom> - <telecom> - <system value="email"/> - <value value="katrin.fenner@lack.ch"/> - </telecom> - <address> - <type value="both"/> - <line value="Zeppelinstr. 45"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="45"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Zeppelinstr."/> - </extension> - </line> - <city value="Neu Sebastiandorf"/> - <postalCode value="60499"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="bf7b6b10-ca17-4097-a317-7cfc2e55d6ff"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="743253968"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_e4a92e97/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/output.json new file mode 100644 index 00000000..d34f2caa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "7c04d625-2226-46c7-8d19-d87cdbef689c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "47a2e7d2-7ec1-4daf-98ad-d3839cc7fedf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ab076794-ff4d-4993-a0a5-1eac452ca74d" + }, + "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": "ab076794-ff4d-4993-a0a5-1eac452ca74d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e72b8e81-19b9-42c0-8ca9-121b8251e374", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "eb700621-c0e9-4db0-8dd9-a5ed885fe60c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e4a92e97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/output.xml new file mode 100644 index 00000000..23b1a7bc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7c04d625-2226-46c7-8d19-d87cdbef689c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.762.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="47a2e7d2-7ec1-4daf-98ad-d3839cc7fedf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ab076794-ff4d-4993-a0a5-1eac452ca74d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ab076794-ff4d-4993-a0a5-1eac452ca74d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e72b8e81-19b9-42c0-8ca9-121b8251e374"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="178681307"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(03855) 5059185"/> + </telecom> + <telecom> + <system value="email"/> + <value value="katrin.fenner@lack.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Zeppelinstr. 45"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="45"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Zeppelinstr."/> + </extension> + </line> + <city value="Neu Sebastiandorf"/> + <postalCode value="60499"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="eb700621-c0e9-4db0-8dd9-a5ed885fe60c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="743253968"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 4b24770f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 85474e8d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="dd2d2c6b-112d-4a08-9de1-baf77250a20f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.686.89"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5e9c3c2c-208a-4216-b44b-22910658295c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/40f3a7ea-5d90-4670-b38b-7f19f3767850"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="40f3a7ea-5d90-4670-b38b-7f19f3767850"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06427082"/> - </coding> - <text value="Zytostatika"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2fd6bbc8-6159-4731-a7a2-e8e4dcd19585"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="487238495"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0631) 347228164"/> - </telecom> - <telecom> - <system value="email"/> - <value value="kian.franta@riermeier.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Auerweg 65"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="65"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Auerweg"/> - </extension> - </line> - <city value="Schön Leandra"/> - <postalCode value="55353"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="74d6e30d-a29a-480b-9d82-0d256a8f15a7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="550442587"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/input.xml new file mode 100644 index 00000000..a2cf5376 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="a39897e0-4dcf-4e14-80e2-d28e0ae15e86"/> + <meta> + <lastUpdated value="2024-02-08T19:07:26.004+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.686.89"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:07:26.004+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/fab7e851-3260-494b-8ae6-578d49cb6c8f"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="fab7e851-3260-494b-8ae6-578d49cb6c8f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ea6429b6-500f-4997-86c2-314edaf722ba"/> + </subject> + <date value="2024-02-08T19:07:26+01:00"/> + <author> + <reference value="Practitioner/b400a4ea-b8ed-4cbf-a981-dad5a91b86b9"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d55510e9-6e37-408c-8aa4-0a6923dbe8ea"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/6eeecd5c-63ca-42cb-a40e-bdf4c15411a7"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/eed3ea27-b29a-445e-941d-b645e63b88cf"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/594b6f15-8b7f-40c4-b8c7-aace608bfe9b"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="594b6f15-8b7f-40c4-b8c7-aace608bfe9b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06427082"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/ea6429b6-500f-4997-86c2-314edaf722ba"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ea6429b6-500f-4997-86c2-314edaf722ba"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1967-11-17"/> + <address> + <type value="both"/> + <line value="Am Nonnenbruch 0"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="0"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Nonnenbruch"/> + </extension> + </line> + <city value="Klein Merve"/> + <postalCode value="59659"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/d55510e9-6e37-408c-8aa4-0a6923dbe8ea"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d55510e9-6e37-408c-8aa4-0a6923dbe8ea"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="487238495"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0631) 347228164"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kian.franta@riermeier.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Auerweg 65"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="65"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auerweg"/> + </extension> + </line> + <city value="Schön Leandra"/> + <postalCode value="55353"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/6eeecd5c-63ca-42cb-a40e-bdf4c15411a7"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="6eeecd5c-63ca-42cb-a40e-bdf4c15411a7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/4b2f5988-cf58-40c3-9fcb-5114e9dc19eb"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104424830"/> + </identifier> + <display value="BKK GRILLO‐WERKE AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/b400a4ea-b8ed-4cbf-a981-dad5a91b86b9"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b400a4ea-b8ed-4cbf-a981-dad5a91b86b9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="550442587"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/eed3ea27-b29a-445e-941d-b645e63b88cf"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="eed3ea27-b29a-445e-941d-b645e63b88cf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/594b6f15-8b7f-40c4-b8c7-aace608bfe9b"/> + </medicationReference> + <subject> + <reference value="Patient/ea6429b6-500f-4997-86c2-314edaf722ba"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/b400a4ea-b8ed-4cbf-a981-dad5a91b86b9"/> + </requester> + <insurance> + <reference value="Coverage/6eeecd5c-63ca-42cb-a40e-bdf4c15411a7"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/output.json new file mode 100644 index 00000000..80a1709c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "f48581dd-8ea9-473a-9367-fce5f788ec02", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "753eb017-a10b-4f70-9ec7-486c08a1d5fb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f0402eda-3634-40d2-bbb5-ab27a5753be8" + }, + "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": "f0402eda-3634-40d2-bbb5-ab27a5753be8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1e553a8b-1c33-4b2e-90ae-711d083f0d93", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ace3156f-5a2a-4797-9d19-faebb1f92986", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a39897e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/output.xml new file mode 100644 index 00000000..45ca003d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f48581dd-8ea9-473a-9367-fce5f788ec02"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.686.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="753eb017-a10b-4f70-9ec7-486c08a1d5fb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f0402eda-3634-40d2-bbb5-ab27a5753be8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f0402eda-3634-40d2-bbb5-ab27a5753be8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06427082"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1e553a8b-1c33-4b2e-90ae-711d083f0d93"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="487238495"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0631) 347228164"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kian.franta@riermeier.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Auerweg 65"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="65"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auerweg"/> + </extension> + </line> + <city value="Schön Leandra"/> + <postalCode value="55353"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ace3156f-5a2a-4797-9d19-faebb1f92986"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="550442587"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 2e0e4521..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index f5045988..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="dd6f3569-42e6-48b5-96ae-c8edb9cdd06d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.474.840.78"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-13"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="743c5319-ef29-4f42-a5c8-7c15ae17fff7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/bc711270-e8fb-419d-8923-43e3c5baadcb"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-13"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bc711270-e8fb-419d-8923-43e3c5baadcb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ed7d33a4-c113-4330-9917-9fd9206c794b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="629521522"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(09367) 7801199"/> - </telecom> - <telecom> - <system value="email"/> - <value value="zoé.horna@bos.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Fester Weg 0"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="0"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Fester Weg"/> - </extension> - </line> - <city value="Maurergrün"/> - <postalCode value="89655"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="34170241-b935-479a-b3a4-036b09090535"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="887332180"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_df31f167/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/output.json new file mode 100644 index 00000000..1a120fe4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "3368e47b-4ecb-4a8c-9978-6b52ec1b84bd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e48e3257-558c-456e-8d1b-1f269dd7eb4a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/26fa5556-9016-4469-b09b-91694cd8e27c" + }, + "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": "26fa5556-9016-4469-b09b-91694cd8e27c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "172bf943-c5db-497b-9bc0-bab92ce76771", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "65deac45-d1c3-4088-9793-22225d88ccbe", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_df31f167/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/output.xml new file mode 100644 index 00000000..b58a5ec4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3368e47b-4ecb-4a8c-9978-6b52ec1b84bd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.840.78"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e48e3257-558c-456e-8d1b-1f269dd7eb4a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/26fa5556-9016-4469-b09b-91694cd8e27c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="26fa5556-9016-4469-b09b-91694cd8e27c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="172bf943-c5db-497b-9bc0-bab92ce76771"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="629521522"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09367) 7801199"/> + </telecom> + <telecom> + <system value="email"/> + <value value="zoé.horna@bos.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Fester Weg 0"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="0"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Fester Weg"/> + </extension> + </line> + <city value="Maurergrün"/> + <postalCode value="89655"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="65deac45-d1c3-4088-9793-22225d88ccbe"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="887332180"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/input.xml new file mode 100644 index 00000000..1a9ef431 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="df31f167-f3d3-4d03-8a88-2e6b29eb3d6d"/> + <meta> + <lastUpdated value="2024-02-13T11:24:28.319+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.840.78"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-13T11:24:28.319+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/3c5c2305-ac1d-4a4b-8798-cacfc4ec00c8"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="3c5c2305-ac1d-4a4b-8798-cacfc4ec00c8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/c7010fc9-9d8a-4cac-868d-6eb0a9eb37ab"/> + </subject> + <date value="2024-02-13T11:24:28+01:00"/> + <author> + <reference value="Practitioner/8efee46a-9e29-4891-8e02-c13cf8ccdab2"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/72d0b469-11f1-4f33-a6c2-d073b454f693"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/a5c283ac-7053-4b12-a1df-0a50c23b2b80"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/b5fd4281-a8b8-4d0d-9833-ad874ab740e2"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/fc17ecf1-e67c-459e-93cc-1da0fd4ee84e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fc17ecf1-e67c-459e-93cc-1da0fd4ee84e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/c7010fc9-9d8a-4cac-868d-6eb0a9eb37ab"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="c7010fc9-9d8a-4cac-868d-6eb0a9eb37ab"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + <name> + <use value="official"/> + <family value="Gondern"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Gondern"/> + </extension> + </family> + <given value="Aenna"/> + </name> + <birthDate value="1982-09-19"/> + <address> + <type value="both"/> + <line value="Lingenfeld 92b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="92b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lingenfeld"/> + </extension> + </line> + <city value="Neu Fynnstadt"/> + <postalCode value="41997"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/72d0b469-11f1-4f33-a6c2-d073b454f693"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="72d0b469-11f1-4f33-a6c2-d073b454f693"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="629521522"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09367) 7801199"/> + </telecom> + <telecom> + <system value="email"/> + <value value="zoé.horna@bos.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Fester Weg 0"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="0"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Fester Weg"/> + </extension> + </line> + <city value="Maurergrün"/> + <postalCode value="89655"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/a5c283ac-7053-4b12-a1df-0a50c23b2b80"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="a5c283ac-7053-4b12-a1df-0a50c23b2b80"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="52"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/07253a49-0b46-4393-8063-f215e94bfa72"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108833674"/> + </identifier> + <display value="BKK KBA"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/8efee46a-9e29-4891-8e02-c13cf8ccdab2"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8efee46a-9e29-4891-8e02-c13cf8ccdab2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="887332180"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/b5fd4281-a8b8-4d0d-9833-ad874ab740e2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b5fd4281-a8b8-4d0d-9833-ad874ab740e2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/fc17ecf1-e67c-459e-93cc-1da0fd4ee84e"/> + </medicationReference> + <subject> + <reference value="Patient/c7010fc9-9d8a-4cac-868d-6eb0a9eb37ab"/> + </subject> + <authoredOn value="2024-02-13"/> + <requester> + <reference value="Practitioner/8efee46a-9e29-4891-8e02-c13cf8ccdab2"/> + </requester> + <insurance> + <reference value="Coverage/a5c283ac-7053-4b12-a1df-0a50c23b2b80"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.json new file mode 100644 index 00000000..6475b72f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "d35894f0-32cd-4616-a002-7d0f364b5da8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "56906c98-0526-47a1-b4c2-65f4be896862", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b8e03251-5382-4128-b062-25a4ad3eb16d" + }, + "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": "b8e03251-5382-4128-b062-25a4ad3eb16d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "30254575-0eca-48df-b6f2-1d459c817f80", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1cfd8da8-0694-4d4b-811a-014f5f0aebf6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_df31f167/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.xml new file mode 100644 index 00000000..16f916be --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d35894f0-32cd-4616-a002-7d0f364b5da8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.840.78"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="56906c98-0526-47a1-b4c2-65f4be896862"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b8e03251-5382-4128-b062-25a4ad3eb16d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b8e03251-5382-4128-b062-25a4ad3eb16d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="30254575-0eca-48df-b6f2-1d459c817f80"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="629521522"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09367) 7801199"/> + </telecom> + <telecom> + <system value="email"/> + <value value="zoé.horna@bos.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Fester Weg 0"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="0"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Fester Weg"/> + </extension> + </line> + <city value="Maurergrün"/> + <postalCode value="89655"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1cfd8da8-0694-4d4b-811a-014f5f0aebf6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="887332180"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/input.xml new file mode 100644 index 00000000..72375c53 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="df4a4b64-dcec-4b73-92f6-9b5bda7291f9"/> + <meta> + <lastUpdated value="2024-02-13T11:24:06.338+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.837.87"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-13T11:24:06.338+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/f71b0d82-ac57-4247-98e4-1c96eb584a7c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f71b0d82-ac57-4247-98e4-1c96eb584a7c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/d007dda2-cbea-4708-9fca-99777a44cb14"/> + </subject> + <date value="2024-02-13T11:24:06+01:00"/> + <author> + <reference value="Practitioner/0ea0bb3d-be2b-4577-bf5e-7e3cc22ca5fb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/c5baf88d-8b89-4e82-9f4a-cea47b17aa51"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/07902dbe-f66f-4366-9fb5-76acb535faed"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/1ab1127c-6b7d-4e1f-90d8-248e5a68a5f5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/6a60028b-3166-4e77-a276-c315115a9860"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6a60028b-3166-4e77-a276-c315115a9860"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/d007dda2-cbea-4708-9fca-99777a44cb14"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="d007dda2-cbea-4708-9fca-99777a44cb14"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + <name> + <use value="official"/> + <family value="Gondern"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Gondern"/> + </extension> + </family> + <given value="Aenna"/> + </name> + <birthDate value="1982-03-31"/> + <address> + <type value="both"/> + <line value="Eichenweg 686"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="686"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Eichenweg"/> + </extension> + </line> + <city value="West Dominik"/> + <postalCode value="18822"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/c5baf88d-8b89-4e82-9f4a-cea47b17aa51"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c5baf88d-8b89-4e82-9f4a-cea47b17aa51"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="017186060"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-381-2710885"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sam.kisabaka@gamper.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Heidehöhe 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heidehöhe"/> + </extension> + </line> + <city value="Bigdelifeld"/> + <postalCode value="07258"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/07902dbe-f66f-4366-9fb5-76acb535faed"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="07902dbe-f66f-4366-9fb5-76acb535faed"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="49"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ebf09214-51e9-451a-8b83-89804cd81e59"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108608820"/> + </identifier> + <display value="LKK Franken und Oberbayern"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/0ea0bb3d-be2b-4577-bf5e-7e3cc22ca5fb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0ea0bb3d-be2b-4577-bf5e-7e3cc22ca5fb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="421218808"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/1ab1127c-6b7d-4e1f-90d8-248e5a68a5f5"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1ab1127c-6b7d-4e1f-90d8-248e5a68a5f5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/6a60028b-3166-4e77-a276-c315115a9860"/> + </medicationReference> + <subject> + <reference value="Patient/d007dda2-cbea-4708-9fca-99777a44cb14"/> + </subject> + <authoredOn value="2024-02-13"/> + <requester> + <reference value="Practitioner/0ea0bb3d-be2b-4577-bf5e-7e3cc22ca5fb"/> + </requester> + <insurance> + <reference value="Coverage/07902dbe-f66f-4366-9fb5-76acb535faed"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.json new file mode 100644 index 00000000..e49a2583 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "49f17d46-816d-4535-8d07-227fbee6d4f9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "249112aa-3231-4f76-818b-e5e6e7b12105", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7876ed44-9993-42fa-a908-5563d1040989" + }, + "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": "7876ed44-9993-42fa-a908-5563d1040989", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "79efdc33-3fef-4068-b0bd-a939b0f139c5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3495a0f6-847b-4f06-af35-89328041c1e5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_df4a4b64/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.xml new file mode 100644 index 00000000..124b2661 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="49f17d46-816d-4535-8d07-227fbee6d4f9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.837.87"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="249112aa-3231-4f76-818b-e5e6e7b12105"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7876ed44-9993-42fa-a908-5563d1040989"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7876ed44-9993-42fa-a908-5563d1040989"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="79efdc33-3fef-4068-b0bd-a939b0f139c5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="017186060"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-381-2710885"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sam.kisabaka@gamper.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Heidehöhe 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heidehöhe"/> + </extension> + </line> + <city value="Bigdelifeld"/> + <postalCode value="07258"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3495a0f6-847b-4f06-af35-89328041c1e5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="421218808"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_df6aff69/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.json new file mode 100644 index 00000000..7b532a6c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "cc68f03a-9d0a-49ec-9354-ec8766893c4a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ed0243b7-6171-4bcb-a04c-a780101335ad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/da2b7b6a-0938-4592-b59c-d27f1902f0af" + }, + "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": "da2b7b6a-0938-4592-b59c-d27f1902f0af", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "657d2d4b-b303-4a9d-891b-6e55d032ad79", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b6c5b805-3fdd-44bb-9d02-f59f9ba6d72d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_df6aff69/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.xml new file mode 100644 index 00000000..b9675fd6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="cc68f03a-9d0a-49ec-9354-ec8766893c4a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.992.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ed0243b7-6171-4bcb-a04c-a780101335ad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:e4521c66-ca29-43a8-bb2c-9a6ffdec4e5f"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/da2b7b6a-0938-4592-b59c-d27f1902f0af"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="da2b7b6a-0938-4592-b59c-d27f1902f0af"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="26702202"/> + </coding> + <text value="Famimoor"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="657d2d4b-b303-4a9d-891b-6e55d032ad79"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="179250867"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02967) 0711010"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lennard.barr@bruhns.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Schenkendorfstr. 77"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="77"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schenkendorfstr."/> + </extension> + </line> + <city value="Kummlegrün"/> + <postalCode value="49648"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b6c5b805-3fdd-44bb-9d02-f59f9ba6d72d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="705332588"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/input.xml new file mode 100644 index 00000000..da56357a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="e17e8259-c3f1-4734-a9d2-f97a9ed66c32"/> + <meta> + <lastUpdated value="2024-02-08T19:21:49.616+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.998.25"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:21:49.616+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/3c5a3cbd-5ac4-4b81-b0c4-354ae1198388"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="3c5a3cbd-5ac4-4b81-b0c4-354ae1198388"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1b40b21b-75c3-45a4-ae52-de00a93c66e1"/> + </subject> + <date value="2024-02-08T19:21:49+01:00"/> + <author> + <reference value="Practitioner/4a8c9bfd-3659-4e2e-968b-2908ece21da9"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/373d64ab-4560-42f1-a065-3ff58b28e6f8"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/0d3b4f33-a54d-4ad4-9dd5-7f2f155a031f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/36dc6c0d-d103-4973-96af-577d214a9bd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/57278eb0-a7bb-49eb-ab68-3242b5b691c2"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="57278eb0-a7bb-49eb-ab68-3242b5b691c2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="73951654"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/1b40b21b-75c3-45a4-ae52-de00a93c66e1"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1b40b21b-75c3-45a4-ae52-de00a93c66e1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1959-07-01"/> + <address> + <type value="both"/> + <line value="Ratiborer Str. 007"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="007"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ratiborer Str."/> + </extension> + </line> + <city value="Claireberg"/> + <postalCode value="86614"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/373d64ab-4560-42f1-a065-3ff58b28e6f8"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="373d64ab-4560-42f1-a065-3ff58b28e6f8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="714643725"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-247-4772661"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lina.mallmann@zaituc.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Rückertstr. 78c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="78c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Rückertstr."/> + </extension> + </line> + <city value="Wollmannheim"/> + <postalCode value="08712"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/0d3b4f33-a54d-4ad4-9dd5-7f2f155a031f"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="0d3b4f33-a54d-4ad4-9dd5-7f2f155a031f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/0a5ddacf-7c14-4974-ae41-bc6eedc1b21a"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140379"/> + </identifier> + <display value="Münchener Verein Versicherungsgruppe"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/4a8c9bfd-3659-4e2e-968b-2908ece21da9"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4a8c9bfd-3659-4e2e-968b-2908ece21da9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="434355951"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/36dc6c0d-d103-4973-96af-577d214a9bd4"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="36dc6c0d-d103-4973-96af-577d214a9bd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/57278eb0-a7bb-49eb-ab68-3242b5b691c2"/> + </medicationReference> + <subject> + <reference value="Patient/1b40b21b-75c3-45a4-ae52-de00a93c66e1"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/4a8c9bfd-3659-4e2e-968b-2908ece21da9"/> + </requester> + <insurance> + <reference value="Coverage/0d3b4f33-a54d-4ad4-9dd5-7f2f155a031f"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.json new file mode 100644 index 00000000..41344fd6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "4961e417-6e0d-487f-9cdc-d5d7bdaadb19", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "628413bb-5b71-4c0c-9846-363b14543ae8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7a5fc9bc-0b48-4fbe-9d2c-1aa23089a659" + }, + "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": "7a5fc9bc-0b48-4fbe-9d2c-1aa23089a659", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "89dc48c0-af0e-4b08-8b06-42ebdfd35b2d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "583ae4d8-5914-4d09-bb06-5400abcf5cf8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e17e8259/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.xml new file mode 100644 index 00000000..638256cc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4961e417-6e0d-487f-9cdc-d5d7bdaadb19"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.998.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="628413bb-5b71-4c0c-9846-363b14543ae8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7a5fc9bc-0b48-4fbe-9d2c-1aa23089a659"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7a5fc9bc-0b48-4fbe-9d2c-1aa23089a659"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="73951654"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="89dc48c0-af0e-4b08-8b06-42ebdfd35b2d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="714643725"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-247-4772661"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lina.mallmann@zaituc.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Rückertstr. 78c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="78c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Rückertstr."/> + </extension> + </line> + <city value="Wollmannheim"/> + <postalCode value="08712"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="583ae4d8-5914-4d09-bb06-5400abcf5cf8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="434355951"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 45e30392..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 66d34b52..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e4726de8-e08b-4328-b075-54f75bec61ed"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.695.62"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e450276a-f2f0-4720-afab-bce46fba1f1f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/7974c8eb-4482-4785-88b7-81a57331867f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7974c8eb-4482-4785-88b7-81a57331867f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="14659553"/> - </coding> - <text value="Abaamisäure"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e44a0bc6-e04b-41cb-8194-9f6fc00e33b8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="461121725"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0442) 721610987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="jason.schaffarzik@auer.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Lötzener Str. 44b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="44b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Lötzener Str."/> - </extension> - </line> - <city value="West Juandorf"/> - <postalCode value="54462"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="21b10365-fc40-4a6b-8558-b12a3fbcf9e4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="706769059"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/input.xml new file mode 100644 index 00000000..c6a9d473 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="b0589d4c-31b6-4d94-9b5c-0e33c6e2eb89"/> + <meta> + <lastUpdated value="2024-02-08T19:13:42.368+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.695.62"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:13:42.368+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/34535cb4-e661-4585-9055-ba0127d9f9d4"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="34535cb4-e661-4585-9055-ba0127d9f9d4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1f617798-eef2-462d-b9ff-05ceb4f68496"/> + </subject> + <date value="2024-02-08T19:13:42+01:00"/> + <author> + <reference value="Practitioner/dc86b38e-7fb6-49a8-a49c-5d2d8ea5e8de"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/de2c01ea-22f6-48be-b959-7d472410f40e"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/0b11dc6f-75c1-4668-8f6c-74bb9fa97a5b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/42855b5a-a7c5-49ea-a29c-87da47c5c983"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/9adfbfc4-7b3c-49d1-9f6e-34f02761782e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9adfbfc4-7b3c-49d1-9f6e-34f02761782e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="14659553"/> + </coding> + <text value="Abaamisäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/1f617798-eef2-462d-b9ff-05ceb4f68496"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1f617798-eef2-462d-b9ff-05ceb4f68496"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110499478"/> + </identifier> + <name> + <use value="official"/> + <family value="Bäcker"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Bäcker"/> + </extension> + </family> + <given value="Hanna"/> + </name> + <birthDate value="1972-12-21"/> + <address> + <type value="both"/> + <line value="Heckenweg 59b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="59b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heckenweg"/> + </extension> + </line> + <city value="Neu Sofie"/> + <postalCode value="56059"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/de2c01ea-22f6-48be-b959-7d472410f40e"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="de2c01ea-22f6-48be-b959-7d472410f40e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="461121725"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0442) 721610987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jason.schaffarzik@auer.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Lötzener Str. 44b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="44b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lötzener Str."/> + </extension> + </line> + <city value="West Juandorf"/> + <postalCode value="54462"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/0b11dc6f-75c1-4668-8f6c-74bb9fa97a5b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="0b11dc6f-75c1-4668-8f6c-74bb9fa97a5b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="62"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/548580e4-5c40-4a70-9308-d59b46ec7663"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="103121013"/> + </identifier> + <display value="atlas BKK ahlmann"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/dc86b38e-7fb6-49a8-a49c-5d2d8ea5e8de"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dc86b38e-7fb6-49a8-a49c-5d2d8ea5e8de"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="706769059"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/42855b5a-a7c5-49ea-a29c-87da47c5c983"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="42855b5a-a7c5-49ea-a29c-87da47c5c983"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/9adfbfc4-7b3c-49d1-9f6e-34f02761782e"/> + </medicationReference> + <subject> + <reference value="Patient/1f617798-eef2-462d-b9ff-05ceb4f68496"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/dc86b38e-7fb6-49a8-a49c-5d2d8ea5e8de"/> + </requester> + <insurance> + <reference value="Coverage/0b11dc6f-75c1-4668-8f6c-74bb9fa97a5b"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/output.json new file mode 100644 index 00000000..344158a1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "e5637aff-b155-4bc8-8fd5-2825494d8f27", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "53fccdec-8f39-4332-a705-423220ed8e36", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fba02f11-0a7e-414d-8537-45e7e5db52bb" + }, + "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": "fba02f11-0a7e-414d-8537-45e7e5db52bb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "992195cc-9273-49d6-82ae-f262c9154537", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8e1c2ac8-f70b-4863-af9c-fdee1dacf9a6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b0589d4c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/output.xml new file mode 100644 index 00000000..d793b368 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e5637aff-b155-4bc8-8fd5-2825494d8f27"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.695.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53fccdec-8f39-4332-a705-423220ed8e36"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fba02f11-0a7e-414d-8537-45e7e5db52bb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fba02f11-0a7e-414d-8537-45e7e5db52bb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="14659553"/> + </coding> + <text value="Abaamisäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="992195cc-9273-49d6-82ae-f262c9154537"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="461121725"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0442) 721610987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jason.schaffarzik@auer.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Lötzener Str. 44b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="44b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lötzener Str."/> + </extension> + </line> + <city value="West Juandorf"/> + <postalCode value="54462"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8e1c2ac8-f70b-4863-af9c-fdee1dacf9a6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="706769059"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/input.xml new file mode 100644 index 00000000..236326d0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="e4a92e97-c8be-4ba7-a100-06e0c67e8319"/> + <meta> + <lastUpdated value="2024-02-08T19:04:42.126+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.762.86"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:04:42.126+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/8bdee8ca-14c7-455f-9eb2-b0f910ba771c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8bdee8ca-14c7-455f-9eb2-b0f910ba771c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/550830ba-4abf-41af-aa84-c4d022268bd9"/> + </subject> + <date value="2024-02-08T19:04:42+01:00"/> + <author> + <reference value="Practitioner/1a768f4b-1f4a-4028-84a4-d87afa37e90b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/3b59453f-77ce-459f-979e-641f7d2111e2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/846a6184-9126-4e78-b4a1-ae71349489fc"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/c75b8d68-259c-49b1-ab48-2fc18b70e880"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/53bcd445-b566-46e6-a3ce-c1b6fcd51965"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="53bcd445-b566-46e6-a3ce-c1b6fcd51965"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/550830ba-4abf-41af-aa84-c4d022268bd9"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="550830ba-4abf-41af-aa84-c4d022268bd9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1969-05-24"/> + <address> + <type value="both"/> + <line value="Im Kalkfeld 85c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="85c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Im Kalkfeld"/> + </extension> + </line> + <city value="Alt Selimland"/> + <postalCode value="22100"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/3b59453f-77ce-459f-979e-641f7d2111e2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3b59453f-77ce-459f-979e-641f7d2111e2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="178681307"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(03855) 5059185"/> + </telecom> + <telecom> + <system value="email"/> + <value value="katrin.fenner@lack.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Zeppelinstr. 45"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="45"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Zeppelinstr."/> + </extension> + </line> + <city value="Neu Sebastiandorf"/> + <postalCode value="60499"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/846a6184-9126-4e78-b4a1-ae71349489fc"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="846a6184-9126-4e78-b4a1-ae71349489fc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="83"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/9648da04-ce4d-464b-82ed-4008e8e80144"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109033393"/> + </identifier> + <display value="BKK Faber‐Castell und Partner"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/1a768f4b-1f4a-4028-84a4-d87afa37e90b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1a768f4b-1f4a-4028-84a4-d87afa37e90b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="743253968"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/c75b8d68-259c-49b1-ab48-2fc18b70e880"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c75b8d68-259c-49b1-ab48-2fc18b70e880"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/53bcd445-b566-46e6-a3ce-c1b6fcd51965"/> + </medicationReference> + <subject> + <reference value="Patient/550830ba-4abf-41af-aa84-c4d022268bd9"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/1a768f4b-1f4a-4028-84a4-d87afa37e90b"/> + </requester> + <insurance> + <reference value="Coverage/846a6184-9126-4e78-b4a1-ae71349489fc"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.json new file mode 100644 index 00000000..bb12e3cd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "c38c80c0-9725-4cfa-a2a7-f13567a7fc9b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "998ca611-1cce-4517-a8d9-6dfde225ad6d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a85f84c4-a26c-426c-91d8-266039f8f54d" + }, + "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": "a85f84c4-a26c-426c-91d8-266039f8f54d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "68e594c7-fb39-4116-99df-acad0f44331b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "63c8afea-55f6-410b-96bb-95a5f8c4e7d8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e4a92e97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.xml new file mode 100644 index 00000000..f336b4b6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c38c80c0-9725-4cfa-a2a7-f13567a7fc9b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.762.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="998ca611-1cce-4517-a8d9-6dfde225ad6d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a85f84c4-a26c-426c-91d8-266039f8f54d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a85f84c4-a26c-426c-91d8-266039f8f54d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="68e594c7-fb39-4116-99df-acad0f44331b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="178681307"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(03855) 5059185"/> + </telecom> + <telecom> + <system value="email"/> + <value value="katrin.fenner@lack.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Zeppelinstr. 45"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="45"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Zeppelinstr."/> + </extension> + </line> + <city value="Neu Sebastiandorf"/> + <postalCode value="60499"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="63c8afea-55f6-410b-96bb-95a5f8c4e7d8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="743253968"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index c274c525..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 3058232b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e55e8bba-84f4-4073-b62e-f31dca2a6684"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.755.10"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7817c6bc-0c90-4962-9319-d0cfb83c54f8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/a22aadff-68de-4612-925e-692e632d86a7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a22aadff-68de-4612-925e-692e632d86a7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9daf0953-0717-4ed6-b411-64dc421307f9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="737599264"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(08673) 2510563"/> - </telecom> - <telecom> - <system value="email"/> - <value value="nadine.karhoff@huckestein.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Erftstr. 57"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="57"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Erftstr."/> - </extension> - </line> - <city value="Lehmannstadt"/> - <postalCode value="05982"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1fcf58f6-0bb1-49b8-9943-3ae1568c274f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="408698026"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/input.xml new file mode 100644 index 00000000..4dcc0e71 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="80a43c33-4e81-416e-bb3d-6b3f8b418ccb"/> + <meta> + <lastUpdated value="2024-02-08T19:03:34.446+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.755.10"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:03:34.446+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/c86ebf52-9a51-4a00-b6cc-e0d70d6f93c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="c86ebf52-9a51-4a00-b6cc-e0d70d6f93c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/549721c8-9351-44dc-ad4c-d8da5f423c8d"/> + </subject> + <date value="2024-02-08T19:03:34+01:00"/> + <author> + <reference value="Practitioner/dfddbf73-b6e0-4ad3-a53f-b58338f9aa03"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/360fd110-471f-4679-867e-f09f28b2abe2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/004a57ab-d1ce-40b2-8af5-666266d21ca8"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/fb1d3d78-40c4-44fe-958d-f85792cdf96a"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/274d0577-ccd1-4083-b405-df2d8a71bb6e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="274d0577-ccd1-4083-b405-df2d8a71bb6e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/549721c8-9351-44dc-ad4c-d8da5f423c8d"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="549721c8-9351-44dc-ad4c-d8da5f423c8d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1994-11-24"/> + <address> + <type value="both"/> + <line value="Solinger Str. 92c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="92c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Solinger Str."/> + </extension> + </line> + <city value="Ost Xeniaberg"/> + <postalCode value="91505"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/360fd110-471f-4679-867e-f09f28b2abe2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="360fd110-471f-4679-867e-f09f28b2abe2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="737599264"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(08673) 2510563"/> + </telecom> + <telecom> + <system value="email"/> + <value value="nadine.karhoff@huckestein.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Erftstr. 57"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Erftstr."/> + </extension> + </line> + <city value="Lehmannstadt"/> + <postalCode value="05982"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/004a57ab-d1ce-40b2-8af5-666266d21ca8"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="004a57ab-d1ce-40b2-8af5-666266d21ca8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="48"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/51ee3db6-bebd-4a6a-be06-21fa15d98f53"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108534160"/> + </identifier> + <display value="Audi BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/dfddbf73-b6e0-4ad3-a53f-b58338f9aa03"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dfddbf73-b6e0-4ad3-a53f-b58338f9aa03"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="408698026"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/fb1d3d78-40c4-44fe-958d-f85792cdf96a"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fb1d3d78-40c4-44fe-958d-f85792cdf96a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/274d0577-ccd1-4083-b405-df2d8a71bb6e"/> + </medicationReference> + <subject> + <reference value="Patient/549721c8-9351-44dc-ad4c-d8da5f423c8d"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/dfddbf73-b6e0-4ad3-a53f-b58338f9aa03"/> + </requester> + <insurance> + <reference value="Coverage/004a57ab-d1ce-40b2-8af5-666266d21ca8"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/output.json new file mode 100644 index 00000000..ffb4b0d7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "9509e502-6d2b-421e-895b-5dd4be67495c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "eccb1c69-d19d-4d3f-a236-9896224ac716", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5325c69e-256c-45e6-b823-0d5b14e45850" + }, + "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": "5325c69e-256c-45e6-b823-0d5b14e45850", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "721112db-cb7b-4298-8467-614a799630f6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "347de779-1344-4401-9f40-86ae9d2388cf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_80a43c33/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/output.xml new file mode 100644 index 00000000..74d6202e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9509e502-6d2b-421e-895b-5dd4be67495c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.755.10"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="eccb1c69-d19d-4d3f-a236-9896224ac716"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5325c69e-256c-45e6-b823-0d5b14e45850"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5325c69e-256c-45e6-b823-0d5b14e45850"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="721112db-cb7b-4298-8467-614a799630f6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="737599264"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(08673) 2510563"/> + </telecom> + <telecom> + <system value="email"/> + <value value="nadine.karhoff@huckestein.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Erftstr. 57"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Erftstr."/> + </extension> + </line> + <city value="Lehmannstadt"/> + <postalCode value="05982"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="347de779-1344-4401-9f40-86ae9d2388cf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="408698026"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/input.xml new file mode 100644 index 00000000..8570be09 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/input.xml @@ -0,0 +1,403 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="e6706910-8905-47d4-94a3-dedb882d04fe"/> + <meta> + <lastUpdated value="2024-02-08T19:10:25.809+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.784.20"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:10:25.809+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/932dea31-a1c0-4106-8732-349fe167bf1d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="932dea31-a1c0-4106-8732-349fe167bf1d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/bde1731b-4dba-4dd5-91f9-175b0e9a51af"/> + </subject> + <date value="2024-02-08T19:10:25+01:00"/> + <author> + <reference value="Practitioner/c7c1ae8e-a4db-4853-a90b-6d88a436ba47"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/a522a15f-9e69-45cf-b063-b8892127bfd4"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/e1e56006-c327-4f48-b1d9-9b19317ec540"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/731969bb-5cb6-4dd1-b57f-b47b9f757f25"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/6f068ff5-f3e7-470f-9899-91f804ce3944"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6f068ff5-f3e7-470f-9899-91f804ce3944"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="42938335"/> + </coding> + <text value="Fexvomilzol"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/bde1731b-4dba-4dd5-91f9-175b0e9a51af"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="bde1731b-4dba-4dd5-91f9-175b0e9a51af"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1959-09-18"/> + <address> + <type value="both"/> + <line value="Alsenstr. 47b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="47b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Alsenstr."/> + </extension> + </line> + <city value="Neu Ceciliaburg"/> + <postalCode value="78856"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/a522a15f-9e69-45cf-b063-b8892127bfd4"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a522a15f-9e69-45cf-b063-b8892127bfd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="839368350"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7222-51775715"/> + </telecom> + <telecom> + <system value="email"/> + <value value="josie.malkus@jaros.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Pfarrer-Jekel-Str. 47a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="47a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pfarrer-Jekel-Str."/> + </extension> + </line> + <city value="Klein Kimberlystadt"/> + <postalCode value="17592"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/e1e56006-c327-4f48-b1d9-9b19317ec540"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e1e56006-c327-4f48-b1d9-9b19317ec540"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="46"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/b5766bbf-61f5-4849-bb74-578740a0c15b"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="106020600"/> + </identifier> + <display value="BKK MEM"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/c7c1ae8e-a4db-4853-a90b-6d88a436ba47"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c7c1ae8e-a4db-4853-a90b-6d88a436ba47"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="792402920"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/731969bb-5cb6-4dd1-b57f-b47b9f757f25"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="731969bb-5cb6-4dd1-b57f-b47b9f757f25"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-02-08"/> + <end value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:2f86b77d-8e11-42ac-89fe-5a1d39775378"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/6f068ff5-f3e7-470f-9899-91f804ce3944"/> + </medicationReference> + <subject> + <reference value="Patient/bde1731b-4dba-4dd5-91f9-175b0e9a51af"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/c7c1ae8e-a4db-4853-a90b-6d88a436ba47"/> + </requester> + <insurance> + <reference value="Coverage/e1e56006-c327-4f48-b1d9-9b19317ec540"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.json new file mode 100644 index 00000000..b3244470 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "9780fb00-7c5c-42fc-82c9-7234003c7e06", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "eadf063d-1c58-41b3-be08-6a9dc61a874c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/65986044-186b-4220-9de8-1893c5378c87" + }, + "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": "65986044-186b-4220-9de8-1893c5378c87", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "13bd47ab-5274-4cb2-bd3d-298113767270", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "605fd8e6-e34f-4039-aa34-0a5fd82368d9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e6706910/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.xml new file mode 100644 index 00000000..fb71f7be --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9780fb00-7c5c-42fc-82c9-7234003c7e06"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.784.20"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="eadf063d-1c58-41b3-be08-6a9dc61a874c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-02-08"/> + <end value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:2f86b77d-8e11-42ac-89fe-5a1d39775378"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/65986044-186b-4220-9de8-1893c5378c87"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="65986044-186b-4220-9de8-1893c5378c87"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="42938335"/> + </coding> + <text value="Fexvomilzol"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="13bd47ab-5274-4cb2-bd3d-298113767270"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="839368350"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7222-51775715"/> + </telecom> + <telecom> + <system value="email"/> + <value value="josie.malkus@jaros.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Pfarrer-Jekel-Str. 47a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="47a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pfarrer-Jekel-Str."/> + </extension> + </line> + <city value="Klein Kimberlystadt"/> + <postalCode value="17592"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="605fd8e6-e34f-4039-aa34-0a5fd82368d9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="792402920"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 4d9974f3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/output.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "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 deleted file mode 100644 index cb45b206..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/output.xml +++ /dev/null @@ -1,236 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f25d9001-aabc-4cca-a1b9-c299c485ae61"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.992.43"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6bf5a19b-dadc-4dd5-beb4-98fb2718b71f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-11-04"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:e4521c66-ca29-43a8-bb2c-9a6ffdec4e5f"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/a2434c37-14e0-4e37-b68d-8d2d5db16bbc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a2434c37-14e0-4e37-b68d-8d2d5db16bbc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="26702202"/> - </coding> - <text value="Famimoor"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="62cf5712-bd66-4275-9be1-f607aade06f9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="179250867"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(02967) 0711010"/> - </telecom> - <telecom> - <system value="email"/> - <value value="lennard.barr@bruhns.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Schenkendorfstr. 77"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="77"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Schenkendorfstr."/> - </extension> - </line> - <city value="Kummlegrün"/> - <postalCode value="49648"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="3c1bead4-257b-41e3-a956-82282333e4a8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="705332588"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/input.xml new file mode 100644 index 00000000..139e6959 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/input.xml @@ -0,0 +1,402 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="df6aff69-7c99-4c89-b521-e4c719b432b1"/> + <meta> + <lastUpdated value="2024-02-08T19:10:14.074+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.992.43"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:10:14.074+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/0faef688-fb15-44f0-b1e0-31f87b57ad7d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="0faef688-fb15-44f0-b1e0-31f87b57ad7d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/52254960-7125-45fd-ad1e-284d204bd109"/> + </subject> + <date value="2024-02-08T19:10:14+01:00"/> + <author> + <reference value="Practitioner/7eafa5d5-5b17-46e0-b08f-a02308ce7201"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/a2b2f4a1-55ff-4158-b237-032fdce6f518"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/0836d48f-27c9-471c-a4b3-2462ccf517ce"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/b5e78edf-dcbb-4d87-8705-ce8c62fe1d93"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/85a25048-7786-4637-9c37-9285dc1721f8"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="85a25048-7786-4637-9c37-9285dc1721f8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="26702202"/> + </coding> + <text value="Famimoor"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/52254960-7125-45fd-ad1e-284d204bd109"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="52254960-7125-45fd-ad1e-284d204bd109"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1989-12-18"/> + <address> + <type value="both"/> + <line value="Adolf-Baeyer-Str. 7"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="7"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Adolf-Baeyer-Str."/> + </extension> + </line> + <city value="Bad Annikaland"/> + <postalCode value="90666"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/a2b2f4a1-55ff-4158-b237-032fdce6f518"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a2b2f4a1-55ff-4158-b237-032fdce6f518"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="179250867"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02967) 0711010"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lennard.barr@bruhns.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Schenkendorfstr. 77"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="77"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schenkendorfstr."/> + </extension> + </line> + <city value="Kummlegrün"/> + <postalCode value="49648"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/0836d48f-27c9-471c-a4b3-2462ccf517ce"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="0836d48f-27c9-471c-a4b3-2462ccf517ce"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="60"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/2f973722-18ac-4309-81ce-5e3ef2547fd7"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141358"/> + </identifier> + <display value="Provinzial"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/7eafa5d5-5b17-46e0-b08f-a02308ce7201"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7eafa5d5-5b17-46e0-b08f-a02308ce7201"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="705332588"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/b5e78edf-dcbb-4d87-8705-ce8c62fe1d93"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b5e78edf-dcbb-4d87-8705-ce8c62fe1d93"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:e4521c66-ca29-43a8-bb2c-9a6ffdec4e5f"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/85a25048-7786-4637-9c37-9285dc1721f8"/> + </medicationReference> + <subject> + <reference value="Patient/52254960-7125-45fd-ad1e-284d204bd109"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/7eafa5d5-5b17-46e0-b08f-a02308ce7201"/> + </requester> + <insurance> + <reference value="Coverage/0836d48f-27c9-471c-a4b3-2462ccf517ce"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/output.json new file mode 100644 index 00000000..b743a3de --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "6589c515-a1e6-4d4c-b788-50e6626d9187", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4e189a6f-caf5-4cb2-bcbf-af9d0c799eec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/95573b21-5c3b-4888-95cd-b15ffdc42df2" + }, + "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": "95573b21-5c3b-4888-95cd-b15ffdc42df2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "54633977-2fb3-428e-a6b6-f28dfe626dd2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3d100e27-0110-4515-9e23-f16075825ec4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_df6aff69/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/output.xml new file mode 100644 index 00000000..e2c3861c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6589c515-a1e6-4d4c-b788-50e6626d9187"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.992.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4e189a6f-caf5-4cb2-bcbf-af9d0c799eec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:e4521c66-ca29-43a8-bb2c-9a6ffdec4e5f"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/95573b21-5c3b-4888-95cd-b15ffdc42df2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="95573b21-5c3b-4888-95cd-b15ffdc42df2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="26702202"/> + </coding> + <text value="Famimoor"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="54633977-2fb3-428e-a6b6-f28dfe626dd2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="179250867"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02967) 0711010"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lennard.barr@bruhns.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Schenkendorfstr. 77"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="77"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schenkendorfstr."/> + </extension> + </line> + <city value="Kummlegrün"/> + <postalCode value="49648"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3d100e27-0110-4515-9e23-f16075825ec4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="705332588"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 596c325c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 90c552c8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f276a8fc-ea58-4b5f-b44f-1f8cc89afa22"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.997.28"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b83c1d8f-5522-4be7-b48b-3ee711e3a7b4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/68a8f9d1-6117-46a4-adb2-0f6876d99895"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="68a8f9d1-6117-46a4-adb2-0f6876d99895"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="64536028"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5ef86a81-de3d-4440-81ac-5c7e6ff3b9db"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="529873977"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-479-7901020"/> - </telecom> - <telecom> - <system value="email"/> - <value value="dana.meisch@kolokas.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Bohofsweg 52"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="52"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Bohofsweg"/> - </extension> - </line> - <city value="Winterhagen"/> - <postalCode value="08005"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b947bda7-71b1-46d7-aa15-ca31f05d449a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="866731615"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/input.xml new file mode 100644 index 00000000..ad6bac29 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7fe0b57d-61d6-4558-b046-c4f0e73b2a47"/> + <meta> + <lastUpdated value="2024-02-08T19:21:44.108+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.997.28"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:21:44.108+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/f7ecac09-2bf7-4bbf-ac3f-8bf43334bfa4"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f7ecac09-2bf7-4bbf-ac3f-8bf43334bfa4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1a9cd29f-4d36-45e9-842e-f3c48ed17b4d"/> + </subject> + <date value="2024-02-08T19:21:44+01:00"/> + <author> + <reference value="Practitioner/fb33dff7-80fa-4003-8118-0280c8fca8c0"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/309a6e0e-b207-481f-94b8-1bccffadb5e9"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/3708ac3a-800b-4387-89c7-e64fabc7bd86"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/699b279d-58ac-4fbb-badb-8b72e709f5aa"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/f9dc8f1f-2f3f-4952-810e-a4fefe76d845"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f9dc8f1f-2f3f-4952-810e-a4fefe76d845"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64536028"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/1a9cd29f-4d36-45e9-842e-f3c48ed17b4d"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1a9cd29f-4d36-45e9-842e-f3c48ed17b4d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1969-04-26"/> + <address> + <type value="both"/> + <line value="Rathenaustr. 453"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="453"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Rathenaustr."/> + </extension> + </line> + <city value="Neumairheim"/> + <postalCode value="58976"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/309a6e0e-b207-481f-94b8-1bccffadb5e9"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="309a6e0e-b207-481f-94b8-1bccffadb5e9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="529873977"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-479-7901020"/> + </telecom> + <telecom> + <system value="email"/> + <value value="dana.meisch@kolokas.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Bohofsweg 52"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="52"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bohofsweg"/> + </extension> + </line> + <city value="Winterhagen"/> + <postalCode value="08005"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/3708ac3a-800b-4387-89c7-e64fabc7bd86"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="3708ac3a-800b-4387-89c7-e64fabc7bd86"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="55"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fbbf0125-52c2-4738-8153-a099b11b8062"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140346"/> + </identifier> + <display value="Allianz"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/fb33dff7-80fa-4003-8118-0280c8fca8c0"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="fb33dff7-80fa-4003-8118-0280c8fca8c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="866731615"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/699b279d-58ac-4fbb-badb-8b72e709f5aa"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="699b279d-58ac-4fbb-badb-8b72e709f5aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/f9dc8f1f-2f3f-4952-810e-a4fefe76d845"/> + </medicationReference> + <subject> + <reference value="Patient/1a9cd29f-4d36-45e9-842e-f3c48ed17b4d"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/fb33dff7-80fa-4003-8118-0280c8fca8c0"/> + </requester> + <insurance> + <reference value="Coverage/3708ac3a-800b-4387-89c7-e64fabc7bd86"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/output.json new file mode 100644 index 00000000..6e233dbf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "619d5046-1fdb-4e9f-a9fb-864af2583ee3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d2d7fe6a-446d-419b-aff2-79b3fe9d2f09", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2bd8529a-82dd-4122-9929-2dca549ff46c" + }, + "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": "2bd8529a-82dd-4122-9929-2dca549ff46c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ef7516b5-3f76-4ea2-9ff7-378975090c8c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "03f617ad-c805-465f-b4d8-33e7ebbe3950", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7fe0b57d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/output.xml new file mode 100644 index 00000000..5db31337 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="619d5046-1fdb-4e9f-a9fb-864af2583ee3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.997.28"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d2d7fe6a-446d-419b-aff2-79b3fe9d2f09"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2bd8529a-82dd-4122-9929-2dca549ff46c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2bd8529a-82dd-4122-9929-2dca549ff46c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64536028"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ef7516b5-3f76-4ea2-9ff7-378975090c8c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="529873977"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-479-7901020"/> + </telecom> + <telecom> + <system value="email"/> + <value value="dana.meisch@kolokas.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Bohofsweg 52"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="52"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bohofsweg"/> + </extension> + </line> + <city value="Winterhagen"/> + <postalCode value="08005"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="03f617ad-c805-465f-b4d8-33e7ebbe3950"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="866731615"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 3e3e17dd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 56591758..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f4c61557-9f40-4075-b414-3da89772b658"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.741.52"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="63468889-5741-42ba-8c05-1780efe3b63f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/f5fc44ed-6e62-42c8-8dd9-d78514f62a41"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f5fc44ed-6e62-42c8-8dd9-d78514f62a41"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a9987faf-9a1c-4316-ada5-37fd83bbac82"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="201216337"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0734) 924483515"/> - </telecom> - <telecom> - <system value="email"/> - <value value="marah.jahnke@kleinmann.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Dechant-Fein-Str. 29b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="29b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Dechant-Fein-Str."/> - </extension> - </line> - <city value="Burgerburg"/> - <postalCode value="36436"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="09c570e0-4c18-4d60-9526-71c8ebe44475"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="890977542"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/input.xml new file mode 100644 index 00000000..dc3a9429 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="0b82f30f-d202-4265-b67b-b006aae38508"/> + <meta> + <lastUpdated value="2024-02-08T19:00:59.172+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.741.52"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:00:59.172+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/54264cc8-e341-4f2a-830b-73ce4ebe3fee"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="54264cc8-e341-4f2a-830b-73ce4ebe3fee"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/84410e1d-2bde-4d00-b864-87cf36148570"/> + </subject> + <date value="2024-02-08T19:00:59+01:00"/> + <author> + <reference value="Practitioner/a6093dc1-c270-416b-81df-e6d1e03b2be4"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/f208da4f-33b8-475a-a03e-a613f9844242"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/d36ffcbc-e76e-4b6d-851e-c8dee4efcbe4"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/04f62e64-c657-474e-9720-7753014a0140"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/887e8ad6-60f7-4c0d-bca3-62e1a79b7946"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="887e8ad6-60f7-4c0d-bca3-62e1a79b7946"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/84410e1d-2bde-4d00-b864-87cf36148570"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="84410e1d-2bde-4d00-b864-87cf36148570"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1979-08-19"/> + <address> + <type value="both"/> + <line value="Morsbroicher Str. 09a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="09a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Morsbroicher Str."/> + </extension> + </line> + <city value="Pierrehagen"/> + <postalCode value="65089"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/f208da4f-33b8-475a-a03e-a613f9844242"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f208da4f-33b8-475a-a03e-a613f9844242"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="201216337"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0734) 924483515"/> + </telecom> + <telecom> + <system value="email"/> + <value value="marah.jahnke@kleinmann.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Dechant-Fein-Str. 29b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dechant-Fein-Str."/> + </extension> + </line> + <city value="Burgerburg"/> + <postalCode value="36436"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/d36ffcbc-e76e-4b6d-851e-c8dee4efcbe4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="d36ffcbc-e76e-4b6d-851e-c8dee4efcbe4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="51"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/bf18407c-af34-4ca8-b314-fecf9a8a6873"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="100820488"/> + </identifier> + <display value="Brandenburgische BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/a6093dc1-c270-416b-81df-e6d1e03b2be4"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a6093dc1-c270-416b-81df-e6d1e03b2be4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="890977542"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/04f62e64-c657-474e-9720-7753014a0140"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="04f62e64-c657-474e-9720-7753014a0140"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/887e8ad6-60f7-4c0d-bca3-62e1a79b7946"/> + </medicationReference> + <subject> + <reference value="Patient/84410e1d-2bde-4d00-b864-87cf36148570"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/a6093dc1-c270-416b-81df-e6d1e03b2be4"/> + </requester> + <insurance> + <reference value="Coverage/d36ffcbc-e76e-4b6d-851e-c8dee4efcbe4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/output.json new file mode 100644 index 00000000..66d09aa1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "77af85bf-9a26-4e03-9ef7-26de5f5e92db", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a18af25a-4acc-4ec6-8e81-b1167a285517", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b78adf84-2dbc-44c5-8e2c-ff1b0b25c1a2" + }, + "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": "b78adf84-2dbc-44c5-8e2c-ff1b0b25c1a2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a7bd1934-a3a4-4011-8bfd-06e40e6c0b1e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "785e8b39-159c-4687-9112-d7267a208a60", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0b82f30f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/output.xml new file mode 100644 index 00000000..fde26895 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="77af85bf-9a26-4e03-9ef7-26de5f5e92db"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.741.52"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a18af25a-4acc-4ec6-8e81-b1167a285517"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b78adf84-2dbc-44c5-8e2c-ff1b0b25c1a2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b78adf84-2dbc-44c5-8e2c-ff1b0b25c1a2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a7bd1934-a3a4-4011-8bfd-06e40e6c0b1e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="201216337"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0734) 924483515"/> + </telecom> + <telecom> + <system value="email"/> + <value value="marah.jahnke@kleinmann.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Dechant-Fein-Str. 29b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dechant-Fein-Str."/> + </extension> + </line> + <city value="Burgerburg"/> + <postalCode value="36436"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="785e8b39-159c-4687-9112-d7267a208a60"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="890977542"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/input.xml new file mode 100644 index 00000000..5be28349 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="f731f36c-30fa-4fe2-8f67-f29b43a7ccac"/> + <meta> + <lastUpdated value="2024-02-08T19:01:43.127+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.745.40"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:01:43.127+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/f14dd574-14ed-44c9-954b-577281dc9e6f"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f14dd574-14ed-44c9-954b-577281dc9e6f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/d0b67223-1bb2-4e3a-baf8-e368964a8f64"/> + </subject> + <date value="2024-02-08T19:01:43+01:00"/> + <author> + <reference value="Practitioner/39adb1f3-d339-48f5-a631-45f393d26c95"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/da382d45-274b-42bd-b6b0-7a1388313017"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/ac593a43-9ad8-411b-928e-8d8b93ef26ec"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/e7e82222-bf9e-4a89-bddb-7e7377e0a7f5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/a69d5e37-404d-4491-b487-1eaf0def0842"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a69d5e37-404d-4491-b487-1eaf0def0842"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/d0b67223-1bb2-4e3a-baf8-e368964a8f64"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="d0b67223-1bb2-4e3a-baf8-e368964a8f64"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1998-01-07"/> + <address> + <type value="both"/> + <line value="Steinstr. 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Steinstr."/> + </extension> + </line> + <city value="Ost Elias"/> + <postalCode value="75746"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/da382d45-274b-42bd-b6b0-7a1388313017"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="da382d45-274b-42bd-b6b0-7a1388313017"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="517599493"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8307-82061900"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ylvi.dauer@grossheim.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Schopenhauerstr. 11c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="11c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schopenhauerstr."/> + </extension> + </line> + <city value="Groß Lucian"/> + <postalCode value="71897"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/ac593a43-9ad8-411b-928e-8d8b93ef26ec"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="ac593a43-9ad8-411b-928e-8d8b93ef26ec"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="71"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/77b31556-b8e0-45c8-a351-fe415ceec4cf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="103724272"/> + </identifier> + <display value="BKK Gildemeister SSeidensticker"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/39adb1f3-d339-48f5-a631-45f393d26c95"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="39adb1f3-d339-48f5-a631-45f393d26c95"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="247511094"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/e7e82222-bf9e-4a89-bddb-7e7377e0a7f5"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e7e82222-bf9e-4a89-bddb-7e7377e0a7f5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a69d5e37-404d-4491-b487-1eaf0def0842"/> + </medicationReference> + <subject> + <reference value="Patient/d0b67223-1bb2-4e3a-baf8-e368964a8f64"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/39adb1f3-d339-48f5-a631-45f393d26c95"/> + </requester> + <insurance> + <reference value="Coverage/ac593a43-9ad8-411b-928e-8d8b93ef26ec"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.json new file mode 100644 index 00000000..495f53d9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "34bce9af-082d-4590-94e9-e8e7c72d98f7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "668cfdf3-10a4-445f-9387-525cdfd51de6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/061a0035-fa13-4a5e-a60c-54363396cc52" + }, + "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": "061a0035-fa13-4a5e-a60c-54363396cc52", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d033ef7a-1e81-4170-9ec6-2c2442f29651", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "15ad281b-52ba-460a-a3f2-5b4abee9befb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f731f36c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.xml new file mode 100644 index 00000000..27136a70 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="34bce9af-082d-4590-94e9-e8e7c72d98f7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.745.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="668cfdf3-10a4-445f-9387-525cdfd51de6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/061a0035-fa13-4a5e-a60c-54363396cc52"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="061a0035-fa13-4a5e-a60c-54363396cc52"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d033ef7a-1e81-4170-9ec6-2c2442f29651"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="517599493"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8307-82061900"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ylvi.dauer@grossheim.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Schopenhauerstr. 11c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="11c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schopenhauerstr."/> + </extension> + </line> + <city value="Groß Lucian"/> + <postalCode value="71897"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="15ad281b-52ba-460a-a3f2-5b4abee9befb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="247511094"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/input.xml new file mode 100644 index 00000000..c965d3a8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="f88786be-0e84-4dae-95c5-253566e419ec"/> + <meta> + <lastUpdated value="2024-02-08T19:06:47.263+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.772.56"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:06:47.263+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/ddc9d4f3-762f-4e34-a46a-f876a3de8dff"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ddc9d4f3-762f-4e34-a46a-f876a3de8dff"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/35459836-f16f-4e92-b4b5-af95fb83cc84"/> + </subject> + <date value="2024-02-08T19:06:47+01:00"/> + <author> + <reference value="Practitioner/9ebca3b6-31b1-4615-9f1a-962c8df31a6a"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/166f57eb-9898-4c8a-b619-eed96517a0be"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/5e0c0389-f2d5-4bba-be7f-971f912543cf"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/ed04b07c-30e3-44a8-a5d2-b90e89dd2288"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/9d39ec41-1121-40f3-ba0c-a179f46b718a"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9d39ec41-1121-40f3-ba0c-a179f46b718a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="37914278"/> + </coding> + <text value="Ilopterproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/35459836-f16f-4e92-b4b5-af95fb83cc84"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="35459836-f16f-4e92-b4b5-af95fb83cc84"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1986-07-21"/> + <address> + <type value="both"/> + <line value="Kleingansweg 62b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="62b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kleingansweg"/> + </extension> + </line> + <city value="Groß Julian"/> + <postalCode value="36222"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/166f57eb-9898-4c8a-b619-eed96517a0be"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="166f57eb-9898-4c8a-b619-eed96517a0be"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="032584845"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05736) 6284866"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lene.soller@schuhaj.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Pestalozzistr. 49c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="49c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pestalozzistr."/> + </extension> + </line> + <city value="Joannastadt"/> + <postalCode value="59066"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/5e0c0389-f2d5-4bba-be7f-971f912543cf"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="5e0c0389-f2d5-4bba-be7f-971f912543cf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/26f31e20-8a1a-4728-bb71-f483c71021b8"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104224634"/> + </identifier> + <display value="BKK Deutsche Bank AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/9ebca3b6-31b1-4615-9f1a-962c8df31a6a"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9ebca3b6-31b1-4615-9f1a-962c8df31a6a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="180405337"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/ed04b07c-30e3-44a8-a5d2-b90e89dd2288"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ed04b07c-30e3-44a8-a5d2-b90e89dd2288"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/9d39ec41-1121-40f3-ba0c-a179f46b718a"/> + </medicationReference> + <subject> + <reference value="Patient/35459836-f16f-4e92-b4b5-af95fb83cc84"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/9ebca3b6-31b1-4615-9f1a-962c8df31a6a"/> + </requester> + <insurance> + <reference value="Coverage/5e0c0389-f2d5-4bba-be7f-971f912543cf"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.json new file mode 100644 index 00000000..d24878b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "3c15e557-86b4-4684-ac31-08e0ca9bef53", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "07e53bdc-a831-412b-b705-85a320af21ef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a451ac32-e4fd-4010-8ac9-33b4b4a77efe" + }, + "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": "a451ac32-e4fd-4010-8ac9-33b4b4a77efe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4ad3f077-603c-408e-9200-2e1c3b635fe7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2484f573-3407-4e90-892c-e84822b8b328", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f88786be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.xml new file mode 100644 index 00000000..fd60db61 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3c15e557-86b4-4684-ac31-08e0ca9bef53"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.772.56"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="07e53bdc-a831-412b-b705-85a320af21ef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a451ac32-e4fd-4010-8ac9-33b4b4a77efe"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a451ac32-e4fd-4010-8ac9-33b4b4a77efe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="37914278"/> + </coding> + <text value="Ilopterproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4ad3f077-603c-408e-9200-2e1c3b635fe7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="032584845"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05736) 6284866"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lene.soller@schuhaj.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Pestalozzistr. 49c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="49c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pestalozzistr."/> + </extension> + </line> + <city value="Joannastadt"/> + <postalCode value="59066"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2484f573-3407-4e90-892c-e84822b8b328"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="180405337"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 26739a1b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 89c8dd6a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f8d80421-595d-4ea1-a815-b18d2f411fcc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.767.71"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a160023a-f08b-4680-906c-2b7c2f22e3ae"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/4d5138a7-780e-43d6-8e51-ea5c8f9abe38"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4d5138a7-780e-43d6-8e51-ea5c8f9abe38"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a9680f6c-915f-4235-a521-caaaad0d8121"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="021082808"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-4306-82643876"/> - </telecom> - <telecom> - <system value="email"/> - <value value="friederike.raukuc@ruch.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Kolberger Str. 4"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="4"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Kolberger Str."/> - </extension> - </line> - <city value="Ferdinandfeld"/> - <postalCode value="34234"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ce274c5d-17c7-42d7-8188-543131700499"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="489959499"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/input.xml new file mode 100644 index 00000000..3a345697 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="62dd6004-911c-4312-b5f9-01a97a22231a"/> + <meta> + <lastUpdated value="2024-02-08T19:05:39.806+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.767.71"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:05:39.806+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/d8d85bd8-4be9-49ae-9e01-929cf2f01692"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d8d85bd8-4be9-49ae-9e01-929cf2f01692"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/02207aa1-0e1a-4ebf-a13e-902a88a2232f"/> + </subject> + <date value="2024-02-08T19:05:39+01:00"/> + <author> + <reference value="Practitioner/2418c248-197a-4769-9a89-e7a12b904248"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/cff57283-d52a-4790-81f9-a24c9af1cb84"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/763a27fb-d4c2-4193-bc7a-e4873b82ceca"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/8e6a333f-e4fa-4054-a2f9-0dece956db9c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/17218abd-f3d7-4770-82e6-0d2a65c1463f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="17218abd-f3d7-4770-82e6-0d2a65c1463f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/02207aa1-0e1a-4ebf-a13e-902a88a2232f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="02207aa1-0e1a-4ebf-a13e-902a88a2232f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1975-07-07"/> + <address> + <type value="both"/> + <line value="Pastor-Scheibler-Str. 71c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="71c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pastor-Scheibler-Str."/> + </extension> + </line> + <city value="West Henriettedorf"/> + <postalCode value="83812"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/cff57283-d52a-4790-81f9-a24c9af1cb84"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cff57283-d52a-4790-81f9-a24c9af1cb84"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="021082808"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-4306-82643876"/> + </telecom> + <telecom> + <system value="email"/> + <value value="friederike.raukuc@ruch.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Kolberger Str. 4"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="4"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kolberger Str."/> + </extension> + </line> + <city value="Ferdinandfeld"/> + <postalCode value="34234"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/763a27fb-d4c2-4193-bc7a-e4873b82ceca"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="763a27fb-d4c2-4193-bc7a-e4873b82ceca"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="50"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/97275e3f-b916-46f6-8a31-fee2f4439bb9"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="107829563"/> + </identifier> + <display value="BKK ZF und Partner"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/2418c248-197a-4769-9a89-e7a12b904248"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2418c248-197a-4769-9a89-e7a12b904248"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="489959499"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/8e6a333f-e4fa-4054-a2f9-0dece956db9c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8e6a333f-e4fa-4054-a2f9-0dece956db9c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/17218abd-f3d7-4770-82e6-0d2a65c1463f"/> + </medicationReference> + <subject> + <reference value="Patient/02207aa1-0e1a-4ebf-a13e-902a88a2232f"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/2418c248-197a-4769-9a89-e7a12b904248"/> + </requester> + <insurance> + <reference value="Coverage/763a27fb-d4c2-4193-bc7a-e4873b82ceca"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/output.json new file mode 100644 index 00000000..bfb46d89 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "d66dfb15-02ac-4261-a383-52c1be76f85c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "56a8577f-bd94-429b-bdd2-8d631fe9ef77", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d9f2a105-b6be-4ee9-a116-3b248607f5fe" + }, + "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": "d9f2a105-b6be-4ee9-a116-3b248607f5fe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7bed0c10-73d5-402c-be74-8323253d8377", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8d7b3926-837b-48eb-b881-a92cbc446299", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_62dd6004/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/output.xml new file mode 100644 index 00000000..ffa1a8e2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d66dfb15-02ac-4261-a383-52c1be76f85c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.767.71"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="56a8577f-bd94-429b-bdd2-8d631fe9ef77"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d9f2a105-b6be-4ee9-a116-3b248607f5fe"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d9f2a105-b6be-4ee9-a116-3b248607f5fe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7bed0c10-73d5-402c-be74-8323253d8377"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="021082808"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-4306-82643876"/> + </telecom> + <telecom> + <system value="email"/> + <value value="friederike.raukuc@ruch.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Kolberger Str. 4"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="4"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kolberger Str."/> + </extension> + </line> + <city value="Ferdinandfeld"/> + <postalCode value="34234"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8d7b3926-837b-48eb-b881-a92cbc446299"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="489959499"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/input.xml new file mode 100644 index 00000000..2b3c1a9f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="f9c4ff65-a40c-4f05-b3f8-7e5c846add7d"/> + <meta> + <lastUpdated value="2024-02-08T19:13:50.574+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.525.73"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:13:50.574+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/a48037d8-a138-47fa-9537-e0eee623f21e"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a48037d8-a138-47fa-9537-e0eee623f21e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/a45926b5-f444-486c-bf5b-694f2e8d2ced"/> + </subject> + <date value="2024-02-08T19:13:50+01:00"/> + <author> + <reference value="Practitioner/6305b2ce-75b5-4589-8a17-f2b621449a2b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/62ca9c57-bac2-418b-8449-56116ca1f3bb"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/987f0453-b121-4067-91d0-26252954aed5"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/f1b38b26-ee45-492b-9b8e-1113b948d06b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/f5b4d81a-1800-4c6c-8771-3e39d16c2c30"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f5b4d81a-1800-4c6c-8771-3e39d16c2c30"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/a45926b5-f444-486c-bf5b-694f2e8d2ced"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="a45926b5-f444-486c-bf5b-694f2e8d2ced"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1969-03-29"/> + <address> + <type value="both"/> + <line value="Lortzingstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lortzingstr."/> + </extension> + </line> + <city value="West Karloscheid"/> + <postalCode value="77428"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/62ca9c57-bac2-418b-8449-56116ca1f3bb"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="62ca9c57-bac2-418b-8449-56116ca1f3bb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="932596891"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0419) 301209056"/> + </telecom> + <telecom> + <system value="email"/> + <value value="soraya.rau@kron.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Erich-Heckel-Str. 25c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="25c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Erich-Heckel-Str."/> + </extension> + </line> + <city value="Bergerscheid"/> + <postalCode value="64326"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/987f0453-b121-4067-91d0-26252954aed5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="987f0453-b121-4067-91d0-26252954aed5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="71"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/3499c22a-410c-488c-9ef1-71c2e2c7d895"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140288"/> + </identifier> + <display value="Debeka"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/6305b2ce-75b5-4589-8a17-f2b621449a2b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6305b2ce-75b5-4589-8a17-f2b621449a2b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="411539329"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/f1b38b26-ee45-492b-9b8e-1113b948d06b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f1b38b26-ee45-492b-9b8e-1113b948d06b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/f5b4d81a-1800-4c6c-8771-3e39d16c2c30"/> + </medicationReference> + <subject> + <reference value="Patient/a45926b5-f444-486c-bf5b-694f2e8d2ced"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/6305b2ce-75b5-4589-8a17-f2b621449a2b"/> + </requester> + <insurance> + <reference value="Coverage/987f0453-b121-4067-91d0-26252954aed5"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.json new file mode 100644 index 00000000..45befffa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "48fa71b0-f2fe-46b6-8895-57b34f659c37", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "079a1dfb-d90b-4d8f-8fe6-e9d13129664d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b43104ed-529b-4f3c-b0b8-0152b9ee7abb" + }, + "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": "b43104ed-529b-4f3c-b0b8-0152b9ee7abb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d66a60c2-1719-4de7-a3d7-0a4e0e328468", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1dcd55bb-b069-4057-80fc-bce270d86022", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f9c4ff65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.xml new file mode 100644 index 00000000..07ca4a2e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="48fa71b0-f2fe-46b6-8895-57b34f659c37"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.525.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="079a1dfb-d90b-4d8f-8fe6-e9d13129664d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b43104ed-529b-4f3c-b0b8-0152b9ee7abb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b43104ed-529b-4f3c-b0b8-0152b9ee7abb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d66a60c2-1719-4de7-a3d7-0a4e0e328468"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="932596891"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0419) 301209056"/> + </telecom> + <telecom> + <system value="email"/> + <value value="soraya.rau@kron.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Erich-Heckel-Str. 25c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="25c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Erich-Heckel-Str."/> + </extension> + </line> + <city value="Bergerscheid"/> + <postalCode value="64326"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1dcd55bb-b069-4057-80fc-bce270d86022"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="411539329"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/input.xml new file mode 100644 index 00000000..010e26a4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="fb9ea88e-7dae-4b1a-bea8-8f1124602654"/> + <meta> + <lastUpdated value="2024-02-08T19:04:36.701+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.761.89"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:04:36.701+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/480c35d9-0baf-4fcd-bd03-9354729c9645"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="480c35d9-0baf-4fcd-bd03-9354729c9645"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/35300f8e-37d2-4a9c-a6b2-784fd14be3e9"/> + </subject> + <date value="2024-02-08T19:04:36+01:00"/> + <author> + <reference value="Practitioner/39308a1e-2249-445c-9880-cc5ee1d1d34e"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/b8f32f66-44a6-4e6f-92ff-d24b026c470c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/d133ec8c-f96c-4684-90a4-4524631a740a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/b7468f53-a525-47ff-b307-65bf6d2b3559"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/a1e3c5b7-683e-4d11-a6ad-0e8542bac7e2"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a1e3c5b7-683e-4d11-a6ad-0e8542bac7e2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/35300f8e-37d2-4a9c-a6b2-784fd14be3e9"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="35300f8e-37d2-4a9c-a6b2-784fd14be3e9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="2003-09-20"/> + <address> + <type value="both"/> + <line value="Wiebertshof 14"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="14"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wiebertshof"/> + </extension> + </line> + <city value="Nord Tamaraheim"/> + <postalCode value="34586"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/b8f32f66-44a6-4e6f-92ff-d24b026c470c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b8f32f66-44a6-4e6f-92ff-d24b026c470c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="710988584"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-882-3423799"/> + </telecom> + <telecom> + <system value="email"/> + <value value="samia.hingst@lohmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="In der Dasladen 80"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="80"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="In der Dasladen"/> + </extension> + </line> + <city value="Nord Sarahscheid"/> + <postalCode value="97709"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/d133ec8c-f96c-4684-90a4-4524631a740a"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="d133ec8c-f96c-4684-90a4-4524631a740a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/a320407e-3384-4706-855c-499230a5cb70"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109723913"/> + </identifier> + <display value="BKK Verkehrsbau Union (VBU)"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/39308a1e-2249-445c-9880-cc5ee1d1d34e"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="39308a1e-2249-445c-9880-cc5ee1d1d34e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="662556538"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/b7468f53-a525-47ff-b307-65bf6d2b3559"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b7468f53-a525-47ff-b307-65bf6d2b3559"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a1e3c5b7-683e-4d11-a6ad-0e8542bac7e2"/> + </medicationReference> + <subject> + <reference value="Patient/35300f8e-37d2-4a9c-a6b2-784fd14be3e9"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/39308a1e-2249-445c-9880-cc5ee1d1d34e"/> + </requester> + <insurance> + <reference value="Coverage/d133ec8c-f96c-4684-90a4-4524631a740a"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.json new file mode 100644 index 00000000..15a67391 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "69f3b251-f802-4440-9213-31ac8f0f360d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "46d7b863-ace6-4bfe-b52b-bf48d9bf4afe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9cf25cda-40d3-4135-83d7-9d019c044e32" + }, + "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": "9cf25cda-40d3-4135-83d7-9d019c044e32", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "93c63f8a-5579-4ac3-bd8a-4c65d9cf7a88", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5cd952bd-e1d1-4e20-98f8-5c7e1b9334d3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_fb9ea88e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.xml new file mode 100644 index 00000000..f2847c2b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="69f3b251-f802-4440-9213-31ac8f0f360d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.761.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="46d7b863-ace6-4bfe-b52b-bf48d9bf4afe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9cf25cda-40d3-4135-83d7-9d019c044e32"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9cf25cda-40d3-4135-83d7-9d019c044e32"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="93c63f8a-5579-4ac3-bd8a-4c65d9cf7a88"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="710988584"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-882-3423799"/> + </telecom> + <telecom> + <system value="email"/> + <value value="samia.hingst@lohmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="In der Dasladen 80"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="80"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="In der Dasladen"/> + </extension> + </line> + <city value="Nord Sarahscheid"/> + <postalCode value="97709"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5cd952bd-e1d1-4e20-98f8-5c7e1b9334d3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="662556538"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/input.xml new file mode 100644 index 00000000..31bb97b0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="fce076cc-c76a-4acd-b42d-d6bdda0bf4a3"/> + <meta> + <lastUpdated value="2024-02-08T19:03:55.369+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.758.98"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:03:55.369+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/14d4c9fc-9b54-4ef4-b0fe-d831e9d9a07f"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="14d4c9fc-9b54-4ef4-b0fe-d831e9d9a07f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/52af791c-bd2e-40df-a1f2-6d7559343788"/> + </subject> + <date value="2024-02-08T19:03:55+01:00"/> + <author> + <reference value="Practitioner/d65e2b70-69c1-4ada-bca9-dddac1702956"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/9b5e2a34-195d-4e0b-b2d6-03e7fdc50537"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/d49a1ab0-3cc6-4232-b448-a51d94aa9868"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/1a4ddbce-70f3-459f-8bf6-7bce6c624b1b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/31854a03-ec93-4ff2-ad12-b2e7fab74099"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="31854a03-ec93-4ff2-ad12-b2e7fab74099"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/52af791c-bd2e-40df-a1f2-6d7559343788"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="52af791c-bd2e-40df-a1f2-6d7559343788"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1993-11-12"/> + <address> + <type value="both"/> + <line value="Feuerbachstr. 58"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="58"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Feuerbachstr."/> + </extension> + </line> + <city value="Sattelmaiergrün"/> + <postalCode value="42176"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/9b5e2a34-195d-4e0b-b2d6-03e7fdc50537"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9b5e2a34-195d-4e0b-b2d6-03e7fdc50537"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="015446034"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-929-6020489"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johannes.ahrens@bogdashin.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Köttershof 163"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="163"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Köttershof"/> + </extension> + </line> + <city value="Lyafeld"/> + <postalCode value="17418"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/d49a1ab0-3cc6-4232-b448-a51d94aa9868"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="d49a1ab0-3cc6-4232-b448-a51d94aa9868"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/b60e929f-9413-4c9c-a625-0efb8e2a1f7a"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104926494"/> + </identifier> + <display value="Vaillant BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/d65e2b70-69c1-4ada-bca9-dddac1702956"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d65e2b70-69c1-4ada-bca9-dddac1702956"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="088952773"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/1a4ddbce-70f3-459f-8bf6-7bce6c624b1b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1a4ddbce-70f3-459f-8bf6-7bce6c624b1b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/31854a03-ec93-4ff2-ad12-b2e7fab74099"/> + </medicationReference> + <subject> + <reference value="Patient/52af791c-bd2e-40df-a1f2-6d7559343788"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/d65e2b70-69c1-4ada-bca9-dddac1702956"/> + </requester> + <insurance> + <reference value="Coverage/d49a1ab0-3cc6-4232-b448-a51d94aa9868"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.json new file mode 100644 index 00000000..5e5e9447 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "953a4c51-5e36-44d4-b40b-30d6bb783569", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5cb3ee60-3915-44fe-8a3d-d06d4fff6d65", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e967e530-1045-4713-8b05-13cc07a73be7" + }, + "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": "e967e530-1045-4713-8b05-13cc07a73be7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "217b58f8-32a1-411d-9098-6c815468f86f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "07026a70-255a-4aab-be54-affbb2c239e2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_fce076cc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.xml new file mode 100644 index 00000000..19004b86 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="953a4c51-5e36-44d4-b40b-30d6bb783569"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.758.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5cb3ee60-3915-44fe-8a3d-d06d4fff6d65"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e967e530-1045-4713-8b05-13cc07a73be7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e967e530-1045-4713-8b05-13cc07a73be7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="217b58f8-32a1-411d-9098-6c815468f86f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="015446034"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-929-6020489"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johannes.ahrens@bogdashin.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Köttershof 163"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="163"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Köttershof"/> + </extension> + </line> + <city value="Lyafeld"/> + <postalCode value="17418"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="07026a70-255a-4aab-be54-affbb2c239e2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="088952773"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 4e4a260f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index a58fa3e1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="feff6e76-432b-4d57-b36d-5831a87a00a6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.749.28"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d2a9e081-4df5-4872-be3c-6b19e650194e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/7cb0f074-2d66-45c1-a2a5-5beb59e8373b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7cb0f074-2d66-45c1-a2a5-5beb59e8373b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0a9bf779-9140-4a75-83d3-4b51229dc35b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="483945359"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0980) 607271140"/> - </telecom> - <telecom> - <system value="email"/> - <value value="robert.gunther@ranz.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Am Hemmelrather Hof 59a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="59a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Am Hemmelrather Hof"/> - </extension> - </line> - <city value="Honzburg"/> - <postalCode value="40382"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="09125735-9eed-4b9a-aae9-8eeea7bbbc4e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="768593806"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/input.xml new file mode 100644 index 00000000..1f951f85 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="14d9b2f3-703f-4594-a1b0-2fe191807de1"/> + <meta> + <lastUpdated value="2024-02-08T19:02:33.116+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.749.28"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:02:33.116+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/a2571a0b-53e1-47d8-aa8b-8f79d912fc72"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a2571a0b-53e1-47d8-aa8b-8f79d912fc72"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1fc6b1c0-065e-4663-b74a-73ccc37bc52a"/> + </subject> + <date value="2024-02-08T19:02:33+01:00"/> + <author> + <reference value="Practitioner/55c787f7-cb59-4885-9aa5-dc8b35bb4967"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/32bd0c3e-9456-46ab-a38d-a27b046b07d5"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/2b050bc9-828f-436d-b1d8-2ae1fa5c0845"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/a711b573-ad5d-4190-88f3-13a3c94ee456"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/ceb6982b-7e26-4b24-988e-c8183306965f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ceb6982b-7e26-4b24-988e-c8183306965f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/1fc6b1c0-065e-4663-b74a-73ccc37bc52a"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1fc6b1c0-065e-4663-b74a-73ccc37bc52a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1973-02-11"/> + <address> + <type value="both"/> + <line value="Friedenberger Str. 89c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="89c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Friedenberger Str."/> + </extension> + </line> + <city value="West Jacqueline"/> + <postalCode value="85160"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/32bd0c3e-9456-46ab-a38d-a27b046b07d5"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="32bd0c3e-9456-46ab-a38d-a27b046b07d5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="483945359"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0980) 607271140"/> + </telecom> + <telecom> + <system value="email"/> + <value value="robert.gunther@ranz.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Hemmelrather Hof 59a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="59a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Hemmelrather Hof"/> + </extension> + </line> + <city value="Honzburg"/> + <postalCode value="40382"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/2b050bc9-828f-436d-b1d8-2ae1fa5c0845"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="2b050bc9-828f-436d-b1d8-2ae1fa5c0845"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/9cb9d8a3-8c4b-42ea-b577-d7d7473f77d6"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101532301"/> + </identifier> + <display value="BKK Beiersdorf AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/55c787f7-cb59-4885-9aa5-dc8b35bb4967"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="55c787f7-cb59-4885-9aa5-dc8b35bb4967"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="768593806"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/a711b573-ad5d-4190-88f3-13a3c94ee456"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a711b573-ad5d-4190-88f3-13a3c94ee456"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/ceb6982b-7e26-4b24-988e-c8183306965f"/> + </medicationReference> + <subject> + <reference value="Patient/1fc6b1c0-065e-4663-b74a-73ccc37bc52a"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/55c787f7-cb59-4885-9aa5-dc8b35bb4967"/> + </requester> + <insurance> + <reference value="Coverage/2b050bc9-828f-436d-b1d8-2ae1fa5c0845"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/output.json new file mode 100644 index 00000000..a55f60ea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "144bb038-d713-4c62-af77-7bf96de672c0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "43235439-8b6a-483e-8adf-19bd1ee7048c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e0deaa62-d77a-4459-980e-f14e9dffb10c" + }, + "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": "e0deaa62-d77a-4459-980e-f14e9dffb10c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6a119faa-4aad-45b5-ab35-f5d6bbfb9e7f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3276de16-f56f-4d60-ae4b-e97eb2f0af04", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_14d9b2f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/output.xml new file mode 100644 index 00000000..4b20c398 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="144bb038-d713-4c62-af77-7bf96de672c0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.749.28"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="43235439-8b6a-483e-8adf-19bd1ee7048c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e0deaa62-d77a-4459-980e-f14e9dffb10c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e0deaa62-d77a-4459-980e-f14e9dffb10c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6a119faa-4aad-45b5-ab35-f5d6bbfb9e7f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="483945359"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0980) 607271140"/> + </telecom> + <telecom> + <system value="email"/> + <value value="robert.gunther@ranz.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Hemmelrather Hof 59a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="59a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Hemmelrather Hof"/> + </extension> + </line> + <city value="Honzburg"/> + <postalCode value="40382"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3276de16-f56f-4d60-ae4b-e97eb2f0af04"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="768593806"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 71ca2a8c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index ca8dfaf3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="004ef082-6a5a-437a-a17d-e84b521b1e46"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.551.92"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="66b4bbbf-a8ff-4238-a7d9-a79642aa0403"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/f13e77e0-e552-4277-830b-d06858665425"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f13e77e0-e552-4277-830b-d06858665425"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="30978281"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="00711feb-cbbf-4872-922a-d34c2d4e340a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="037278962"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0018) 308308710"/> - </telecom> - <telecom> - <system value="email"/> - <value value="adriano.schlawitz@leibold.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Julius-Leber-Str. 29b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="29b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Julius-Leber-Str."/> - </extension> - </line> - <city value="Groß Edgarbrunn"/> - <postalCode value="70481"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e218e136-0b48-4f59-b698-88a86dd2a122"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="250084958"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_12875f19/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/output.json new file mode 100644 index 00000000..3467e7f8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "43aa2c1d-35b7-485b-9c8e-26a930a424cd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "534839bf-54a3-48e8-83c8-341aa209a133", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2cc03e65-c861-44dd-8106-c5a5586f7602" + }, + "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": "2cc03e65-c861-44dd-8106-c5a5586f7602", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8ab24e56-dc23-4478-b25d-7c10bde1e2c3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2e7194ec-9fad-4178-8cff-ac7cbd424ffd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_12875f19/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/output.xml new file mode 100644 index 00000000..20f1f022 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="43aa2c1d-35b7-485b-9c8e-26a930a424cd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.551.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="534839bf-54a3-48e8-83c8-341aa209a133"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2cc03e65-c861-44dd-8106-c5a5586f7602"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2cc03e65-c861-44dd-8106-c5a5586f7602"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="30978281"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8ab24e56-dc23-4478-b25d-7c10bde1e2c3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="037278962"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0018) 308308710"/> + </telecom> + <telecom> + <system value="email"/> + <value value="adriano.schlawitz@leibold.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Julius-Leber-Str. 29b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Julius-Leber-Str."/> + </extension> + </line> + <city value="Groß Edgarbrunn"/> + <postalCode value="70481"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2e7194ec-9fad-4178-8cff-ac7cbd424ffd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="250084958"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/input.xml new file mode 100644 index 00000000..ed1220c4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="12875f19-4ec7-43bc-bb33-49623c4c49c7"/> + <meta> + <lastUpdated value="2024-02-08T19:19:52.701+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.551.92"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:19:52.701+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/cbca23f4-de51-40e4-93d5-22583c150825"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="cbca23f4-de51-40e4-93d5-22583c150825"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/10e04bf9-7dbb-4f7c-b7e8-ba30cc1f5f59"/> + </subject> + <date value="2024-02-08T19:19:52+01:00"/> + <author> + <reference value="Practitioner/926c1860-0e31-4e42-be25-2addc1d60628"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/43c3e556-b5df-4b56-999c-4243632414a9"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/fe67628e-3d4f-4801-af31-bce9f8d4f745"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/5020186d-4525-4895-847e-77fafdce7a7c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/6f39c3e2-e2c8-41d1-ba0b-165f8eb2d72b"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6f39c3e2-e2c8-41d1-ba0b-165f8eb2d72b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="30978281"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/10e04bf9-7dbb-4f7c-b7e8-ba30cc1f5f59"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="10e04bf9-7dbb-4f7c-b7e8-ba30cc1f5f59"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2005-10-08"/> + <address> + <type value="both"/> + <line value="Kolmarer Str. 992"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="992"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kolmarer Str."/> + </extension> + </line> + <city value="Svenjaheim"/> + <postalCode value="21472"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/43c3e556-b5df-4b56-999c-4243632414a9"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="43c3e556-b5df-4b56-999c-4243632414a9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="037278962"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0018) 308308710"/> + </telecom> + <telecom> + <system value="email"/> + <value value="adriano.schlawitz@leibold.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Julius-Leber-Str. 29b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Julius-Leber-Str."/> + </extension> + </line> + <city value="Groß Edgarbrunn"/> + <postalCode value="70481"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/fe67628e-3d4f-4801-af31-bce9f8d4f745"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="fe67628e-3d4f-4801-af31-bce9f8d4f745"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="46"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/4345d7e4-88dc-40a3-847e-a8894b0fa3b4"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141358"/> + </identifier> + <display value="Provinzial"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/926c1860-0e31-4e42-be25-2addc1d60628"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="926c1860-0e31-4e42-be25-2addc1d60628"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="250084958"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/5020186d-4525-4895-847e-77fafdce7a7c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5020186d-4525-4895-847e-77fafdce7a7c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/6f39c3e2-e2c8-41d1-ba0b-165f8eb2d72b"/> + </medicationReference> + <subject> + <reference value="Patient/10e04bf9-7dbb-4f7c-b7e8-ba30cc1f5f59"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/926c1860-0e31-4e42-be25-2addc1d60628"/> + </requester> + <insurance> + <reference value="Coverage/fe67628e-3d4f-4801-af31-bce9f8d4f745"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.json new file mode 100644 index 00000000..59572b42 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "3b7be694-95e0-45a9-99be-1702d04f72c1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "760b22f1-e949-4fb6-a02e-68811f5a97f1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/05010402-220b-47d5-bbe6-790f7d327be1" + }, + "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": "05010402-220b-47d5-bbe6-790f7d327be1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "63a6acc7-04e1-465b-8ded-80a0b93d4dee", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c7939ad6-1f66-40d0-a5ec-6f332bfe7f48", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_12875f19/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.xml new file mode 100644 index 00000000..84c3b643 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3b7be694-95e0-45a9-99be-1702d04f72c1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.551.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="760b22f1-e949-4fb6-a02e-68811f5a97f1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/05010402-220b-47d5-bbe6-790f7d327be1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="05010402-220b-47d5-bbe6-790f7d327be1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="30978281"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="63a6acc7-04e1-465b-8ded-80a0b93d4dee"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="037278962"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0018) 308308710"/> + </telecom> + <telecom> + <system value="email"/> + <value value="adriano.schlawitz@leibold.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Julius-Leber-Str. 29b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Julius-Leber-Str."/> + </extension> + </line> + <city value="Groß Edgarbrunn"/> + <postalCode value="70481"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c7939ad6-1f66-40d0-a5ec-6f332bfe7f48"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="250084958"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 89ec4b19..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index c29c73c1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1e697f5a-1a19-444a-be8b-acba986d27d1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.532.52"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="911b9735-430a-4ba3-abaa-b54a9ee523c3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/809b6c79-0ed9-4cd5-a8c6-0851b206a7a0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="809b6c79-0ed9-4cd5-a8c6-0851b206a7a0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="22477205"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="89efb289-6ed1-44f1-9455-576c7d5d8947"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="383269360"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(01048) 7836562"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mirac.cleem@schonberg.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Goethestr. 54c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="54c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Goethestr."/> - </extension> - </line> - <city value="Lindenmayerberg"/> - <postalCode value="10316"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="0ba19894-1d16-415e-bf3e-a13202741dee"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="735114655"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_c44d90eb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/output.json new file mode 100644 index 00000000..7184c16a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "2736747f-cc71-402a-96bd-90280016f190", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2482d037-5b77-491f-96fe-20a53b081af9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/96952b67-6cc3-42c5-b9ae-2d5e036a3435" + }, + "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": "96952b67-6cc3-42c5-b9ae-2d5e036a3435", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2780ea1b-b705-49ee-b27b-6a231a1954c3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0cec6d81-9112-4347-a7c5-e49535f158fe", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c44d90eb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/output.xml new file mode 100644 index 00000000..0cf3a365 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2736747f-cc71-402a-96bd-90280016f190"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.532.52"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2482d037-5b77-491f-96fe-20a53b081af9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/96952b67-6cc3-42c5-b9ae-2d5e036a3435"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="96952b67-6cc3-42c5-b9ae-2d5e036a3435"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="22477205"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2780ea1b-b705-49ee-b27b-6a231a1954c3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="383269360"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(01048) 7836562"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mirac.cleem@schonberg.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Goethestr. 54c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="54c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Goethestr."/> + </extension> + </line> + <city value="Lindenmayerberg"/> + <postalCode value="10316"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0cec6d81-9112-4347-a7c5-e49535f158fe"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="735114655"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_25e815da/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.json new file mode 100644 index 00000000..e7bfeed6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "f84532cc-d40a-4e8e-9ab7-fd8134679116", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e8facb53-7bb3-408f-9acf-9b2477780093", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/95b25593-9a5b-4fb7-a3a8-9e5d652420be" + }, + "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": "95b25593-9a5b-4fb7-a3a8-9e5d652420be", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "81e707bf-629d-4b34-b1f7-4c76baf9281e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6e1e6b9b-9602-4be4-9e9b-93664ee137b5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_25e815da/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.xml new file mode 100644 index 00000000..b6879857 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f84532cc-d40a-4e8e-9ab7-fd8134679116"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.541.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e8facb53-7bb3-408f-9acf-9b2477780093"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/95b25593-9a5b-4fb7-a3a8-9e5d652420be"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="95b25593-9a5b-4fb7-a3a8-9e5d652420be"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25582871"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="81e707bf-629d-4b34-b1f7-4c76baf9281e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="559166155"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3334-51630533"/> + </telecom> + <telecom> + <system value="email"/> + <value value="vivien.schwandke@xn--knig-5qa.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Wingchen-Str. 44c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="44c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Wingchen-Str."/> + </extension> + </line> + <city value="Kjellgrün"/> + <postalCode value="37345"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6e1e6b9b-9602-4be4-9e9b-93664ee137b5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="781777272"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_3817df9f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.json new file mode 100644 index 00000000..7c17150e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "3a0c2f4a-6c6e-4e21-852b-d0b02961b6e3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ea31f233-90cb-437c-892a-9fb6305118e1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/21b040dd-edd0-4ffa-b44e-5f4f073c4189" + }, + "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": "21b040dd-edd0-4ffa-b44e-5f4f073c4189", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "751fd86d-5921-4d58-b7ef-7132b576e676", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "288e6e17-2c16-4691-8647-e3c31036d7e0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3817df9f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.xml new file mode 100644 index 00000000..37a027a0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3a0c2f4a-6c6e-4e21-852b-d0b02961b6e3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.554.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ea31f233-90cb-437c-892a-9fb6305118e1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/21b040dd-edd0-4ffa-b44e-5f4f073c4189"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="21b040dd-edd0-4ffa-b44e-5f4f073c4189"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="89414303"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="751fd86d-5921-4d58-b7ef-7132b576e676"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614508968"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(04452) 0775160"/> + </telecom> + <telecom> + <system value="email"/> + <value value="peter.wiebe@scherz.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Borussiastr. 085"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="085"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Borussiastr."/> + </extension> + </line> + <city value="Bad Alinahagen"/> + <postalCode value="60537"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="288e6e17-2c16-4691-8647-e3c31036d7e0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="356309197"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 8e4399bb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 0cf77342..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="39ea3447-257d-48bf-9d8e-b3375ad82cbf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.534.46"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="cdf78ed4-e25f-4d61-a99a-d149296c5aaf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/52a586d2-610e-43d1-91e1-7b08fb7222cf"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="52a586d2-610e-43d1-91e1-7b08fb7222cf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="24025068"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9f21fc75-83f3-437a-b8a7-b90a294494a3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="469332828"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-8724-61741673"/> - </telecom> - <telecom> - <system value="email"/> - <value value="alan.tillack@matthes.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Habichtgasse 07a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="07a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Habichtgasse"/> - </extension> - </line> - <city value="Lunaburg"/> - <postalCode value="21832"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d1d1a93f-b530-4b47-b381-8b8b88a2023b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="382278094"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_4d68c364/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/output.json new file mode 100644 index 00000000..2900298e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "10b5034d-0466-48c2-898e-6631b540854b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "94ccfbd7-91cd-4671-bbe1-80d71eb51b22", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e26249c0-c170-48ff-9078-5471d616335d" + }, + "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": "e26249c0-c170-48ff-9078-5471d616335d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "afea03a1-5a3e-40ca-a2ac-083c3aee183e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3e24416f-8df4-4a21-9390-98882d3ce5e1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4d68c364/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/output.xml new file mode 100644 index 00000000..a0cea2fa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="10b5034d-0466-48c2-898e-6631b540854b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.534.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="94ccfbd7-91cd-4671-bbe1-80d71eb51b22"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e26249c0-c170-48ff-9078-5471d616335d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e26249c0-c170-48ff-9078-5471d616335d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="24025068"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="afea03a1-5a3e-40ca-a2ac-083c3aee183e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="469332828"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8724-61741673"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alan.tillack@matthes.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Habichtgasse 07a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="07a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Habichtgasse"/> + </extension> + </line> + <city value="Lunaburg"/> + <postalCode value="21832"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3e24416f-8df4-4a21-9390-98882d3ce5e1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="382278094"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_3a052e22/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.json new file mode 100644 index 00000000..494864f3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "5bdc1a11-47b6-4556-aee9-00c3ba83a2c0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b4d321d2-8685-4a78-b8fb-a7b02b0bb641", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5bab5471-3abe-4fa9-8c69-bc4ad8263c61" + }, + "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": "5bab5471-3abe-4fa9-8c69-bc4ad8263c61", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "190d6eaa-4cd5-4ca9-b0c9-3069cb01cb62", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c6aba258-c37f-4351-b214-9a4a3895c85a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3a052e22/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.xml new file mode 100644 index 00000000..a5cc3248 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5bdc1a11-47b6-4556-aee9-00c3ba83a2c0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.552.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b4d321d2-8685-4a78-b8fb-a7b02b0bb641"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5bab5471-3abe-4fa9-8c69-bc4ad8263c61"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5bab5471-3abe-4fa9-8c69-bc4ad8263c61"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="72828845"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="190d6eaa-4cd5-4ca9-b0c9-3069cb01cb62"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="737393702"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02065) 5910464"/> + </telecom> + <telecom> + <system value="email"/> + <value value="gina.kaesmacher@faulhaber.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Van't-Hoff-Str. 35"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="35"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Van't-Hoff-Str."/> + </extension> + </line> + <city value="Kayberg"/> + <postalCode value="20971"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c6aba258-c37f-4351-b214-9a4a3895c85a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="936686332"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_3cb47bc5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.json new file mode 100644 index 00000000..6f73edc0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "cc039573-5899-4b07-ac74-2f3852e91523", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3c344305-4b16-4596-b16d-cfb49e5e96a1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/070cc5fa-31ac-48c3-a4a5-ab513c089a49" + }, + "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": "070cc5fa-31ac-48c3-a4a5-ab513c089a49", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cd3ac474-f299-43ad-b66c-5ad6908ff8fc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "61b8dd12-37e9-41c8-a7b3-9e431f8c973d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3cb47bc5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.xml new file mode 100644 index 00000000..f49ad580 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="cc039573-5899-4b07-ac74-2f3852e91523"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.553.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3c344305-4b16-4596-b16d-cfb49e5e96a1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/070cc5fa-31ac-48c3-a4a5-ab513c089a49"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="070cc5fa-31ac-48c3-a4a5-ab513c089a49"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09921210"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cd3ac474-f299-43ad-b66c-5ad6908ff8fc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="473655401"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5210-24343099"/> + </telecom> + <telecom> + <system value="email"/> + <value value="michel.tremmel@xn--grtzinger-17a.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Albert-Einstein-Str. 43b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="43b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Albert-Einstein-Str."/> + </extension> + </line> + <city value="West William"/> + <postalCode value="00269"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="61b8dd12-37e9-41c8-a7b3-9e431f8c973d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="360613903"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 9a0426d6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 187f77bd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="3fb29ad6-08cb-4eb3-b2db-52b187eef8c0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.533.49"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5fbf8201-293c-442b-84f2-b4950fb05c5d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/daa92e5f-8902-4890-bbe4-fa82a42e7e09"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="daa92e5f-8902-4890-bbe4-fa82a42e7e09"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="84264572"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8d9546c8-f55f-4ee0-9abf-e6e5cd05b530"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="787145379"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(05009) 9116624"/> - </telecom> - <telecom> - <system value="email"/> - <value value="anthony.leyckes@fenner.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Ropenstaller Weg 700"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="700"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Ropenstaller Weg"/> - </extension> - </line> - <city value="Doskoczynskiburg"/> - <postalCode value="08984"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a881f844-25d0-4bbe-bcc2-8877310823e6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="231796846"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_6b244b96/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/output.json new file mode 100644 index 00000000..d762b694 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "6f813b07-383a-4574-9032-f38bf5b838c8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2ce64cbd-0d3a-4bb9-9470-2e00056d3b4e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/23f49074-f548-4792-b002-6c79e88330d9" + }, + "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": "23f49074-f548-4792-b002-6c79e88330d9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b73b9e8b-0e8d-43ae-b765-22ce0469eb54", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b1356a52-6152-4020-8058-8eed2c628a1f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6b244b96/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/output.xml new file mode 100644 index 00000000..e745fc20 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6f813b07-383a-4574-9032-f38bf5b838c8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2ce64cbd-0d3a-4bb9-9470-2e00056d3b4e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/23f49074-f548-4792-b002-6c79e88330d9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="23f49074-f548-4792-b002-6c79e88330d9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b73b9e8b-0e8d-43ae-b765-22ce0469eb54"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="787145379"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05009) 9116624"/> + </telecom> + <telecom> + <system value="email"/> + <value value="anthony.leyckes@fenner.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Ropenstaller Weg 700"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="700"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ropenstaller Weg"/> + </extension> + </line> + <city value="Doskoczynskiburg"/> + <postalCode value="08984"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b1356a52-6152-4020-8058-8eed2c628a1f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="231796846"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/input.xml new file mode 100644 index 00000000..dbda7788 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4d68c364-8926-44de-8ffd-b17756755efa"/> + <meta> + <lastUpdated value="2024-02-08T19:16:08.099+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.534.46"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:16:08.099+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/e0534847-3b69-4376-b26a-9e8926ebc358"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="e0534847-3b69-4376-b26a-9e8926ebc358"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ecfda365-3e4d-442a-b719-7486263cdcb1"/> + </subject> + <date value="2024-02-08T19:16:08+01:00"/> + <author> + <reference value="Practitioner/dcfc70e3-d76d-4447-b3a2-0a804192ce30"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/afab3d62-28ee-4284-9d70-1ffa7a9063ce"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/3109df5c-12dd-42fa-b1b5-8a3f6837177e"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/5f4ea0dc-b9de-4039-8540-728b644b0ae6"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/59b53a09-4763-4725-84a9-481f0a2cdb00"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="59b53a09-4763-4725-84a9-481f0a2cdb00"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="24025068"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/ecfda365-3e4d-442a-b719-7486263cdcb1"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ecfda365-3e4d-442a-b719-7486263cdcb1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1980-05-13"/> + <address> + <type value="both"/> + <line value="Herderstr. 94"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="94"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herderstr."/> + </extension> + </line> + <city value="Alt Nikitastadt"/> + <postalCode value="45836"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/afab3d62-28ee-4284-9d70-1ffa7a9063ce"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="afab3d62-28ee-4284-9d70-1ffa7a9063ce"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="469332828"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8724-61741673"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alan.tillack@matthes.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Habichtgasse 07a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="07a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Habichtgasse"/> + </extension> + </line> + <city value="Lunaburg"/> + <postalCode value="21832"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/3109df5c-12dd-42fa-b1b5-8a3f6837177e"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="3109df5c-12dd-42fa-b1b5-8a3f6837177e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="46"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/d400898a-135d-4146-891c-da9424a053f9"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141096"/> + </identifier> + <display value="LVM"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/dcfc70e3-d76d-4447-b3a2-0a804192ce30"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dcfc70e3-d76d-4447-b3a2-0a804192ce30"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="382278094"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/5f4ea0dc-b9de-4039-8540-728b644b0ae6"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5f4ea0dc-b9de-4039-8540-728b644b0ae6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/59b53a09-4763-4725-84a9-481f0a2cdb00"/> + </medicationReference> + <subject> + <reference value="Patient/ecfda365-3e4d-442a-b719-7486263cdcb1"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/dcfc70e3-d76d-4447-b3a2-0a804192ce30"/> + </requester> + <insurance> + <reference value="Coverage/3109df5c-12dd-42fa-b1b5-8a3f6837177e"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.json new file mode 100644 index 00000000..d9adb354 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ba9777db-72ca-48e5-b233-28dac80a84c3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fc5bcbbf-f4b3-470f-ac7b-be0e02c26bcb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5f0c8283-7df7-4866-969f-7de4a0ca21a5" + }, + "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": "5f0c8283-7df7-4866-969f-7de4a0ca21a5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "89302fdb-e35e-4a1f-a3ae-9a715289a644", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "604ed1f2-414e-4bec-8f85-d116749fd9e2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4d68c364/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.xml new file mode 100644 index 00000000..e0bd8e2a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ba9777db-72ca-48e5-b233-28dac80a84c3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.534.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fc5bcbbf-f4b3-470f-ac7b-be0e02c26bcb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5f0c8283-7df7-4866-969f-7de4a0ca21a5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5f0c8283-7df7-4866-969f-7de4a0ca21a5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="24025068"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="89302fdb-e35e-4a1f-a3ae-9a715289a644"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="469332828"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8724-61741673"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alan.tillack@matthes.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Habichtgasse 07a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="07a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Habichtgasse"/> + </extension> + </line> + <city value="Lunaburg"/> + <postalCode value="21832"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="604ed1f2-414e-4bec-8f85-d116749fd9e2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="382278094"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 4f7c4813..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 78b4a6b8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="53d1cfe9-a1a6-4c90-b433-9884fba28eb2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.549.98"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="326ef9fa-b32b-4b8b-b2d8-bb0d6b926032"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/b0d48557-e8e1-416a-b34a-562a9994f14b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b0d48557-e8e1-416a-b34a-562a9994f14b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10642981"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3173ee19-9bcd-4a05-8d19-670be347ddb4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="479601479"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-7131-23459087"/> - </telecom> - <telecom> - <system value="email"/> - <value value="klaas.reinelt@bigdeli.ch"/> - </telecom> - <address> - <type value="both"/> - <line value="Memelstr. 60"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="60"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Memelstr."/> - </extension> - </line> - <city value="Davidescheid"/> - <postalCode value="75449"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="758ab2c1-81cc-43ff-b174-448eaf5f5d43"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="786249106"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_ee45abcb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/output.json new file mode 100644 index 00000000..f0cd532f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "4e832ea1-7fec-43c3-a286-f5bbd1e15767", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9cf8c8a9-cc6e-4c39-83c5-db07a4dd52ff", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/80e825ea-a2cd-4e84-8d61-5e5d491eb504" + }, + "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": "80e825ea-a2cd-4e84-8d61-5e5d491eb504", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f43f1643-7405-4c14-ae69-16893b61b9f4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "60c7ecf3-262f-4282-b8f2-bedb0a092b81", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ee45abcb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/output.xml new file mode 100644 index 00000000..7fb913e7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4e832ea1-7fec-43c3-a286-f5bbd1e15767"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.549.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9cf8c8a9-cc6e-4c39-83c5-db07a4dd52ff"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/80e825ea-a2cd-4e84-8d61-5e5d491eb504"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="80e825ea-a2cd-4e84-8d61-5e5d491eb504"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10642981"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f43f1643-7405-4c14-ae69-16893b61b9f4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="479601479"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7131-23459087"/> + </telecom> + <telecom> + <system value="email"/> + <value value="klaas.reinelt@bigdeli.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Memelstr. 60"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="60"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Memelstr."/> + </extension> + </line> + <city value="Davidescheid"/> + <postalCode value="75449"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="60c7ecf3-262f-4282-b8f2-bedb0a092b81"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="786249106"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index e17a7270..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index b9fd2c10..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="59da5b8a-4c5b-4dd9-b947-6881be111f66"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.554.83"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="94c2e781-9b40-4cd2-87a4-21836b7b0712"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/6c960237-283e-4e9b-beba-e021ee407627"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6c960237-283e-4e9b-beba-e021ee407627"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="89414303"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="da971789-6e05-48ee-86a5-ceefc2cc4a6e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="614508968"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(04452) 0775160"/> - </telecom> - <telecom> - <system value="email"/> - <value value="peter.wiebe@scherz.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Borussiastr. 085"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="085"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Borussiastr."/> - </extension> - </line> - <city value="Bad Alinahagen"/> - <postalCode value="60537"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a3644fa7-b91d-4e9a-be15-6b3903b262e4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="356309197"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/input.xml new file mode 100644 index 00000000..9e051845 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="3817df9f-9c38-4dbe-b0a4-787b92471380"/> + <meta> + <lastUpdated value="2024-02-08T19:20:41.559+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.554.83"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:20:41.559+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/70451b85-ed12-4ef1-b27d-8d3e8062f619"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="70451b85-ed12-4ef1-b27d-8d3e8062f619"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/12bad474-1fa3-47d8-a441-2bc96e7271b7"/> + </subject> + <date value="2024-02-08T19:20:41+01:00"/> + <author> + <reference value="Practitioner/eda958eb-1d19-49a4-b985-ee3836751a4a"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/0acabb17-87fc-4902-be22-929a39a4d214"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/78edcbd5-587f-4c2d-a2c9-ed0695a4cd2a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/29b84e4d-e63e-4714-9bf4-1972e89dbd9c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/b153e444-f57a-4dc5-9ceb-f4518027accb"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b153e444-f57a-4dc5-9ceb-f4518027accb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="89414303"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/12bad474-1fa3-47d8-a441-2bc96e7271b7"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="12bad474-1fa3-47d8-a441-2bc96e7271b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2006-01-27"/> + <address> + <type value="both"/> + <line value="Neukronenberger Str. 63b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="63b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Neukronenberger Str."/> + </extension> + </line> + <city value="Neu Emmy"/> + <postalCode value="34048"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/0acabb17-87fc-4902-be22-929a39a4d214"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0acabb17-87fc-4902-be22-929a39a4d214"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614508968"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(04452) 0775160"/> + </telecom> + <telecom> + <system value="email"/> + <value value="peter.wiebe@scherz.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Borussiastr. 085"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="085"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Borussiastr."/> + </extension> + </line> + <city value="Bad Alinahagen"/> + <postalCode value="60537"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/78edcbd5-587f-4c2d-a2c9-ed0695a4cd2a"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="78edcbd5-587f-4c2d-a2c9-ed0695a4cd2a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="98"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1c56fdf1-ad3c-4d70-8a67-3eff790b7f1b"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141154"/> + </identifier> + <display value="Vigo Krankenversicherung VVaG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/eda958eb-1d19-49a4-b985-ee3836751a4a"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="eda958eb-1d19-49a4-b985-ee3836751a4a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="356309197"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/29b84e4d-e63e-4714-9bf4-1972e89dbd9c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="29b84e4d-e63e-4714-9bf4-1972e89dbd9c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b153e444-f57a-4dc5-9ceb-f4518027accb"/> + </medicationReference> + <subject> + <reference value="Patient/12bad474-1fa3-47d8-a441-2bc96e7271b7"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/eda958eb-1d19-49a4-b985-ee3836751a4a"/> + </requester> + <insurance> + <reference value="Coverage/78edcbd5-587f-4c2d-a2c9-ed0695a4cd2a"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/output.json new file mode 100644 index 00000000..ad3bddc4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "e92bddd8-7b1e-4e02-b46e-0bd842d8b0f0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8c43ccbc-1379-4e90-87ed-c208666ea88c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fd2bd7d3-0a30-4b9c-8e5d-ebc117a6805e" + }, + "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": "fd2bd7d3-0a30-4b9c-8e5d-ebc117a6805e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cd5b5eb1-81e9-4c42-b7a1-4177961d3426", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1f1747d9-7a15-468b-afd7-40f6ab2f9175", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3817df9f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/output.xml new file mode 100644 index 00000000..dca8324a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e92bddd8-7b1e-4e02-b46e-0bd842d8b0f0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.554.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8c43ccbc-1379-4e90-87ed-c208666ea88c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fd2bd7d3-0a30-4b9c-8e5d-ebc117a6805e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fd2bd7d3-0a30-4b9c-8e5d-ebc117a6805e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="89414303"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cd5b5eb1-81e9-4c42-b7a1-4177961d3426"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614508968"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(04452) 0775160"/> + </telecom> + <telecom> + <system value="email"/> + <value value="peter.wiebe@scherz.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Borussiastr. 085"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="085"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Borussiastr."/> + </extension> + </line> + <city value="Bad Alinahagen"/> + <postalCode value="60537"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1f1747d9-7a15-468b-afd7-40f6ab2f9175"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="356309197"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 6dfda78b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 33b1f501..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5e9c3c5a-3afe-4f48-90ca-60e2b29996a7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.531.55"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b7bf7119-dd4f-4730-af82-fd1704738cf5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/0f73795b-65c6-44cc-be03-3f8badf3ac13"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0f73795b-65c6-44cc-be03-3f8badf3ac13"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="74302188"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a3ef571f-d0e4-4bed-aec1-c649fcfc9a55"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="464680902"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0118) 367892342"/> - </telecom> - <telecom> - <system value="email"/> - <value value="thomas.hort@marahrens.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Behringstr. 32a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="32a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Behringstr."/> - </extension> - </line> - <city value="Goedickehagen"/> - <postalCode value="97285"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="66faf585-0944-40c2-8f29-2178d89a23b8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="056578601"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_9963336d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/output.json new file mode 100644 index 00000000..11c8ea6f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "e3db08d1-ed39-4b99-ad6c-a80a3d83dfa0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "91c43718-166a-4b27-a900-4317b5f8f699", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6f5f820f-5ae5-4f3b-ba7c-5baaa6581f51" + }, + "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": "6f5f820f-5ae5-4f3b-ba7c-5baaa6581f51", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "553421a5-b474-46e4-9d26-ed4b22c2148f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8b8c7745-0434-4954-9ce6-df168cf5879d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9963336d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/output.xml new file mode 100644 index 00000000..4fa2b3fc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e3db08d1-ed39-4b99-ad6c-a80a3d83dfa0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.531.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="91c43718-166a-4b27-a900-4317b5f8f699"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6f5f820f-5ae5-4f3b-ba7c-5baaa6581f51"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6f5f820f-5ae5-4f3b-ba7c-5baaa6581f51"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="74302188"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="553421a5-b474-46e4-9d26-ed4b22c2148f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="464680902"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0118) 367892342"/> + </telecom> + <telecom> + <system value="email"/> + <value value="thomas.hort@marahrens.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Behringstr. 32a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="32a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Behringstr."/> + </extension> + </line> + <city value="Goedickehagen"/> + <postalCode value="97285"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8b8c7745-0434-4954-9ce6-df168cf5879d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="056578601"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/input.xml new file mode 100644 index 00000000..e13b101d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="6b244b96-f0a8-4e31-b739-9998ba4f667a"/> + <meta> + <lastUpdated value="2024-02-08T19:15:57.560+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:15:57.560+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/9855bc2c-b0d8-44f0-b360-3b1f9fa6b6fe"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="9855bc2c-b0d8-44f0-b360-3b1f9fa6b6fe"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/71c2b277-2dc1-4ea9-a7d5-be021a99e29f"/> + </subject> + <date value="2024-02-08T19:15:57+01:00"/> + <author> + <reference value="Practitioner/fff69e0e-0805-42dc-90df-7298c7aad109"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/ca6ecc74-32d5-4daa-9013-285eb20d6ef9"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/3ff9d7fd-15cc-4df7-bf10-f25fd99dfac5"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/f5aaf0db-d8ed-4ea0-92ec-48a08df224f8"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/81a3a319-f7a4-42d1-bd10-d929186b36b7"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="81a3a319-f7a4-42d1-bd10-d929186b36b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/71c2b277-2dc1-4ea9-a7d5-be021a99e29f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="71c2b277-2dc1-4ea9-a7d5-be021a99e29f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1962-11-24"/> + <address> + <type value="both"/> + <line value="Adolf-Baeyer-Str. 19a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="19a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Adolf-Baeyer-Str."/> + </extension> + </line> + <city value="Groß Bianca"/> + <postalCode value="82646"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/ca6ecc74-32d5-4daa-9013-285eb20d6ef9"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ca6ecc74-32d5-4daa-9013-285eb20d6ef9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="787145379"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05009) 9116624"/> + </telecom> + <telecom> + <system value="email"/> + <value value="anthony.leyckes@fenner.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Ropenstaller Weg 700"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="700"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ropenstaller Weg"/> + </extension> + </line> + <city value="Doskoczynskiburg"/> + <postalCode value="08984"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/3ff9d7fd-15cc-4df7-bf10-f25fd99dfac5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="3ff9d7fd-15cc-4df7-bf10-f25fd99dfac5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="88"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/215077be-0034-4a9c-b51b-47826f3d3978"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141041"/> + </identifier> + <display value="KUK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/fff69e0e-0805-42dc-90df-7298c7aad109"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="fff69e0e-0805-42dc-90df-7298c7aad109"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="231796846"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/f5aaf0db-d8ed-4ea0-92ec-48a08df224f8"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f5aaf0db-d8ed-4ea0-92ec-48a08df224f8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/81a3a319-f7a4-42d1-bd10-d929186b36b7"/> + </medicationReference> + <subject> + <reference value="Patient/71c2b277-2dc1-4ea9-a7d5-be021a99e29f"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/fff69e0e-0805-42dc-90df-7298c7aad109"/> + </requester> + <insurance> + <reference value="Coverage/3ff9d7fd-15cc-4df7-bf10-f25fd99dfac5"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.json new file mode 100644 index 00000000..c66ef63a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "2dfcd22f-184c-438f-a67b-d1b6a1851f1f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "86ebc768-7bb2-4450-add7-2034fc09a836", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a29f0182-3a4e-4a66-9966-69e0dd2a06a5" + }, + "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": "a29f0182-3a4e-4a66-9966-69e0dd2a06a5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "128e59b9-6663-4920-b9c8-508c7a40c58a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "07e21b03-16b6-4961-b4b5-2939af39ec69", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6b244b96/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.xml new file mode 100644 index 00000000..ab338904 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2dfcd22f-184c-438f-a67b-d1b6a1851f1f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="86ebc768-7bb2-4450-add7-2034fc09a836"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a29f0182-3a4e-4a66-9966-69e0dd2a06a5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a29f0182-3a4e-4a66-9966-69e0dd2a06a5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="128e59b9-6663-4920-b9c8-508c7a40c58a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="787145379"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05009) 9116624"/> + </telecom> + <telecom> + <system value="email"/> + <value value="anthony.leyckes@fenner.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Ropenstaller Weg 700"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="700"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ropenstaller Weg"/> + </extension> + </line> + <city value="Doskoczynskiburg"/> + <postalCode value="08984"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="07e21b03-16b6-4961-b4b5-2939af39ec69"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="231796846"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index eb9d2b59..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 5be2bdba..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6e19e753-63d5-4696-ba18-b3d361d8a0c0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.529.61"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="667b4141-bc07-486b-aebf-b49d87b71339"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/1993584c-2956-4f7c-af1b-997282e69df9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1993584c-2956-4f7c-af1b-997282e69df9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="94890460"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="308717ae-88af-4b5c-87f8-5f94b34f742d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="033064063"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0747) 184790321"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hamza.reppin@xn--thrnhardt-x2a.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Ehrlichstr. 3"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="3"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Ehrlichstr."/> - </extension> - </line> - <city value="Alt Melek"/> - <postalCode value="51285"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a7a3e625-d370-4128-851f-b15be4573377"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="770468750"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_a49d100a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/output.json new file mode 100644 index 00000000..54eb6880 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "161c574b-6153-4065-9ff7-89a8da89ee5a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "702aed9d-38ac-4670-9bb3-f286254710e7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ee14340f-80f1-4aaf-b97e-ef3013a5fa85" + }, + "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": "ee14340f-80f1-4aaf-b97e-ef3013a5fa85", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ca0c7d08-39ac-471f-916f-daf2fca3c9b0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0aa93716-2205-4fa1-9813-b4c2b5d44ed0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a49d100a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/output.xml new file mode 100644 index 00000000..541409f7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="161c574b-6153-4065-9ff7-89a8da89ee5a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.529.61"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="702aed9d-38ac-4670-9bb3-f286254710e7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ee14340f-80f1-4aaf-b97e-ef3013a5fa85"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ee14340f-80f1-4aaf-b97e-ef3013a5fa85"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="94890460"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ca0c7d08-39ac-471f-916f-daf2fca3c9b0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="033064063"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0747) 184790321"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hamza.reppin@xn--thrnhardt-x2a.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Ehrlichstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ehrlichstr."/> + </extension> + </line> + <city value="Alt Melek"/> + <postalCode value="51285"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0aa93716-2205-4fa1-9813-b4c2b5d44ed0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="770468750"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 3b339f83..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index b18135d6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="7e017904-dc80-467b-a66f-19df4c843173"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.527.67"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b13fa9f4-a087-47bc-8706-c1d06ef05968"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/a6c335e9-aaa0-4ad7-963f-4748abf6acc0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a6c335e9-aaa0-4ad7-963f-4748abf6acc0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="64184374"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6f25177d-5d96-47bd-9495-74774528ec8a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="711209517"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-5122-37264545"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hailey.heinze@gutjahr.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Wannseestr. 75a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="75a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Wannseestr."/> - </extension> - </line> - <city value="Groß Hasan"/> - <postalCode value="47624"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="422e02e5-9786-4239-b676-955e06ec7667"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="834553350"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_90b31bf4/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/output.json new file mode 100644 index 00000000..378b67f6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "df646cd9-0bce-435a-9520-109e6398dbd1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5957b6b1-81e5-40db-890e-dc2481d8ff84", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bce6cd0f-7b60-4910-b28b-92099868e6a1" + }, + "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": "bce6cd0f-7b60-4910-b28b-92099868e6a1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e73a347c-05be-4d8c-91fa-aea3b1a74a01", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "792c6244-66f3-464d-b057-4ea58f98da76", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_90b31bf4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/output.xml new file mode 100644 index 00000000..39e6bfb3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="df646cd9-0bce-435a-9520-109e6398dbd1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.527.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5957b6b1-81e5-40db-890e-dc2481d8ff84"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bce6cd0f-7b60-4910-b28b-92099868e6a1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bce6cd0f-7b60-4910-b28b-92099868e6a1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64184374"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e73a347c-05be-4d8c-91fa-aea3b1a74a01"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711209517"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5122-37264545"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hailey.heinze@gutjahr.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Wannseestr. 75a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wannseestr."/> + </extension> + </line> + <city value="Groß Hasan"/> + <postalCode value="47624"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="792c6244-66f3-464d-b057-4ea58f98da76"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="834553350"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/input.xml new file mode 100644 index 00000000..d8b4151b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="90b31bf4-1ee7-49ac-9a96-2841ad637acb"/> + <meta> + <lastUpdated value="2024-02-08T19:14:15.550+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.527.67"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:14:15.550+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/31fd3704-a4cc-42d5-a5fc-a839ccb35dcb"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="31fd3704-a4cc-42d5-a5fc-a839ccb35dcb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/a440b0ca-047c-4fa7-bb0d-959a6c2891af"/> + </subject> + <date value="2024-02-08T19:14:15+01:00"/> + <author> + <reference value="Practitioner/6ecb3294-b24f-45cf-bb33-0350bc6071e6"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/271fe1b2-d18d-4f9b-95cb-7e9abea43942"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/387fa35b-bae6-4377-ba7e-1ca37855ade4"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/c716a081-6bd4-4210-b97b-4b1cf50bff40"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/06e192d7-a295-4572-8824-2270041cd3d0"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="06e192d7-a295-4572-8824-2270041cd3d0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64184374"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/a440b0ca-047c-4fa7-bb0d-959a6c2891af"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="a440b0ca-047c-4fa7-bb0d-959a6c2891af"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2002-02-23"/> + <address> + <type value="both"/> + <line value="Bohnenkampsweg 80b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="80b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bohnenkampsweg"/> + </extension> + </line> + <city value="Moedlscheid"/> + <postalCode value="41371"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/271fe1b2-d18d-4f9b-95cb-7e9abea43942"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="271fe1b2-d18d-4f9b-95cb-7e9abea43942"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711209517"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5122-37264545"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hailey.heinze@gutjahr.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Wannseestr. 75a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wannseestr."/> + </extension> + </line> + <city value="Groß Hasan"/> + <postalCode value="47624"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/387fa35b-bae6-4377-ba7e-1ca37855ade4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="387fa35b-bae6-4377-ba7e-1ca37855ade4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="49"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/756a81ff-2cee-422c-ac8b-28ab0a2f6823"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141085"/> + </identifier> + <display value="Union Krankenversicherung AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/6ecb3294-b24f-45cf-bb33-0350bc6071e6"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6ecb3294-b24f-45cf-bb33-0350bc6071e6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="834553350"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/c716a081-6bd4-4210-b97b-4b1cf50bff40"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c716a081-6bd4-4210-b97b-4b1cf50bff40"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/06e192d7-a295-4572-8824-2270041cd3d0"/> + </medicationReference> + <subject> + <reference value="Patient/a440b0ca-047c-4fa7-bb0d-959a6c2891af"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/6ecb3294-b24f-45cf-bb33-0350bc6071e6"/> + </requester> + <insurance> + <reference value="Coverage/387fa35b-bae6-4377-ba7e-1ca37855ade4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.json new file mode 100644 index 00000000..86ef0e96 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "46ba8ce8-2a59-4d6b-87bb-21f910ae4a91", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8fb271e8-3653-4024-b01f-30e30dadeabc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1a18bd6d-c83f-4a0c-9fc5-f27ccf53f300" + }, + "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": "1a18bd6d-c83f-4a0c-9fc5-f27ccf53f300", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f040bce8-c9e8-4bfe-bbb6-2bc6310fe912", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1262d119-d8a6-4f78-b89f-24b21f9a651a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_90b31bf4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.xml new file mode 100644 index 00000000..a65e2bad --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="46ba8ce8-2a59-4d6b-87bb-21f910ae4a91"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.527.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8fb271e8-3653-4024-b01f-30e30dadeabc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1a18bd6d-c83f-4a0c-9fc5-f27ccf53f300"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1a18bd6d-c83f-4a0c-9fc5-f27ccf53f300"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64184374"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f040bce8-c9e8-4bfe-bbb6-2bc6310fe912"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711209517"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5122-37264545"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hailey.heinze@gutjahr.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Wannseestr. 75a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wannseestr."/> + </extension> + </line> + <city value="Groß Hasan"/> + <postalCode value="47624"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1262d119-d8a6-4f78-b89f-24b21f9a651a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="834553350"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/input.xml new file mode 100644 index 00000000..06719594 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9963336d-6760-4665-8808-ca1ab04a7e31"/> + <meta> + <lastUpdated value="2024-02-08T19:15:30.510+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.531.55"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:15:30.510+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/1c265454-260b-43c6-abad-616bd9745415"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1c265454-260b-43c6-abad-616bd9745415"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/be08f095-4586-43d5-a416-3f9df347d8a7"/> + </subject> + <date value="2024-02-08T19:15:30+01:00"/> + <author> + <reference value="Practitioner/8ca98f72-306e-4fc5-86ed-01a8855a4b6e"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/cafc01fb-2330-4ab2-9293-bca778597728"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/4289b844-133c-40b8-957a-cf1c1c56188c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/7b68fef2-0e14-448e-a666-5ef6c5092f58"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/72e068f7-731f-4930-8f3f-60d36e210a64"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="72e068f7-731f-4930-8f3f-60d36e210a64"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="74302188"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/be08f095-4586-43d5-a416-3f9df347d8a7"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="be08f095-4586-43d5-a416-3f9df347d8a7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1976-07-24"/> + <address> + <type value="both"/> + <line value="Im Oberfeld 5"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="5"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Im Oberfeld"/> + </extension> + </line> + <city value="Liebachgrün"/> + <postalCode value="60209"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/cafc01fb-2330-4ab2-9293-bca778597728"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cafc01fb-2330-4ab2-9293-bca778597728"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="464680902"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0118) 367892342"/> + </telecom> + <telecom> + <system value="email"/> + <value value="thomas.hort@marahrens.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Behringstr. 32a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="32a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Behringstr."/> + </extension> + </line> + <city value="Goedickehagen"/> + <postalCode value="97285"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/4289b844-133c-40b8-957a-cf1c1c56188c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="4289b844-133c-40b8-957a-cf1c1c56188c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="88"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/5ce7031d-4b54-4e5f-8501-12325048e42d"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140346"/> + </identifier> + <display value="Allianz"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/8ca98f72-306e-4fc5-86ed-01a8855a4b6e"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8ca98f72-306e-4fc5-86ed-01a8855a4b6e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="056578601"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/7b68fef2-0e14-448e-a666-5ef6c5092f58"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7b68fef2-0e14-448e-a666-5ef6c5092f58"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/72e068f7-731f-4930-8f3f-60d36e210a64"/> + </medicationReference> + <subject> + <reference value="Patient/be08f095-4586-43d5-a416-3f9df347d8a7"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/8ca98f72-306e-4fc5-86ed-01a8855a4b6e"/> + </requester> + <insurance> + <reference value="Coverage/4289b844-133c-40b8-957a-cf1c1c56188c"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.json new file mode 100644 index 00000000..c01bcd18 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "6d59c589-e42d-44ca-82d5-aeac51dbce6c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9346ce42-ab11-4696-ba96-0d095c6d07b0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/985a8657-e3f2-4e05-a198-c2312895a000" + }, + "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": "985a8657-e3f2-4e05-a198-c2312895a000", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "65d02fb9-e808-40be-b5ec-155ed32d04c1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "133b5295-7a8f-4191-9a25-813c036acfda", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9963336d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.xml new file mode 100644 index 00000000..74aa35ab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6d59c589-e42d-44ca-82d5-aeac51dbce6c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.531.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9346ce42-ab11-4696-ba96-0d095c6d07b0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/985a8657-e3f2-4e05-a198-c2312895a000"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="985a8657-e3f2-4e05-a198-c2312895a000"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="74302188"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="65d02fb9-e808-40be-b5ec-155ed32d04c1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="464680902"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0118) 367892342"/> + </telecom> + <telecom> + <system value="email"/> + <value value="thomas.hort@marahrens.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Behringstr. 32a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="32a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Behringstr."/> + </extension> + </line> + <city value="Goedickehagen"/> + <postalCode value="97285"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="133b5295-7a8f-4191-9a25-813c036acfda"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="056578601"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index e8c5e5a4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 4e1a1fde..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9965d2f7-3968-476f-bc8e-255899d3f93a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.550.95"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a46b41f7-5024-4f7d-be6f-43e4342b469d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/aaf94c1b-dd28-4f1b-82f3-83e2a9ffffbc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="aaf94c1b-dd28-4f1b-82f3-83e2a9ffffbc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16833239"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2bcda0be-c7d0-42bd-b453-5afb56c60a54"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="178331393"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0086) 004305314"/> - </telecom> - <telecom> - <system value="email"/> - <value value="lisa.schahbasian@leist.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Gabriele-Münter-Str. 97a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="97a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Gabriele-Münter-Str."/> - </extension> - </line> - <city value="Neu David"/> - <postalCode value="28914"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4091f9cb-dbe2-4dbf-918d-82335fe8b66e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="423315810"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_a79dd76f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/output.json new file mode 100644 index 00000000..61c4f408 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "34de8c9d-4208-442b-b81f-9f8cfb109e6f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6ac58a49-bd7c-4c09-9ccb-7383a2f0d872", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/05836186-207a-4442-af6d-b7c9447512c4" + }, + "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": "05836186-207a-4442-af6d-b7c9447512c4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5dbc0c51-11cd-4d96-ae41-61b6aee0dac9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7f67da86-8bdf-493e-ae82-7e54813a9ba7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a79dd76f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/output.xml new file mode 100644 index 00000000..2fbef6f3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="34de8c9d-4208-442b-b81f-9f8cfb109e6f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.550.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6ac58a49-bd7c-4c09-9ccb-7383a2f0d872"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/05836186-207a-4442-af6d-b7c9447512c4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="05836186-207a-4442-af6d-b7c9447512c4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16833239"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5dbc0c51-11cd-4d96-ae41-61b6aee0dac9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="178331393"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0086) 004305314"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lisa.schahbasian@leist.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Gabriele-Münter-Str. 97a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="97a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Gabriele-Münter-Str."/> + </extension> + </line> + <city value="Neu David"/> + <postalCode value="28914"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7f67da86-8bdf-493e-ae82-7e54813a9ba7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="423315810"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 407881b0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 6f6d19eb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a40b9e5a-7cba-4a48-a266-72a447f42a7d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.553.86"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5b2d9d3a-90a8-4a13-b247-7a57cb8e8ba8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/9224541a-4db7-4fb2-8561-7bd2f2b884cc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9224541a-4db7-4fb2-8561-7bd2f2b884cc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09921210"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9f3665e8-3e29-4087-8753-76e5ea27dbbf"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="473655401"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-5210-24343099"/> - </telecom> - <telecom> - <system value="email"/> - <value value="michel.tremmel@xn--grtzinger-17a.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Albert-Einstein-Str. 43b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="43b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Albert-Einstein-Str."/> - </extension> - </line> - <city value="West William"/> - <postalCode value="00269"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6491a45b-7286-48d2-b125-22ba724bf81e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="360613903"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/input.xml new file mode 100644 index 00000000..38aa8fac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="3cb47bc5-a1ac-44ec-9d29-24249515812f"/> + <meta> + <lastUpdated value="2024-02-08T19:20:30.004+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.553.86"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:20:30.004+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/8c37965c-23f4-4c16-af7d-828a01242ce3"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8c37965c-23f4-4c16-af7d-828a01242ce3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/7e31d20e-285c-45e2-9481-b2b8788317f5"/> + </subject> + <date value="2024-02-08T19:20:30+01:00"/> + <author> + <reference value="Practitioner/611d17b9-b047-44a8-866a-95263cf17ef2"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d93dcbd1-c72f-4553-b29c-708d405243a6"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/6b41c94d-08f2-4fca-bd5b-1ec48ba18d8a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/6a2767f7-a321-4178-82c0-0132c153ac61"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/7570cb81-1f77-482a-9e97-e370734ae496"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7570cb81-1f77-482a-9e97-e370734ae496"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09921210"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/7e31d20e-285c-45e2-9481-b2b8788317f5"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="7e31d20e-285c-45e2-9481-b2b8788317f5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2003-11-05"/> + <address> + <type value="both"/> + <line value="Mülheimer Str. 17"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Mülheimer Str."/> + </extension> + </line> + <city value="Bad Alena"/> + <postalCode value="08851"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/d93dcbd1-c72f-4553-b29c-708d405243a6"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d93dcbd1-c72f-4553-b29c-708d405243a6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="473655401"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5210-24343099"/> + </telecom> + <telecom> + <system value="email"/> + <value value="michel.tremmel@xn--grtzinger-17a.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Albert-Einstein-Str. 43b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="43b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Albert-Einstein-Str."/> + </extension> + </line> + <city value="West William"/> + <postalCode value="00269"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/6b41c94d-08f2-4fca-bd5b-1ec48ba18d8a"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="6b41c94d-08f2-4fca-bd5b-1ec48ba18d8a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="51"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/e88216d0-e1a7-442a-b958-26f533eab91e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140017"/> + </identifier> + <display value="Continentale"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/611d17b9-b047-44a8-866a-95263cf17ef2"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="611d17b9-b047-44a8-866a-95263cf17ef2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="360613903"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/6a2767f7-a321-4178-82c0-0132c153ac61"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6a2767f7-a321-4178-82c0-0132c153ac61"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/7570cb81-1f77-482a-9e97-e370734ae496"/> + </medicationReference> + <subject> + <reference value="Patient/7e31d20e-285c-45e2-9481-b2b8788317f5"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/611d17b9-b047-44a8-866a-95263cf17ef2"/> + </requester> + <insurance> + <reference value="Coverage/6b41c94d-08f2-4fca-bd5b-1ec48ba18d8a"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/output.json new file mode 100644 index 00000000..60295803 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ac8f780c-6e91-4e3b-ad9c-9c5360e031c1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "cae12871-f900-49b5-93f4-5d24e81afb83", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0c9d6a2d-f6da-4108-bcf7-7eb8c138f5a6" + }, + "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": "0c9d6a2d-f6da-4108-bcf7-7eb8c138f5a6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a6136bf8-e470-49e6-bd5f-2c32ede366a5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "16153b16-b085-4617-92ad-e2f1e6195840", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3cb47bc5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/output.xml new file mode 100644 index 00000000..a48265f9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ac8f780c-6e91-4e3b-ad9c-9c5360e031c1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.553.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cae12871-f900-49b5-93f4-5d24e81afb83"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0c9d6a2d-f6da-4108-bcf7-7eb8c138f5a6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0c9d6a2d-f6da-4108-bcf7-7eb8c138f5a6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09921210"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a6136bf8-e470-49e6-bd5f-2c32ede366a5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="473655401"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5210-24343099"/> + </telecom> + <telecom> + <system value="email"/> + <value value="michel.tremmel@xn--grtzinger-17a.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Albert-Einstein-Str. 43b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="43b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Albert-Einstein-Str."/> + </extension> + </line> + <city value="West William"/> + <postalCode value="00269"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="16153b16-b085-4617-92ad-e2f1e6195840"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="360613903"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/input.xml new file mode 100644 index 00000000..d47f8caa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="a49d100a-e15f-496d-ace2-b5dbbca4f770"/> + <meta> + <lastUpdated value="2024-02-08T19:14:52.136+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.529.61"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:14:52.136+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/1bc6caa3-99fe-44f8-99d2-aef36ac0a2bb"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1bc6caa3-99fe-44f8-99d2-aef36ac0a2bb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/b5bb188a-1b07-4349-8dbd-28851185c2a4"/> + </subject> + <date value="2024-02-08T19:14:52+01:00"/> + <author> + <reference value="Practitioner/ce1e28d2-4412-4268-bef8-7d80893c998c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/33d1739a-9b0c-4ea5-8274-db76c6549d27"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/bb138de8-eb35-4358-b854-1b817f67b77c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/4befd3ae-d557-4f61-b4fb-799158e906f3"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/a656e1d6-a37c-4753-9b26-b90bb0eddd30"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a656e1d6-a37c-4753-9b26-b90bb0eddd30"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="94890460"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/b5bb188a-1b07-4349-8dbd-28851185c2a4"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="b5bb188a-1b07-4349-8dbd-28851185c2a4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1968-04-25"/> + <address> + <type value="both"/> + <line value="Beerenstr. 92a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="92a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Beerenstr."/> + </extension> + </line> + <city value="Jennybrunn"/> + <postalCode value="77713"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/33d1739a-9b0c-4ea5-8274-db76c6549d27"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="33d1739a-9b0c-4ea5-8274-db76c6549d27"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="033064063"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0747) 184790321"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hamza.reppin@xn--thrnhardt-x2a.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Ehrlichstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ehrlichstr."/> + </extension> + </line> + <city value="Alt Melek"/> + <postalCode value="51285"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/bb138de8-eb35-4358-b854-1b817f67b77c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="bb138de8-eb35-4358-b854-1b817f67b77c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="98"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/8be38daf-4e57-4da4-82c3-149199347f6e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141176"/> + </identifier> + <display value="HUK-COBURG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/ce1e28d2-4412-4268-bef8-7d80893c998c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ce1e28d2-4412-4268-bef8-7d80893c998c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="770468750"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/4befd3ae-d557-4f61-b4fb-799158e906f3"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4befd3ae-d557-4f61-b4fb-799158e906f3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a656e1d6-a37c-4753-9b26-b90bb0eddd30"/> + </medicationReference> + <subject> + <reference value="Patient/b5bb188a-1b07-4349-8dbd-28851185c2a4"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/ce1e28d2-4412-4268-bef8-7d80893c998c"/> + </requester> + <insurance> + <reference value="Coverage/bb138de8-eb35-4358-b854-1b817f67b77c"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.json new file mode 100644 index 00000000..d51fa1f3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "cb93c49b-e57f-41dc-90c5-c66d95f99bdc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "afa667d3-f897-47f2-8db6-8d1b662d7ba4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5c8c722f-70c7-4224-b84a-e31055ed0927" + }, + "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": "5c8c722f-70c7-4224-b84a-e31055ed0927", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8e8a7d1e-d470-4e3f-ade9-d03c0e8e3146", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8efd747f-d568-4f95-890b-c7d1b1a70083", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a49d100a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.xml new file mode 100644 index 00000000..abea75b6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="cb93c49b-e57f-41dc-90c5-c66d95f99bdc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.529.61"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="afa667d3-f897-47f2-8db6-8d1b662d7ba4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5c8c722f-70c7-4224-b84a-e31055ed0927"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5c8c722f-70c7-4224-b84a-e31055ed0927"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="94890460"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8e8a7d1e-d470-4e3f-ade9-d03c0e8e3146"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="033064063"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0747) 184790321"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hamza.reppin@xn--thrnhardt-x2a.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Ehrlichstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ehrlichstr."/> + </extension> + </line> + <city value="Alt Melek"/> + <postalCode value="51285"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8efd747f-d568-4f95-890b-c7d1b1a70083"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="770468750"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/input.xml new file mode 100644 index 00000000..d1d96782 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="a79dd76f-4a88-4b1c-917e-d7ef80c2cdaf"/> + <meta> + <lastUpdated value="2024-02-08T19:19:43.771+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.550.95"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:19:43.771+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/95acd051-52a9-4d8d-a7b7-36f24e3533b6"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="95acd051-52a9-4d8d-a7b7-36f24e3533b6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/b9c628bc-a10c-45a9-a83f-f2257cd0f399"/> + </subject> + <date value="2024-02-08T19:19:43+01:00"/> + <author> + <reference value="Practitioner/3311f7c6-2753-4f47-8dd9-d311fd8c972e"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/577378c3-1022-4446-bc46-fc692267cdc8"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/6cc4afd1-f3e9-4aab-a26b-2965809104cf"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/5c899df7-a876-43e8-baac-9a6688a5fcaa"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/623d572c-765b-4bf1-bcd4-6169a20a0a87"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="623d572c-765b-4bf1-bcd4-6169a20a0a87"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16833239"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/b9c628bc-a10c-45a9-a83f-f2257cd0f399"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="b9c628bc-a10c-45a9-a83f-f2257cd0f399"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1990-11-20"/> + <address> + <type value="both"/> + <line value="Rudolf-Stracke-Str. 31c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="31c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Rudolf-Stracke-Str."/> + </extension> + </line> + <city value="Nord Azra"/> + <postalCode value="04389"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/577378c3-1022-4446-bc46-fc692267cdc8"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="577378c3-1022-4446-bc46-fc692267cdc8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="178331393"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0086) 004305314"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lisa.schahbasian@leist.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Gabriele-Münter-Str. 97a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="97a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Gabriele-Münter-Str."/> + </extension> + </line> + <city value="Neu David"/> + <postalCode value="28914"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/6cc4afd1-f3e9-4aab-a26b-2965809104cf"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="6cc4afd1-f3e9-4aab-a26b-2965809104cf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/59d22882-4177-40e9-bf5a-2e4a8cd0afbe"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141198"/> + </identifier> + <display value="Gothaer"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/3311f7c6-2753-4f47-8dd9-d311fd8c972e"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3311f7c6-2753-4f47-8dd9-d311fd8c972e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="423315810"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/5c899df7-a876-43e8-baac-9a6688a5fcaa"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5c899df7-a876-43e8-baac-9a6688a5fcaa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/623d572c-765b-4bf1-bcd4-6169a20a0a87"/> + </medicationReference> + <subject> + <reference value="Patient/b9c628bc-a10c-45a9-a83f-f2257cd0f399"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/3311f7c6-2753-4f47-8dd9-d311fd8c972e"/> + </requester> + <insurance> + <reference value="Coverage/6cc4afd1-f3e9-4aab-a26b-2965809104cf"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.json new file mode 100644 index 00000000..b0f509d3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "635d9974-d93f-43bf-ad93-a1e6386ca601", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4b4faa9c-f18b-4ff8-911a-294902ca33f3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4c5cac68-9021-4981-8b5e-1ba7bdc2cc8b" + }, + "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": "4c5cac68-9021-4981-8b5e-1ba7bdc2cc8b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "38113a25-d7e6-4fdc-ae1a-288ebabec9cd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0a611f87-0d4d-4d08-9df8-51162abe7036", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a79dd76f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.xml new file mode 100644 index 00000000..fa4e27c8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="635d9974-d93f-43bf-ad93-a1e6386ca601"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.550.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4b4faa9c-f18b-4ff8-911a-294902ca33f3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4c5cac68-9021-4981-8b5e-1ba7bdc2cc8b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4c5cac68-9021-4981-8b5e-1ba7bdc2cc8b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16833239"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="38113a25-d7e6-4fdc-ae1a-288ebabec9cd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="178331393"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0086) 004305314"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lisa.schahbasian@leist.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Gabriele-Münter-Str. 97a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="97a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Gabriele-Münter-Str."/> + </extension> + </line> + <city value="Neu David"/> + <postalCode value="28914"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0a611f87-0d4d-4d08-9df8-51162abe7036"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="423315810"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/input.xml new file mode 100644 index 00000000..0f2f768e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c44d90eb-1775-4ee5-a376-12c50d53fb10"/> + <meta> + <lastUpdated value="2024-02-08T19:15:41.066+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.532.52"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:15:41.066+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/384768c2-20d7-464d-af6a-5f13e47018e6"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="384768c2-20d7-464d-af6a-5f13e47018e6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/b8d71e9c-3309-4c87-a007-44e5d77c2da0"/> + </subject> + <date value="2024-02-08T19:15:41+01:00"/> + <author> + <reference value="Practitioner/c89ed67d-4e1b-4c56-a5c8-8c9fc6a4e092"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/e6f15b23-161f-4065-b903-10dd335c28d2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/b42b2f49-2370-4b4c-95a6-394e444e9edc"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/3d6d6d77-716a-462e-9f9c-974f4e838ec2"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/4c7680d4-c589-4ca4-b6d6-bf1a7e1310a9"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4c7680d4-c589-4ca4-b6d6-bf1a7e1310a9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="22477205"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/b8d71e9c-3309-4c87-a007-44e5d77c2da0"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="b8d71e9c-3309-4c87-a007-44e5d77c2da0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1989-05-22"/> + <address> + <type value="both"/> + <line value="Auf der Weide 809"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="809"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf der Weide"/> + </extension> + </line> + <city value="Bad Finjaland"/> + <postalCode value="83495"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/e6f15b23-161f-4065-b903-10dd335c28d2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e6f15b23-161f-4065-b903-10dd335c28d2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="383269360"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(01048) 7836562"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mirac.cleem@schonberg.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Goethestr. 54c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="54c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Goethestr."/> + </extension> + </line> + <city value="Lindenmayerberg"/> + <postalCode value="10316"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/b42b2f49-2370-4b4c-95a6-394e444e9edc"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="b42b2f49-2370-4b4c-95a6-394e444e9edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="98"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/05d32a16-bd0b-4254-9d09-1c68b3f9646d"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="950686021"/> + </identifier> + <display value="KVB Krankenversorgung der Bundesbahnbeamten"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/c89ed67d-4e1b-4c56-a5c8-8c9fc6a4e092"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c89ed67d-4e1b-4c56-a5c8-8c9fc6a4e092"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="735114655"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/3d6d6d77-716a-462e-9f9c-974f4e838ec2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3d6d6d77-716a-462e-9f9c-974f4e838ec2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/4c7680d4-c589-4ca4-b6d6-bf1a7e1310a9"/> + </medicationReference> + <subject> + <reference value="Patient/b8d71e9c-3309-4c87-a007-44e5d77c2da0"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/c89ed67d-4e1b-4c56-a5c8-8c9fc6a4e092"/> + </requester> + <insurance> + <reference value="Coverage/b42b2f49-2370-4b4c-95a6-394e444e9edc"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.json new file mode 100644 index 00000000..2e912c36 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "3b7f2e25-c317-442d-89b6-e3bfb2c831d4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c5a6c262-ec96-4fb6-82ae-88bfc22722ac", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/67f56058-088e-4cf1-8ea9-39b90928b13c" + }, + "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": "67f56058-088e-4cf1-8ea9-39b90928b13c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d3308c0f-eae6-45f5-bdc9-24d42286b43c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "424eecb0-635a-4fb9-8246-38de9f76882a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c44d90eb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.xml new file mode 100644 index 00000000..bafa70a4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3b7f2e25-c317-442d-89b6-e3bfb2c831d4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.532.52"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c5a6c262-ec96-4fb6-82ae-88bfc22722ac"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/67f56058-088e-4cf1-8ea9-39b90928b13c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="67f56058-088e-4cf1-8ea9-39b90928b13c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="22477205"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d3308c0f-eae6-45f5-bdc9-24d42286b43c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="383269360"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(01048) 7836562"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mirac.cleem@schonberg.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Goethestr. 54c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="54c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Goethestr."/> + </extension> + </line> + <city value="Lindenmayerberg"/> + <postalCode value="10316"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="424eecb0-635a-4fb9-8246-38de9f76882a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="735114655"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/input.xml new file mode 100644 index 00000000..9a72ca7c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ee45abcb-b5d8-490f-9fd9-779a74fb640b"/> + <meta> + <lastUpdated value="2024-02-08T19:19:34.596+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.549.98"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:19:34.596+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/1b762a2e-b22f-4e71-8158-cf18f24903ca"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1b762a2e-b22f-4e71-8158-cf18f24903ca"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/83c55f36-867c-4c19-ba79-de3453298465"/> + </subject> + <date value="2024-02-08T19:19:34+01:00"/> + <author> + <reference value="Practitioner/ef2c8c6f-cd17-4f1e-9ed2-a67cc413c3db"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/044efc30-b658-4948-bcf4-5381d8141a1a"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/d3d12f5e-930d-40f8-901a-2254762df188"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/2eb96e18-4f0b-4c63-9a92-7a11ec03b064"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/e4d32334-507c-4f9c-9111-c66d065c2cad"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e4d32334-507c-4f9c-9111-c66d065c2cad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10642981"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/83c55f36-867c-4c19-ba79-de3453298465"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="83c55f36-867c-4c19-ba79-de3453298465"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2002-08-19"/> + <address> + <type value="both"/> + <line value="Vincent-van-Gogh-Str. 53c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="53c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Vincent-van-Gogh-Str."/> + </extension> + </line> + <city value="Kohnlehagen"/> + <postalCode value="16861"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/044efc30-b658-4948-bcf4-5381d8141a1a"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="044efc30-b658-4948-bcf4-5381d8141a1a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="479601479"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7131-23459087"/> + </telecom> + <telecom> + <system value="email"/> + <value value="klaas.reinelt@bigdeli.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Memelstr. 60"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="60"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Memelstr."/> + </extension> + </line> + <city value="Davidescheid"/> + <postalCode value="75449"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/d3d12f5e-930d-40f8-901a-2254762df188"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="d3d12f5e-930d-40f8-901a-2254762df188"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="03"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/7b25a472-03da-4478-974f-b4231cfa72a9"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141154"/> + </identifier> + <display value="Vigo Krankenversicherung VVaG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/ef2c8c6f-cd17-4f1e-9ed2-a67cc413c3db"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ef2c8c6f-cd17-4f1e-9ed2-a67cc413c3db"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="786249106"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/2eb96e18-4f0b-4c63-9a92-7a11ec03b064"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2eb96e18-4f0b-4c63-9a92-7a11ec03b064"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/e4d32334-507c-4f9c-9111-c66d065c2cad"/> + </medicationReference> + <subject> + <reference value="Patient/83c55f36-867c-4c19-ba79-de3453298465"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/ef2c8c6f-cd17-4f1e-9ed2-a67cc413c3db"/> + </requester> + <insurance> + <reference value="Coverage/d3d12f5e-930d-40f8-901a-2254762df188"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.json new file mode 100644 index 00000000..7107f19d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "23294794-c3f5-40f5-adfc-f471114978cc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a8d98ef3-6202-4619-a50a-b0783bf87f1e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9d396d92-dae3-4cbc-bf0b-e4a1a30f8694" + }, + "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": "9d396d92-dae3-4cbc-bf0b-e4a1a30f8694", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a75a0a2c-6f3d-414d-a506-c7a74890e80a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e3b636a7-5277-40c9-843e-07329ac59118", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ee45abcb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.xml new file mode 100644 index 00000000..469b5a1d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="23294794-c3f5-40f5-adfc-f471114978cc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.549.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a8d98ef3-6202-4619-a50a-b0783bf87f1e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9d396d92-dae3-4cbc-bf0b-e4a1a30f8694"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9d396d92-dae3-4cbc-bf0b-e4a1a30f8694"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10642981"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a75a0a2c-6f3d-414d-a506-c7a74890e80a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="479601479"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7131-23459087"/> + </telecom> + <telecom> + <system value="email"/> + <value value="klaas.reinelt@bigdeli.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Memelstr. 60"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="60"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Memelstr."/> + </extension> + </line> + <city value="Davidescheid"/> + <postalCode value="75449"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e3b636a7-5277-40c9-843e-07329ac59118"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="786249106"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 5bfa1c4a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index b7c327af..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f3b90767-7041-49f2-9ef0-3cb883883918"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.541.25"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="94adffcd-62e0-445f-916a-8b2c9d5d940b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/fb67b34d-ec20-4cf7-a0e8-96ce2e2651ff"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fb67b34d-ec20-4cf7-a0e8-96ce2e2651ff"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="25582871"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8e712ed2-d252-4112-9f70-760717e0e9e0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="559166155"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-3334-51630533"/> - </telecom> - <telecom> - <system value="email"/> - <value value="vivien.schwandke@xn--knig-5qa.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Karl-Wingchen-Str. 44c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="44c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Karl-Wingchen-Str."/> - </extension> - </line> - <city value="Kjellgrün"/> - <postalCode value="37345"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="54cade8e-ebd3-42f3-954e-c2dae2409595"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="781777272"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/input.xml new file mode 100644 index 00000000..92f6d4a7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="25e815da-8070-42d1-aa8b-1c211317cf56"/> + <meta> + <lastUpdated value="2024-02-08T19:18:01.145+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.541.25"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:18:01.145+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/818c226c-e2fc-4ef1-8875-95abc24d577c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="818c226c-e2fc-4ef1-8875-95abc24d577c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/dc49d750-fa24-4995-9f5b-ad1ae4b1203a"/> + </subject> + <date value="2024-02-08T19:18:01+01:00"/> + <author> + <reference value="Practitioner/65b0bbdf-df35-4010-96db-2d192657bb17"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/be4df0c0-14f4-40ce-8887-b4e913a57009"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/952156a8-1e4c-411e-9572-aa32229ec87b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/bdb8478d-17cc-4da0-a464-acc2831976db"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/15a37998-7cf6-43ed-8d6f-80c931464059"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="15a37998-7cf6-43ed-8d6f-80c931464059"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25582871"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/dc49d750-fa24-4995-9f5b-ad1ae4b1203a"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="dc49d750-fa24-4995-9f5b-ad1ae4b1203a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2005-03-20"/> + <address> + <type value="both"/> + <line value="Schloßstr. 268"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="268"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schloßstr."/> + </extension> + </line> + <city value="Slottagrün"/> + <postalCode value="89333"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/be4df0c0-14f4-40ce-8887-b4e913a57009"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="be4df0c0-14f4-40ce-8887-b4e913a57009"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="559166155"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3334-51630533"/> + </telecom> + <telecom> + <system value="email"/> + <value value="vivien.schwandke@xn--knig-5qa.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Wingchen-Str. 44c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="44c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Wingchen-Str."/> + </extension> + </line> + <city value="Kjellgrün"/> + <postalCode value="37345"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/952156a8-1e4c-411e-9572-aa32229ec87b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="952156a8-1e4c-411e-9572-aa32229ec87b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="47"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/d449fc9e-de45-45c5-a2a8-1300320c90eb"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141450"/> + </identifier> + <display value="INTER"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/65b0bbdf-df35-4010-96db-2d192657bb17"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="65b0bbdf-df35-4010-96db-2d192657bb17"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="781777272"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/bdb8478d-17cc-4da0-a464-acc2831976db"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="bdb8478d-17cc-4da0-a464-acc2831976db"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/15a37998-7cf6-43ed-8d6f-80c931464059"/> + </medicationReference> + <subject> + <reference value="Patient/dc49d750-fa24-4995-9f5b-ad1ae4b1203a"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/65b0bbdf-df35-4010-96db-2d192657bb17"/> + </requester> + <insurance> + <reference value="Coverage/952156a8-1e4c-411e-9572-aa32229ec87b"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/output.json new file mode 100644 index 00000000..6323e3a6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "b720bd78-cf92-4cc3-876d-32c974ce54d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4d3ec88e-456b-4420-b069-7b4d83fefff2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ff08a3ab-c2d6-4daa-94b3-4e84dc3dde63" + }, + "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": "ff08a3ab-c2d6-4daa-94b3-4e84dc3dde63", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "08cd82bb-8444-4000-8300-963b76926d05", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a03eace4-4ca8-41ea-941a-9bec39442882", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_25e815da/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/output.xml new file mode 100644 index 00000000..25d874e0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b720bd78-cf92-4cc3-876d-32c974ce54d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.541.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4d3ec88e-456b-4420-b069-7b4d83fefff2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ff08a3ab-c2d6-4daa-94b3-4e84dc3dde63"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ff08a3ab-c2d6-4daa-94b3-4e84dc3dde63"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25582871"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="08cd82bb-8444-4000-8300-963b76926d05"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="559166155"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3334-51630533"/> + </telecom> + <telecom> + <system value="email"/> + <value value="vivien.schwandke@xn--knig-5qa.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Wingchen-Str. 44c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="44c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Wingchen-Str."/> + </extension> + </line> + <city value="Kjellgrün"/> + <postalCode value="37345"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a03eace4-4ca8-41ea-941a-9bec39442882"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="781777272"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 3d8b0567..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 52f546e2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="fd771be7-a806-46d8-8f16-90e9e540f030"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.552.89"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="816abb97-2db7-48b3-840b-2783df32c805"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/b90a8cac-0dd5-421b-9416-c28db92af6ad"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b90a8cac-0dd5-421b-9416-c28db92af6ad"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="72828845"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4f3a562c-cce3-4b65-a26d-f0faaa2741db"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="737393702"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(02065) 5910464"/> - </telecom> - <telecom> - <system value="email"/> - <value value="gina.kaesmacher@faulhaber.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Van't-Hoff-Str. 35"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="35"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Van't-Hoff-Str."/> - </extension> - </line> - <city value="Kayberg"/> - <postalCode value="20971"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="54ed15b9-6f7f-45ea-94ab-154735d2aa1e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="936686332"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/input.xml new file mode 100644 index 00000000..ea3ed576 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="3a052e22-7b00-471a-bd98-ab71a6854703"/> + <meta> + <lastUpdated value="2024-02-08T19:20:11.020+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.552.89"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:20:11.020+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/b7a74656-c578-4483-b6d6-f1adb258de22"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="b7a74656-c578-4483-b6d6-f1adb258de22"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/787525c3-82e0-4cdb-8bcf-47db56a2c4ff"/> + </subject> + <date value="2024-02-08T19:20:11+01:00"/> + <author> + <reference value="Practitioner/2c335f1b-1e9f-4132-8772-67b354f06c2e"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/72ae487f-9a5e-4518-a1d6-24e0faedb5cf"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/88a304e1-3a47-4b6d-9fbd-6eeab4d455bd"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/714f438a-cfd0-4ffa-af3d-bec187e39286"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/b6498800-1520-41a1-9444-5a12077bae9f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b6498800-1520-41a1-9444-5a12077bae9f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="72828845"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/787525c3-82e0-4cdb-8bcf-47db56a2c4ff"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="787525c3-82e0-4cdb-8bcf-47db56a2c4ff"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2004-04-12"/> + <address> + <type value="both"/> + <line value="Feuerbachstr. 78c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="78c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Feuerbachstr."/> + </extension> + </line> + <city value="Bad Lya"/> + <postalCode value="28163"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/72ae487f-9a5e-4518-a1d6-24e0faedb5cf"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="72ae487f-9a5e-4518-a1d6-24e0faedb5cf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="737393702"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02065) 5910464"/> + </telecom> + <telecom> + <system value="email"/> + <value value="gina.kaesmacher@faulhaber.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Van't-Hoff-Str. 35"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="35"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Van't-Hoff-Str."/> + </extension> + </line> + <city value="Kayberg"/> + <postalCode value="20971"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/88a304e1-3a47-4b6d-9fbd-6eeab4d455bd"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="88a304e1-3a47-4b6d-9fbd-6eeab4d455bd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="62"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/f82dd05a-fbbf-4edc-8a0f-1a6f113ce4b8"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140530"/> + </identifier> + <display value="FREIE ARZT- UND MEDIZINKASSE"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/2c335f1b-1e9f-4132-8772-67b354f06c2e"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2c335f1b-1e9f-4132-8772-67b354f06c2e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="936686332"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/714f438a-cfd0-4ffa-af3d-bec187e39286"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="714f438a-cfd0-4ffa-af3d-bec187e39286"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b6498800-1520-41a1-9444-5a12077bae9f"/> + </medicationReference> + <subject> + <reference value="Patient/787525c3-82e0-4cdb-8bcf-47db56a2c4ff"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/2c335f1b-1e9f-4132-8772-67b354f06c2e"/> + </requester> + <insurance> + <reference value="Coverage/88a304e1-3a47-4b6d-9fbd-6eeab4d455bd"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/output.json new file mode 100644 index 00000000..16edbff4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "2ab981eb-efa8-4d1f-a75c-728c39a15069", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "66bbc488-79b6-4ea5-9ca2-0fa22238f394", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/429f9f16-9838-4500-9660-badbabd42094" + }, + "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": "429f9f16-9838-4500-9660-badbabd42094", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dbfdbe36-ef3f-4d94-a10c-673ab0da4705", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ec559470-f30d-40ee-a062-69c9c6a43701", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3a052e22/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/output.xml new file mode 100644 index 00000000..f66bf2fd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2ab981eb-efa8-4d1f-a75c-728c39a15069"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.552.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="66bbc488-79b6-4ea5-9ca2-0fa22238f394"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/429f9f16-9838-4500-9660-badbabd42094"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="429f9f16-9838-4500-9660-badbabd42094"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="72828845"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dbfdbe36-ef3f-4d94-a10c-673ab0da4705"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="737393702"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02065) 5910464"/> + </telecom> + <telecom> + <system value="email"/> + <value value="gina.kaesmacher@faulhaber.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Van't-Hoff-Str. 35"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="35"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Van't-Hoff-Str."/> + </extension> + </line> + <city value="Kayberg"/> + <postalCode value="20971"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ec559470-f30d-40ee-a062-69c9c6a43701"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="936686332"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index bfdfa9a3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index f484723d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0169e0e6-9aeb-4753-b95a-a320e286616c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.810.39"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="be285bf2-d7e8-410a-bb83-e27c9c48214f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/b2e5408d-1679-46d1-86f8-1cb6737bd3d2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="3"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b2e5408d-1679-46d1-86f8-1cb6737bd3d2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2c4d633a-fd39-4276-8b86-cc7ce4d3142a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="208729108"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-585-7812901"/> - </telecom> - <telecom> - <system value="email"/> - <value value="lennart.keil@xn--schffer-7wa.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Im Oberfeld 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Im Oberfeld"/> - </extension> - </line> - <city value="Ost Aleastadt"/> - <postalCode value="71010"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="9db79de5-153b-4a06-98fa-02c8d47fa01f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="577428372"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_c80f28e3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/output.json new file mode 100644 index 00000000..061e7fd7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "35de5532-c65e-4aa9-a794-fb7a23af82a8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a137e129-04eb-4245-8a61-5f6842a9983c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/01b6d6bb-126a-489a-8309-d62e3713a1df" + }, + "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": "01b6d6bb-126a-489a-8309-d62e3713a1df", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f8790317-5d78-46b9-a581-fb078c6d477b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "80b861a2-d019-4f9d-a505-518378fff6f6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c80f28e3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/output.xml new file mode 100644 index 00000000..4513cdb9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="35de5532-c65e-4aa9-a794-fb7a23af82a8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.810.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a137e129-04eb-4245-8a61-5f6842a9983c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/01b6d6bb-126a-489a-8309-d62e3713a1df"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="01b6d6bb-126a-489a-8309-d62e3713a1df"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f8790317-5d78-46b9-a581-fb078c6d477b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="208729108"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-585-7812901"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lennart.keil@xn--schffer-7wa.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Im Oberfeld 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Im Oberfeld"/> + </extension> + </line> + <city value="Ost Aleastadt"/> + <postalCode value="71010"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="80b861a2-d019-4f9d-a505-518378fff6f6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="577428372"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_93c38d8d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.json new file mode 100644 index 00000000..a4639c36 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "53d3b312-5003-4031-bab4-620b9cd1dd9f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0dbbe49f-3a1f-4ed0-91a4-d9a944db4af7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3f692e19-a999-48dc-b160-8d87b35e938a" + }, + "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": "3f692e19-a999-48dc-b160-8d87b35e938a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bb75cb49-c9ca-4653-a3f2-2937762ec454", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "05b90f18-8a39-4daa-ad59-6110f5d42f42", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_93c38d8d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.xml new file mode 100644 index 00000000..b46f1ac4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="53d3b312-5003-4031-bab4-620b9cd1dd9f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.809.42"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0dbbe49f-3a1f-4ed0-91a4-d9a944db4af7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3f692e19-a999-48dc-b160-8d87b35e938a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3f692e19-a999-48dc-b160-8d87b35e938a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bb75cb49-c9ca-4653-a3f2-2937762ec454"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="609724093"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0602) 198161888"/> + </telecom> + <telecom> + <system value="email"/> + <value value="robin.hingsen@kluge.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Linienstr. 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Linienstr."/> + </extension> + </line> + <city value="Alt Finnleyfeld"/> + <postalCode value="72153"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="05b90f18-8a39-4daa-ad59-6110f5d42f42"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="054643243"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/input.xml new file mode 100644 index 00000000..4945dfe9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c80f28e3-4e69-40ab-b4ce-aa56c4e83000"/> + <meta> + <lastUpdated value="2024-02-08T19:22:52.688+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.810.39"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:22:52.688+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/f2fef97f-c3bf-48a1-b271-c3b74aba5fa0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f2fef97f-c3bf-48a1-b271-c3b74aba5fa0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/075ef5f0-3b70-4685-9ea0-96d76f862319"/> + </subject> + <date value="2024-02-08T19:22:52+01:00"/> + <author> + <reference value="Practitioner/a9ab08d7-de91-4651-8599-a68bccd6182c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/ff5c546e-9300-43ac-a90a-7354529ff3d3"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/5f1b0ce2-6203-42be-bf61-2870e29c45e8"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/8bb89159-7d5f-44d3-84cd-2d0bc31c500d"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/d8ed2888-26c4-4855-bfc0-395de5ec214d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d8ed2888-26c4-4855-bfc0-395de5ec214d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/075ef5f0-3b70-4685-9ea0-96d76f862319"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="075ef5f0-3b70-4685-9ea0-96d76f862319"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1984-11-22"/> + <address> + <type value="both"/> + <line value="Nordstr. 00b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="00b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Nordstr."/> + </extension> + </line> + <city value="Vogelscheid"/> + <postalCode value="43977"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/ff5c546e-9300-43ac-a90a-7354529ff3d3"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ff5c546e-9300-43ac-a90a-7354529ff3d3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="208729108"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-585-7812901"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lennart.keil@xn--schffer-7wa.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Im Oberfeld 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Im Oberfeld"/> + </extension> + </line> + <city value="Ost Aleastadt"/> + <postalCode value="71010"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/5f1b0ce2-6203-42be-bf61-2870e29c45e8"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="5f1b0ce2-6203-42be-bf61-2870e29c45e8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="61"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/5ca51180-05b9-4e28-a3c5-65e79ab60a81"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="105530331"/> + </identifier> + <display value="BKK Herkules"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/a9ab08d7-de91-4651-8599-a68bccd6182c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a9ab08d7-de91-4651-8599-a68bccd6182c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="577428372"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/8bb89159-7d5f-44d3-84cd-2d0bc31c500d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8bb89159-7d5f-44d3-84cd-2d0bc31c500d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/d8ed2888-26c4-4855-bfc0-395de5ec214d"/> + </medicationReference> + <subject> + <reference value="Patient/075ef5f0-3b70-4685-9ea0-96d76f862319"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/a9ab08d7-de91-4651-8599-a68bccd6182c"/> + </requester> + <insurance> + <reference value="Coverage/5f1b0ce2-6203-42be-bf61-2870e29c45e8"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.json new file mode 100644 index 00000000..38118f8c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "9bc86710-5b45-461a-85e7-156b3186e25f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0dd8aa44-9331-4216-9aeb-4cff66f94df3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c07f55c3-6216-4969-a248-ca1f2e1d8eb7" + }, + "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": "c07f55c3-6216-4969-a248-ca1f2e1d8eb7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6c95084c-3414-487e-9ad4-d8ab5c83d8b6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "47c94ff6-476f-4dcd-96ca-fa3016013371", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c80f28e3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.xml new file mode 100644 index 00000000..0cc77294 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9bc86710-5b45-461a-85e7-156b3186e25f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.810.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0dd8aa44-9331-4216-9aeb-4cff66f94df3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c07f55c3-6216-4969-a248-ca1f2e1d8eb7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c07f55c3-6216-4969-a248-ca1f2e1d8eb7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6c95084c-3414-487e-9ad4-d8ab5c83d8b6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="208729108"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-585-7812901"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lennart.keil@xn--schffer-7wa.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Im Oberfeld 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Im Oberfeld"/> + </extension> + </line> + <city value="Ost Aleastadt"/> + <postalCode value="71010"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="47c94ff6-476f-4dcd-96ca-fa3016013371"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="577428372"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index bb2e1b96..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index ae41c075..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="fb58223d-27b0-4e47-be16-d958871a3359"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.809.42"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b5577e10-3190-46e1-9e3f-f4a1e4f56b4e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/a07173a3-6917-43f3-a20c-14f1170dcd46"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="3"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a07173a3-6917-43f3-a20c-14f1170dcd46"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d522e2fc-6276-4134-9a8a-bdce0c848cd4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="609724093"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0602) 198161888"/> - </telecom> - <telecom> - <system value="email"/> - <value value="robin.hingsen@kluge.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Linienstr. 1"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="1"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Linienstr."/> - </extension> - </line> - <city value="Alt Finnleyfeld"/> - <postalCode value="72153"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c163d1a6-9cee-4920-8f17-8a1b916c453b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="054643243"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/input.xml new file mode 100644 index 00000000..e5557089 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="93c38d8d-5ee4-4efc-a424-d46c8e08f54e"/> + <meta> + <lastUpdated value="2024-02-08T19:22:32.404+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.809.42"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:22:32.404+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/7a5cc09c-df76-456f-aee2-84beccdedbbc"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="7a5cc09c-df76-456f-aee2-84beccdedbbc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/552f2794-06eb-477f-999f-60afdb012b04"/> + </subject> + <date value="2024-02-08T19:22:32+01:00"/> + <author> + <reference value="Practitioner/19dc95ce-8079-41c0-ab13-947020d80c83"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/28e63588-bd32-4c3c-b11d-8f94433e0a98"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/df392a19-7b54-4786-9475-8e131ea0594a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/7663dd6e-e211-4c1c-a957-438f074f2c8f"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/5c1bf313-affe-4ce9-92b1-764efea16ed1"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5c1bf313-affe-4ce9-92b1-764efea16ed1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/552f2794-06eb-477f-999f-60afdb012b04"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="552f2794-06eb-477f-999f-60afdb012b04"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1972-10-28"/> + <address> + <type value="both"/> + <line value="Im Kirchfeld 019"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="019"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Im Kirchfeld"/> + </extension> + </line> + <city value="Schön Penelopestadt"/> + <postalCode value="59454"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/28e63588-bd32-4c3c-b11d-8f94433e0a98"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="28e63588-bd32-4c3c-b11d-8f94433e0a98"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="609724093"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0602) 198161888"/> + </telecom> + <telecom> + <system value="email"/> + <value value="robin.hingsen@kluge.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Linienstr. 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Linienstr."/> + </extension> + </line> + <city value="Alt Finnleyfeld"/> + <postalCode value="72153"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/df392a19-7b54-4786-9475-8e131ea0594a"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="df392a19-7b54-4786-9475-8e131ea0594a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="78"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/b535443f-fd14-47ce-87a5-47fde22db828"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101575519"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/19dc95ce-8079-41c0-ab13-947020d80c83"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="19dc95ce-8079-41c0-ab13-947020d80c83"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="054643243"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/7663dd6e-e211-4c1c-a957-438f074f2c8f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7663dd6e-e211-4c1c-a957-438f074f2c8f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5c1bf313-affe-4ce9-92b1-764efea16ed1"/> + </medicationReference> + <subject> + <reference value="Patient/552f2794-06eb-477f-999f-60afdb012b04"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/19dc95ce-8079-41c0-ab13-947020d80c83"/> + </requester> + <insurance> + <reference value="Coverage/df392a19-7b54-4786-9475-8e131ea0594a"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/output.json new file mode 100644 index 00000000..f3842d25 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "b3b20c43-bf3e-4a23-937b-3640825060eb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6309b1e0-b8d6-4ca0-8ba0-599e10206afc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c6987725-633a-4fd1-9552-1559741df942" + }, + "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": "c6987725-633a-4fd1-9552-1559741df942", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b1925fd8-2a62-4d77-8f60-df032e770103", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c6c4cee3-be4a-49fe-9d7a-3d9789dc68a9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_93c38d8d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/output.xml new file mode 100644 index 00000000..d57350d4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b3b20c43-bf3e-4a23-937b-3640825060eb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.809.42"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6309b1e0-b8d6-4ca0-8ba0-599e10206afc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c6987725-633a-4fd1-9552-1559741df942"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c6987725-633a-4fd1-9552-1559741df942"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b1925fd8-2a62-4d77-8f60-df032e770103"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="609724093"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0602) 198161888"/> + </telecom> + <telecom> + <system value="email"/> + <value value="robin.hingsen@kluge.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Linienstr. 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Linienstr."/> + </extension> + </line> + <city value="Alt Finnleyfeld"/> + <postalCode value="72153"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c6c4cee3-be4a-49fe-9d7a-3d9789dc68a9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="054643243"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_04ef6989/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.json new file mode 100644 index 00000000..2674d551 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "4aa9f350-bc38-41d1-baf4-72078d4c66f1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8851d990-5575-466b-95e2-9560f11067d1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d32dfd3c-76e6-42c5-89d4-3db1aaac9585" + }, + "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": "d32dfd3c-76e6-42c5-89d4-3db1aaac9585", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c9885977-7a49-44c9-8ac2-4490f63d430a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5468020b-9074-4151-b7a8-748893e608a7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_04ef6989/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.xml new file mode 100644 index 00000000..6df625d1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4aa9f350-bc38-41d1-baf4-72078d4c66f1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.528.64"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8851d990-5575-466b-95e2-9560f11067d1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d32dfd3c-76e6-42c5-89d4-3db1aaac9585"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d32dfd3c-76e6-42c5-89d4-3db1aaac9585"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87002772"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c9885977-7a49-44c9-8ac2-4490f63d430a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="472318252"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-726-9527977"/> + </telecom> + <telecom> + <system value="email"/> + <value value="finlay.astafei@seitz.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Weiherstr. 85"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="85"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weiherstr."/> + </extension> + </line> + <city value="Mohammedberg"/> + <postalCode value="42390"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5468020b-9074-4151-b7a8-748893e608a7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="237531105"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_207902f9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.json new file mode 100644 index 00000000..9c932f56 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "0e6ebf08-be15-4c9c-9ac2-e571b05f24aa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "70c88aa4-cdc8-412f-b7bb-0d2593033335", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c18865c7-4ad5-4e99-96b6-f59360bd2499" + }, + "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": "c18865c7-4ad5-4e99-96b6-f59360bd2499", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3098457a-a1a9-4ab7-b8f5-0e8be585625c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d562fed1-bea0-4638-bd84-e7275a5aee4b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_207902f9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.xml new file mode 100644 index 00000000..94c8ec13 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0e6ebf08-be15-4c9c-9ac2-e571b05f24aa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.535.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="70c88aa4-cdc8-412f-b7bb-0d2593033335"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c18865c7-4ad5-4e99-96b6-f59360bd2499"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c18865c7-4ad5-4e99-96b6-f59360bd2499"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87382645"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3098457a-a1a9-4ab7-b8f5-0e8be585625c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="881916350"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3035-48165913"/> + </telecom> + <telecom> + <system value="email"/> + <value value="emilie.bork@ney.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Kiefernweg 01"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kiefernweg"/> + </extension> + </line> + <city value="Neu Taminoheim"/> + <postalCode value="11986"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d562fed1-bea0-4638-bd84-e7275a5aee4b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="116260144"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_251cee33/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.json new file mode 100644 index 00000000..c1360af9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "2f1c5072-5471-4bb3-9ea0-6796665dcda5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b40f24ec-6a90-4867-b3b3-df25e54e1bea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/af18e8c9-55dc-4a5e-af9a-2a4a8f759ce1" + }, + "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": "af18e8c9-55dc-4a5e-af9a-2a4a8f759ce1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1b046e0a-5a17-4a65-a059-5b3beeec2b05", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4c8974d7-b5a9-4986-97e2-39cda846b3e0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_251cee33/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.xml new file mode 100644 index 00000000..432b1faf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2f1c5072-5471-4bb3-9ea0-6796665dcda5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.530.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b40f24ec-6a90-4867-b3b3-df25e54e1bea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/af18e8c9-55dc-4a5e-af9a-2a4a8f759ce1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="af18e8c9-55dc-4a5e-af9a-2a4a8f759ce1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="78632037"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1b046e0a-5a17-4a65-a059-5b3beeec2b05"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="020891625"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8772-75652867"/> + </telecom> + <telecom> + <system value="email"/> + <value value="elif.kresse@hooss.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Dieselstr. 718"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="718"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dieselstr."/> + </extension> + </line> + <city value="Kleiberstadt"/> + <postalCode value="09209"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4c8974d7-b5a9-4986-97e2-39cda846b3e0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="633789165"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 6159c894..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 841ea8f9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2745328a-eed1-4ea2-a315-bdf358ec37c4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.530.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="662794ff-fde8-4b2b-bc3a-d4bf9e1fff84"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/d11fceac-8c4e-4a53-adda-d1b3a5880640"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="d11fceac-8c4e-4a53-adda-d1b3a5880640"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="78632037"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8951db19-eae6-49cf-84e2-8db15df8d8f0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="020891625"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-8772-75652867"/> - </telecom> - <telecom> - <system value="email"/> - <value value="elif.kresse@hooss.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Dieselstr. 718"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="718"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Dieselstr."/> - </extension> - </line> - <city value="Kleiberstadt"/> - <postalCode value="09209"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="de1026d1-96eb-446e-b3dc-06be703c5ec0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="633789165"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/input.xml new file mode 100644 index 00000000..4e6b5b63 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="251cee33-049b-4e24-83f0-f5d887e54891"/> + <meta> + <lastUpdated value="2024-02-08T19:15:11.882+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.530.58"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:15:11.882+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/d347ad9a-802a-429f-b5c5-c13ef4f5eb23"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d347ad9a-802a-429f-b5c5-c13ef4f5eb23"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/27ed9fd3-a297-4ffb-b40e-e27ba636d037"/> + </subject> + <date value="2024-02-08T19:15:11+01:00"/> + <author> + <reference value="Practitioner/dbcaeac6-ef8f-4960-8d67-9c9bf66ca2f6"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/70f452df-8e59-47d2-b8db-e82af5a13b5e"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/3ecef90d-151b-42e2-bdb3-9d6af4521e5e"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/d76648ab-cb2b-42ab-a778-45fdcd199e3c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/935cf074-8360-466f-b82a-a0a912f333c6"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="935cf074-8360-466f-b82a-a0a912f333c6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="78632037"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/27ed9fd3-a297-4ffb-b40e-e27ba636d037"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="27ed9fd3-a297-4ffb-b40e-e27ba636d037"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2004-09-15"/> + <address> + <type value="both"/> + <line value="Hindenburgstr. 63b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="63b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hindenburgstr."/> + </extension> + </line> + <city value="Nord Kayraburg"/> + <postalCode value="51440"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/70f452df-8e59-47d2-b8db-e82af5a13b5e"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="70f452df-8e59-47d2-b8db-e82af5a13b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="020891625"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8772-75652867"/> + </telecom> + <telecom> + <system value="email"/> + <value value="elif.kresse@hooss.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Dieselstr. 718"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="718"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dieselstr."/> + </extension> + </line> + <city value="Kleiberstadt"/> + <postalCode value="09209"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/3ecef90d-151b-42e2-bdb3-9d6af4521e5e"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="3ecef90d-151b-42e2-bdb3-9d6af4521e5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="60"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/7acb4d86-75cf-4927-977e-a996ecdf0de0"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140040"/> + </identifier> + <display value="Generali"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/dbcaeac6-ef8f-4960-8d67-9c9bf66ca2f6"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dbcaeac6-ef8f-4960-8d67-9c9bf66ca2f6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="633789165"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/d76648ab-cb2b-42ab-a778-45fdcd199e3c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d76648ab-cb2b-42ab-a778-45fdcd199e3c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/935cf074-8360-466f-b82a-a0a912f333c6"/> + </medicationReference> + <subject> + <reference value="Patient/27ed9fd3-a297-4ffb-b40e-e27ba636d037"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/dbcaeac6-ef8f-4960-8d67-9c9bf66ca2f6"/> + </requester> + <insurance> + <reference value="Coverage/3ecef90d-151b-42e2-bdb3-9d6af4521e5e"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/output.json new file mode 100644 index 00000000..cd737729 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "db19407b-e783-45b3-8b78-664b49ad40b5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5079a719-9bd5-4643-9f38-b2abd01fa6e8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8e21ca5b-e203-41f7-9e0b-191e2ba17325" + }, + "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": "8e21ca5b-e203-41f7-9e0b-191e2ba17325", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "416e51ab-2e7c-4886-a31e-9a6f74bea818", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1d2c3ae6-9a8e-4203-968d-b44e43d86d47", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_251cee33/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/output.xml new file mode 100644 index 00000000..05b0ae96 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="db19407b-e783-45b3-8b78-664b49ad40b5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.530.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5079a719-9bd5-4643-9f38-b2abd01fa6e8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8e21ca5b-e203-41f7-9e0b-191e2ba17325"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8e21ca5b-e203-41f7-9e0b-191e2ba17325"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="78632037"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="416e51ab-2e7c-4886-a31e-9a6f74bea818"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="020891625"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8772-75652867"/> + </telecom> + <telecom> + <system value="email"/> + <value value="elif.kresse@hooss.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Dieselstr. 718"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="718"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dieselstr."/> + </extension> + </line> + <city value="Kleiberstadt"/> + <postalCode value="09209"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1d2c3ae6-9a8e-4203-968d-b44e43d86d47"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="633789165"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 52410f85..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 5ac58614..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="50200ff7-f161-417d-b573-65a0f5030721"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.528.64"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="04a3ecfe-3f20-40d8-af33-14d501eae146"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/11b642ce-8a38-40a9-8b6c-07e56449d0a0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="11b642ce-8a38-40a9-8b6c-07e56449d0a0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="87002772"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1171ce4e-dc57-44ce-a62a-7a40a774ebf7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="472318252"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-726-9527977"/> - </telecom> - <telecom> - <system value="email"/> - <value value="finlay.astafei@seitz.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Weiherstr. 85"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="85"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Weiherstr."/> - </extension> - </line> - <city value="Mohammedberg"/> - <postalCode value="42390"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4af94c73-40ef-46ff-8b33-c919806592d0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="237531105"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/input.xml new file mode 100644 index 00000000..48fbfd2f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="04ef6989-0443-4f78-8c3b-af75b30d8342"/> + <meta> + <lastUpdated value="2024-02-08T19:14:35.238+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.528.64"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:14:35.238+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/a0bb10b0-4003-431b-9348-64e6a02c23d0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a0bb10b0-4003-431b-9348-64e6a02c23d0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/9c2d57d9-a953-4f4a-8390-cfd7d3f22f6f"/> + </subject> + <date value="2024-02-08T19:14:35+01:00"/> + <author> + <reference value="Practitioner/0d7fa00a-f3fd-45dc-9e41-3821332d3cd6"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/b1da4c2f-98cd-468f-bcbb-8f9744dfc316"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/04f7703a-8ac1-4696-991b-8579a3815916"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/08d44885-7cb5-4319-9c4b-55a4040100e9"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/fd02588d-b2f9-4d37-a188-6b7c24382ead"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fd02588d-b2f9-4d37-a188-6b7c24382ead"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87002772"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/9c2d57d9-a953-4f4a-8390-cfd7d3f22f6f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="9c2d57d9-a953-4f4a-8390-cfd7d3f22f6f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1959-08-14"/> + <address> + <type value="both"/> + <line value="Sperberweg 8"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="8"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Sperberweg"/> + </extension> + </line> + <city value="Schön Joey"/> + <postalCode value="26207"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/b1da4c2f-98cd-468f-bcbb-8f9744dfc316"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b1da4c2f-98cd-468f-bcbb-8f9744dfc316"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="472318252"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-726-9527977"/> + </telecom> + <telecom> + <system value="email"/> + <value value="finlay.astafei@seitz.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Weiherstr. 85"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="85"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weiherstr."/> + </extension> + </line> + <city value="Mohammedberg"/> + <postalCode value="42390"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/04f7703a-8ac1-4696-991b-8579a3815916"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="04f7703a-8ac1-4696-991b-8579a3815916"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/b3cc10a1-454d-43bc-9f50-8d3c9bae543f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141041"/> + </identifier> + <display value="KUK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/0d7fa00a-f3fd-45dc-9e41-3821332d3cd6"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0d7fa00a-f3fd-45dc-9e41-3821332d3cd6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="237531105"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/08d44885-7cb5-4319-9c4b-55a4040100e9"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="08d44885-7cb5-4319-9c4b-55a4040100e9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/fd02588d-b2f9-4d37-a188-6b7c24382ead"/> + </medicationReference> + <subject> + <reference value="Patient/9c2d57d9-a953-4f4a-8390-cfd7d3f22f6f"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/0d7fa00a-f3fd-45dc-9e41-3821332d3cd6"/> + </requester> + <insurance> + <reference value="Coverage/04f7703a-8ac1-4696-991b-8579a3815916"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/output.json new file mode 100644 index 00000000..96a02e62 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "3b23fcac-ba11-477c-9a69-d6a003569baf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "338c3ec4-1334-4d98-bcf1-74c49968e416", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/51b9ca04-65b3-497a-9a4c-1823d0ff0fed" + }, + "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": "51b9ca04-65b3-497a-9a4c-1823d0ff0fed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "be10ca81-1199-4467-8575-a335488058cd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "98bc544f-7bd5-431f-97fa-e31e3eca018d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_04ef6989/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/output.xml new file mode 100644 index 00000000..c0e6666e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3b23fcac-ba11-477c-9a69-d6a003569baf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.528.64"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="338c3ec4-1334-4d98-bcf1-74c49968e416"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/51b9ca04-65b3-497a-9a4c-1823d0ff0fed"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="51b9ca04-65b3-497a-9a4c-1823d0ff0fed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87002772"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="be10ca81-1199-4467-8575-a335488058cd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="472318252"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-726-9527977"/> + </telecom> + <telecom> + <system value="email"/> + <value value="finlay.astafei@seitz.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Weiherstr. 85"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="85"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weiherstr."/> + </extension> + </line> + <city value="Mohammedberg"/> + <postalCode value="42390"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="98bc544f-7bd5-431f-97fa-e31e3eca018d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="237531105"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 6df43758..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 0054a101..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="8e04dafe-7e62-4b2b-bc60-8bd82a287b35"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.535.43"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9e18ace9-4759-4e29-8d5a-f3b0089815c0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/26f41266-25fb-42f5-af32-4cfc670e29c2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="26f41266-25fb-42f5-af32-4cfc670e29c2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="87382645"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9081a384-4435-4c84-8ad7-80492e6a4094"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="881916350"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-3035-48165913"/> - </telecom> - <telecom> - <system value="email"/> - <value value="emilie.bork@ney.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Kiefernweg 01"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="01"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Kiefernweg"/> - </extension> - </line> - <city value="Neu Taminoheim"/> - <postalCode value="11986"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ebd9511c-a9f6-413b-9b42-0ba8d5b61783"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="116260144"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/input.xml new file mode 100644 index 00000000..3d3ae811 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="207902f9-6d4f-4a92-933d-d5c8154464b3"/> + <meta> + <lastUpdated value="2024-02-08T19:16:28.420+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.535.43"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:16:28.420+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/278ccb16-70a6-4707-a5bc-7aaaffc552fb"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="278ccb16-70a6-4707-a5bc-7aaaffc552fb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/81b4ac4b-0bec-4177-b230-74f3e2b503dc"/> + </subject> + <date value="2024-02-08T19:16:28+01:00"/> + <author> + <reference value="Practitioner/1dbda1e4-6399-4f21-937d-31e9886b2810"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/6a2b6f05-00e4-4cdc-8f1f-53094da218a4"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/c914b67b-1240-4239-bce9-4cab008e66ee"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/9f7ffe58-d8c5-4e2c-87c5-26ad66976b03"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/bc1c6f86-2c26-4ed2-b717-fd73022e6f53"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bc1c6f86-2c26-4ed2-b717-fd73022e6f53"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87382645"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/81b4ac4b-0bec-4177-b230-74f3e2b503dc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="81b4ac4b-0bec-4177-b230-74f3e2b503dc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1997-07-22"/> + <address> + <type value="both"/> + <line value="Frischenberg 04c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="04c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Frischenberg"/> + </extension> + </line> + <city value="Klein Marten"/> + <postalCode value="57022"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/6a2b6f05-00e4-4cdc-8f1f-53094da218a4"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6a2b6f05-00e4-4cdc-8f1f-53094da218a4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="881916350"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3035-48165913"/> + </telecom> + <telecom> + <system value="email"/> + <value value="emilie.bork@ney.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Kiefernweg 01"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kiefernweg"/> + </extension> + </line> + <city value="Neu Taminoheim"/> + <postalCode value="11986"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/c914b67b-1240-4239-bce9-4cab008e66ee"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="c914b67b-1240-4239-bce9-4cab008e66ee"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="83"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/60859d5d-6962-4b96-b58f-90f71921304d"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141392"/> + </identifier> + <display value="Württembergische"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/1dbda1e4-6399-4f21-937d-31e9886b2810"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1dbda1e4-6399-4f21-937d-31e9886b2810"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="116260144"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/9f7ffe58-d8c5-4e2c-87c5-26ad66976b03"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9f7ffe58-d8c5-4e2c-87c5-26ad66976b03"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/bc1c6f86-2c26-4ed2-b717-fd73022e6f53"/> + </medicationReference> + <subject> + <reference value="Patient/81b4ac4b-0bec-4177-b230-74f3e2b503dc"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/1dbda1e4-6399-4f21-937d-31e9886b2810"/> + </requester> + <insurance> + <reference value="Coverage/c914b67b-1240-4239-bce9-4cab008e66ee"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/output.json new file mode 100644 index 00000000..073551af --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "51afd3ac-5cb4-4d59-a286-7b9f66c95d21", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "57ac9f32-27b7-42c7-ae3a-34b293f963e3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/375db5fb-e1a7-4d0f-affa-d1e7f350e211" + }, + "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": "375db5fb-e1a7-4d0f-affa-d1e7f350e211", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2f5148d8-5a22-4e1f-a63e-1f4ce4369de7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "938dc360-826d-4c3c-8672-27654d6882c3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_207902f9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/output.xml new file mode 100644 index 00000000..06fb7356 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="51afd3ac-5cb4-4d59-a286-7b9f66c95d21"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.535.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="57ac9f32-27b7-42c7-ae3a-34b293f963e3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/375db5fb-e1a7-4d0f-affa-d1e7f350e211"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="375db5fb-e1a7-4d0f-affa-d1e7f350e211"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87382645"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2f5148d8-5a22-4e1f-a63e-1f4ce4369de7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="881916350"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3035-48165913"/> + </telecom> + <telecom> + <system value="email"/> + <value value="emilie.bork@ney.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Kiefernweg 01"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kiefernweg"/> + </extension> + </line> + <city value="Neu Taminoheim"/> + <postalCode value="11986"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="938dc360-826d-4c3c-8672-27654d6882c3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="116260144"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_9e9b3d77/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.json new file mode 100644 index 00000000..84c6e042 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "70f4a49d-68a0-4abc-9d15-8130e77e0490", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0ca22004-c50c-45fc-ad3d-85a61d87bc6a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0bc4215c-3666-4765-9984-38ef4159df8e" + }, + "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": "0bc4215c-3666-4765-9984-38ef4159df8e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f98e36f4-a62b-488e-8487-ece10ed86c7e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c911c8f3-3dc1-4e93-9c55-b3d165b12e51", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9e9b3d77/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.xml new file mode 100644 index 00000000..0fb8d2f8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="70f4a49d-68a0-4abc-9d15-8130e77e0490"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.526.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0ca22004-c50c-45fc-ad3d-85a61d87bc6a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0bc4215c-3666-4765-9984-38ef4159df8e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0bc4215c-3666-4765-9984-38ef4159df8e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10256692"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f98e36f4-a62b-488e-8487-ece10ed86c7e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="030858272"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7111-25857900"/> + </telecom> + <telecom> + <system value="email"/> + <value value="giuseppe.filipowski@rodowski.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Gierener Weg 17"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Gierener Weg"/> + </extension> + </line> + <city value="Franzisburg"/> + <postalCode value="48462"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c911c8f3-3dc1-4e93-9c55-b3d165b12e51"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="032950438"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index cd0e3af7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index e2ec72c7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d9759800-d1ea-4b22-98a9-74dac8b1b8ba"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.526.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3d4183f1-a98b-4e16-820f-20920e2f4fa6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/b91fe801-5cc2-4ac8-99d8-ea99afa95631"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b91fe801-5cc2-4ac8-99d8-ea99afa95631"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10256692"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f45d2a26-5ff4-4d28-a519-098687f10930"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="030858272"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-7111-25857900"/> - </telecom> - <telecom> - <system value="email"/> - <value value="giuseppe.filipowski@rodowski.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Gierener Weg 17"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="17"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Gierener Weg"/> - </extension> - </line> - <city value="Franzisburg"/> - <postalCode value="48462"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="8129b606-a9fe-4d6b-8240-9cf67a6d30fd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="032950438"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/input.xml new file mode 100644 index 00000000..ca91b36d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9e9b3d77-4f67-4f1f-bde8-9b9c7160aa8e"/> + <meta> + <lastUpdated value="2024-02-08T19:13:58.052+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.526.70"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:13:58.052+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/eaedf95e-2ce4-4b9e-be17-73ea608526da"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="eaedf95e-2ce4-4b9e-be17-73ea608526da"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/640c9ba3-2649-4faf-9a6b-93d25c7404f8"/> + </subject> + <date value="2024-02-08T19:13:58+01:00"/> + <author> + <reference value="Practitioner/1988c2db-98d0-416e-b624-31c637af6ac4"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/56cea22d-a1cc-4d26-862c-1449bf8984b8"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/79441c9a-c7be-4f9a-a14a-6b890b73d9d2"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/67c52422-5216-4786-beca-f94baf2e43ad"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/9c18ac42-2969-44aa-b951-c6bfa687b5bf"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9c18ac42-2969-44aa-b951-c6bfa687b5bf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10256692"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/640c9ba3-2649-4faf-9a6b-93d25c7404f8"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="640c9ba3-2649-4faf-9a6b-93d25c7404f8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1968-09-01"/> + <address> + <type value="both"/> + <line value="Am Knechtsgraben 357"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="357"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Knechtsgraben"/> + </extension> + </line> + <city value="Olbrichbrunn"/> + <postalCode value="68242"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/56cea22d-a1cc-4d26-862c-1449bf8984b8"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="56cea22d-a1cc-4d26-862c-1449bf8984b8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="030858272"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7111-25857900"/> + </telecom> + <telecom> + <system value="email"/> + <value value="giuseppe.filipowski@rodowski.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Gierener Weg 17"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Gierener Weg"/> + </extension> + </line> + <city value="Franzisburg"/> + <postalCode value="48462"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/79441c9a-c7be-4f9a-a14a-6b890b73d9d2"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="79441c9a-c7be-4f9a-a14a-6b890b73d9d2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="48"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93a9c42e-bbc9-4d2b-aba0-7459d32b1476"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141198"/> + </identifier> + <display value="Gothaer"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/1988c2db-98d0-416e-b624-31c637af6ac4"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1988c2db-98d0-416e-b624-31c637af6ac4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="032950438"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/67c52422-5216-4786-beca-f94baf2e43ad"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="67c52422-5216-4786-beca-f94baf2e43ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/9c18ac42-2969-44aa-b951-c6bfa687b5bf"/> + </medicationReference> + <subject> + <reference value="Patient/640c9ba3-2649-4faf-9a6b-93d25c7404f8"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/1988c2db-98d0-416e-b624-31c637af6ac4"/> + </requester> + <insurance> + <reference value="Coverage/79441c9a-c7be-4f9a-a14a-6b890b73d9d2"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/output.json new file mode 100644 index 00000000..b9553664 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "87ca8b01-2ad1-49a9-8e36-e5f5d72b31c2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "abbbd7fc-3901-404b-9e88-c52038065130", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e4ecf19b-3097-44b7-a731-5e1b090ac829" + }, + "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": "e4ecf19b-3097-44b7-a731-5e1b090ac829", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dd189bd9-b2da-4f0e-8b71-409e683d627a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4464d15a-f7bf-40da-a46f-a0e4c30a9021", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9e9b3d77/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/output.xml new file mode 100644 index 00000000..dc213682 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="87ca8b01-2ad1-49a9-8e36-e5f5d72b31c2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.526.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="abbbd7fc-3901-404b-9e88-c52038065130"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e4ecf19b-3097-44b7-a731-5e1b090ac829"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e4ecf19b-3097-44b7-a731-5e1b090ac829"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10256692"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dd189bd9-b2da-4f0e-8b71-409e683d627a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="030858272"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7111-25857900"/> + </telecom> + <telecom> + <system value="email"/> + <value value="giuseppe.filipowski@rodowski.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Gierener Weg 17"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Gierener Weg"/> + </extension> + </line> + <city value="Franzisburg"/> + <postalCode value="48462"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4464d15a-f7bf-40da-a46f-a0e4c30a9021"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="032950438"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 885009d2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/output.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "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 deleted file mode 100644 index 825015bc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/output.xml +++ /dev/null @@ -1,236 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4aec765d-9ab4-4eb4-923c-b1dc93a3dbb8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.798.75"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="59fcea79-fa84-4509-97b1-5645170a210d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="2"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-05-08"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:13061707"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/394c3b53-4994-4999-b832-61cd8e37d41e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="394c3b53-4994-4999-b832-61cd8e37d41e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="77712610"/> - </coding> - <text value="Aceterfen"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c307dcf3-1276-47d8-bb4f-c594d521d305"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="711020854"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0340) 561450343"/> - </telecom> - <telecom> - <system value="email"/> - <value value="saphira.schaffarzik@jungbluth.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Am Arenzberg 46b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="46b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Am Arenzberg"/> - </extension> - </line> - <city value="Jessicafeld"/> - <postalCode value="12141"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ca535729-c425-49cf-9b50-b3ca6c71c159"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="616562658"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_7adc4492/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/output.json new file mode 100644 index 00000000..ded168b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "9140b26a-3b00-4d60-a60c-92e3fabcd6de", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "08075aa9-bbd9-4b83-99e2-b77885180d64", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/9120bfcf-140e-4ce9-b546-8f759b807ce0" + }, + "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": "9120bfcf-140e-4ce9-b546-8f759b807ce0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4d0942fb-c913-4d3d-adfa-56ee28892259", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f70521e9-9ef3-4634-92c7-eadd54297067", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7adc4492/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/output.xml new file mode 100644 index 00000000..a9c10af3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9140b26a-3b00-4d60-a60c-92e3fabcd6de"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.798.75"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="08075aa9-bbd9-4b83-99e2-b77885180d64"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9120bfcf-140e-4ce9-b546-8f759b807ce0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9120bfcf-140e-4ce9-b546-8f759b807ce0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="77712610"/> + </coding> + <text value="Aceterfen"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4d0942fb-c913-4d3d-adfa-56ee28892259"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f70521e9-9ef3-4634-92c7-eadd54297067"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index eaee30f5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 7568beca..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="57eabb67-34e5-4d1c-ba94-b6feeeb13f06"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.033.001.16"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="968c2621-692e-49af-99b1-ac15c26e4937"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/d7784ecb-f022-4551-8a86-c5e73c66b0ce"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="d7784ecb-f022-4551-8a86-c5e73c66b0ce"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="67209235"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c6ddd30e-665e-4232-b053-70b20b7721fe"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="476736714"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0048) 622241522"/> - </telecom> - <telecom> - <system value="email"/> - <value value="ismael.riethmüller@brauer.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Kanalstr. 01c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="01c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Kanalstr."/> - </extension> - </line> - <city value="Griemburg"/> - <postalCode value="85414"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="39bc08ec-ca09-4fce-8d1d-ecb551505d8e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="874457048"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_d04a95ee/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/output.json new file mode 100644 index 00000000..c99c69b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "89b7102f-5c9e-41ed-9dd9-fd94ca62da41", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "95daf59c-b43b-491b-a092-4f7091ed0ded", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6e2ab523-4e89-4022-9f42-2ea87bafe359" + }, + "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": "6e2ab523-4e89-4022-9f42-2ea87bafe359", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ba598291-a742-44b0-b99f-0d1cce940aba", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "993918b5-7875-493b-8170-19aed70a7250", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d04a95ee/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/output.xml new file mode 100644 index 00000000..d1bca5e5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="89b7102f-5c9e-41ed-9dd9-fd94ca62da41"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.033.001.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="95daf59c-b43b-491b-a092-4f7091ed0ded"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6e2ab523-4e89-4022-9f42-2ea87bafe359"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6e2ab523-4e89-4022-9f42-2ea87bafe359"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="67209235"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ba598291-a742-44b0-b99f-0d1cce940aba"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="476736714"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0048) 622241522"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ismael.riethmüller@brauer.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Kanalstr. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kanalstr."/> + </extension> + </line> + <city value="Griemburg"/> + <postalCode value="85414"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="993918b5-7875-493b-8170-19aed70a7250"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="874457048"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/input.xml new file mode 100644 index 00000000..2d8f769d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/input.xml @@ -0,0 +1,402 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7adc4492-5af0-4817-a3bd-d50985fd906c"/> + <meta> + <lastUpdated value="2024-02-08T19:12:22.465+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.798.75"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:12:22.465+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/95f29aff-e1bb-4971-b229-83ee0867f388"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="95f29aff-e1bb-4971-b229-83ee0867f388"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <date value="2024-02-08T19:12:22+01:00"/> + <author> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/b65e10a9-fbf8-424a-b17a-3625a5a73630"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/6425421f-f50a-4a62-b8e5-89f786f709bc"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6425421f-f50a-4a62-b8e5-89f786f709bc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="77712610"/> + </coding> + <text value="Aceterfen"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1963-08-18"/> + <address> + <type value="both"/> + <line value="Friedrich-List-Str. 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Friedrich-List-Str."/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="40934"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="268d5615-319b-448d-884a-ce034b70d01c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="47"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/e11c162b-d22c-4576-88e2-21a9c878c33e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108433248"/> + </identifier> + <display value="Siemens‐Betriebskrankenkasse SBK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/b65e10a9-fbf8-424a-b17a-3625a5a73630"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b65e10a9-fbf8-424a-b17a-3625a5a73630"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/6425421f-f50a-4a62-b8e5-89f786f709bc"/> + </medicationReference> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + </requester> + <insurance> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.json new file mode 100644 index 00000000..93ed492d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "5df8b25d-afad-4bfb-9445-df25075e4435", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1249b007-4195-4408-988d-92896a83e74e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/75c9f8ee-898f-44a0-8af8-82586724fae2" + }, + "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": "75c9f8ee-898f-44a0-8af8-82586724fae2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f61e8913-0995-4194-b0c0-d7c91742986a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b1b3cf0f-acf4-43f8-ac1a-2ca058abcdb1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7adc4492/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.xml new file mode 100644 index 00000000..21ca6e8a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5df8b25d-afad-4bfb-9445-df25075e4435"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.798.75"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1249b007-4195-4408-988d-92896a83e74e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/75c9f8ee-898f-44a0-8af8-82586724fae2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="75c9f8ee-898f-44a0-8af8-82586724fae2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="77712610"/> + </coding> + <text value="Aceterfen"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f61e8913-0995-4194-b0c0-d7c91742986a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b1b3cf0f-acf4-43f8-ac1a-2ca058abcdb1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/input.xml new file mode 100644 index 00000000..904005ae --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="d04a95ee-2318-4f6f-bbfe-b6d3f91ad18d"/> + <meta> + <lastUpdated value="2024-02-08T19:22:16.011+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.033.001.16"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:22:16.011+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/60826a15-2c18-429e-8f97-27580ebf5fff"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="60826a15-2c18-429e-8f97-27580ebf5fff"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/48cecd0a-359d-4612-9aef-952c8b4f5e76"/> + </subject> + <date value="2024-02-08T19:22:16+01:00"/> + <author> + <reference value="Practitioner/7098d491-104d-41b2-88ba-47c8b726742e"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/61f02908-fa5a-4a22-b260-38df7e66e35e"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/61833af2-097b-4f8a-bd53-32092d694fe3"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/3a829bdb-804e-43d7-82ce-a52023ecb34d"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/0f8c77f3-fc49-4c5a-8331-5b8516251d4d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0f8c77f3-fc49-4c5a-8331-5b8516251d4d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="67209235"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/48cecd0a-359d-4612-9aef-952c8b4f5e76"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="48cecd0a-359d-4612-9aef-952c8b4f5e76"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110488614"/> + </identifier> + <name> + <use value="official"/> + <family value="Hütter"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hütter"/> + </extension> + </family> + <given value="Leonie"/> + </name> + <birthDate value="1991-07-25"/> + <address> + <type value="both"/> + <line value="Drachenfelsstr. 27a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Drachenfelsstr."/> + </extension> + </line> + <city value="Süd Maira"/> + <postalCode value="47752"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/61f02908-fa5a-4a22-b260-38df7e66e35e"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="61f02908-fa5a-4a22-b260-38df7e66e35e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="476736714"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0048) 622241522"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ismael.riethmüller@brauer.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Kanalstr. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kanalstr."/> + </extension> + </line> + <city value="Griemburg"/> + <postalCode value="85414"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/61833af2-097b-4f8a-bd53-32092d694fe3"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="61833af2-097b-4f8a-bd53-32092d694fe3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="52"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/75b014b1-f45c-4ae8-b4b1-170bb155993f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="102122557"/> + </identifier> + <display value="BKK exklusiv"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/7098d491-104d-41b2-88ba-47c8b726742e"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7098d491-104d-41b2-88ba-47c8b726742e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="874457048"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/3a829bdb-804e-43d7-82ce-a52023ecb34d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3a829bdb-804e-43d7-82ce-a52023ecb34d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/0f8c77f3-fc49-4c5a-8331-5b8516251d4d"/> + </medicationReference> + <subject> + <reference value="Patient/48cecd0a-359d-4612-9aef-952c8b4f5e76"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/7098d491-104d-41b2-88ba-47c8b726742e"/> + </requester> + <insurance> + <reference value="Coverage/61833af2-097b-4f8a-bd53-32092d694fe3"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.json new file mode 100644 index 00000000..59ec055e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "5a041313-b5fc-4afa-bb64-4bcc59d80c7c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fa75dd25-5ec8-4778-9818-65909688fb27", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/47d40911-8cbf-4ef0-87a8-5dd94e506465" + }, + "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": "47d40911-8cbf-4ef0-87a8-5dd94e506465", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2e5999ed-9ff5-4829-9681-20e4ae59166d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e9d12162-325f-46b1-a995-fb13e203eb0c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d04a95ee/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.xml new file mode 100644 index 00000000..6db58cfd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5a041313-b5fc-4afa-bb64-4bcc59d80c7c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.033.001.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fa75dd25-5ec8-4778-9818-65909688fb27"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/47d40911-8cbf-4ef0-87a8-5dd94e506465"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="47d40911-8cbf-4ef0-87a8-5dd94e506465"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="67209235"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2e5999ed-9ff5-4829-9681-20e4ae59166d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="476736714"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0048) 622241522"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ismael.riethmüller@brauer.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Kanalstr. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kanalstr."/> + </extension> + </line> + <city value="Griemburg"/> + <postalCode value="85414"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e9d12162-325f-46b1-a995-fb13e203eb0c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="874457048"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 1f370caa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/output.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "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 deleted file mode 100644 index 276b94ef..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/output.xml +++ /dev/null @@ -1,236 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="355db86f-a843-4f81-b771-6fe0668d29fa"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.799.72"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="aa5284a3-c0cb-4d11-8bda-a61a72e6b2b2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="3"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-08-06"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:13061707"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/08c06ace-03b4-4771-a042-ee8927770cbb"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="08c06ace-03b4-4771-a042-ee8927770cbb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="25184159"/> - </coding> - <text value="Aciamior"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f191451b-0679-4e51-8d00-fed0f156f8eb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="711020854"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0340) 561450343"/> - </telecom> - <telecom> - <system value="email"/> - <value value="saphira.schaffarzik@jungbluth.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Am Arenzberg 46b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="46b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Am Arenzberg"/> - </extension> - </line> - <city value="Jessicafeld"/> - <postalCode value="12141"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d4ad1986-ff6b-4d09-b9b7-8d5fe36fcd1d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="616562658"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_71606533/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/output.json new file mode 100644 index 00000000..495d19a5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "0bd80d27-daaa-4db7-a3a7-49eb3af0df81", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "efab9486-c3de-42b7-8250-9381beebc333", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/020cdd1e-b8f6-4795-be74-7c8fbe0f501c" + }, + "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": "020cdd1e-b8f6-4795-be74-7c8fbe0f501c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "75777c9e-5a5c-4995-9368-88f2f2b3a3b7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f9285000-bce3-41d3-b13d-045d026922ad", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_71606533/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/output.xml new file mode 100644 index 00000000..bf4c5eb3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0bd80d27-daaa-4db7-a3a7-49eb3af0df81"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.799.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="efab9486-c3de-42b7-8250-9381beebc333"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-08-06"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/020cdd1e-b8f6-4795-be74-7c8fbe0f501c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="020cdd1e-b8f6-4795-be74-7c8fbe0f501c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25184159"/> + </coding> + <text value="Aciamior"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="75777c9e-5a5c-4995-9368-88f2f2b3a3b7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f9285000-bce3-41d3-b13d-045d026922ad"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/input.xml new file mode 100644 index 00000000..879e7ecb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/input.xml @@ -0,0 +1,402 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="71606533-794f-4fff-ad5a-56fdc7a56a9b"/> + <meta> + <lastUpdated value="2024-02-08T19:12:22.875+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.799.72"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:12:22.875+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/a5444495-f33d-4a18-8572-023a77b4ce8c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a5444495-f33d-4a18-8572-023a77b4ce8c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <date value="2024-02-08T19:12:22+01:00"/> + <author> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/db6c9edc-a925-4dc3-b5f2-8c4522ac395f"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/b4550149-210c-4e86-8623-607e482400e0"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b4550149-210c-4e86-8623-607e482400e0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25184159"/> + </coding> + <text value="Aciamior"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1963-08-18"/> + <address> + <type value="both"/> + <line value="Friedrich-List-Str. 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Friedrich-List-Str."/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="40934"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="268d5615-319b-448d-884a-ce034b70d01c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="47"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/e11c162b-d22c-4576-88e2-21a9c878c33e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108433248"/> + </identifier> + <display value="Siemens‐Betriebskrankenkasse SBK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/db6c9edc-a925-4dc3-b5f2-8c4522ac395f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="db6c9edc-a925-4dc3-b5f2-8c4522ac395f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-08-06"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b4550149-210c-4e86-8623-607e482400e0"/> + </medicationReference> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + </requester> + <insurance> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.json new file mode 100644 index 00000000..04a3e136 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "eb019bdf-c449-4b18-b812-f1f7a5918357", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1b580808-bcc4-4bb6-a53d-22734fc08625", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/8154e9e6-c004-4cd4-9f21-bc8fa904b543" + }, + "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": "8154e9e6-c004-4cd4-9f21-bc8fa904b543", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "03e76247-e3cf-44b4-a846-3a0fa4484694", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "685d44bd-5946-40e5-b022-c1d0adf2af35", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_71606533/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.xml new file mode 100644 index 00000000..23b7ab2f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="eb019bdf-c449-4b18-b812-f1f7a5918357"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.799.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1b580808-bcc4-4bb6-a53d-22734fc08625"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-08-06"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8154e9e6-c004-4cd4-9f21-bc8fa904b543"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8154e9e6-c004-4cd4-9f21-bc8fa904b543"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25184159"/> + </coding> + <text value="Aciamior"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="03e76247-e3cf-44b4-a846-3a0fa4484694"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="685d44bd-5946-40e5-b022-c1d0adf2af35"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 9b32dab5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/output.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "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 deleted file mode 100644 index c8c04bc3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/output.xml +++ /dev/null @@ -1,236 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2d819774-99b0-4f48-9353-fef2467275c6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.800.69"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ac5d4170-2c41-496d-a8f3-e4f8132b0ba0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-11-04"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:13061707"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/4244e348-651a-4469-83c5-27a30bfd4c8a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4244e348-651a-4469-83c5-27a30bfd4c8a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="29470620"/> - </coding> - <text value="Aceternin"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="42b40601-6b7f-4ad7-a97b-1daaa983ae63"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="711020854"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0340) 561450343"/> - </telecom> - <telecom> - <system value="email"/> - <value value="saphira.schaffarzik@jungbluth.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Am Arenzberg 46b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="46b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Am Arenzberg"/> - </extension> - </line> - <city value="Jessicafeld"/> - <postalCode value="12141"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="fe2f4158-8ec9-47fc-9ada-159c92dffac7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="616562658"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_7b2ca3fe/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/output.json new file mode 100644 index 00000000..e6b728cc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "79996d2b-8e74-48eb-8c51-88dd1bfc0e01", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c976d252-b85f-4281-b5b7-4da0013bab3d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/9f58d1e7-f603-4fdb-90ce-8820e9bbf82c" + }, + "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": "9f58d1e7-f603-4fdb-90ce-8820e9bbf82c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9f2263bd-c9f0-4ec8-a02f-c3bf5cfd7428", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f38389f4-48d2-46a4-98ed-d305cbd28ddc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7b2ca3fe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/output.xml new file mode 100644 index 00000000..4a57ae45 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="79996d2b-8e74-48eb-8c51-88dd1bfc0e01"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.800.69"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c976d252-b85f-4281-b5b7-4da0013bab3d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9f58d1e7-f603-4fdb-90ce-8820e9bbf82c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9f58d1e7-f603-4fdb-90ce-8820e9bbf82c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="29470620"/> + </coding> + <text value="Aceternin"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9f2263bd-c9f0-4ec8-a02f-c3bf5cfd7428"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f38389f4-48d2-46a4-98ed-d305cbd28ddc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/input.xml new file mode 100644 index 00000000..54c480a3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/input.xml @@ -0,0 +1,402 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7b2ca3fe-d2e2-4d47-9f1b-45336c9e69c1"/> + <meta> + <lastUpdated value="2024-02-08T19:12:23.333+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.800.69"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:12:23.333+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/ae11f11c-ef4b-4ff4-b103-df25553c3cbb"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ae11f11c-ef4b-4ff4-b103-df25553c3cbb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <date value="2024-02-08T19:12:23+01:00"/> + <author> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/4b0e36c2-247b-461f-b6f6-064c9588bf95"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/26ee32f9-70d5-485f-9342-c416105339a3"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="26ee32f9-70d5-485f-9342-c416105339a3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="29470620"/> + </coding> + <text value="Aceternin"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1963-08-18"/> + <address> + <type value="both"/> + <line value="Friedrich-List-Str. 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Friedrich-List-Str."/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="40934"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="268d5615-319b-448d-884a-ce034b70d01c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="47"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/e11c162b-d22c-4576-88e2-21a9c878c33e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108433248"/> + </identifier> + <display value="Siemens‐Betriebskrankenkasse SBK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/4b0e36c2-247b-461f-b6f6-064c9588bf95"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4b0e36c2-247b-461f-b6f6-064c9588bf95"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/26ee32f9-70d5-485f-9342-c416105339a3"/> + </medicationReference> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + </requester> + <insurance> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.json new file mode 100644 index 00000000..a1edec54 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "fca7aa89-c5a9-44b7-b689-69882731cacc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2166f056-3960-425d-a7a0-1ef860dda2a9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/32a8787e-dd42-4957-a5bb-a25cb2e17bee" + }, + "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": "32a8787e-dd42-4957-a5bb-a25cb2e17bee", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "447bd3e3-bd63-4143-9d1e-7ecfb4cab39d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1db2d5b3-0cb9-46fe-89d1-a3aaafeac609", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7b2ca3fe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.xml new file mode 100644 index 00000000..765ec0f5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fca7aa89-c5a9-44b7-b689-69882731cacc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.800.69"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2166f056-3960-425d-a7a0-1ef860dda2a9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/32a8787e-dd42-4957-a5bb-a25cb2e17bee"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="32a8787e-dd42-4957-a5bb-a25cb2e17bee"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="29470620"/> + </coding> + <text value="Aceternin"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="447bd3e3-bd63-4143-9d1e-7ecfb4cab39d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1db2d5b3-0cb9-46fe-89d1-a3aaafeac609"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 75056caa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "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 deleted file mode 100644 index eabf93cf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0904076e-30f2-4182-8d33-d26029efd25c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.010.12"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="67e06d3f-529c-4198-ba5e-a440cbbc7614"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2022-05-20"/> - <end value="2022-06-30"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/a3452998-74a6-4e52-9d69-4b1e4db3434d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a3452998-74a6-4e52-9d69-4b1e4db3434d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="69f0a745-9fad-41ce-a2e0-ba25fc646a7c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a476713f-2c93-4618-90b9-940dbba51235"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_c44ddc5b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/output.json new file mode 100644 index 00000000..7fde1c9e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "bef761bd-523a-4178-a38e-6949f4e871eb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6d2925fa-f904-4d3b-9401-22e7ba8fc3ec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/fe38cec6-5616-40b9-9205-3f4a53f274df" + }, + "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": "fe38cec6-5616-40b9-9205-3f4a53f274df", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "286cbc8c-cf54-47ad-85c8-06fd6b50af92", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "22e4f33a-820a-4b2d-bf23-47df972d5a76", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/output.xml new file mode 100644 index 00000000..21f6c4dc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bef761bd-523a-4178-a38e-6949f4e871eb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6d2925fa-f904-4d3b-9401-22e7ba8fc3ec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-05-20"/> + <end value="2022-06-30"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fe38cec6-5616-40b9-9205-3f4a53f274df"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fe38cec6-5616-40b9-9205-3f4a53f274df"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="286cbc8c-cf54-47ad-85c8-06fd6b50af92"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="22e4f33a-820a-4b2d-bf23-47df972d5a76"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/input.xml new file mode 100644 index 00000000..ae66cfbc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c44ddc5b-21f5-4ce3-995d-ab5ca2633154"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/a77cc2f2-5574-4292-b1b5-2633b7989970"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a77cc2f2-5574-4292-b1b5-2633b7989970"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/00a18271-c4fd-40b6-93a2-d913e51dded6"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/00a18271-c4fd-40b6-93a2-d913e51dded6"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="00a18271-c4fd-40b6-93a2-d913e51dded6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2022-05-20"/> + <end value="2022-06-30"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.json new file mode 100644 index 00000000..9ec7382f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "7272fb21-b558-4855-8bd8-65f1d01322a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4a2632e2-0a13-45e2-a57e-e1c160e7486e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/db0e5e45-e5a6-4a20-9eda-1c81c1813157" + }, + "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": "db0e5e45-e5a6-4a20-9eda-1c81c1813157", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "149b60ca-7e32-4c05-86f4-bbfe219a933e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "398bfe45-b6cd-4ce9-af28-a391c0fb2931", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.xml new file mode 100644 index 00000000..f297df6a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7272fb21-b558-4855-8bd8-65f1d01322a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a2632e2-0a13-45e2-a57e-e1c160e7486e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-05-20"/> + <end value="2022-06-30"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/db0e5e45-e5a6-4a20-9eda-1c81c1813157"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="db0e5e45-e5a6-4a20-9eda-1c81c1813157"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="149b60ca-7e32-4c05-86f4-bbfe219a933e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="398bfe45-b6cd-4ce9-af28-a391c0fb2931"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_7031f7f3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.json new file mode 100644 index 00000000..6cd55ce1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "8479ad9c-a3f7-4f64-845e-4489c5213b1b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "cac272c6-2be6-4544-a315-ff17f5f175b3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/8bbd214e-2480-4835-9cf7-08bed9b57a90" + }, + "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": "8bbd214e-2480-4835-9cf7-08bed9b57a90", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c7d804f5-62cd-4c55-9c38-71437c8cb33a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b4a400a2-4dca-48b3-a5d9-dec63fad35fa", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.xml new file mode 100644 index 00000000..2c6e5de6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8479ad9c-a3f7-4f64-845e-4489c5213b1b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cac272c6-2be6-4544-a315-ff17f5f175b3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-06-15"/> + <end value="2022-09-30"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8bbd214e-2480-4835-9cf7-08bed9b57a90"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8bbd214e-2480-4835-9cf7-08bed9b57a90"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c7d804f5-62cd-4c55-9c38-71437c8cb33a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b4a400a2-4dca-48b3-a5d9-dec63fad35fa"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 1fdcf1e5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "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 deleted file mode 100644 index cb7cd357..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d27c0e14-97ba-45df-b92f-cea84fc6bfc2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.015.94"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="26fffffe-59e3-43db-a9d6-36da62308c34"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="2"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2022-06-15"/> - <end value="2022-09-30"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/f28ed51f-d7e0-4ac9-933f-79fea240f2cb"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f28ed51f-d7e0-4ac9-933f-79fea240f2cb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="291f53f9-ef73-4595-b594-c2250c4d649e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="bf150290-0dda-4e2b-a9e2-f86a816feab8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/input.xml new file mode 100644 index 00000000..79301704 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7031f7f3-cf51-4e77-82d7-b9bdb0a5959f"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/d9e03f5a-9b53-4f21-b0d6-c7e86fdee0c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d9e03f5a-9b53-4f21-b0d6-c7e86fdee0c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/68794d6d-2b05-4d5e-aaf1-49b4b6430104"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/68794d6d-2b05-4d5e-aaf1-49b4b6430104"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="68794d6d-2b05-4d5e-aaf1-49b4b6430104"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2022-06-15"/> + <end value="2022-09-30"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/output.json new file mode 100644 index 00000000..8bb0bc3b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "878f3719-1fc6-4bfb-b3ed-6a03530b66b8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2a172e89-ed8a-4471-9d6a-b5733722672f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/c900587b-5485-4508-9a25-db6e8a8bc578" + }, + "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": "c900587b-5485-4508-9a25-db6e8a8bc578", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "43377148-5cc0-42c9-8771-90a998df4de2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1cff1592-480a-4b26-8092-b2c4445a8b59", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/output.xml new file mode 100644 index 00000000..c2d54a8c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="878f3719-1fc6-4bfb-b3ed-6a03530b66b8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2a172e89-ed8a-4471-9d6a-b5733722672f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-06-15"/> + <end value="2022-09-30"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c900587b-5485-4508-9a25-db6e8a8bc578"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c900587b-5485-4508-9a25-db6e8a8bc578"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="43377148-5cc0-42c9-8771-90a998df4de2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1cff1592-480a-4b26-8092-b2c4445a8b59"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index a7f57a7f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "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 deleted file mode 100644 index 7aef6252..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="552a0944-2afb-4238-b4ab-41dc8066e599"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.016.91"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9657a7cb-f603-4d17-97a7-02da9710c39a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="3"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2022-09-15"/> - <end value="2022-12-31"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/c9d87165-9f0f-4ee8-a8e6-0bfc10c19a6c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c9d87165-9f0f-4ee8-a8e6-0bfc10c19a6c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2409e0e6-5f1c-4df3-b44b-73fb63a9c601"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="8252a92c-af75-40c5-8ec6-4dccd48bd1cb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_f70585e0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/output.json new file mode 100644 index 00000000..5013b067 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "4a0d8117-6fc9-47f6-b7a1-4f68179d5f83", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e884c9f9-548e-491d-b251-97954139cb08", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/082d4956-5d08-4376-917a-f39bf19b90c4" + }, + "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": "082d4956-5d08-4376-917a-f39bf19b90c4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fb90ffad-03ba-4519-87e2-7bbf1e2d8afc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2f3a2727-a639-43f9-8f91-add765262652", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/output.xml new file mode 100644 index 00000000..e1297471 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4a0d8117-6fc9-47f6-b7a1-4f68179d5f83"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e884c9f9-548e-491d-b251-97954139cb08"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-09-15"/> + <end value="2022-12-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/082d4956-5d08-4376-917a-f39bf19b90c4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="082d4956-5d08-4376-917a-f39bf19b90c4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fb90ffad-03ba-4519-87e2-7bbf1e2d8afc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2f3a2727-a639-43f9-8f91-add765262652"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/input.xml new file mode 100644 index 00000000..3a97f315 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="f70585e0-82f9-4d3d-b248-94504ccf6a66"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/1868bb7c-c1a6-48a6-a327-05ff8d24c64a"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1868bb7c-c1a6-48a6-a327-05ff8d24c64a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/76b5767d-55a5-4233-8f85-e15a24a5193a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/76b5767d-55a5-4233-8f85-e15a24a5193a"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="76b5767d-55a5-4233-8f85-e15a24a5193a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2022-09-15"/> + <end value="2022-12-31"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.json new file mode 100644 index 00000000..c5f76209 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "c1d4aaf1-7819-45a5-aa91-f3f3de59feae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "eafa6045-eb7c-47a9-aabc-370bf57db30a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/1564482b-650b-4e8d-ad6f-015b1f2dd452" + }, + "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": "1564482b-650b-4e8d-ad6f-015b1f2dd452", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ac1a6245-72cf-482f-8c88-2f2e6c27fcfc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2ee50348-c2aa-4679-b2d2-7e22bd95b4d4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.xml new file mode 100644 index 00000000..3d90028b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c1d4aaf1-7819-45a5-aa91-f3f3de59feae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="eafa6045-eb7c-47a9-aabc-370bf57db30a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-09-15"/> + <end value="2022-12-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1564482b-650b-4e8d-ad6f-015b1f2dd452"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1564482b-650b-4e8d-ad6f-015b1f2dd452"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ac1a6245-72cf-482f-8c88-2f2e6c27fcfc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2ee50348-c2aa-4679-b2d2-7e22bd95b4d4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_15da065c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.json new file mode 100644 index 00000000..8536274d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.json @@ -0,0 +1,224 @@ +{ + "resourceType": "Parameters", + "id": "b1731577-b4f9-4757-a8b2-6b8e011e3f22", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6bb2edca-5ea1-4c3a-8c43-d3d0eae12423", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/e909c391-a892-42ca-9e84-84837967a022" + }, + "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": "e909c391-a892-42ca-9e84-84837967a022", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "61a4e391-3fd1-48a7-b5ef-cbee52bdffc7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "03fa573b-9aac-4c16-b241-eb475ec43645", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.xml new file mode 100644 index 00000000..c5863906 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.xml @@ -0,0 +1,229 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b1731577-b4f9-4757-a8b2-6b8e011e3f22"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6bb2edca-5ea1-4c3a-8c43-d3d0eae12423"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-12-01"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e909c391-a892-42ca-9e84-84837967a022"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e909c391-a892-42ca-9e84-84837967a022"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="61a4e391-3fd1-48a7-b5ef-cbee52bdffc7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="03fa573b-9aac-4c16-b241-eb475ec43645"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 72f8a59e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/output.json +++ /dev/null @@ -1,224 +0,0 @@ -{ - "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 deleted file mode 100644 index b0a91a65..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/output.xml +++ /dev/null @@ -1,229 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2f23f99c-d297-4e02-9d60-261a226d526e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.017.88"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c27f70d6-02ee-4860-823f-f8465d7be21a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2022-12-01"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/a07db1a9-d7f9-409d-9a23-53f42fd0df8c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a07db1a9-d7f9-409d-9a23-53f42fd0df8c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="dfc81a1c-71b7-40e1-9669-495a6173c83b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="38d044d2-c90c-4abe-8914-3c44abc0a65f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/input.xml new file mode 100644 index 00000000..a5a20395 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/input.xml @@ -0,0 +1,407 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="15da065c-5b75-4acf-a2ba-1355de821d6e"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/f62c91e7-e280-4d32-961b-b07168ab47d7"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f62c91e7-e280-4d32-961b-b07168ab47d7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/1e923204-6866-4030-a460-2ce5bd9db26b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/1e923204-6866-4030-a460-2ce5bd9db26b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1e923204-6866-4030-a460-2ce5bd9db26b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2022-12-01"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/output.json new file mode 100644 index 00000000..02347257 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/output.json @@ -0,0 +1,224 @@ +{ + "resourceType": "Parameters", + "id": "60935382-7711-4e13-9455-5194350888ff", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "64120918-0416-4cf7-ad20-e376ab22e34e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/36a5be6e-d069-4102-bb98-4cb6f30ea2f4" + }, + "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": "36a5be6e-d069-4102-bb98-4cb6f30ea2f4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5235c4f0-5c31-4c31-8036-8dd8ecfd89eb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7fc3c337-9089-4f4d-8e8d-b5d992d3a989", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/output.xml new file mode 100644 index 00000000..67616bb1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/output.xml @@ -0,0 +1,229 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="60935382-7711-4e13-9455-5194350888ff"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="64120918-0416-4cf7-ad20-e376ab22e34e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-12-01"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/36a5be6e-d069-4102-bb98-4cb6f30ea2f4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="36a5be6e-d069-4102-bb98-4cb6f30ea2f4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5235c4f0-5c31-4c31-8036-8dd8ecfd89eb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7fc3c337-9089-4f4d-8e8d-b5d992d3a989"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 065ef5cf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/output.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "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 deleted file mode 100644 index a0e2b6a8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1a369537-42d5-42d6-9a8b-b86e244b9d9d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.003.33"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-03"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4d5b9c41-5413-423f-85fb-1383af7285de"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/89e534cd-2cce-4853-80c1-8ad70343c6b7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-03"/> - <dosageInstruction> - <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="89e534cd-2cce-4853-80c1-8ad70343c6b7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03386388"/> - </coding> - <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SUP"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6e5a90b3-5d9a-4a0a-ba5e-599d96563301"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="687777700"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Kinderarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="09411234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Yorckstraße 15"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="15"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Yorckstraße"/> - </extension> - </line> - <line value="Hinterhaus"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Hinterhaus"/> - </extension> - </line> - <city value="Regensburg"/> - <postalCode value="93049"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="606290c4-806a-44da-b053-7755a4afe25a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="456456534"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Maximilian Weber"/> - <family value="Weber"/> - <given value="Maximilian"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_690a7f01/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/output.json new file mode 100644 index 00000000..ec35aac8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "89d731d1-bdc4-4b58-b1e0-5269f4b87f2b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "cdaac3a2-3cf4-457d-bd15-6ef97b1f1aa5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9ce9d45d-d54a-48c8-83e7-c45287f4cdc4" + }, + "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": "9ce9d45d-d54a-48c8-83e7-c45287f4cdc4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "58726d8d-3bc1-4daf-bea5-4872c9bb1110", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9ce155bb-8ecf-4b4b-9c47-009edf140706", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/output.xml new file mode 100644 index 00000000..b5f24d99 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="89d731d1-bdc4-4b58-b1e0-5269f4b87f2b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cdaac3a2-3cf4-457d-bd15-6ef97b1f1aa5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9ce9d45d-d54a-48c8-83e7-c45287f4cdc4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9ce9d45d-d54a-48c8-83e7-c45287f4cdc4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUP"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="58726d8d-3bc1-4daf-bea5-4872c9bb1110"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9ce155bb-8ecf-4b4b-9c47-009edf140706"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/input.xml new file mode 100644 index 00000000..bd9ea61c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/input.xml @@ -0,0 +1,379 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="690a7f01-058e-492a-b1dc-d6d8c8a30a59"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/8c5aad28-6029-452d-8f97-0bf213b1a0e3"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8c5aad28-6029-452d-8f97-0bf213b1a0e3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/e538cd5e-883e-4645-af3a-49352fece39b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/76696615-4c18-410e-bcf9-382590c6df3b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/e538cd5e-883e-4645-af3a-49352fece39b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e538cd5e-883e-4645-af3a-49352fece39b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="true"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a0da7cea-dd87-45ab-988d-0f7c26bd3d0b"/> + </medicationReference> + <subject> + <reference value="Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + </subject> + <authoredOn value="2021-04-03"/> + <requester> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + </requester> + <insurance> + <reference value="Coverage/76696615-4c18-410e-bcf9-382590c6df3b"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a0da7cea-dd87-45ab-988d-0f7c26bd3d0b"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a0da7cea-dd87-45ab-988d-0f7c26bd3d0b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUP"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119814"/> + </identifier> + <name> + <use value="official"/> + <family value="Klein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Klein"/> + </extension> + </family> + <given value="Teddy"/> + </name> + <birthDate value="2020-02-29"/> + <address> + <type value="both"/> + <line value="Roritzerstraße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Roritzerstraße"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93047"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <name> + <use value="official"/> + <family value="Weber"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Weber"/> + </extension> + </family> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Kinder- und Jugendmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/76696615-4c18-410e-bcf9-382590c6df3b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="76696615-4c18-410e-bcf9-382590c6df3b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108416214"/> + </identifier> + <display value="AOK Bayern Die Gesundh."/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.json new file mode 100644 index 00000000..4adbedfd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "e42901ab-bb44-4716-bd30-584f33856961", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5ad95ce9-e1e2-4726-b1a3-c90ee6db941f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8053f0cb-97fa-4b6d-ba0f-d1cc70451c0c" + }, + "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": "8053f0cb-97fa-4b6d-ba0f-d1cc70451c0c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e6bec2cc-e1b7-45c1-83ca-8cef6be67a62", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d1b3b660-49e1-4c25-a091-37c75d563271", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.xml new file mode 100644 index 00000000..0e7472c0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e42901ab-bb44-4716-bd30-584f33856961"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5ad95ce9-e1e2-4726-b1a3-c90ee6db941f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8053f0cb-97fa-4b6d-ba0f-d1cc70451c0c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8053f0cb-97fa-4b6d-ba0f-d1cc70451c0c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUP"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e6bec2cc-e1b7-45c1-83ca-8cef6be67a62"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d1b3b660-49e1-4c25-a091-37c75d563271"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_14f3cff7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.json new file mode 100644 index 00000000..e333d895 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "c517f834-f47a-4668-be47-b54a122c56cf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "99c0d74d-9639-4ba8-b4b7-83769f269802", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/caf15093-4bf0-4342-8b87-806958f6073f" + }, + "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": "caf15093-4bf0-4342-8b87-806958f6073f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "aa9e5c45-8b3e-46ca-805f-af420fff27d4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9eb0b7d5-e3b1-44f8-abd7-7fd723c4d970", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.xml new file mode 100644 index 00000000..d50b058d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.xml @@ -0,0 +1,220 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c517f834-f47a-4668-be47-b54a122c56cf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="99c0d74d-9639-4ba8-b4b7-83769f269802"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/caf15093-4bf0-4342-8b87-806958f6073f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="caf15093-4bf0-4342-8b87-806958f6073f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="aa9e5c45-8b3e-46ca-805f-af420fff27d4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9eb0b7d5-e3b1-44f8-abd7-7fd723c4d970"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Mia Meyer"/> + <family value="Meyer"/> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index ae8324ec..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/output.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "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 deleted file mode 100644 index 81d0efba..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/output.xml +++ /dev/null @@ -1,220 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2aa01d66-e00c-45d2-b137-0df1496b63bf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.011.09"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-03"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d6e12ce3-c098-48db-817e-8478da64371b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/1d2cb831-4725-4d0e-9b5c-c78539c8cdbd"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-03"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1d2cb831-4725-4d0e-9b5c-c78539c8cdbd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="04773414"/> - </coding> - <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="578638d6-cca0-498d-a52b-e7a97dc2d403"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="757299999"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Krankenhaus"/> - <telecom> - <system value="phone"/> - <value value="0309876543"/> - </telecom> - <telecom> - <system value="email"/> - <value value="krankenhaus@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Wegelystraße 3"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="3"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Wegelystraße"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="978a9bf1-9bf6-4212-acac-28e50103bb03"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="159753527"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Mia Meyer"/> - <family value="Meyer"/> - <given value="Mia"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/input.xml new file mode 100644 index 00000000..c129adfd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="14f3cff7-f921-429e-98ca-c65dcb367ba9"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/8068fd3c-6eed-4b58-9840-c0661e48b6a9"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8068fd3c-6eed-4b58-9840-c0661e48b6a9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="04"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/fe73acaf-c683-460d-9961-3ae6f87068f2"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/fe73acaf-c683-460d-9961-3ae6f87068f2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fe73acaf-c683-460d-9961-3ae6f87068f2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/c1e7027e-3c5b-4e87-a10a-572676b92e22"/> + </medicationReference> + <subject> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </subject> + <authoredOn value="2021-04-03"/> + <requester> + <reference value="Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + </requester> + <insurance> + <reference value="Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/c1e7027e-3c5b-4e87-a10a-572676b92e22"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c1e7027e-3c5b-4e87-a10a-572676b92e22"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="c9e9eeb8-e397-4d62-a977-656a18027f90"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="P223331978"/> + </identifier> + <name> + <use value="official"/> + <family value="Pan"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Pan"/> + </extension> + </family> + <given value="Peter"/> + </name> + <birthDate value="1972"/> + <address> + <type value="both"/> + <line value="Siebengebirgsstraße 59"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="59"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siebengebirgsstraße"/> + </extension> + </line> + <line value="33. Obergeschoss - Hinterhof, halbrechts"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="33. Obergeschoss - Hinterhof, halbrechts"/> + </extension> + </line> + <city value="Königswinter"/> + <postalCode value="53639"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <name> + <use value="official"/> + <family value="Meyer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Meyer"/> + </extension> + </family> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin der Onkologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101377508"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/output.json new file mode 100644 index 00000000..152b2159 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "51abd53f-f3ce-4f11-bc5c-ea2cdef45bb4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0010aa6e-1578-4952-8801-565ce8ba9f1c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3afcfb6f-55d2-475f-bf66-a7ec58ed5748" + }, + "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": "3afcfb6f-55d2-475f-bf66-a7ec58ed5748", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1a142467-e936-48ce-9d74-5e2af5d766ed", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4a3696fb-e4f8-4b66-8a93-2d0ff247fbd0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/output.xml new file mode 100644 index 00000000..884179e7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/output.xml @@ -0,0 +1,220 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="51abd53f-f3ce-4f11-bc5c-ea2cdef45bb4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0010aa6e-1578-4952-8801-565ce8ba9f1c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3afcfb6f-55d2-475f-bf66-a7ec58ed5748"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3afcfb6f-55d2-475f-bf66-a7ec58ed5748"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1a142467-e936-48ce-9d74-5e2af5d766ed"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4a3696fb-e4f8-4b66-8a93-2d0ff247fbd0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Mia Meyer"/> + <family value="Meyer"/> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 79e8856d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/output.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "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 deleted file mode 100644 index cbb88850..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/output.xml +++ /dev/null @@ -1,221 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="8d85e45c-9e1f-4be4-9f4b-a125db836e94"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.012.06"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-03"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="52c49cc2-847f-4334-af76-c9fdbbdd8417"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/01ddf388-d0fe-4ecf-9440-e2914b054c53"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-03"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="01ddf388-d0fe-4ecf-9440-e2914b054c53"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01256262"/> - </coding> - <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="98"/> - </extension> - <unit value="St"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9522ee61-8166-467c-bb3d-1b7cf4652046"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="320c14f0-bdf2-4198-a846-15bb35676bb6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_ee9d3b92/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/output.json new file mode 100644 index 00000000..bf260019 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "9b292344-510d-4393-b7c3-dd5e70eba022", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "dabf85ad-0de6-4d8f-9307-f5110b0ad883", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/55290623-7eea-4386-b3a5-c508fe9033be" + }, + "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": "55290623-7eea-4386-b3a5-c508fe9033be", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e5d3a479-f4fe-4031-9a1d-e7bb1209a5a8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "25f3950f-4d35-4cd6-b516-146e6dc44a56", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/output.xml new file mode 100644 index 00000000..f298baee --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/output.xml @@ -0,0 +1,221 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9b292344-510d-4393-b7c3-dd5e70eba022"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="dabf85ad-0de6-4d8f-9307-f5110b0ad883"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/55290623-7eea-4386-b3a5-c508fe9033be"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="55290623-7eea-4386-b3a5-c508fe9033be"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01256262"/> + </coding> + <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e5d3a479-f4fe-4031-9a1d-e7bb1209a5a8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="25f3950f-4d35-4cd6-b516-146e6dc44a56"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/input.xml new file mode 100644 index 00000000..8fb5aa07 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/input.xml @@ -0,0 +1,397 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ee9d3b92-7667-4dfe-8331-f768b2eaca3c"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/ccb7da6a-dcd7-45d1-926f-061c25222ddd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ccb7da6a-dcd7-45d1-926f-061c25222ddd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="10"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/07aca829-ef92-42a5-9163-778f2b06a82e"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/07aca829-ef92-42a5-9163-778f2b06a82e"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="07aca829-ef92-42a5-9163-778f2b06a82e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/cc81b7f8-c01d-446b-996b-2302abac9aa4"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2021-04-03"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/cc81b7f8-c01d-446b-996b-2302abac9aa4"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cc81b7f8-c01d-446b-996b-2302abac9aa4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01256262"/> + </coding> + <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="98"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin: Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.json new file mode 100644 index 00000000..9ba12bb7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "67fc9c5b-293c-4535-9e81-fe773528dd1c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "92d9f49e-535d-4b97-b6f2-b2c6f37e97c4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/55e74dec-a419-43fa-a0c1-c4e187644ccf" + }, + "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": "55e74dec-a419-43fa-a0c1-c4e187644ccf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d9dc6587-d645-47ff-910a-ed38e4d6212d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "945e5743-7291-42e8-b32a-db60c1050787", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.xml new file mode 100644 index 00000000..4eec1465 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.xml @@ -0,0 +1,221 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="67fc9c5b-293c-4535-9e81-fe773528dd1c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="92d9f49e-535d-4b97-b6f2-b2c6f37e97c4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/55e74dec-a419-43fa-a0c1-c4e187644ccf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="55e74dec-a419-43fa-a0c1-c4e187644ccf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01256262"/> + </coding> + <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d9dc6587-d645-47ff-910a-ed38e4d6212d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="945e5743-7291-42e8-b32a-db60c1050787"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 44187507..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/output.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "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 deleted file mode 100644 index 5d0f1b84..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/output.xml +++ /dev/null @@ -1,211 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="63ade791-ba05-4321-b55f-836e377e9f34"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-03"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9e2fe6c9-1e20-4b21-b001-3f35099ff767"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/c09aa07c-d805-4c82-ad7f-b722961975f7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-03"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c09aa07c-d805-4c82-ad7f-b722961975f7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16332684"/> - </coding> - <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0d99712e-f3c9-401c-8c71-6281d9c93945"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="722222200"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> - <telecom> - <system value="phone"/> - <value value="030741852963"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="9275d86a-4c36-4e14-a9b9-e30990f881d4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="167761816"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Prof. Dr. med Elias Wagner"/> - <family value="Wagner"/> - <given value="Elias"/> - <prefix value="Prof. Dr. med"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_753fff3b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/output.json new file mode 100644 index 00000000..771c970b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/output.json @@ -0,0 +1,209 @@ +{ + "resourceType": "Parameters", + "id": "4500c74c-d11d-48d3-a8c8-6ba099335906", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e2d5f732-311f-49e7-84bb-4aacc3f1d054", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c1feaaab-c1d6-424d-a24b-3c73d060086b" + }, + "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": "c1feaaab-c1d6-424d-a24b-3c73d060086b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "af07710e-df00-494a-9437-48e7cecb1b8f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6c9f3d62-e0f4-40a7-aefc-7ac0c3348986", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/output.xml new file mode 100644 index 00000000..9f0ad18f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/output.xml @@ -0,0 +1,211 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4500c74c-d11d-48d3-a8c8-6ba099335906"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e2d5f732-311f-49e7-84bb-4aacc3f1d054"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c1feaaab-c1d6-424d-a24b-3c73d060086b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c1feaaab-c1d6-424d-a24b-3c73d060086b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="af07710e-df00-494a-9437-48e7cecb1b8f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6c9f3d62-e0f4-40a7-aefc-7ac0c3348986"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/input.xml new file mode 100644 index 00000000..d8d12e55 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/input.xml @@ -0,0 +1,384 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="753fff3b-5373-4f8d-aa22-852792e799d8"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/607046ff-f07a-4093-8880-e7961c0e0ca8"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="607046ff-f07a-4093-8880-e7961c0e0ca8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/06c35aa5-d009-436f-aaba-93d835a2fe72"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/53dff04a-fa41-45cf-81bc-ce62629917ad"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/53dff04a-fa41-45cf-81bc-ce62629917ad"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53dff04a-fa41-45cf-81bc-ce62629917ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/704db507-79b4-44a1-84b8-344255ad7e36"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2021-04-03"/> + <requester> + <reference value="Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/704db507-79b4-44a1-84b8-344255ad7e36"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="704db507-79b4-44a1-84b8-344255ad7e36"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1984-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <name> + <use value="official"/> + <family value="Wagner"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Wagner"/> + </extension> + </family> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Gynäkologie und Geburtshilfe"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/06c35aa5-d009-436f-aaba-93d835a2fe72"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="06c35aa5-d009-436f-aaba-93d835a2fe72"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.json new file mode 100644 index 00000000..16d8512e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.json @@ -0,0 +1,209 @@ +{ + "resourceType": "Parameters", + "id": "5b547071-0955-4857-ba54-d183977961f8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c948ccc1-edc3-46c8-bc08-024aa31e7827", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7bc124ee-5da3-4eb7-99d3-76cef9caa819" + }, + "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": "7bc124ee-5da3-4eb7-99d3-76cef9caa819", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0162047d-448a-4013-b6c3-8b4e61af0c0f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a80bfb84-c659-42e3-9439-473d8b300242", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.xml new file mode 100644 index 00000000..73f18133 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.xml @@ -0,0 +1,211 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5b547071-0955-4857-ba54-d183977961f8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c948ccc1-edc3-46c8-bc08-024aa31e7827"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7bc124ee-5da3-4eb7-99d3-76cef9caa819"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7bc124ee-5da3-4eb7-99d3-76cef9caa819"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0162047d-448a-4013-b6c3-8b4e61af0c0f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a80bfb84-c659-42e3-9439-473d8b300242"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_34abcf97/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.json new file mode 100644 index 00000000..a88d05a2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "46440043-e5a2-4b45-befd-6e5b3d59ae45", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d644af15-9e9d-4535-a437-1b5cc8a63f08", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/11cc013d-5888-48a7-ae08-254433e65e80" + }, + "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": "11cc013d-5888-48a7-ae08-254433e65e80", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b06102fb-4882-4ae4-b900-5939eb9c6159", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "552644ed-53b4-42ae-b056-7f29f6146563", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.xml new file mode 100644 index 00000000..604d2e10 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="46440043-e5a2-4b45-befd-6e5b3d59ae45"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d644af15-9e9d-4535-a437-1b5cc8a63f08"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/11cc013d-5888-48a7-ae08-254433e65e80"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="11cc013d-5888-48a7-ae08-254433e65e80"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08671219"/> + </coding> + <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b06102fb-4882-4ae4-b900-5939eb9c6159"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="552644ed-53b4-42ae-b056-7f29f6146563"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index ad06e516..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 7d38085d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b8505bd0-b90e-4369-89d1-b1081f3f2575"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.014.97"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-03"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8afd7cc5-ab19-464b-a49c-2063d5b35854"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/3bbb9a17-5491-43b8-b35a-9c6c7b4382c0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-03"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3bbb9a17-5491-43b8-b35a-9c6c7b4382c0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08671219"/> - </coding> - <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6dd5dc60-7e29-4747-aae7-cd70b7328097"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2a7209ad-2252-47ce-acae-5b940e0c13ea"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/input.xml new file mode 100644 index 00000000..1fe9e77f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/input.xml @@ -0,0 +1,388 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="34abcf97-6693-422e-b6f0-0ba9b232843e"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/2300d28c-c5db-45ce-bcb6-1d3bc126f846"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="2300d28c-c5db-45ce-bcb6-1d3bc126f846"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/f3de8250-06d8-492a-8f53-978d97a21836"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/f3de8250-06d8-492a-8f53-978d97a21836"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f3de8250-06d8-492a-8f53-978d97a21836"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/89d7fd61-1f81-4ee5-aab1-d6428e0c6e79"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2021-04-03"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/89d7fd61-1f81-4ee5-aab1-d6428e0c6e79"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="89d7fd61-1f81-4ee5-aab1-d6428e0c6e79"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08671219"/> + </coding> + <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus BKK"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/output.json new file mode 100644 index 00000000..6f626c2e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "34c12817-68ed-4a63-b17c-3f1051aec101", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "df6f4b77-9608-4c5d-b55c-2c7437488ecf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8d6241c7-c50f-4ce2-9c01-fedcb8091d0c" + }, + "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": "8d6241c7-c50f-4ce2-9c01-fedcb8091d0c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7d2b62ea-87e5-4b79-9f1e-aa4448a20cff", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "266e1fba-ae00-4901-a398-faed16b92dc0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/output.xml new file mode 100644 index 00000000..fbf27105 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="34c12817-68ed-4a63-b17c-3f1051aec101"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="df6f4b77-9608-4c5d-b55c-2c7437488ecf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8d6241c7-c50f-4ce2-9c01-fedcb8091d0c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8d6241c7-c50f-4ce2-9c01-fedcb8091d0c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08671219"/> + </coding> + <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7d2b62ea-87e5-4b79-9f1e-aa4448a20cff"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="266e1fba-ae00-4901-a398-faed16b92dc0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_44420ed9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json new file mode 100644 index 00000000..7d078275 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json @@ -0,0 +1,203 @@ +{ + "resourceType": "Parameters", + "id": "f6776167-5243-4275-9302-4cadd66c78d8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d7a04af9-6e15-48b2-9ca1-ea287c0c68ab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d3393451-2a9f-4239-baa3-cedfa59492fe" + }, + "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": "d3393451-2a9f-4239-baa3-cedfa59492fe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3dad1a9b-3591-45d1-8385-3149ee58d924", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "85e6ae00-91f7-4491-a352-b88230fab940", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.xml new file mode 100644 index 00000000..5a9953e9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f6776167-5243-4275-9302-4cadd66c78d8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d7a04af9-6e15-48b2-9ca1-ea287c0c68ab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d3393451-2a9f-4239-baa3-cedfa59492fe"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d3393451-2a9f-4239-baa3-cedfa59492fe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3dad1a9b-3591-45d1-8385-3149ee58d924"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="85e6ae00-91f7-4491-a352-b88230fab940"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/output.json new file mode 100644 index 00000000..0b0f07d6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/output.json @@ -0,0 +1,203 @@ +{ + "resourceType": "Parameters", + "id": "c4b34b53-6298-40b1-86ed-6820c4cf1ea5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "58b987c6-55b5-4118-826e-9efc04e42232", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b5b37ed9-f079-4e93-9976-1bea6fe69b75" + }, + "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": "b5b37ed9-f079-4e93-9976-1bea6fe69b75", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "23eb5279-1e1c-4c78-b1ee-e0f22e4ba230", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5a1fa31f-b6b3-47b1-bcdb-7a08e684249d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f12fa769_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/output.xml new file mode 100644 index 00000000..7efe64b0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c4b34b53-6298-40b1-86ed-6820c4cf1ea5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="58b987c6-55b5-4118-826e-9efc04e42232"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b5b37ed9-f079-4e93-9976-1bea6fe69b75"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b5b37ed9-f079-4e93-9976-1bea6fe69b75"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="23eb5279-1e1c-4c78-b1ee-e0f22e4ba230"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5a1fa31f-b6b3-47b1-bcdb-7a08e684249d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index bbc71f5f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/output.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "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 deleted file mode 100644 index fc0295af..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f40a23d0-0a40-468b-90c0-1f35e275b9ee"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.006.24"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1b7b7e0d-fdf9-4341-b93c-2fa3f5631168"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/fc6deeb1-9868-415c-be83-24b34baea77a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fc6deeb1-9868-415c-be83-24b34baea77a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00814665"/> - </coding> - <text value="Januvia® 50 mg 28 Filmtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="432c2d7b-6c20-4722-ad9c-74ede45b134a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="bf5ddba9-9cf7-44ca-bc60-4b09f8b4041c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/input.xml new file mode 100644 index 00000000..e6e9fe0a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/input.xml @@ -0,0 +1,384 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="44420ed9-7388-4be5-acc5-9c124fad9f34"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin: Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/output.json new file mode 100644 index 00000000..d8f9f913 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/output.json @@ -0,0 +1,203 @@ +{ + "resourceType": "Parameters", + "id": "897c5af1-19d9-4e59-869c-3e88f21f2ec2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e2491abc-7d2b-4589-8aba-85b6195d7a3b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ef5e5039-ab0d-41f1-a949-3388936ea7ca" + }, + "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": "ef5e5039-ab0d-41f1-a949-3388936ea7ca", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "02a959d4-8436-4dfd-9961-7b53142abff8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "937387a5-696b-43c8-b715-117688635a97", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/output.xml new file mode 100644 index 00000000..1daedddf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="897c5af1-19d9-4e59-869c-3e88f21f2ec2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e2491abc-7d2b-4589-8aba-85b6195d7a3b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ef5e5039-ab0d-41f1-a949-3388936ea7ca"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ef5e5039-ab0d-41f1-a949-3388936ea7ca"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="02a959d4-8436-4dfd-9961-7b53142abff8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="937387a5-696b-43c8-b715-117688635a97"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_2b6860ab_6d5162b2/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/output.json new file mode 100644 index 00000000..9f784ff1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/output.json @@ -0,0 +1,210 @@ +{ + "resourceType": "Parameters", + "id": "31da28e7-2d15-4bc7-8e26-59bee34e9936", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0d57ffc9-173c-4a69-be12-1e38d0fde637", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6795cb07-ae93-484a-a46f-7b9333a371a2" + }, + "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": "6795cb07-ae93-484a-a46f-7b9333a371a2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4d82e642-95f4-4ec5-bf5f-c0660e0725cd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c69636e2-cacd-4b1c-86f2-2b5c1de07e92", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_2b6860ab_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/output.xml new file mode 100644 index 00000000..67de1f4a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/output.xml @@ -0,0 +1,214 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="31da28e7-2d15-4bc7-8e26-59bee34e9936"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0d57ffc9-173c-4a69-be12-1e38d0fde637"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6795cb07-ae93-484a-a46f-7b9333a371a2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6795cb07-ae93-484a-a46f-7b9333a371a2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4d82e642-95f4-4ec5-bf5f-c0660e0725cd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c69636e2-cacd-4b1c-86f2-2b5c1de07e92"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json new file mode 100644 index 00000000..de1a4f79 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json @@ -0,0 +1,210 @@ +{ + "resourceType": "Parameters", + "id": "0a41d481-04db-417a-8fb6-bccdceed680b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "73e3d216-44f0-4217-a0bb-01f6107ac26e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/92f837f1-efdb-4e30-8d05-2eb390d66185" + }, + "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": "92f837f1-efdb-4e30-8d05-2eb390d66185", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "aa7e12ac-aa7c-43fb-b518-72b55e317264", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d71486c9-e06e-4d94-a2ee-b6699fdd8db2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.xml new file mode 100644 index 00000000..2628e87a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.xml @@ -0,0 +1,214 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0a41d481-04db-417a-8fb6-bccdceed680b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="73e3d216-44f0-4217-a0bb-01f6107ac26e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/92f837f1-efdb-4e30-8d05-2eb390d66185"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="92f837f1-efdb-4e30-8d05-2eb390d66185"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="aa7e12ac-aa7c-43fb-b518-72b55e317264"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d71486c9-e06e-4d94-a2ee-b6699fdd8db2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index f13515a1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/output.json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "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 deleted file mode 100644 index 64c8a653..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/output.xml +++ /dev/null @@ -1,214 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d5f08b4e-68af-40e4-b732-0745e43255be"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.21"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d61dbdc8-c5da-47bb-93c8-5ba7320eca8e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/97e3fb51-ce67-40c1-9c81-11bea0df2b81"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <note> - <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> - </note> - <dosageInstruction> - <text value="1x täglich"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="97e3fb51-ce67-40c1-9c81-11bea0df2b81"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08850519"/> - </coding> - <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SMT"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="70"/> - </extension> - <unit value="Stück"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d3fdd5c1-e72e-49f5-898d-a513a4623ff0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="723333300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Psychiatrie und Psychotherapie"/> - <telecom> - <system value="phone"/> - <value value="030369258147"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e2147690-8afb-4361-bac9-1da6c0b64785"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="582369858"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Emilia Becker"/> - <family value="Becker"/> - <given value="Emilia"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/input.xml new file mode 100644 index 00000000..2a6cb1e2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="6d5162b2-abc9-4c0c-9c46-4deb3b64edd7"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/2edc3279-e54d-43b9-8590-4007f1b20fbd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="2edc3279-e54d-43b9-8590-4007f1b20fbd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/0587787f-3f1b-4578-a412-ce5bae8215b9"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/0587787f-3f1b-4578-a412-ce5bae8215b9"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0587787f-3f1b-4578-a412-ce5bae8215b9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/03758a20-5f15-4d10-a0ea-c8a594cea651"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + </requester> + <insurance> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </insurance> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/03758a20-5f15-4d10-a0ea-c8a594cea651"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="03758a20-5f15-4d10-a0ea-c8a594cea651"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <name> + <use value="official"/> + <family value="Becker"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Becker"/> + </extension> + </family> + <given value="Emilia"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Psychiatrie und Psychotherapie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="AOK Rheinland/Hamburg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/output.json new file mode 100644 index 00000000..2e1b25c6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/output.json @@ -0,0 +1,210 @@ +{ + "resourceType": "Parameters", + "id": "450ac1e3-bb82-4d6a-ab52-4180f7c7bcbc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ca055931-42ea-43cb-9c80-9e5c7c4c40ff", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b4607653-7c39-4259-967a-12fbf200f291" + }, + "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": "b4607653-7c39-4259-967a-12fbf200f291", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "06402dda-84fb-4f5e-8355-509381d69937", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f0852f8d-e799-4376-a4ec-4a6cf91f9fb3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/output.xml new file mode 100644 index 00000000..f2a8fb18 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/output.xml @@ -0,0 +1,214 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="450ac1e3-bb82-4d6a-ab52-4180f7c7bcbc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ca055931-42ea-43cb-9c80-9e5c7c4c40ff"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b4607653-7c39-4259-967a-12fbf200f291"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b4607653-7c39-4259-967a-12fbf200f291"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="06402dda-84fb-4f5e-8355-509381d69937"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f0852f8d-e799-4376-a4ec-4a6cf91f9fb3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 8178050a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 771a9a60..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1ab932b8-1e76-4fdb-b2b3-da1e73f9071e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.034.37"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="075be50a-8321-4276-a0c7-2e6316ff235f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/25d8175b-e23d-48a3-a293-8b323f1233e3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="25d8175b-e23d-48a3-a293-8b323f1233e3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01347970"/> - </coding> - <text value="Roxythromycin 300 Heumann FTA 7 ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="010ce598-85ff-4a78-9d6c-eacc3b7e73f2"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="64c59eff-0204-4f2e-80d0-dac52dc83668"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_846d07e6/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/output.json new file mode 100644 index 00000000..acd91ba8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "87805912-47a6-4888-b05a-66ef080c5ff6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0e6fa4ea-2ab5-4136-b8a5-70345125ee47", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/cb7ddfde-e420-4271-b036-334a1971a718" + }, + "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": "cb7ddfde-e420-4271-b036-334a1971a718", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3991e023-f159-434d-9eac-d2af172b7952", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "65086806-c32a-4a5a-9ccc-215e130098d3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_846d07e6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/output.xml new file mode 100644 index 00000000..2a568594 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="87805912-47a6-4888-b05a-66ef080c5ff6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.034.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0e6fa4ea-2ab5-4136-b8a5-70345125ee47"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/cb7ddfde-e420-4271-b036-334a1971a718"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cb7ddfde-e420-4271-b036-334a1971a718"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01347970"/> + </coding> + <text value="Roxythromycin 300 Heumann FTA 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3991e023-f159-434d-9eac-d2af172b7952"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="65086806-c32a-4a5a-9ccc-215e130098d3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/input.xml new file mode 100644 index 00000000..d48e05fb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="846d07e6-4776-4ae1-8749-0b9334314b97"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.034.37"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/fc7c4f58-5141-463d-a8f6-543c8d951042"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="fc7c4f58-5141-463d-a8f6-543c8d951042"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/c18ca813-66ac-49f6-808a-a90fd1ab3563"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/c18ca813-66ac-49f6-808a-a90fd1ab3563"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c18ca813-66ac-49f6-808a-a90fd1ab3563"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/d344ab61-4321-448f-83af-a2c95ae242a4"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/d344ab61-4321-448f-83af-a2c95ae242a4"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d344ab61-4321-448f-83af-a2c95ae242a4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01347970"/> + </coding> + <text value="Roxythromycin 300 Heumann FTA 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.json new file mode 100644 index 00000000..5bc068f5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "c9bdbb93-f76e-424b-90ba-b13b69bc2823", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5d9261a9-d70b-48d2-828f-adbf1135e65c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b3dc3262-2c8d-4f16-ad99-681cb0674c6c" + }, + "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": "b3dc3262-2c8d-4f16-ad99-681cb0674c6c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c567160a-3927-42d6-bec1-5d0b516d7f09", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5313ef8a-7b01-4ab7-a1fd-c96e6cefd7e5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_846d07e6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.xml new file mode 100644 index 00000000..915df8d9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c9bdbb93-f76e-424b-90ba-b13b69bc2823"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.034.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5d9261a9-d70b-48d2-828f-adbf1135e65c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b3dc3262-2c8d-4f16-ad99-681cb0674c6c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b3dc3262-2c8d-4f16-ad99-681cb0674c6c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01347970"/> + </coding> + <text value="Roxythromycin 300 Heumann FTA 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c567160a-3927-42d6-bec1-5d0b516d7f09"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5313ef8a-7b01-4ab7-a1fd-c96e6cefd7e5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_7f12495e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.json new file mode 100644 index 00000000..b6dc4058 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "e4b64e96-a7e1-409f-886b-ceefd4c50ed3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "78c67cb3-336e-4693-8714-4a3eed4412a3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/064c489f-aff8-49b7-b0b0-a474e2b9713f" + }, + "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": "064c489f-aff8-49b7-b0b0-a474e2b9713f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8d26cb67-8721-40c0-9477-385a1b6a502f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5e28bccc-9f72-4c68-8dd3-6297a9754165", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7f12495e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.xml new file mode 100644 index 00000000..5d9eb8e8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e4b64e96-a7e1-409f-886b-ceefd4c50ed3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.035.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="78c67cb3-336e-4693-8714-4a3eed4412a3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/064c489f-aff8-49b7-b0b0-a474e2b9713f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="064c489f-aff8-49b7-b0b0-a474e2b9713f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00067808"/> + </coding> + <text value="Remicade 100MG Pulver PIK 4ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PIK"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8d26cb67-8721-40c0-9477-385a1b6a502f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5e28bccc-9f72-4c68-8dd3-6297a9754165"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index b7fa8306..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index a22f68d6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e0cb3cbc-0897-4521-aee4-e19b9fc8a798"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.035.34"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7593eeea-5fd2-4847-80b3-b927487ea854"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/2fea5845-b2a2-4cd0-9b57-0c92bb9d7d1d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2fea5845-b2a2-4cd0-9b57-0c92bb9d7d1d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00067808"/> - </coding> - <text value="Remicade 100MG Pulver PIK 4ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PIK"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="fc570fcf-6b9b-44ba-9b39-6a822c3c7a88"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="8171969d-76e2-484d-8078-655d6a37d70b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/input.xml new file mode 100644 index 00000000..cdbc1dbe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7f12495e-709a-47cb-b589-995356926876"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.035.34"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/dc3b185f-b1f3-458d-b3ba-ac099a0225a0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="dc3b185f-b1f3-458d-b3ba-ac099a0225a0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/416b7bc3-7483-46ba-bc67-306bf671c569"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/008b6625-1ad8-4719-9b5f-1104485b9726"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/9af316b6-b8f6-42a9-85d7-fd1984a54966"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/008b6625-1ad8-4719-9b5f-1104485b9726"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="008b6625-1ad8-4719-9b5f-1104485b9726"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/9e43b5c5-6b34-4762-b196-1db3633e63c4"/> + </medicationReference> + <subject> + <reference value="Patient/416b7bc3-7483-46ba-bc67-306bf671c569"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/9af316b6-b8f6-42a9-85d7-fd1984a54966"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/9e43b5c5-6b34-4762-b196-1db3633e63c4"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9e43b5c5-6b34-4762-b196-1db3633e63c4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00067808"/> + </coding> + <text value="Remicade 100MG Pulver PIK 4ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PIK"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/416b7bc3-7483-46ba-bc67-306bf671c569"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="416b7bc3-7483-46ba-bc67-306bf671c569"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="D111111110"/> + </identifier> + <name> + <use value="official"/> + <family value="Birke"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Birke"/> + </extension> + </family> + <given value="Bruno"/> + </name> + <birthDate value="2002-02-02"/> + <address> + <type value="both"/> + <line value="Markt 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Markt"/> + </extension> + </line> + <city value="Güstrow"/> + <postalCode value="18273"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/9af316b6-b8f6-42a9-85d7-fd1984a54966"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="9af316b6-b8f6-42a9-85d7-fd1984a54966"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="78"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/416b7bc3-7483-46ba-bc67-306bf671c569"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="100105006"/> + </identifier> + <display value="KN Knappschaft"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/output.json new file mode 100644 index 00000000..963580ea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "3d4c5356-a51c-47a8-b938-f965600f50f8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3e68d33b-9cab-48a0-993e-0089d8791b10", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d4db8a5b-8808-47d1-a883-4521d11c0520" + }, + "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": "d4db8a5b-8808-47d1-a883-4521d11c0520", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f503de4a-3954-4750-b0e8-c989f00c0aee", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c7dbb02a-c28b-49d7-8adb-0c08852d842a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7f12495e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/output.xml new file mode 100644 index 00000000..aef6d850 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3d4c5356-a51c-47a8-b938-f965600f50f8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.035.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3e68d33b-9cab-48a0-993e-0089d8791b10"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d4db8a5b-8808-47d1-a883-4521d11c0520"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d4db8a5b-8808-47d1-a883-4521d11c0520"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00067808"/> + </coding> + <text value="Remicade 100MG Pulver PIK 4ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PIK"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f503de4a-3954-4750-b0e8-c989f00c0aee"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c7dbb02a-c28b-49d7-8adb-0c08852d842a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index a4d22023..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 30ee785a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="318de3dd-8398-46b7-bad9-68efabc0a81a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.036.31"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="41912da7-ab5b-4441-b5c0-3b63dff0c48c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/1936ab41-358d-4028-ab02-3bc20888c75b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1936ab41-358d-4028-ab02-3bc20888c75b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="07765007"/> - </coding> - <text value="NEUPRO 8MG/24H PFT 7 ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PFT"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="eb4b02bb-732a-49ce-8705-5e784c07d605"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5925f69e-a58b-4963-a789-234d8bb52bfe"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_6f404894/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/output.json new file mode 100644 index 00000000..3a924b8d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "d870478b-a7dc-4ee4-80cd-b0085322aae5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e87bb65e-bb1d-4987-a5cf-33fa9977dcdb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d1a948da-7e96-4697-b7bd-a4b5410eba2c" + }, + "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": "d1a948da-7e96-4697-b7bd-a4b5410eba2c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "19c800b9-58da-4797-885d-5231e6978dd5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "af7fa001-b837-44e6-9493-c3e266105112", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6f404894/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/output.xml new file mode 100644 index 00000000..cbfe1153 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d870478b-a7dc-4ee4-80cd-b0085322aae5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.036.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e87bb65e-bb1d-4987-a5cf-33fa9977dcdb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d1a948da-7e96-4697-b7bd-a4b5410eba2c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d1a948da-7e96-4697-b7bd-a4b5410eba2c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07765007"/> + </coding> + <text value="NEUPRO 8MG/24H PFT 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="19c800b9-58da-4797-885d-5231e6978dd5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="af7fa001-b837-44e6-9493-c3e266105112"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/input.xml new file mode 100644 index 00000000..4f967c85 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/input.xml @@ -0,0 +1,369 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="6f404894-137e-44e6-abe9-ea2ddc286317"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.036.31"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/7cdf08d0-5e54-4f6b-9e5c-36d0b55ca011"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="7cdf08d0-5e54-4f6b-9e5c-36d0b55ca011"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/45116c65-4d9f-4190-a101-5f2c019fbae5"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/45116c65-4d9f-4190-a101-5f2c019fbae5"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="45116c65-4d9f-4190-a101-5f2c019fbae5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/d5c1f731-49c2-4c43-b362-71dda955c0cb"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/d5c1f731-49c2-4c43-b362-71dda955c0cb"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d5c1f731-49c2-4c43-b362-71dda955c0cb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07765007"/> + </coding> + <text value="NEUPRO 8MG/24H PFT 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.json new file mode 100644 index 00000000..5822b546 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "7c229e68-29f7-438c-99ae-1a7d56ba7df8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "288d62e4-bd7f-44c3-b1bf-d79071da17c6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e82de270-7a83-42da-b8f9-67cf5e503539" + }, + "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": "e82de270-7a83-42da-b8f9-67cf5e503539", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "766dafd9-bb68-4763-8d30-a8a8481d7721", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "11bffdb3-16bf-4034-a249-479e7ea55128", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6f404894/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.xml new file mode 100644 index 00000000..dfd903d1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7c229e68-29f7-438c-99ae-1a7d56ba7df8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.036.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="288d62e4-bd7f-44c3-b1bf-d79071da17c6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e82de270-7a83-42da-b8f9-67cf5e503539"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e82de270-7a83-42da-b8f9-67cf5e503539"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07765007"/> + </coding> + <text value="NEUPRO 8MG/24H PFT 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="766dafd9-bb68-4763-8d30-a8a8481d7721"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="11bffdb3-16bf-4034-a249-479e7ea55128"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_1f339db0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.json new file mode 100644 index 00000000..e818ea3a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "8c6ca65f-6f20-4571-bbb0-192ddc527771", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a32d3d36-aa3c-4420-aa2c-241b68d8f0b5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/02788839-24ef-4e3c-b34a-2a736a8f9e0a" + }, + "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": "02788839-24ef-4e3c-b34a-2a736a8f9e0a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2545d4c8-da9f-45cd-bfa6-f3dce637d373", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "43d60f17-05da-4b69-b270-fa2a2d777751", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_1f339db0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.xml new file mode 100644 index 00000000..a6ebc4f6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8c6ca65f-6f20-4571-bbb0-192ddc527771"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.037.28"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a32d3d36-aa3c-4420-aa2c-241b68d8f0b5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/02788839-24ef-4e3c-b34a-2a736a8f9e0a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="02788839-24ef-4e3c-b34a-2a736a8f9e0a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07765007"/> + </coding> + <text value="NEUPRO 8MG/24H PFT 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2545d4c8-da9f-45cd-bfa6-f3dce637d373"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="43d60f17-05da-4b69-b270-fa2a2d777751"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index fb8fa3db..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 0cc68fc8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="34200096-900b-4350-9520-ecce26ea72e5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.037.28"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="dae33821-45af-43e0-ab51-1b5c3841fa1b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/555c0449-9690-420e-a438-e20153b5f5dc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="555c0449-9690-420e-a438-e20153b5f5dc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="07765007"/> - </coding> - <text value="NEUPRO 8MG/24H PFT 7 ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PFT"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5ee1fd05-a4b8-4262-8a08-cc9bfdf413f0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="297e1bad-fca8-4a96-a2af-35ca5d9d275c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/input.xml new file mode 100644 index 00000000..cd406b7c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/input.xml @@ -0,0 +1,369 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="1f339db0-9e55-4946-9dfa-f1b30953be9b"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.037.28"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/88c4029f-dfab-415a-b6de-64fd1a4058e6"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="88c4029f-dfab-415a-b6de-64fd1a4058e6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/43c2b7ae-ad11-4387-910a-e6b7a3c38d4f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/43c2b7ae-ad11-4387-910a-e6b7a3c38d4f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="43c2b7ae-ad11-4387-910a-e6b7a3c38d4f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5ff1bd22-ce14-484e-be56-d2ba4adeac31"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/5ff1bd22-ce14-484e-be56-d2ba4adeac31"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5ff1bd22-ce14-484e-be56-d2ba4adeac31"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07765007"/> + </coding> + <text value="NEUPRO 8MG/24H PFT 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/output.json new file mode 100644 index 00000000..0012fe31 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "be106313-7566-4f70-9915-57a085a35ef7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6c7da9f9-e30c-4636-9dc1-d2b4f64920e8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a98bd81b-0082-44ea-887b-682fe258534b" + }, + "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": "a98bd81b-0082-44ea-887b-682fe258534b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "20da1109-ffac-4d36-b290-d5bd87bba315", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "da14332b-689d-45fc-9289-a82539b08362", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_1f339db0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/output.xml new file mode 100644 index 00000000..06b76df4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="be106313-7566-4f70-9915-57a085a35ef7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.037.28"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6c7da9f9-e30c-4636-9dc1-d2b4f64920e8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a98bd81b-0082-44ea-887b-682fe258534b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a98bd81b-0082-44ea-887b-682fe258534b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07765007"/> + </coding> + <text value="NEUPRO 8MG/24H PFT 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="20da1109-ffac-4d36-b290-d5bd87bba315"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="da14332b-689d-45fc-9289-a82539b08362"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 703725db..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 306ab05d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="7fd5f6de-df5f-431a-8ec3-6a788baa0a1f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.038.25"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6105fe88-af99-48bd-98e9-e519d690fe82"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/f6fef33d-cb76-431a-bdc4-10c3ab35b915"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f6fef33d-cb76-431a-bdc4-10c3ab35b915"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01403987"/> - </coding> - <text value="ABILIFY 5MG TAB Beragena"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a4bcf25a-7f78-4077-a640-8fda97e32d75"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7d850be1-7cc4-454d-8fd5-97693e8a3788"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_d38c02fa/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/output.json new file mode 100644 index 00000000..f5c84cad --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "4b42a68c-741d-4934-931f-3c7dbb4adc71", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "55f00ba1-090f-47e3-be6d-f0ad397347e6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/92df17d7-253d-4acd-a809-0b0c8a11bc47" + }, + "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": "92df17d7-253d-4acd-a809-0b0c8a11bc47", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8205bd15-d52c-4356-86e3-c070c9a6c0a4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d2845b83-c3d6-43b2-925e-5442ff362cce", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d38c02fa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/output.xml new file mode 100644 index 00000000..8f3a3958 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4b42a68c-741d-4934-931f-3c7dbb4adc71"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.038.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="55f00ba1-090f-47e3-be6d-f0ad397347e6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/92df17d7-253d-4acd-a809-0b0c8a11bc47"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="92df17d7-253d-4acd-a809-0b0c8a11bc47"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01403987"/> + </coding> + <text value="ABILIFY 5MG TAB Beragena"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8205bd15-d52c-4356-86e3-c070c9a6c0a4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d2845b83-c3d6-43b2-925e-5442ff362cce"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/input.xml new file mode 100644 index 00000000..df647c81 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="d38c02fa-bbe3-444d-acfe-60698041bd1f"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.038.25"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/c62c5227-9d23-4a97-9180-f1c7d86e3939"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="c62c5227-9d23-4a97-9180-f1c7d86e3939"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/9284fb68-6f7b-4169-8567-70286e646eaf"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/9284fb68-6f7b-4169-8567-70286e646eaf"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9284fb68-6f7b-4169-8567-70286e646eaf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a627102f-2fb0-4eb6-87b9-f30c6900a23e"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a627102f-2fb0-4eb6-87b9-f30c6900a23e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a627102f-2fb0-4eb6-87b9-f30c6900a23e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01403987"/> + </coding> + <text value="ABILIFY 5MG TAB Beragena"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.json new file mode 100644 index 00000000..110dfd14 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "908d50c5-accb-4f12-8e90-7652cf208d52", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6122de7f-dbf7-411e-ae98-cd1b81a28de9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5f61c7c7-af46-4fee-ac6e-6173b600a89e" + }, + "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": "5f61c7c7-af46-4fee-ac6e-6173b600a89e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e00db30a-c982-4a27-b43f-548a6454921b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b3df643f-628b-465f-bf6d-42d7db11e096", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d38c02fa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.xml new file mode 100644 index 00000000..b0309a5c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="908d50c5-accb-4f12-8e90-7652cf208d52"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.038.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6122de7f-dbf7-411e-ae98-cd1b81a28de9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5f61c7c7-af46-4fee-ac6e-6173b600a89e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5f61c7c7-af46-4fee-ac6e-6173b600a89e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01403987"/> + </coding> + <text value="ABILIFY 5MG TAB Beragena"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e00db30a-c982-4a27-b43f-548a6454921b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b3df643f-628b-465f-bf6d-42d7db11e096"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_b942313c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.json new file mode 100644 index 00000000..9889653a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "7f1ec956-2358-4a82-9dbb-2373141662dc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1216ed7d-b35b-4998-aed7-a502e38b0585", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d28346f7-0053-4590-b91a-616a2a762a07" + }, + "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": "d28346f7-0053-4590-b91a-616a2a762a07", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "03624c6a-4aee-45e9-846d-64e72f148d31", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9dce6f24-927d-4cfe-bfdd-88de7e4eea80", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b942313c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.xml new file mode 100644 index 00000000..6b0bab77 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7f1ec956-2358-4a82-9dbb-2373141662dc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.039.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1216ed7d-b35b-4998-aed7-a502e38b0585"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d28346f7-0053-4590-b91a-616a2a762a07"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d28346f7-0053-4590-b91a-616a2a762a07"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09943571"/> + </coding> + <text value="Sprycel 100MG FTA 30 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="03624c6a-4aee-45e9-846d-64e72f148d31"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9dce6f24-927d-4cfe-bfdd-88de7e4eea80"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 52a586be..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 6fcf6dce..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f54e7067-dbf9-45d1-9afa-45284e9d701d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.039.22"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="f9d69870-62de-4fbb-9697-f5e615e441f8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/6a286af5-f575-4d39-a51e-262fd0714627"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6a286af5-f575-4d39-a51e-262fd0714627"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09943571"/> - </coding> - <text value="Sprycel 100MG FTA 30 ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bec4183d-20be-46f6-8cb2-f5a15c160dc8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b0bd4d85-f0bf-40d7-b5c2-51f3fc6e2231"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/input.xml new file mode 100644 index 00000000..f55c3324 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="b942313c-50b2-4fd8-b328-4fefc927223e"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.039.22"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/95658e04-f03d-42a6-8295-809136787a13"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="95658e04-f03d-42a6-8295-809136787a13"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/497aea30-5d16-4bb7-abf5-cf22e031d1e4"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/497aea30-5d16-4bb7-abf5-cf22e031d1e4"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="497aea30-5d16-4bb7-abf5-cf22e031d1e4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/05978c9d-93d9-4e9c-aa67-f0a2ff3f8a2a"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/05978c9d-93d9-4e9c-aa67-f0a2ff3f8a2a"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="05978c9d-93d9-4e9c-aa67-f0a2ff3f8a2a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09943571"/> + </coding> + <text value="Sprycel 100MG FTA 30 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/output.json new file mode 100644 index 00000000..76a01562 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "0f3eecc4-52ec-424c-a2a6-ae898213fb55", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "060a029a-3f80-4149-a027-672c15e53cf7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/daa187eb-7c3b-45f1-9d4e-8172060d4c1b" + }, + "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": "daa187eb-7c3b-45f1-9d4e-8172060d4c1b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1a318e53-bf90-43ec-a48d-7cd2081cdcd6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "22ee61dc-54db-4c11-a34d-a398bb905b81", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b942313c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/output.xml new file mode 100644 index 00000000..d559c918 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0f3eecc4-52ec-424c-a2a6-ae898213fb55"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.039.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="060a029a-3f80-4149-a027-672c15e53cf7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/daa187eb-7c3b-45f1-9d4e-8172060d4c1b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="daa187eb-7c3b-45f1-9d4e-8172060d4c1b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09943571"/> + </coding> + <text value="Sprycel 100MG FTA 30 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1a318e53-bf90-43ec-a48d-7cd2081cdcd6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="22ee61dc-54db-4c11-a34d-a398bb905b81"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 17442dd5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 13da6497..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="143798dc-95cc-4de4-832e-08d519a0d142"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.040.19"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="26a6d4dd-66b6-47a6-a1fd-cbed43985938"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/510bdbe1-718a-462e-9599-17b795467ae4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="510bdbe1-718a-462e-9599-17b795467ae4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09943571"/> - </coding> - <text value="Sprycel 100MG FTA 30 ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3bdf8d36-f92a-4ed1-adfc-a0fc1323df56"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="96959066-caf4-4331-b2d9-3e70ba30eafe"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_c48d0fb5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/output.json new file mode 100644 index 00000000..3945526f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "d98cec9c-4500-46c3-9bfa-30839eb818ba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e3f39d31-cb9a-4418-aa21-4d03c552a797", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/35f054a0-f813-4b6e-8712-ad7d8a003d31" + }, + "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": "35f054a0-f813-4b6e-8712-ad7d8a003d31", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "be7f14e4-18e1-451f-9fef-bd2f8b0d2b78", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "08c00031-4bf5-45c7-ad91-07358771ee3f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c48d0fb5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/output.xml new file mode 100644 index 00000000..03e184f8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d98cec9c-4500-46c3-9bfa-30839eb818ba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.040.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e3f39d31-cb9a-4418-aa21-4d03c552a797"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/35f054a0-f813-4b6e-8712-ad7d8a003d31"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="35f054a0-f813-4b6e-8712-ad7d8a003d31"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09943571"/> + </coding> + <text value="Sprycel 100MG FTA 30 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="be7f14e4-18e1-451f-9fef-bd2f8b0d2b78"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="08c00031-4bf5-45c7-ad91-07358771ee3f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/input.xml new file mode 100644 index 00000000..cdd3d80c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/input.xml @@ -0,0 +1,383 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c48d0fb5-9d3a-4872-9879-cdd61c39fc1d"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.040.19"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/ca3a6bdf-75dd-425e-9bf4-4de5daa11d3f"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ca3a6bdf-75dd-425e-9bf4-4de5daa11d3f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/9218cbd8-71f1-4800-9b52-370860b7079f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/9218cbd8-71f1-4800-9b52-370860b7079f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9218cbd8-71f1-4800-9b52-370860b7079f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/523bfe94-d8f0-42ac-b4d1-92910cad5be7"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/523bfe94-d8f0-42ac-b4d1-92910cad5be7"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="523bfe94-d8f0-42ac-b4d1-92910cad5be7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09943571"/> + </coding> + <text value="Sprycel 100MG FTA 30 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus BKK"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.json new file mode 100644 index 00000000..82fa7986 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "bf95ad65-6482-4185-89dc-543b167bdc03", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7c11427c-6395-4f90-946d-4bec24b4f68b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/91008231-5ab1-4cf8-9aeb-40dcd14b5226" + }, + "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": "91008231-5ab1-4cf8-9aeb-40dcd14b5226", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f5cccc7e-dfa5-456d-8aa6-69d8260a4e28", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "75b0e821-9ea9-46ac-9694-cf8a658025ac", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c48d0fb5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.xml new file mode 100644 index 00000000..3a631107 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bf95ad65-6482-4185-89dc-543b167bdc03"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.040.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7c11427c-6395-4f90-946d-4bec24b4f68b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/91008231-5ab1-4cf8-9aeb-40dcd14b5226"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="91008231-5ab1-4cf8-9aeb-40dcd14b5226"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09943571"/> + </coding> + <text value="Sprycel 100MG FTA 30 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f5cccc7e-dfa5-456d-8aa6-69d8260a4e28"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="75b0e821-9ea9-46ac-9694-cf8a658025ac"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 0e436722..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index bfc1a46a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="78ff5d32-d4d4-4401-8981-75aa78168576"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.041.16"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5cecb3ce-16f8-4858-a002-820b830ea3b6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/4e1cb1cb-9373-4d74-b5f3-35505c83be20"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4e1cb1cb-9373-4d74-b5f3-35505c83be20"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02050605"/> - </coding> - <text value="Euthyrox 50 TAB 50 ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="97e9f61a-c66f-44b3-b9d4-494f2c7a7c26"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a6d297aa-5a94-4ae2-84c5-a65524881be5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_7d1f08b4/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/output.json new file mode 100644 index 00000000..e821d6e1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "d8c0b742-349d-4fa8-8719-48f86231f5fb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6f9fe860-1722-4c28-a07c-9f9f604d93ba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2b8805ff-ae5b-435a-861e-eb795aca1e4d" + }, + "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": "2b8805ff-ae5b-435a-861e-eb795aca1e4d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9931dda2-fd74-431c-b2b8-d2b0115c99a9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6ede807e-5d20-4cab-b608-73d16ee79046", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7d1f08b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/output.xml new file mode 100644 index 00000000..a27a61af --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d8c0b742-349d-4fa8-8719-48f86231f5fb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.041.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6f9fe860-1722-4c28-a07c-9f9f604d93ba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2b8805ff-ae5b-435a-861e-eb795aca1e4d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2b8805ff-ae5b-435a-861e-eb795aca1e4d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02050605"/> + </coding> + <text value="Euthyrox 50 TAB 50 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9931dda2-fd74-431c-b2b8-d2b0115c99a9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6ede807e-5d20-4cab-b608-73d16ee79046"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/input.xml new file mode 100644 index 00000000..5957f2ed --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7d1f08b4-0224-4088-b144-841a75011d18"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.041.16"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/60537e65-11db-4ae1-9310-dc40116ab1f2"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="60537e65-11db-4ae1-9310-dc40116ab1f2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/c799df54-4e42-4b0a-8508-39982c722e2c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/c799df54-4e42-4b0a-8508-39982c722e2c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c799df54-4e42-4b0a-8508-39982c722e2c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/2420612c-a1c8-4b08-be02-2ee831e0f82a"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/2420612c-a1c8-4b08-be02-2ee831e0f82a"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2420612c-a1c8-4b08-be02-2ee831e0f82a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02050605"/> + </coding> + <text value="Euthyrox 50 TAB 50 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.json new file mode 100644 index 00000000..7682bac6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "70011f9c-0016-4f21-8752-b02cf6cb42d1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "08d31d76-db22-4866-a946-1a01ccd2838d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d1e4cd65-fb20-45dd-a8ef-de7721de0cd1" + }, + "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": "d1e4cd65-fb20-45dd-a8ef-de7721de0cd1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2b5793a7-1fb0-4e04-b3f6-a6859082a3a2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "add9b058-3c23-4af1-9f6e-0de6b29a6b5a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7d1f08b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.xml new file mode 100644 index 00000000..31c32c69 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="70011f9c-0016-4f21-8752-b02cf6cb42d1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.041.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="08d31d76-db22-4866-a946-1a01ccd2838d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d1e4cd65-fb20-45dd-a8ef-de7721de0cd1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d1e4cd65-fb20-45dd-a8ef-de7721de0cd1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02050605"/> + </coding> + <text value="Euthyrox 50 TAB 50 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2b5793a7-1fb0-4e04-b3f6-a6859082a3a2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="add9b058-3c23-4af1-9f6e-0de6b29a6b5a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_60e48db8/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.json new file mode 100644 index 00000000..e234cfc4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "aafc54f2-0f82-4870-a4b7-e68fd7478395", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9a18f07b-7fe9-48e3-b485-10367fecc380", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4868fee5-cce3-4261-b079-3bb7affdf1fb" + }, + "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": "4868fee5-cce3-4261-b079-3bb7affdf1fb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "5205c26e-cd63-4d3d-9283-022105a1404e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2b06615e-a73b-4368-82dc-71640181ab2e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_60e48db8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.xml new file mode 100644 index 00000000..ca40842e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="aafc54f2-0f82-4870-a4b7-e68fd7478395"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.042.13"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9a18f07b-7fe9-48e3-b485-10367fecc380"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4868fee5-cce3-4261-b079-3bb7affdf1fb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4868fee5-cce3-4261-b079-3bb7affdf1fb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="17513301"/> + </coding> + <text value="Priorix docpharm"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PLI"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5205c26e-cd63-4d3d-9283-022105a1404e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2b06615e-a73b-4368-82dc-71640181ab2e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 03139bd5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 488a4b65..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="fb26a25e-4efe-4176-95c7-878e15b052fa"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.042.13"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="904be641-8bd5-477d-8026-32fe24f1979e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/24e5896e-7b1b-4dd1-a6d4-bc0df3c7bf30"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="24e5896e-7b1b-4dd1-a6d4-bc0df3c7bf30"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="17513301"/> - </coding> - <text value="Priorix docpharm"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PLI"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1187574b-44e5-41b2-b4d5-301dfa7a50c9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4d72eaa4-0288-471d-85c2-bc11a46352ac"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/input.xml new file mode 100644 index 00000000..eb387b39 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="60e48db8-1164-4535-8600-ba83785ac58a"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.042.13"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/5597e0b6-86f9-460f-bdd2-469322a13f1d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5597e0b6-86f9-460f-bdd2-469322a13f1d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/3e10ae87-8c81-4f69-ad74-cd15e50b0a69"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/3e10ae87-8c81-4f69-ad74-cd15e50b0a69"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3e10ae87-8c81-4f69-ad74-cd15e50b0a69"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/bdb52b32-96ef-4616-8368-c60148b090b1"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/bdb52b32-96ef-4616-8368-c60148b090b1"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2420612c-a1c8-4b08-be02-2ee831e0f82a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="17513301"/> + </coding> + <text value="Priorix docpharm"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PLI"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/output.json new file mode 100644 index 00000000..760d8e6c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "f7e97add-d98e-4340-8e83-f0bb35f11d0d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0f3bd670-5726-44a2-8f2c-b7a64290868f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c56c8f85-3805-4a67-bd2c-bbdb4cdc3152" + }, + "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": "c56c8f85-3805-4a67-bd2c-bbdb4cdc3152", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "99bd84d3-1518-4f81-b353-31092574bd27", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9a0118a7-7844-4b6f-a85c-c2cfce7693ed", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_60e48db8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/output.xml new file mode 100644 index 00000000..2cbe0e3b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f7e97add-d98e-4340-8e83-f0bb35f11d0d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.042.13"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0f3bd670-5726-44a2-8f2c-b7a64290868f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c56c8f85-3805-4a67-bd2c-bbdb4cdc3152"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c56c8f85-3805-4a67-bd2c-bbdb4cdc3152"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="17513301"/> + </coding> + <text value="Priorix docpharm"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PLI"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="99bd84d3-1518-4f81-b353-31092574bd27"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9a0118a7-7844-4b6f-a85c-c2cfce7693ed"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 14e84b07..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 2b3324ea..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="23d155d0-3bd3-455b-bf4b-d5791c3113cc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.043.10"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8beeafd6-e28b-4aa8-aec2-19aeba7817c8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/5a37d50c-c4ef-4ea4-99cf-0e991ba221c7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5a37d50c-c4ef-4ea4-99cf-0e991ba221c7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="11219196"/> - </coding> - <text value="Abasaglar 100 E/ML KWIKPEN PEN 10x3ml"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9544b4b4-324a-4ffb-a174-80b40cc55d75"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="fbda0a3b-7c13-42db-a00c-dbe7f4db3998"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_acf39375/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/output.json new file mode 100644 index 00000000..29cc5052 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "a4ac7a49-f178-471b-b7b6-79592503e05c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0492af30-4af7-4d0b-ba6e-745f86146646", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ac5921d3-463b-4e1e-8e40-435a4446e4cc" + }, + "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": "ac5921d3-463b-4e1e-8e40-435a4446e4cc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "92e6b137-5bec-4f05-8829-f3ff2da96327", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "fe1c2db3-dd69-45a5-9304-c5f2ec11755e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_acf39375/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/output.xml new file mode 100644 index 00000000..e2704421 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a4ac7a49-f178-471b-b7b6-79592503e05c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.043.10"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0492af30-4af7-4d0b-ba6e-745f86146646"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ac5921d3-463b-4e1e-8e40-435a4446e4cc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ac5921d3-463b-4e1e-8e40-435a4446e4cc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11219196"/> + </coding> + <text value="Abasaglar 100 E/ML KWIKPEN PEN 10x3ml"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="92e6b137-5bec-4f05-8829-f3ff2da96327"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="fe1c2db3-dd69-45a5-9304-c5f2ec11755e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/input.xml new file mode 100644 index 00000000..038a96ab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="acf39375-3a2b-4017-995d-531705fc129d"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.043.10"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/7a4dc8bb-78ab-4b90-8bae-410fb816de8d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="7a4dc8bb-78ab-4b90-8bae-410fb816de8d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/521786fd-c598-4b3f-95d1-51ac9540e836"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/521786fd-c598-4b3f-95d1-51ac9540e836"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="521786fd-c598-4b3f-95d1-51ac9540e836"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a23cea34-1141-42f3-903c-69740cc94a07"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a23cea34-1141-42f3-903c-69740cc94a07"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a23cea34-1141-42f3-903c-69740cc94a07"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11219196"/> + </coding> + <text value="Abasaglar 100 E/ML KWIKPEN PEN 10x3ml"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.json new file mode 100644 index 00000000..bf437c93 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "ead8671b-d019-4895-9924-36a0c7f3546e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8c3f3629-a598-4ef3-89ce-7662c5a4153e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4bc88fd0-5fa7-4dc3-bd38-aa612a38406f" + }, + "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": "4bc88fd0-5fa7-4dc3-bd38-aa612a38406f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e37e4c1a-790e-45e6-8ec5-cc7399faf507", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "88e75171-afc8-45ac-86da-95c62d00ab1a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_acf39375/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.xml new file mode 100644 index 00000000..1f88c74a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ead8671b-d019-4895-9924-36a0c7f3546e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.043.10"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8c3f3629-a598-4ef3-89ce-7662c5a4153e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4bc88fd0-5fa7-4dc3-bd38-aa612a38406f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4bc88fd0-5fa7-4dc3-bd38-aa612a38406f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11219196"/> + </coding> + <text value="Abasaglar 100 E/ML KWIKPEN PEN 10x3ml"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e37e4c1a-790e-45e6-8ec5-cc7399faf507"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="88e75171-afc8-45ac-86da-95c62d00ab1a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 9e568eb9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/output.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "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 deleted file mode 100644 index 2b905c3a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/output.xml +++ /dev/null @@ -1,224 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1f6ef093-d07a-42d1-8896-067e05864b52"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.22"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="74cbf0c7-bcf2-4865-a266-12d19fbf5bd6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/b1f3fdc9-c8fd-4b1e-a56e-50d29e718343"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b1f3fdc9-c8fd-4b1e-a56e-50d29e718343"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03879429"/> - </coding> - <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="RET"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="30"/> - </extension> - <unit value="Stück"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="900d98c5-1879-4e02-afb2-380a56f51705"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="999999900"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-749999999"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7f8a16d2-0374-401b-9147-20622e07d4a3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="999999900"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-748382202"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_328ad940/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/output.json new file mode 100644 index 00000000..af8ecc14 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/output.json @@ -0,0 +1,220 @@ +{ + "resourceType": "Parameters", + "id": "57c424c3-c012-4916-bc16-1860a3f663f7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3aade406-62fd-4014-9f43-a168750d2f7c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fadf6fb2-85a9-4954-84c6-ce8e94462009" + }, + "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": "fadf6fb2-85a9-4954-84c6-ce8e94462009", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a687517b-7c92-4761-89a5-bbd2bfc5312b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5ef66944-905a-4245-9c35-9cc97aee236c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_328ad940/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/output.xml new file mode 100644 index 00000000..79441630 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/output.xml @@ -0,0 +1,224 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="57c424c3-c012-4916-bc16-1860a3f663f7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3aade406-62fd-4014-9f43-a168750d2f7c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fadf6fb2-85a9-4954-84c6-ce8e94462009"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fadf6fb2-85a9-4954-84c6-ce8e94462009"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03879429"/> + </coding> + <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="30"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a687517b-7c92-4761-89a5-bbd2bfc5312b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-749999999"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5ef66944-905a-4245-9c35-9cc97aee236c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-748382202"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.json new file mode 100644 index 00000000..fd4e1557 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.json @@ -0,0 +1,220 @@ +{ + "resourceType": "Parameters", + "id": "684f7211-f1af-4852-aa43-9470e553b6ad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b915ff87-c010-4919-a4c3-00f86db0525a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/555efbc0-97fd-4ac1-96b3-0f2ded43cdd5" + }, + "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": "555efbc0-97fd-4ac1-96b3-0f2ded43cdd5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "027248d4-2b59-4b6a-8c8c-03b8f38eef79", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b554bee9-4b1a-4fce-a670-b9e9812d9e63", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_328ad940/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.xml new file mode 100644 index 00000000..f2ab4e7a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.xml @@ -0,0 +1,224 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="684f7211-f1af-4852-aa43-9470e553b6ad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b915ff87-c010-4919-a4c3-00f86db0525a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/555efbc0-97fd-4ac1-96b3-0f2ded43cdd5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="555efbc0-97fd-4ac1-96b3-0f2ded43cdd5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03879429"/> + </coding> + <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="30"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="027248d4-2b59-4b6a-8c8c-03b8f38eef79"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-749999999"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b554bee9-4b1a-4fce-a670-b9e9812d9e63"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-748382202"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/input.xml new file mode 100644 index 00000000..99796153 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/input.xml @@ -0,0 +1,406 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="328ad940-3fff-11ed-b878-0242ac120002"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.22"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03879429"/> + </coding> + <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="30"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="P123464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Privati"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Privati"/> + </extension> + </family> + <given value="Paula"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-748382202"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-749999999"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="123456789"/> + </identifier> + <display value="Allianz Private Krankenversicherung"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/output.json new file mode 100644 index 00000000..e8050dbd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/output.json @@ -0,0 +1,220 @@ +{ + "resourceType": "Parameters", + "id": "78141812-7edd-4a9f-ae83-06ac64590a5b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0adad16c-1b20-4088-a009-3a8027eb5c25", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/36433058-8288-4de7-9fae-1e7e6a3ba1be" + }, + "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": "36433058-8288-4de7-9fae-1e7e6a3ba1be", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "39953d75-a5ee-43df-81be-08ee68888627", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "da0cf893-0e8e-4a61-811f-062c113fdc80", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_fc33c82b_328ad940/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/output.xml new file mode 100644 index 00000000..8d3eadc5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/output.xml @@ -0,0 +1,224 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="78141812-7edd-4a9f-ae83-06ac64590a5b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0adad16c-1b20-4088-a009-3a8027eb5c25"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/36433058-8288-4de7-9fae-1e7e6a3ba1be"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="36433058-8288-4de7-9fae-1e7e6a3ba1be"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03879429"/> + </coding> + <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="30"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="39953d75-a5ee-43df-81be-08ee68888627"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-749999999"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="da0cf893-0e8e-4a61-811f-062c113fdc80"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-748382202"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_50926152/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.json new file mode 100644 index 00000000..a44559a9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "0f834737-20c7-4b14-bd6f-ee8ed7537df4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "23c1f067-6687-4ec9-b1ed-77f30639276b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/934b7279-aede-47d7-80bb-26c3888c8840" + }, + "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": "934b7279-aede-47d7-80bb-26c3888c8840", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "92291693-3f64-4323-950f-e1cddab3b913", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b2ec3f52-4703-4368-8e6b-2a2dc5827454", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_50926152/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.xml new file mode 100644 index 00000000..1f944835 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0f834737-20c7-4b14-bd6f-ee8ed7537df4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.044.07"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="23c1f067-6687-4ec9-b1ed-77f30639276b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/934b7279-aede-47d7-80bb-26c3888c8840"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="934b7279-aede-47d7-80bb-26c3888c8840"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09338114"/> + </coding> + <text value="Neupro 4MG/24H PFT 7ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="92291693-3f64-4323-950f-e1cddab3b913"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b2ec3f52-4703-4368-8e6b-2a2dc5827454"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 96535a15..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 9715ea46..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ec1c5acd-e0ce-4bef-86ba-c8636816b624"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.044.07"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a97dbe27-6b8e-48e4-9f0d-52fe66ee1f3b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/1747ab25-1e9a-4923-98eb-0753a0655421"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1747ab25-1e9a-4923-98eb-0753a0655421"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09338114"/> - </coding> - <text value="Neupro 4MG/24H PFT 7ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PFT"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1a964e97-e298-41da-aa92-75ec3a2423b1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f23e13a3-999b-4352-a578-988801994599"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/input.xml new file mode 100644 index 00000000..80acb153 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="50926152-1499-4084-b784-b696d468946b"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.044.07"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/1d912f7c-a525-481b-81ec-58aec41f1ea8"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1d912f7c-a525-481b-81ec-58aec41f1ea8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/c1f6cd7f-67ed-48eb-b221-bbafd05187cd"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/c1f6cd7f-67ed-48eb-b221-bbafd05187cd"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c1f6cd7f-67ed-48eb-b221-bbafd05187cd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/ea3e3f70-119f-4b81-800f-3a189dd4ce4c"/> + </medicationReference> + <subject> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/ea3e3f70-119f-4b81-800f-3a189dd4ce4c"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ea3e3f70-119f-4b81-800f-3a189dd4ce4c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09338114"/> + </coding> + <text value="Neupro 4MG/24H PFT 7ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="E111111113"/> + </identifier> + <name> + <use value="official"/> + <family value="Christrose"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Christrose"/> + </extension> + </family> + <given value="Christa"/> + </name> + <birthDate value="1933-03-13"/> + <address> + <type value="both"/> + <line value="Nagelsweg 27"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Nagelsweg"/> + </extension> + </line> + <city value="Hamburg"/> + <postalCode value="20097"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="02"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101560000"/> + </identifier> + <display value="DAK-GESUNDHEIT"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/output.json new file mode 100644 index 00000000..79e9eb25 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "433064e6-f18b-40e4-9b5d-afa3b96adf8b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "31ff7a21-16fc-4faa-8239-a7dc9b54724b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d4fa6b62-1eff-4b8d-a0d3-b7170caf3051" + }, + "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": "d4fa6b62-1eff-4b8d-a0d3-b7170caf3051", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3ab81784-0912-49b8-b186-556e1e30de43", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "10fc2027-c291-4325-99b7-c1e8ebfea3cb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_50926152/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/output.xml new file mode 100644 index 00000000..07989837 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="433064e6-f18b-40e4-9b5d-afa3b96adf8b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.044.07"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="31ff7a21-16fc-4faa-8239-a7dc9b54724b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d4fa6b62-1eff-4b8d-a0d3-b7170caf3051"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d4fa6b62-1eff-4b8d-a0d3-b7170caf3051"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09338114"/> + </coding> + <text value="Neupro 4MG/24H PFT 7ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3ab81784-0912-49b8-b186-556e1e30de43"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="10fc2027-c291-4325-99b7-c1e8ebfea3cb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 6f37f722..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 4afdc2b5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2a94fb4b-9f76-406d-baba-ca1aa9a8fc21"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.045.04"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3d6aa859-fff0-45ab-a18b-9c6ff2951eeb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/dd87a7cf-3b08-42b4-a222-0d44d66f21e9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="dd87a7cf-3b08-42b4-a222-0d44d66f21e9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="07699339"/> - </coding> - <text value="Sortis 10MG FTA 50ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1aff98cb-c0e3-4192-a546-0fd4c520d8fb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="feef8a9f-f7d2-4fbf-b0e0-5d9ec8e7e2b5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_e9de4852/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/output.json new file mode 100644 index 00000000..6fddd5cb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "3939e284-8578-4bcf-9cdc-60a4ef2b3c27", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "33f58606-64aa-4bb2-9b4b-12f0fbbb4ba8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/06bd93bc-1488-4fff-943b-30f85282658c" + }, + "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": "06bd93bc-1488-4fff-943b-30f85282658c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d860750c-dd4b-4618-8f84-a21c0adb2a3c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d42d617f-0420-4ae6-ade5-a659a82b1f37", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e9de4852/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/output.xml new file mode 100644 index 00000000..05c55f57 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3939e284-8578-4bcf-9cdc-60a4ef2b3c27"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.045.04"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="33f58606-64aa-4bb2-9b4b-12f0fbbb4ba8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/06bd93bc-1488-4fff-943b-30f85282658c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="06bd93bc-1488-4fff-943b-30f85282658c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07699339"/> + </coding> + <text value="Sortis 10MG FTA 50ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d860750c-dd4b-4618-8f84-a21c0adb2a3c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d42d617f-0420-4ae6-ade5-a659a82b1f37"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/input.xml new file mode 100644 index 00000000..e5a3faac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="e9de4852-9336-4fad-9378-3c904b54ced8"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.045.04"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/e8ae9644-4ebd-4b02-8c0b-c2736c26f4fa"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="e8ae9644-4ebd-4b02-8c0b-c2736c26f4fa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/92340404-2726-4170-a5e4-e5389aa3f68b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/92340404-2726-4170-a5e4-e5389aa3f68b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="92340404-2726-4170-a5e4-e5389aa3f68b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/abe4ad76-02c3-4da2-a1ff-56b038cb85b5"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/abe4ad76-02c3-4da2-a1ff-56b038cb85b5"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="abe4ad76-02c3-4da2-a1ff-56b038cb85b5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07699339"/> + </coding> + <text value="Sortis 10MG FTA 50ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.json new file mode 100644 index 00000000..be97e1e0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "59546e81-9268-4a85-94c9-a2317a1f4acb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "88f1a50e-bfca-4fbd-ba6c-e5bc0972290f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d7f03373-6d79-4028-a6f6-d23c9e6ad929" + }, + "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": "d7f03373-6d79-4028-a6f6-d23c9e6ad929", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c998bb82-a450-4dc8-8f8e-02ee639437c5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "52d73e76-8dc2-4e17-ab13-f7e0b86d0c13", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e9de4852/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.xml new file mode 100644 index 00000000..a7fc3fcf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="59546e81-9268-4a85-94c9-a2317a1f4acb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.045.04"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="88f1a50e-bfca-4fbd-ba6c-e5bc0972290f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d7f03373-6d79-4028-a6f6-d23c9e6ad929"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d7f03373-6d79-4028-a6f6-d23c9e6ad929"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07699339"/> + </coding> + <text value="Sortis 10MG FTA 50ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c998bb82-a450-4dc8-8f8e-02ee639437c5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="52d73e76-8dc2-4e17-ab13-f7e0b86d0c13"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 470d821a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index dd949388..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f5df70a6-9252-4f7c-bfe3-9d110d57582f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.046.98"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a2b1b314-8284-4d28-a2d8-769066b638c0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/1cc97dac-a126-4ebb-b98f-05916ca88647"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1cc97dac-a126-4ebb-b98f-05916ca88647"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="11164213"/> - </coding> - <text value="Neupro 4MG/24H PFT 7ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PFT"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3c19abca-4b67-4bd2-9fdd-060279f80dce"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="747f222c-326e-41be-8d80-dec070336411"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_fe9200db/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/output.json new file mode 100644 index 00000000..8c8d6ea1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "8337fb15-c3a7-4f75-ba58-109c17f26386", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "516d9a34-5b1d-49ce-99d9-d74712e63fbf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e7ac293b-dd8c-4c87-8053-aff67dd8653e" + }, + "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": "e7ac293b-dd8c-4c87-8053-aff67dd8653e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "88076610-6d43-4f29-bfc0-8f5b6d19c511", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "bbc6d39d-90f7-402f-af62-0fa8da1c7a00", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_fe9200db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/output.xml new file mode 100644 index 00000000..76143b46 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8337fb15-c3a7-4f75-ba58-109c17f26386"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.046.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="516d9a34-5b1d-49ce-99d9-d74712e63fbf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e7ac293b-dd8c-4c87-8053-aff67dd8653e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e7ac293b-dd8c-4c87-8053-aff67dd8653e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11164213"/> + </coding> + <text value="Neupro 4MG/24H PFT 7ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="88076610-6d43-4f29-bfc0-8f5b6d19c511"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bbc6d39d-90f7-402f-af62-0fa8da1c7a00"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/input.xml new file mode 100644 index 00000000..6dff2d2a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="fe9200db-d503-4a1b-bd13-96ab375f9bab"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.046.98"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/7a69f68c-b120-40b9-8ed7-aab2c84a3a1c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="7a69f68c-b120-40b9-8ed7-aab2c84a3a1c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/91921af0-93cc-4cae-a51c-c8bb779fcd09"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/91921af0-93cc-4cae-a51c-c8bb779fcd09"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="91921af0-93cc-4cae-a51c-c8bb779fcd09"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/d0da19d0-00a9-411a-bfe3-e75607c1f0b2"/> + </medicationReference> + <subject> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/d0da19d0-00a9-411a-bfe3-e75607c1f0b2"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d0da19d0-00a9-411a-bfe3-e75607c1f0b2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11164213"/> + </coding> + <text value="Neupro 4MG/24H PFT 7ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="E111111113"/> + </identifier> + <name> + <use value="official"/> + <family value="Christrose"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Christrose"/> + </extension> + </family> + <given value="Christa"/> + </name> + <birthDate value="1933-03-13"/> + <address> + <type value="both"/> + <line value="Nagelsweg 27"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Nagelsweg"/> + </extension> + </line> + <city value="Hamburg"/> + <postalCode value="20097"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="02"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101560000"/> + </identifier> + <display value="DAK-GESUNDHEIT"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.json new file mode 100644 index 00000000..c7f3ede6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "d918604e-2332-4345-b4f4-a0ea92e4ce0b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "29447096-f464-40b7-b25b-22ac56b2dba8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8e4ddfde-1d0b-4d53-bd41-81d47cfa9c6b" + }, + "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": "8e4ddfde-1d0b-4d53-bd41-81d47cfa9c6b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "518cf1d3-c485-49d4-9086-e179f9d290ae", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "80446e6d-82e0-466b-b89c-26b07dcc3d40", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_fe9200db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.xml new file mode 100644 index 00000000..bfa483e3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d918604e-2332-4345-b4f4-a0ea92e4ce0b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.046.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="29447096-f464-40b7-b25b-22ac56b2dba8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8e4ddfde-1d0b-4d53-bd41-81d47cfa9c6b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8e4ddfde-1d0b-4d53-bd41-81d47cfa9c6b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11164213"/> + </coding> + <text value="Neupro 4MG/24H PFT 7ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="518cf1d3-c485-49d4-9086-e179f9d290ae"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="80446e6d-82e0-466b-b89c-26b07dcc3d40"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 531c9a47..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 3bd6d586..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="22d245d1-2e63-4a7e-ae6e-36d397c15840"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.047.95"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b467c88d-fe5f-4b77-88ba-a4aa545a3047"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/da900f01-8960-4c1a-80ca-7fa4c2a5b49f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="da900f01-8960-4c1a-80ca-7fa4c2a5b49f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08454982"/> - </coding> - <text value="Pramipexol Hexal 1,05 MG RET 30ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="RET"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f9a2e75e-b063-4fe7-bfe3-1bbf3650228b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="067d00f1-f8b7-4679-9a6f-672f3e477d21"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_91c262e7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/output.json new file mode 100644 index 00000000..75d6ae0b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "2de12cef-f675-496f-bfb1-2caa49fd7b37", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "71ccdd69-4e1b-4867-8b40-51e5b465faf8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/15183369-d261-4f69-ba31-ff452dc8f096" + }, + "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": "15183369-d261-4f69-ba31-ff452dc8f096", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "29cd1d3d-56a0-42f1-b341-a5b275c1e08c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "11da98eb-4d88-41a2-bc9f-63519be2ad57", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_91c262e7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/output.xml new file mode 100644 index 00000000..9f8a2164 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2de12cef-f675-496f-bfb1-2caa49fd7b37"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.047.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="71ccdd69-4e1b-4867-8b40-51e5b465faf8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/15183369-d261-4f69-ba31-ff452dc8f096"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="15183369-d261-4f69-ba31-ff452dc8f096"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08454982"/> + </coding> + <text value="Pramipexol Hexal 1,05 MG RET 30ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="29cd1d3d-56a0-42f1-b341-a5b275c1e08c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="11da98eb-4d88-41a2-bc9f-63519be2ad57"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/input.xml new file mode 100644 index 00000000..82c44910 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/input.xml @@ -0,0 +1,383 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="91c262e7-390e-4136-8243-7a68a4418d34"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.047.95"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/123b2135-fc42-4e62-8467-41ef9153a2ae"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="123b2135-fc42-4e62-8467-41ef9153a2ae"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/952f25b4-a28e-4f06-ae76-a99cf1cbd457"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/952f25b4-a28e-4f06-ae76-a99cf1cbd457"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="952f25b4-a28e-4f06-ae76-a99cf1cbd457"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b6869241-3d4b-4472-9933-1fee15a426f7"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/b6869241-3d4b-4472-9933-1fee15a426f7"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b6869241-3d4b-4472-9933-1fee15a426f7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08454982"/> + </coding> + <text value="Pramipexol Hexal 1,05 MG RET 30ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus BKK"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.json new file mode 100644 index 00000000..4a5fe038 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "d69ca653-106a-4d30-8324-92697209a76b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "dfe0121a-7187-4919-83b0-e85feb455f20", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8b1ad3b7-c51c-43ad-8028-b7d74fc44239" + }, + "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": "8b1ad3b7-c51c-43ad-8028-b7d74fc44239", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "af595fc1-cfbb-4018-8839-e534a0e27644", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "80e8873a-db9a-4fd3-aa0c-f1ca08e0e804", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_91c262e7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.xml new file mode 100644 index 00000000..80b9b6ff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d69ca653-106a-4d30-8324-92697209a76b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.047.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="dfe0121a-7187-4919-83b0-e85feb455f20"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8b1ad3b7-c51c-43ad-8028-b7d74fc44239"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8b1ad3b7-c51c-43ad-8028-b7d74fc44239"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08454982"/> + </coding> + <text value="Pramipexol Hexal 1,05 MG RET 30ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="af595fc1-cfbb-4018-8839-e534a0e27644"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="80e8873a-db9a-4fd3-aa0c-f1ca08e0e804"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_5702a4b8/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.json new file mode 100644 index 00000000..ca3de2a0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "ca904df9-2ee1-443b-981b-5089a9bfac45", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a5d02b79-5b63-43c5-a1b3-81935d2baec4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9d38882c-c6d2-4be4-b400-4cc52e0d9731" + }, + "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": "9d38882c-c6d2-4be4-b400-4cc52e0d9731", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "87f5b175-56fc-4c35-b2b6-b89d474e6a3a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "cb48f4b8-4663-4cbe-a689-49e8eab19584", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5702a4b8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.xml new file mode 100644 index 00000000..3e2f3cb0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ca904df9-2ee1-443b-981b-5089a9bfac45"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.048.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a5d02b79-5b63-43c5-a1b3-81935d2baec4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9d38882c-c6d2-4be4-b400-4cc52e0d9731"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9d38882c-c6d2-4be4-b400-4cc52e0d9731"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00659288"/> + </coding> + <text value="L Thyrox JOD Hexal 100/100 TAB 50 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="87f5b175-56fc-4c35-b2b6-b89d474e6a3a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cb48f4b8-4663-4cbe-a689-49e8eab19584"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index c4f54b48..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index eb595cdb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bb4ce485-667c-4f6a-bab2-fa2599eaa08b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.048.92"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6375ab4e-dbd6-415d-9987-f5d464e05fb8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/c91487ad-9ef3-4d3d-8207-a762d5eb0bc1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c91487ad-9ef3-4d3d-8207-a762d5eb0bc1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00659288"/> - </coding> - <text value="L Thyrox JOD Hexal 100/100 TAB 50 ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="10101d0f-3614-408f-9b10-b9bdc5f0f574"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="01d8ed1a-f6bd-447f-946f-06c69924d5a0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/input.xml new file mode 100644 index 00000000..26c5983b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5702a4b8-39a3-4183-9c38-99b749881781"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.048.92"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/21b527aa-97af-40f9-a88a-d6cf4f7e7e55"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="21b527aa-97af-40f9-a88a-d6cf4f7e7e55"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/0fbc885f-d376-4491-b86f-a04157394147"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/0fbc885f-d376-4491-b86f-a04157394147"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0fbc885f-d376-4491-b86f-a04157394147"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/cfadcd43-c146-4ec7-8bf8-04c09d1f5345"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/cfadcd43-c146-4ec7-8bf8-04c09d1f5345"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cfadcd43-c146-4ec7-8bf8-04c09d1f5345"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00659288"/> + </coding> + <text value="L Thyrox JOD Hexal 100/100 TAB 50 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/output.json new file mode 100644 index 00000000..55553e38 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "d5005b06-2167-4877-a6e4-96d977c05c2b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "87b1e727-8ead-4325-b506-e5b6b5e596cd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f8b57f2f-abe7-4732-bd18-2498c71b537a" + }, + "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": "f8b57f2f-abe7-4732-bd18-2498c71b537a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5ff8d42e-aa54-43ae-a558-da555ffd1348", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "004849c0-2a6f-4fcb-87ef-657f7702d4d0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5702a4b8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/output.xml new file mode 100644 index 00000000..2328032f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d5005b06-2167-4877-a6e4-96d977c05c2b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.048.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="87b1e727-8ead-4325-b506-e5b6b5e596cd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f8b57f2f-abe7-4732-bd18-2498c71b537a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f8b57f2f-abe7-4732-bd18-2498c71b537a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00659288"/> + </coding> + <text value="L Thyrox JOD Hexal 100/100 TAB 50 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5ff8d42e-aa54-43ae-a558-da555ffd1348"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="004849c0-2a6f-4fcb-87ef-657f7702d4d0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index e06b790a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index d2af0dee..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="68570de1-a052-476e-aea5-abb81a6a571c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.049.89"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0da8459d-551d-4db6-b1a0-6c0d53d35d70"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/e38bb6fb-af31-49a1-97f9-79f19b269ccf"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e38bb6fb-af31-49a1-97f9-79f19b269ccf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02850079"/> - </coding> - <text value="Arcoxia 90 mg 50 FTA"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="712ff189-7f57-40de-9aae-8ffb1ede0f59"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f12785c1-874e-4769-b3c7-274d1c5ad272"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_baac1cdd/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/output.json new file mode 100644 index 00000000..503818d9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "bc959bad-1812-4b9c-8219-bca7cfe526bf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f6eaae58-9993-41a3-b174-1c9c7700f033", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/90042b2c-81d4-473f-9c1d-077e18594687" + }, + "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": "90042b2c-81d4-473f-9c1d-077e18594687", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b3fd5d5b-bc9e-4918-843f-c3b7c465aca5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "017c0293-1b69-4e16-9f24-55609f8bbe11", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_baac1cdd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/output.xml new file mode 100644 index 00000000..d3aebf1b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bc959bad-1812-4b9c-8219-bca7cfe526bf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.049.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f6eaae58-9993-41a3-b174-1c9c7700f033"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/90042b2c-81d4-473f-9c1d-077e18594687"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="90042b2c-81d4-473f-9c1d-077e18594687"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02850079"/> + </coding> + <text value="Arcoxia 90 mg 50 FTA"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b3fd5d5b-bc9e-4918-843f-c3b7c465aca5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="017c0293-1b69-4e16-9f24-55609f8bbe11"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/input.xml new file mode 100644 index 00000000..27ed0009 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/input.xml @@ -0,0 +1,369 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="baac1cdd-1313-468f-9c9e-bde74acb308e"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.049.89"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/cb8f6636-f445-4263-b285-27cb5a2ac646"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="cb8f6636-f445-4263-b285-27cb5a2ac646"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/ab35643a-1809-48b0-9bfa-3d7b650631c2"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/ab35643a-1809-48b0-9bfa-3d7b650631c2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ab35643a-1809-48b0-9bfa-3d7b650631c2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/1a3c5152-ec87-41b9-82e7-52c40eef7ec3"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/1a3c5152-ec87-41b9-82e7-52c40eef7ec3"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1a3c5152-ec87-41b9-82e7-52c40eef7ec3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02850079"/> + </coding> + <text value="Arcoxia 90 mg 50 FTA"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.json new file mode 100644 index 00000000..cddd6baa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "1b0fe8f0-641f-4e61-9400-ec9f7ceab2b1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c9689fc7-9f76-4826-bd9b-34ba6bb3b478", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1482af71-8b4b-41e1-a3f2-11ce421ab441" + }, + "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": "1482af71-8b4b-41e1-a3f2-11ce421ab441", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "34b94a0b-81d0-4ba4-99c0-9aadbe4cf58f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a2fb2091-5565-463f-bf19-729de8d85bdf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_baac1cdd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.xml new file mode 100644 index 00000000..acdbec46 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1b0fe8f0-641f-4e61-9400-ec9f7ceab2b1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.049.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c9689fc7-9f76-4826-bd9b-34ba6bb3b478"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1482af71-8b4b-41e1-a3f2-11ce421ab441"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1482af71-8b4b-41e1-a3f2-11ce421ab441"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02850079"/> + </coding> + <text value="Arcoxia 90 mg 50 FTA"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="34b94a0b-81d0-4ba4-99c0-9aadbe4cf58f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a2fb2091-5565-463f-bf19-729de8d85bdf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_5f66314e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json new file mode 100644 index 00000000..f5e8b2a0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "89b878d0-ff37-49fa-8877-ca7642f15299", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "da7f78e9-396a-4cd9-b1de-35dd64de8236", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e2e31b22-cc33-41b5-b0cc-03168a1e7ccc" + }, + "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": "e2e31b22-cc33-41b5-b0cc-03168a1e7ccc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c26e82be-18c2-42f3-9a01-c562317676bb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "13d98713-ca41-4c8a-b6a4-58665b727afc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.xml new file mode 100644 index 00000000..218bed7e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.xml @@ -0,0 +1,223 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="89b878d0-ff37-49fa-8877-ca7642f15299"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="da7f78e9-396a-4cd9-b1de-35dd64de8236"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e2e31b22-cc33-41b5-b0cc-03168a1e7ccc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e2e31b22-cc33-41b5-b0cc-03168a1e7ccc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c26e82be-18c2-42f3-9a01-c562317676bb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="13d98713-ca41-4c8a-b6a4-58665b727afc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/output.json new file mode 100644 index 00000000..0381bc23 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "baefdc6e-c433-4353-bcd1-d1b96ea2fcdf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2fa03e4d-b6c6-4264-b505-331004542c51", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bfc2b0eb-3870-4671-81c5-b57249d4292a" + }, + "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": "bfc2b0eb-3870-4671-81c5-b57249d4292a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9bea40aa-e84e-4e69-a83d-092523b0bc13", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d645a900-003e-4626-b459-edcb15ad75e4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cd2e731a_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/output.xml new file mode 100644 index 00000000..1d9ab03f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/output.xml @@ -0,0 +1,223 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="baefdc6e-c433-4353-bcd1-d1b96ea2fcdf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2fa03e4d-b6c6-4264-b505-331004542c51"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bfc2b0eb-3870-4671-81c5-b57249d4292a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bfc2b0eb-3870-4671-81c5-b57249d4292a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9bea40aa-e84e-4e69-a83d-092523b0bc13"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d645a900-003e-4626-b459-edcb15ad75e4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index a89d7f52..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/output.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "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 deleted file mode 100644 index b5811fee..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/output.xml +++ /dev/null @@ -1,223 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ee308df9-d41d-49b2-baec-1ef9cd80cd22"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.008.18"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="286db490-247e-4b02-b7c4-f607741f533d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/e46fd88b-1de0-4b48-9544-d190115cfac1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <note> - <text value="Verwendung ohne Anlegen eines Verbandes"/> - </note> - <dosageInstruction> - <text value="3mal täglich dünn auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e46fd88b-1de0-4b48-9544-d190115cfac1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02090906"/> - </coding> - <text value="Fucidine® 20mg/g Creme 15g N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="CRE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="15"/> - </extension> - <unit value="g"/> - <system value="http://unitsofmeasure.org"/> - <code value="g"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5acf902f-842b-4031-be3a-835162d9bfce"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="42420e42-4007-4e6f-ae10-1b769e158fe9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/input.xml new file mode 100644 index 00000000..13d36b8d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/input.xml @@ -0,0 +1,425 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5f66314e-459a-41e9-a3d7-65c935a8be2c"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/d8c9c61e-49a4-4af8-a6dc-20afbecff2ba"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d8c9c61e-49a4-4af8-a6dc-20afbecff2ba"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/a3420913-2b33-4f66-b3df-85f1b06bb226"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/a3420913-2b33-4f66-b3df-85f1b06bb226"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a3420913-2b33-4f66-b3df-85f1b06bb226"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="2"/> + </valueCoding> + </extension> + <extension url="Unfalltag"> + <valueDate value="2021-04-01"/> + </extension> + <extension url="Unfallbetrieb"> + <valueString value="Arbeitsplatz"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + </insurance> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Payor_Type_KBV"/> + <code value="UK"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Alternative_IK"> + <valueIdentifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="120591802"/> + </valueIdentifier> + </extension> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="Unfallkasse NRW"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/output.json new file mode 100644 index 00000000..fd1c6fdd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "f00b744f-27f7-4515-b593-5d154088fca7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "dfa2f78a-7807-42fe-9dab-b9288aea6802", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2dcc89de-45b1-453b-864a-596ed783b2d3" + }, + "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": "2dcc89de-45b1-453b-864a-596ed783b2d3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ba5c9404-57fc-4db5-9d48-bb8cfbe4f061", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "24499ac0-96eb-446e-b800-60f45a773711", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/output.xml new file mode 100644 index 00000000..386857c1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/output.xml @@ -0,0 +1,223 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f00b744f-27f7-4515-b593-5d154088fca7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="dfa2f78a-7807-42fe-9dab-b9288aea6802"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2dcc89de-45b1-453b-864a-596ed783b2d3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2dcc89de-45b1-453b-864a-596ed783b2d3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ba5c9404-57fc-4db5-9d48-bb8cfbe4f061"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="24499ac0-96eb-446e-b800-60f45a773711"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_d390d0d3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.json new file mode 100644 index 00000000..95a2c4c6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "573b90ce-591e-475c-9ec6-877041cc69ec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "15a95252-1521-402a-89ad-06719766f2ae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bcfa5f14-c232-4f57-bf72-d9e412471b78" + }, + "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": "bcfa5f14-c232-4f57-bf72-d9e412471b78", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "e93fb8a5-72b2-48c3-b3ae-143ace51d890", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f260346c-a9dd-44be-a0c0-ec64a09b121f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d390d0d3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.xml new file mode 100644 index 00000000..82046de0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="573b90ce-591e-475c-9ec6-877041cc69ec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.054.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="15a95252-1521-402a-89ad-06719766f2ae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bcfa5f14-c232-4f57-bf72-d9e412471b78"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bcfa5f14-c232-4f57-bf72-d9e412471b78"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01358117"/> + </coding> + <text value="TD- Impfstoff"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="ISU"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e93fb8a5-72b2-48c3-b3ae-143ace51d890"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f260346c-a9dd-44be-a0c0-ec64a09b121f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 096b9f91..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 62256e7b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="dff1953b-9846-4e6f-ae68-4cb682411ed9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.054.74"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="817cddfe-42c6-412e-8df7-969d9588b744"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/14803305-f40a-4f62-8a77-443e26088795"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="14803305-f40a-4f62-8a77-443e26088795"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01358117"/> - </coding> - <text value="TD- Impfstoff"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="ISU"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="344f0122-3195-4120-a0ee-00de1101763d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="482ade72-1e59-433f-b035-0dadf4b97333"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/input.xml new file mode 100644 index 00000000..03beca32 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="d390d0d3-f3ac-486b-8ecf-99d281e6682c"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.054.74"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/8485fdc9-213f-4450-9e49-d5ff7040c688"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8485fdc9-213f-4450-9e49-d5ff7040c688"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/5dfce447-d18f-4b83-8ce9-af5824327594"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/5dfce447-d18f-4b83-8ce9-af5824327594"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5dfce447-d18f-4b83-8ce9-af5824327594"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/ffb8fc02-cf91-4ee5-8e7b-52252b769f90"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/ffb8fc02-cf91-4ee5-8e7b-52252b769f90"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ffb8fc02-cf91-4ee5-8e7b-52252b769f90"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01358117"/> + </coding> + <text value="TD- Impfstoff"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="ISU"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/output.json new file mode 100644 index 00000000..e3d37fe6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "0ee15ace-5bf6-4b62-9a45-b05d6130f73c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3f3123f8-23bc-46a1-b50e-6348a08bde5b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/15f031fe-bafa-40af-9dc8-74d47a77a10b" + }, + "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": "15f031fe-bafa-40af-9dc8-74d47a77a10b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "204a53b4-70cd-44b7-848a-31737717d3eb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c89df941-d977-4de0-95ad-285529619697", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d390d0d3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/output.xml new file mode 100644 index 00000000..dc21a100 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0ee15ace-5bf6-4b62-9a45-b05d6130f73c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.054.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3f3123f8-23bc-46a1-b50e-6348a08bde5b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/15f031fe-bafa-40af-9dc8-74d47a77a10b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="15f031fe-bafa-40af-9dc8-74d47a77a10b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01358117"/> + </coding> + <text value="TD- Impfstoff"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="ISU"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="204a53b4-70cd-44b7-848a-31737717d3eb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c89df941-d977-4de0-95ad-285529619697"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 08fbc25f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/output.json +++ /dev/null @@ -1,200 +0,0 @@ -{ - "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 deleted file mode 100644 index 1844bed5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="10ddea96-5aaa-458d-b0c4-2d91416d9d35"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.055.71"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="caa97c80-91d3-4b8d-be91-a53e1822fd91"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/7c3a3f9a-3945-49b9-a8da-29582ceda073"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7c3a3f9a-3945-49b9-a8da-29582ceda073"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02223997"/> - </coding> - <text value="Ramipril 10mg TAB Ratiopharm 50ST TAB"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0059e2dc-9cf5-4f23-a0be-68642abf5db6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="757299999"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Krankenhaus"/> - <telecom> - <system value="phone"/> - <value value="0309876543"/> - </telecom> - <telecom> - <system value="email"/> - <value value="krankenhaus@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Wegelystraße 3"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="3"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Wegelystraße"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="cc895850-9b54-4331-9159-bf527fc98478"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="159753527"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Mia Meyer"/> - <family value="Meyer"/> - <given value="Mia"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_a6949071/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/output.json new file mode 100644 index 00000000..8f1b1aa7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/output.json @@ -0,0 +1,200 @@ +{ + "resourceType": "Parameters", + "id": "8504a76f-3dd2-4bb1-a590-360163456520", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4d20d312-3474-4d37-af26-0700e3913251", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/de29c5c8-0b12-43b6-a008-4156cb45f8f1" + }, + "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": "de29c5c8-0b12-43b6-a008-4156cb45f8f1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fb8b83b1-4d40-4508-b48c-327178979444", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f5a06ae7-3355-4de5-afdf-ab5a36fb8e10", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a6949071/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/output.xml new file mode 100644 index 00000000..fe2133bd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8504a76f-3dd2-4bb1-a590-360163456520"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.055.71"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4d20d312-3474-4d37-af26-0700e3913251"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/de29c5c8-0b12-43b6-a008-4156cb45f8f1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="de29c5c8-0b12-43b6-a008-4156cb45f8f1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02223997"/> + </coding> + <text value="Ramipril 10mg TAB Ratiopharm 50ST TAB"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fb8b83b1-4d40-4508-b48c-327178979444"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f5a06ae7-3355-4de5-afdf-ab5a36fb8e10"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Mia Meyer"/> + <family value="Meyer"/> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/input.xml new file mode 100644 index 00000000..7caf8cd2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="a6949071-45a9-436c-9370-839de9fcf84d"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.055.71"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/90e08dd9-9395-42ca-9511-55a40ce1dc9c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="90e08dd9-9395-42ca-9511-55a40ce1dc9c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/2db909dc-6f84-4bf6-a0a3-5730d89f33a1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/2db909dc-6f84-4bf6-a0a3-5730d89f33a1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2db909dc-6f84-4bf6-a0a3-5730d89f33a1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a68b69ec-b11a-4777-b973-8eff372ba61e"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a68b69ec-b11a-4777-b973-8eff372ba61e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a68b69ec-b11a-4777-b973-8eff372ba61e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02223997"/> + </coding> + <text value="Ramipril 10mg TAB Ratiopharm 50ST TAB"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <name> + <use value="official"/> + <family value="Meyer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Meyer"/> + </extension> + </family> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin der Onkologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.json new file mode 100644 index 00000000..a77d8a71 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.json @@ -0,0 +1,200 @@ +{ + "resourceType": "Parameters", + "id": "2962cba1-80a8-4867-ad20-6869d728164a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "295c1c6f-7035-45e2-9081-b5b3f0249d44", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/901ac70f-454c-4142-b1b8-0bb25d4cc6c9" + }, + "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": "901ac70f-454c-4142-b1b8-0bb25d4cc6c9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "df3e80c0-36ca-44af-8237-15883e5a1c63", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "aac70e18-64e9-4d9c-8722-e39df9061170", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a6949071/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.xml new file mode 100644 index 00000000..faae6906 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2962cba1-80a8-4867-ad20-6869d728164a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.055.71"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="295c1c6f-7035-45e2-9081-b5b3f0249d44"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/901ac70f-454c-4142-b1b8-0bb25d4cc6c9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="901ac70f-454c-4142-b1b8-0bb25d4cc6c9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02223997"/> + </coding> + <text value="Ramipril 10mg TAB Ratiopharm 50ST TAB"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="df3e80c0-36ca-44af-8237-15883e5a1c63"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="aac70e18-64e9-4d9c-8722-e39df9061170"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Mia Meyer"/> + <family value="Meyer"/> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_414ca393/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.json new file mode 100644 index 00000000..931e49e8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "dfad7d9f-4c4b-4356-a249-4d156d7d2888", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b08da18a-827e-435b-967d-9fb9e43dd196", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b1e639d1-5098-4cfa-b535-fc9540e9c4d0" + }, + "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": "b1e639d1-5098-4cfa-b535-fc9540e9c4d0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3b7e9a0b-c866-4906-886d-93f833abc789", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "cc147f1e-e9bd-4b1a-bc92-7f4df3a670c7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_414ca393/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.xml new file mode 100644 index 00000000..dce5f77d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dfad7d9f-4c4b-4356-a249-4d156d7d2888"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.056.68"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b08da18a-827e-435b-967d-9fb9e43dd196"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b1e639d1-5098-4cfa-b535-fc9540e9c4d0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b1e639d1-5098-4cfa-b535-fc9540e9c4d0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10203603"/> + </coding> + <text value="ASPIRIN 500MG UEBERZ TABL, 20 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="UTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3b7e9a0b-c866-4906-886d-93f833abc789"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cc147f1e-e9bd-4b1a-bc92-7f4df3a670c7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 8b29ed20..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 43d0c9e2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bc08cd5c-19e5-41dd-809d-e8757c03fd30"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.056.68"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9b2fee5b-4c9f-4c38-957f-764386861c43"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/d744e44e-8237-44a4-a886-3dbc1057b3b6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="d744e44e-8237-44a4-a886-3dbc1057b3b6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10203603"/> - </coding> - <text value="ASPIRIN 500MG UEBERZ TABL, 20 St"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="UTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d8ab807f-5014-4b24-81c5-823035dbcd96"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="842ff6e2-a20e-4512-a82a-7bbf801f4e71"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/input.xml new file mode 100644 index 00000000..ea2a4293 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="414ca393-dde3-4082-9a3b-3752e629e4aa"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.056.68"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/1e33b2b8-770b-4dc2-8d73-74c1989540c4"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1e33b2b8-770b-4dc2-8d73-74c1989540c4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/c40ede18-da4b-11eb-8d19-0242ac130003"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/c40ede18-da4b-11eb-8d19-0242ac130003"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c40ede18-da4b-11eb-8d19-0242ac130003"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/125115cc-da48-11eb-8d19-0242ac130003"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/125115cc-da48-11eb-8d19-0242ac130003"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="125115cc-da48-11eb-8d19-0242ac130003"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10203603"/> + </coding> + <text value="ASPIRIN 500MG UEBERZ TABL, 20 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="UTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="SEL"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/output.json new file mode 100644 index 00000000..8733490e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "64cdc139-931e-404f-999c-ef9b13af6524", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f9a7a817-e657-46cc-96e8-d6719b9b1626", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1a372676-e971-4d24-80e7-15fb574b035a" + }, + "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": "1a372676-e971-4d24-80e7-15fb574b035a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "df06ecbf-d5c8-46a3-8363-27fe01827292", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "72a49b19-7fb1-468f-a2c3-5ac8fb2976ac", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_414ca393/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/output.xml new file mode 100644 index 00000000..f1f6c52a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="64cdc139-931e-404f-999c-ef9b13af6524"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.056.68"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f9a7a817-e657-46cc-96e8-d6719b9b1626"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1a372676-e971-4d24-80e7-15fb574b035a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1a372676-e971-4d24-80e7-15fb574b035a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10203603"/> + </coding> + <text value="ASPIRIN 500MG UEBERZ TABL, 20 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="UTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="df06ecbf-d5c8-46a3-8363-27fe01827292"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="72a49b19-7fb1-468f-a2c3-5ac8fb2976ac"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_3a1c45f8/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.json new file mode 100644 index 00000000..4730c163 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "662ab821-ccbd-4f41-b996-ce49faa61660", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "38bbc4c8-e7a6-4517-ad1d-86df552c3c54", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e525d8a2-0143-4ce8-8046-98a04e6ce96a" + }, + "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": "e525d8a2-0143-4ce8-8046-98a04e6ce96a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dba099a9-ae83-4bff-9ae3-cf33d176ca36", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e192f595-ee28-4a73-8354-7f965d8ed779", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3a1c45f8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.xml new file mode 100644 index 00000000..5f764572 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="662ab821-ccbd-4f41-b996-ce49faa61660"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.057.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="38bbc4c8-e7a6-4517-ad1d-86df552c3c54"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e525d8a2-0143-4ce8-8046-98a04e6ce96a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e525d8a2-0143-4ce8-8046-98a04e6ce96a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="15193430"/> + </coding> + <text value="CERAZETTE 75 Mikrogramm Filmtabletten (6X28St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dba099a9-ae83-4bff-9ae3-cf33d176ca36"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e192f595-ee28-4a73-8354-7f965d8ed779"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 1c64a6a3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 13f91554..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="855147c1-3679-43e0-83c1-6e901418902f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.057.65"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8b9d311c-b722-4cda-861b-edca6026a4ee"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/f39eab34-819b-43f9-93f5-7e8ad5c146f7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f39eab34-819b-43f9-93f5-7e8ad5c146f7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="15193430"/> - </coding> - <text value="CERAZETTE 75 Mikrogramm Filmtabletten (6X28St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b22e5736-bf35-4f1d-9578-6972675f808a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="9875b5b4-e93e-497e-8679-9ee74568c071"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/input.xml new file mode 100644 index 00000000..00c76fac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/input.xml @@ -0,0 +1,377 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="3a1c45f8-d959-43f0-8ac4-9959be746188"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.057.65"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/194c4345-6737-4e47-bb26-d13263bd5506"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="194c4345-6737-4e47-bb26-d13263bd5506"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/cde53d42-da4b-11eb-8d19-0242ac130003"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/cde53d42-da4b-11eb-8d19-0242ac130003"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cde53d42-da4b-11eb-8d19-0242ac130003"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/0be1bf02-da48-11eb-8d19-0242ac130003"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/0be1bf02-da48-11eb-8d19-0242ac130003"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0be1bf02-da48-11eb-8d19-0242ac130003"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="15193430"/> + </coding> + <text value="CERAZETTE 75 Mikrogramm Filmtabletten (6X28St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="SEL"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/output.json new file mode 100644 index 00000000..501fb361 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "dd8e9fca-1fc6-469c-afba-2d3d2a03c636", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "60bbf726-7d65-42f2-9e3c-6b0876c56050", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bac4b947-f01e-4618-8c1b-c44b53616f9b" + }, + "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": "bac4b947-f01e-4618-8c1b-c44b53616f9b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ef5801a8-ab3a-48ad-8449-6973e4dec395", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0b07eeba-f6c9-410f-8d77-e4a7dd66d440", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3a1c45f8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/output.xml new file mode 100644 index 00000000..b05bce2c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dd8e9fca-1fc6-469c-afba-2d3d2a03c636"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.057.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="60bbf726-7d65-42f2-9e3c-6b0876c56050"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bac4b947-f01e-4618-8c1b-c44b53616f9b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bac4b947-f01e-4618-8c1b-c44b53616f9b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="15193430"/> + </coding> + <text value="CERAZETTE 75 Mikrogramm Filmtabletten (6X28St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ef5801a8-ab3a-48ad-8449-6973e4dec395"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0b07eeba-f6c9-410f-8d77-e4a7dd66d440"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_2f97abb5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.json new file mode 100644 index 00000000..6b8c2c40 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "444a305d-4268-4ccf-9713-ee2129a601a9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a99ad8f3-4093-41f2-bba5-65ca7bdec6ab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/cd061bd4-941c-48da-938f-03b89f708cf9" + }, + "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": "cd061bd4-941c-48da-938f-03b89f708cf9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e53f76d2-1d39-4f8c-a6fc-97049c14997b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1cc3c27c-d7da-46ce-8b4c-8e745a7b3f12", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_2f97abb5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.xml new file mode 100644 index 00000000..cc8a3cb5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.xml @@ -0,0 +1,222 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="444a305d-4268-4ccf-9713-ee2129a601a9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a99ad8f3-4093-41f2-bba5-65ca7bdec6ab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/cd061bd4-941c-48da-938f-03b89f708cf9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cd061bd4-941c-48da-938f-03b89f708cf9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e53f76d2-1d39-4f8c-a6fc-97049c14997b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1cc3c27c-d7da-46ce-8b4c-8e745a7b3f12"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index b5527d49..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/output.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "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 deleted file mode 100644 index 1e1f2f1a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/output.xml +++ /dev/null @@ -1,222 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bc27f419-6043-4c14-ac44-eff3cfe24a03"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.004.30"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9a05b1f4-db5b-4679-9771-d692d77e1850"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/9150f626-39d2-4d52-9b98-77066f9a1b5e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <note> - <text value="Bitte auf Anwendung schulen"/> - </note> - <dispenseRequest> - <quantity> - <value value="2"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9150f626-39d2-4d52-9b98-77066f9a1b5e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00427833"/> - </coding> - <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="IHP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Diskus"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="704be6f5-9c44-4931-8ab7-462d127ffe3d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="75f79c09-9022-483a-8f4d-431e974a579d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/input.xml new file mode 100644 index 00000000..712a2c42 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/input.xml @@ -0,0 +1,475 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="2f97abb5-5b34-48c3-b380-8cb0d1b71796"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/70e4e747-a1e6-44cd-b91d-7cc2eef89c0c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="70e4e747-a1e6-44cd-b91d-7cc2eef89c0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="01"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <attester> + <mode value="legal"/> + <party> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </party> + </attester> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/877e9689-523e-46ca-aa78-8de34a023583"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="FOR_PractitionerRole"/> + </coding> + </code> + <entry> + <!-- Referenz auf ASV-Teamnummer --> + <reference value="PractitionerRole/cfa278d2-0b57-4889-a6a9-d3ff59983107"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/877e9689-523e-46ca-aa78-8de34a023583"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="877e9689-523e-46ca-aa78-8de34a023583"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/PractitionerRole/cfa278d2-0b57-4889-a6a9-d3ff59983107"/> + <resource> + <PractitionerRole xmlns="http://hl7.org/fhir"> + <id value="cfa278d2-0b57-4889-a6a9-d3ff59983107"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_PractitionerRole|1.1.0"/> + </meta> + <practitioner> + <reference value="Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + </practitioner> + <organization> + <identifier> + <system value="http://fhir.de/NamingSystem/asv/teamnummer"/> + <value value="001234567"/> + </identifier> + </organization> + </PractitionerRole> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <name> + <use value="official"/> + <family value="Fischer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Fischer"/> + </extension> + </family> + <given value="Alexander"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="04"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin"/> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Fachgruppennummer_ASV"/> + <code value="555555472"/> + </coding> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/output.json new file mode 100644 index 00000000..7b17d1e1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "b9d734b1-1f8f-4424-99eb-ee11031298ef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6bc45690-8de8-48aa-add2-86e378b91a16", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2781cecf-3313-4e8f-86eb-eea73010845f" + }, + "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": "2781cecf-3313-4e8f-86eb-eea73010845f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c8fc2575-ddd7-481d-8b6f-5a1a5792d200", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0dab8651-a4b7-4365-bb08-fdd5060281ad", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_2f97abb5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/output.xml new file mode 100644 index 00000000..a99fe370 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/output.xml @@ -0,0 +1,222 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b9d734b1-1f8f-4424-99eb-ee11031298ef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6bc45690-8de8-48aa-add2-86e378b91a16"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2781cecf-3313-4e8f-86eb-eea73010845f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2781cecf-3313-4e8f-86eb-eea73010845f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c8fc2575-ddd7-481d-8b6f-5a1a5792d200"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0dab8651-a4b7-4365-bb08-fdd5060281ad"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 13512f1f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/output.json +++ /dev/null @@ -1,211 +0,0 @@ -{ - "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 deleted file mode 100644 index bf8b50c1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/output.xml +++ /dev/null @@ -1,217 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5287e4ed-ba56-4248-9cc7-cacad267944a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.004.30"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="012e88be-fea0-49c2-9671-363637dbee6f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/dbb58b29-28f8-45d5-9554-d864cd86a4f3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <note> - <text value="Bitte auf Anwendung schulen"/> - </note> - <dispenseRequest> - <quantity> - <value value="2"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="dbb58b29-28f8-45d5-9554-d864cd86a4f3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00427833"/> - </coding> - <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="IHP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Diskus"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="35adb011-8c98-4df8-a7fc-4ad2ba511e68"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7f4498ca-c2f2-4b1c-8398-b2877264301e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="895268385"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Alexander Fischer"/> - <family value="Fischer"/> - <given value="Alexander"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_9ad99a8f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/output.json new file mode 100644 index 00000000..59c18469 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "478d8dd7-0b8a-4395-b187-fdba1f8f95e6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c52ee738-ae3b-4868-9f1c-9f9a20bfaf52", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4cdfd694-4a95-464c-aa4d-c70a27324f98" + }, + "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": "4cdfd694-4a95-464c-aa4d-c70a27324f98", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8cebc251-6295-45b3-a4e9-9602f3f5eb29", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "aedb04a3-3798-4db7-9d38-0e5eab10a78c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/output.xml new file mode 100644 index 00000000..8d3eaff5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/output.xml @@ -0,0 +1,217 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="478d8dd7-0b8a-4395-b187-fdba1f8f95e6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c52ee738-ae3b-4868-9f1c-9f9a20bfaf52"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4cdfd694-4a95-464c-aa4d-c70a27324f98"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4cdfd694-4a95-464c-aa4d-c70a27324f98"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8cebc251-6295-45b3-a4e9-9602f3f5eb29"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="aedb04a3-3798-4db7-9d38-0e5eab10a78c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="895268385"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Alexander Fischer"/> + <family value="Fischer"/> + <given value="Alexander"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/input.xml new file mode 100644 index 00000000..319bffdb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/input.xml @@ -0,0 +1,445 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9ad99a8f-6bce-4ab8-ada1-bb3063566c25"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/70e4e747-a1e6-44cd-b91d-7cc2eef89c0c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="70e4e747-a1e6-44cd-b91d-7cc2eef89c0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <attester> + <mode value="legal"/> + <party> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </party> + </attester> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/877e9689-523e-46ca-aa78-8de34a023583"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/877e9689-523e-46ca-aa78-8de34a023583"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="877e9689-523e-46ca-aa78-8de34a023583"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="895268385"/> + </identifier> + <name> + <use value="official"/> + <family value="Fischer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Fischer"/> + </extension> + </family> + <given value="Alexander"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="03"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Weiterbildungsassistent"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.json new file mode 100644 index 00000000..b27958b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "9e4bc9d2-e82e-4d09-afdf-aad92cd91b66", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "81d7c7d6-04c2-407a-8993-b9428a249571", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5152a6bc-03c2-448e-b95a-c37bf53f948c" + }, + "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": "5152a6bc-03c2-448e-b95a-c37bf53f948c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0202335c-1b23-4ff7-8be1-b9ed914ecdfa", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5b0efc1f-81f6-4503-b515-2d2578497140", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.xml new file mode 100644 index 00000000..cd8c332b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.xml @@ -0,0 +1,217 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9e4bc9d2-e82e-4d09-afdf-aad92cd91b66"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="81d7c7d6-04c2-407a-8993-b9428a249571"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5152a6bc-03c2-448e-b95a-c37bf53f948c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5152a6bc-03c2-448e-b95a-c37bf53f948c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0202335c-1b23-4ff7-8be1-b9ed914ecdfa"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5b0efc1f-81f6-4503-b515-2d2578497140"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="895268385"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Alexander Fischer"/> + <family value="Fischer"/> + <given value="Alexander"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_aea2f4c5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.json new file mode 100644 index 00000000..00ebf6f2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "4d312f8e-0206-485a-97e3-9061757ddce4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "69a640b8-093e-4ec7-85f4-cc6e544f4a35", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d2f481c9-98bd-4e99-8d3b-6059b395bc38" + }, + "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": "d2f481c9-98bd-4e99-8d3b-6059b395bc38", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b957e42e-65eb-4147-849e-95423dbf0743", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1c034e77-5342-4992-8759-5033b4cfeacd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.xml new file mode 100644 index 00000000..2c5349a2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4d312f8e-0206-485a-97e3-9061757ddce4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="69a640b8-093e-4ec7-85f4-cc6e544f4a35"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d2f481c9-98bd-4e99-8d3b-6059b395bc38"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d2f481c9-98bd-4e99-8d3b-6059b395bc38"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392039"/> + </coding> + <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b957e42e-65eb-4147-849e-95423dbf0743"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1c034e77-5342-4992-8759-5033b4cfeacd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 27b0fd93..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "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 deleted file mode 100644 index 475f923f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c806b0e8-28bd-4748-b6be-f236f73e944a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.001.39"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a5bed125-c21e-44d2-9f2a-08f3e2a5fb7b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/4f62f150-10e2-4864-bbf3-59d8c79970ac"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4f62f150-10e2-4864-bbf3-59d8c79970ac"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="05392039"/> - </coding> - <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="78881547-435f-4849-874d-d400a0a28bdb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="723333300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Psychiatrie und Psychotherapie"/> - <telecom> - <system value="phone"/> - <value value="030369258147"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d59d8057-677a-4ad7-a03a-21b9463f13f7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="582369858"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Emilia Becker"/> - <family value="Becker"/> - <given value="Emilia"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/input.xml new file mode 100644 index 00000000..7712cba0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/input.xml @@ -0,0 +1,368 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="aea2f4c5-675a-4d76-ab9b-7994c80b64ec"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/6aba4ca1-6bc9-47db-a58d-946b5ded26b7"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6aba4ca1-6bc9-47db-a58d-946b5ded26b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/7d871b93-e18c-4865-bad0-6b55196be46b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/7d871b93-e18c-4865-bad0-6b55196be46b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7d871b93-e18c-4865-bad0-6b55196be46b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="true"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a3ca01a4-92c1-422a-87d9-ef046e94527f"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a3ca01a4-92c1-422a-87d9-ef046e94527f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a3ca01a4-92c1-422a-87d9-ef046e94527f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392039"/> + </coding> + <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <name> + <use value="official"/> + <family value="Becker"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Becker"/> + </extension> + </family> + <given value="Emilia"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Psychiatrie und Psychotherapie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="06"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württember/BVG"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/output.json new file mode 100644 index 00000000..0e183b6f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "1a19cbac-d399-43ff-abdb-66e4846e2fe6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e637a9b1-f302-4300-8a92-9aadb095266f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b71783e0-6014-45e6-8ebd-e4f61fe28842" + }, + "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": "b71783e0-6014-45e6-8ebd-e4f61fe28842", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "06140041-8419-45b8-bdfd-f4c3c5f1ee48", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4c7d2c27-802e-4bae-bcbe-e00d4fb9420a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/output.xml new file mode 100644 index 00000000..5d538817 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1a19cbac-d399-43ff-abdb-66e4846e2fe6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e637a9b1-f302-4300-8a92-9aadb095266f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b71783e0-6014-45e6-8ebd-e4f61fe28842"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b71783e0-6014-45e6-8ebd-e4f61fe28842"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392039"/> + </coding> + <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="06140041-8419-45b8-bdfd-f4c3c5f1ee48"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4c7d2c27-802e-4bae-bcbe-e00d4fb9420a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index e3ab16cd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/output.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "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 deleted file mode 100644 index 185da167..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0097fa46-143f-4509-937b-4fe627b85e78"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.002.36"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="22a7d50f-93f8-4975-bf76-00ed4f253e63"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/010e0921-cdd8-46c5-8c1e-c188430f4452"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <text value="2mal tägl. 5ml"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="010e0921-cdd8-46c5-8c1e-c188430f4452"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08585997"/> - </coding> - <text value="Prospan® Hustensaft 100ml N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FLE"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="809ccb03-2a27-4a1b-a70e-af6528710439"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="687777700"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Kinderarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="09411234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Yorckstraße 15"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="15"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Yorckstraße"/> - </extension> - </line> - <line value="Hinterhaus"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Hinterhaus"/> - </extension> - </line> - <city value="Regensburg"/> - <postalCode value="93049"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="78d6eec5-3445-49e9-9703-7e77b3972391"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="456456534"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Maximilian Weber"/> - <family value="Weber"/> - <given value="Maximilian"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_0428d416/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/output.json new file mode 100644 index 00000000..eab9497c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "a63fbf85-3fb6-4de7-a9e0-d9323ae48342", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8d6b9d10-8632-48d5-8a04-17fd25281b60", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b869dba5-c9e4-4bc7-a29f-d48521ad1c20" + }, + "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": "b869dba5-c9e4-4bc7-a29f-d48521ad1c20", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "46943cfc-5fc9-4406-86be-7994e1e4ef68", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d3ce36cd-19b4-4568-a5c7-4fd172e2d2f7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/output.xml new file mode 100644 index 00000000..578e4e6b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a63fbf85-3fb6-4de7-a9e0-d9323ae48342"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8d6b9d10-8632-48d5-8a04-17fd25281b60"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b869dba5-c9e4-4bc7-a29f-d48521ad1c20"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b869dba5-c9e4-4bc7-a29f-d48521ad1c20"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="46943cfc-5fc9-4406-86be-7994e1e4ef68"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d3ce36cd-19b4-4568-a5c7-4fd172e2d2f7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/input.xml new file mode 100644 index 00000000..8874a825 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/input.xml @@ -0,0 +1,393 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="0428d416-149e-48a4-977c-394887b3d85c"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/a054c2f3-0123-4d33-a0b3-bedec2f7d1ea"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a054c2f3-0123-4d33-a0b3-bedec2f7d1ea"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/06dc1594-509a-4f4c-ada7-dfd477a02d86"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/06dc1594-509a-4f4c-ada7-dfd477a02d86"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="06dc1594-509a-4f4c-ada7-dfd477a02d86"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/f568397d-7ba2-46ac-904b-02caec933b42"/> + </medicationReference> + <subject> + <reference value="Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + </requester> + <insurance> + <reference value="Coverage/df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/f568397d-7ba2-46ac-904b-02caec933b42"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f568397d-7ba2-46ac-904b-02caec933b42"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119802"/> + </identifier> + <name> + <use value="official"/> + <family value="Erbprinzessin von und zu der Schimmelpfennig-Hammerschmidt Federmannssohn"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Erbprinzessin"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schimmelpfennig-Hammerschmidt Federmannssohn"/> + </extension> + </family> + <given value="Ingrid"/> + </name> + <birthDate value="2010-01-31"/> + <address> + <type value="both"/> + <line value="Anneliese- und Georg-von-Groscurth-Plaetzchen 149-C"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="149-C"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Anneliese- und Georg-von-Groscurth-Plaetzchen"/> + </extension> + </line> + <line value="5. OG - Hinterhof"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="5. OG - Hinterhof"/> + </extension> + </line> + <city value="Bad Homburg"/> + <postalCode value="60437"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <name> + <use value="official"/> + <family value="Weber"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Weber"/> + </extension> + </family> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Kinder- und Jugendmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + </beneficiary> + <period> + <end value="2040-04-01"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108416214"/> + </identifier> + <display value="AOK Bayern Die Gesundh."/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.json new file mode 100644 index 00000000..976032ef --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "88b352c8-2d5d-4800-ab80-95a68fec081e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2810288a-5e22-4d98-bce9-c3e33adcdaec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6288ce98-54fd-4ce6-b11c-d778e622ad49" + }, + "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": "6288ce98-54fd-4ce6-b11c-d778e622ad49", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "14f7786c-1ce7-44b5-b14f-a2ac8e09f3fe", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f820b4c7-4a22-496f-bf28-90302ccfa27b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.xml new file mode 100644 index 00000000..d4728ecf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="88b352c8-2d5d-4800-ab80-95a68fec081e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2810288a-5e22-4d98-bce9-c3e33adcdaec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6288ce98-54fd-4ce6-b11c-d778e622ad49"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6288ce98-54fd-4ce6-b11c-d778e622ad49"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="14f7786c-1ce7-44b5-b14f-a2ac8e09f3fe"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f820b4c7-4a22-496f-bf28-90302ccfa27b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 81bdbb92..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 08bbb3e1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="45f28601-2a6a-4d91-b6d5-85432c02c6b7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-03"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="f0483867-64e8-408d-8320-0d1b388df903"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/308f9df4-1a9c-44b8-825f-a35cdbf4d3d0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-03"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="308f9df4-1a9c-44b8-825f-a35cdbf4d3d0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10259495"/> - </coding> - <text value="FSME-IMMUN 0,5 ml Erwachsene"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2aaa40f7-50b6-4167-923c-7c07b4398e7c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="00fee32e-dd05-4b57-a84b-b38073f6bb30"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_914b7619/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/output.json new file mode 100644 index 00000000..5558e01d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "aff385bd-5e6b-4461-9fd6-51b669e9300b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a5a6c5c3-c184-4273-bb82-9b812f53a10f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/27881c04-c5db-49d1-9fb9-5335245176cf" + }, + "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": "27881c04-c5db-49d1-9fb9-5335245176cf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "e9568ce8-e3d4-4636-b9a0-3147a7bebee3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "bfbae82f-d1d7-490b-8df0-30c11ee5949d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/output.xml new file mode 100644 index 00000000..b14bcbe7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="aff385bd-5e6b-4461-9fd6-51b669e9300b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a5a6c5c3-c184-4273-bb82-9b812f53a10f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/27881c04-c5db-49d1-9fb9-5335245176cf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="27881c04-c5db-49d1-9fb9-5335245176cf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e9568ce8-e3d4-4636-b9a0-3147a7bebee3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bfbae82f-d1d7-490b-8df0-30c11ee5949d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/input.xml new file mode 100644 index 00000000..a864bee8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/input.xml @@ -0,0 +1,382 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="914b7619-621e-4270-a2b5-1cdf95c87d14"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/967f5e06-30ce-4229-9eff-4ac8514a87e9"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="967f5e06-30ce-4229-9eff-4ac8514a87e9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/06080621-7d27-448f-8c83-065dd25aa098"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/06080621-7d27-448f-8c83-065dd25aa098"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="06080621-7d27-448f-8c83-065dd25aa098"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/bd9c93a5-1172-4971-87a9-351504db765e"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2021-04-03"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/bd9c93a5-1172-4971-87a9-351504db765e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bd9c93a5-1172-4971-87a9-351504db765e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.json new file mode 100644 index 00000000..8207ba5f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "bbc4e00b-55f2-4c39-8dc2-ac44e054f093", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "83ca0bd0-87e7-455a-a3cd-50669f2814f5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0404f789-6501-4ceb-8647-8c5dab18ce02" + }, + "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": "0404f789-6501-4ceb-8647-8c5dab18ce02", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "acf2fe54-f2d9-4668-a61d-f588a070cb1e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6e6bb882-6f91-4279-9af0-f5d589d33acc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.xml new file mode 100644 index 00000000..f36345e7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bbc4e00b-55f2-4c39-8dc2-ac44e054f093"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="83ca0bd0-87e7-455a-a3cd-50669f2814f5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0404f789-6501-4ceb-8647-8c5dab18ce02"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0404f789-6501-4ceb-8647-8c5dab18ce02"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="acf2fe54-f2d9-4668-a61d-f588a070cb1e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6e6bb882-6f91-4279-9af0-f5d589d33acc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_5f66314e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.json new file mode 100644 index 00000000..639473c4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "763488dc-ea82-4ee1-ae84-7d02cad98c3f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4638c83c-8f66-4ca9-af2c-12e6a84b7c86", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/15d378fb-06ca-405f-8244-d722ac838546" + }, + "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": "15d378fb-06ca-405f-8244-d722ac838546", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ce6237a0-9283-4dbd-9912-2262f66776c3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d522dfcf-e71c-449d-8d99-de971c103f56", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.xml new file mode 100644 index 00000000..604f2236 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.xml @@ -0,0 +1,223 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="763488dc-ea82-4ee1-ae84-7d02cad98c3f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4638c83c-8f66-4ca9-af2c-12e6a84b7c86"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/15d378fb-06ca-405f-8244-d722ac838546"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="15d378fb-06ca-405f-8244-d722ac838546"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ce6237a0-9283-4dbd-9912-2262f66776c3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d522dfcf-e71c-449d-8d99-de971c103f56"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 4f38a60d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/output.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "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 deleted file mode 100644 index 0a850cbd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/output.xml +++ /dev/null @@ -1,223 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9d0a648c-adca-4b93-bfbf-3d16f6a7da09"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.008.18"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1a4cf12b-31d8-4eac-933c-6e7c20be605d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/aef3aea1-692d-498e-a07d-bde0c468f417"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <note> - <text value="Verwendung ohne Anlegen eines Verbandes"/> - </note> - <dosageInstruction> - <text value="3mal täglich dünn auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="aef3aea1-692d-498e-a07d-bde0c468f417"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02090906"/> - </coding> - <text value="Fucidine® 20mg/g Creme 15g N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="CRE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="15"/> - </extension> - <unit value="g"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="db2dbdbe-f423-40cd-8c90-a6773232bc5e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="34ff4602-8c6f-4db3-914b-6ac445a50c06"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/input.xml new file mode 100644 index 00000000..89a6d911 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/input.xml @@ -0,0 +1,425 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5f66314e-459a-41e9-a3d7-65c935a8be2c"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/d8c9c61e-49a4-4af8-a6dc-20afbecff2ba"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d8c9c61e-49a4-4af8-a6dc-20afbecff2ba"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/a3420913-2b33-4f66-b3df-85f1b06bb226"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/a3420913-2b33-4f66-b3df-85f1b06bb226"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a3420913-2b33-4f66-b3df-85f1b06bb226"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="2"/> + </valueCoding> + </extension> + <extension url="Unfalltag"> + <valueDate value="2024-11-27"/> + </extension> + <extension url="Unfallbetrieb"> + <valueString value="Arbeitsplatz"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + </insurance> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Payor_Type_KBV"/> + <code value="UK"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Alternative_IK"> + <valueIdentifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="120591802"/> + </valueIdentifier> + </extension> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="Unfallkasse NRW"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/output.json new file mode 100644 index 00000000..932b8423 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "6800abc8-ee1a-40d4-a2ee-e793350129de", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f64c6277-88dc-4cbe-8cd6-fb391bd903d3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bc348fd2-d2f0-497a-acfa-b1e2c2d5f43f" + }, + "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": "bc348fd2-d2f0-497a-acfa-b1e2c2d5f43f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1110d935-993e-4829-b99d-091dc442900f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8769a0c3-a17e-4933-a3da-4dbab31eee65", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/output.xml new file mode 100644 index 00000000..2a969354 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/output.xml @@ -0,0 +1,223 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6800abc8-ee1a-40d4-a2ee-e793350129de"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f64c6277-88dc-4cbe-8cd6-fb391bd903d3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bc348fd2-d2f0-497a-acfa-b1e2c2d5f43f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bc348fd2-d2f0-497a-acfa-b1e2c2d5f43f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1110d935-993e-4829-b99d-091dc442900f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8769a0c3-a17e-4933-a3da-4dbab31eee65"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index df70c308..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/output.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "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 deleted file mode 100644 index 48a09f3d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/output.xml +++ /dev/null @@ -1,223 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d1b3c25f-068d-4240-8bc3-a608392a5621"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.008.18"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9c5f89ea-90e4-4586-ac0d-122e183d8fe4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/aa3ea250-9496-4348-b66f-353fb15bb224"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <note> - <text value="Verwendung ohne Anlegen eines Verbandes"/> - </note> - <dosageInstruction> - <text value="3mal täglich dünn auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="aa3ea250-9496-4348-b66f-353fb15bb224"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02090906"/> - </coding> - <text value="Fucidine® 20mg/g Creme 15g N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="CRE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="15"/> - </extension> - <unit value="g"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5e8c84d4-aefb-40fa-b2f9-64069b21fb2c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2e96dce0-19c8-4174-b5b6-9f7eaf8a4c2f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_5f66314e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/output.json new file mode 100644 index 00000000..d00e2c99 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "0c2916d1-d369-4a56-97f6-adbfff3860dd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "39187f45-0f02-4773-90f4-19cd449cfa22", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/13b4bbb7-d467-422b-b648-1cfd5bd96902" + }, + "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": "13b4bbb7-d467-422b-b648-1cfd5bd96902", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8564cdb1-544b-4d02-b79a-1479550ae2cc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3e14e2be-8698-4a16-b3b9-54f758dcaf07", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/output.xml new file mode 100644 index 00000000..1edf09aa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/output.xml @@ -0,0 +1,223 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0c2916d1-d369-4a56-97f6-adbfff3860dd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="39187f45-0f02-4773-90f4-19cd449cfa22"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/13b4bbb7-d467-422b-b648-1cfd5bd96902"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="13b4bbb7-d467-422b-b648-1cfd5bd96902"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8564cdb1-544b-4d02-b79a-1479550ae2cc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3e14e2be-8698-4a16-b3b9-54f758dcaf07"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 015c4da6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "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 deleted file mode 100644 index 209bfc2f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="73dde0af-c487-4b29-a466-514ba161e5bd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9c3c4ac3-e258-476c-b71a-6f639ad6fd0d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/c190fda9-ac5b-4d99-9688-e1ae3ba57df9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c190fda9-ac5b-4d99-9688-e1ae3ba57df9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10259495"/> - </coding> - <text value="FSME-IMMUN 0,5 ml Erwachsene"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b718cea3-86c6-4810-a082-d3e0415a6371"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5d608ead-cf47-4655-ae24-220c49812c91"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_914b7619/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/output.json new file mode 100644 index 00000000..97457690 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "626a1125-3ec5-44e7-8069-65bed5129167", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "68d799c5-4260-4a2a-bef6-b317814e8141", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5911d87f-302b-4249-8f1c-6dac23b7e67c" + }, + "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": "5911d87f-302b-4249-8f1c-6dac23b7e67c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "60dae4ba-0ae9-4338-873b-d480d21b34ce", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "21f660e7-d3ac-410e-bb94-6e31dea73422", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/output.xml new file mode 100644 index 00000000..c5439668 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="626a1125-3ec5-44e7-8069-65bed5129167"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="68d799c5-4260-4a2a-bef6-b317814e8141"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5911d87f-302b-4249-8f1c-6dac23b7e67c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5911d87f-302b-4249-8f1c-6dac23b7e67c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="60dae4ba-0ae9-4338-873b-d480d21b34ce"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="21f660e7-d3ac-410e-bb94-6e31dea73422"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 04261f43..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "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 deleted file mode 100644 index be068704..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="8b4bfb2c-fb23-4651-8ad3-2aa7b3d7dda9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8952a0eb-c474-4bd3-a623-b62d7dff1aa7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/3a7c95dd-fac5-4b14-9f0b-67b7a0630abb"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3a7c95dd-fac5-4b14-9f0b-67b7a0630abb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10259495"/> - </coding> - <text value="FSME-IMMUN 0,5 ml Erwachsene"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d82695ca-9f96-4db6-809f-ebc797618662"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ee393144-cf10-4cf7-8a17-d08b50278b5a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_914b7619/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/output.json new file mode 100644 index 00000000..7d93894b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "2f1c5c69-04f1-436a-962f-baa657119c93", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7b2953c0-9dd9-470f-bcaa-3a73b2a55aad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6e137084-2f2b-449e-a360-ce4c53b30b42" + }, + "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": "6e137084-2f2b-449e-a360-ce4c53b30b42", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "d60fe8bf-e8a7-421c-ba84-c5fe51f83449", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d8f0c54d-c186-48ec-b852-83421d582596", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/output.xml new file mode 100644 index 00000000..51cdfccc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2f1c5c69-04f1-436a-962f-baa657119c93"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7b2953c0-9dd9-470f-bcaa-3a73b2a55aad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6e137084-2f2b-449e-a360-ce4c53b30b42"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6e137084-2f2b-449e-a360-ce4c53b30b42"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d60fe8bf-e8a7-421c-ba84-c5fe51f83449"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d8f0c54d-c186-48ec-b852-83421d582596"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_V1_VerordnungArzt_914b7619/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.json new file mode 100644 index 00000000..aed271f6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "f2790b9a-9fd3-447c-8636-79fe7659a58b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d5653a4d-21c0-44ae-b914-86779b7ee9b5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f7a9e5ec-c3be-4285-b762-d1110a20c6a9" + }, + "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": "f7a9e5ec-c3be-4285-b762-d1110a20c6a9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "b29acf88-e9f6-4600-a4e0-0e9e960370ae", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7d885d65-a544-4352-8e35-ba2177de9228", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.xml new file mode 100644 index 00000000..d73c4337 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f2790b9a-9fd3-447c-8636-79fe7659a58b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d5653a4d-21c0-44ae-b914-86779b7ee9b5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f7a9e5ec-c3be-4285-b762-d1110a20c6a9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f7a9e5ec-c3be-4285-b762-d1110a20c6a9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b29acf88-e9f6-4600-a4e0-0e9e960370ae"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7d885d65-a544-4352-8e35-ba2177de9228"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index d9f3f2c5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "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 deleted file mode 100644 index 9f4d3b1f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="56af13b8-45ff-48c1-9e83-00910b9f7d4c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9218bfe3-6eaa-448d-a830-53971de6bafe"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/d398dd83-f752-49a2-ba93-7d8a17ceacfc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="d398dd83-f752-49a2-ba93-7d8a17ceacfc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10259495"/> - </coding> - <text value="FSME-IMMUN 0,5 ml Erwachsene"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bea76f01-60c0-45f8-8b02-6d6c66bdd19b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d7be3d89-185a-4026-8311-c2787ecf4954"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/input.xml new file mode 100644 index 00000000..3536b1ea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/input.xml @@ -0,0 +1,373 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="914b7619-621e-4270-a2b5-1cdf95c87d14"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/967f5e06-30ce-4229-9eff-4ac8514a87e9"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="967f5e06-30ce-4229-9eff-4ac8514a87e9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/06080621-7d27-448f-8c83-065dd25aa098"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/06080621-7d27-448f-8c83-065dd25aa098"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="06080621-7d27-448f-8c83-065dd25aa098"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/bd9c93a5-1172-4971-87a9-351504db765e"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/bd9c93a5-1172-4971-87a9-351504db765e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bd9c93a5-1172-4971-87a9-351504db765e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/output.json new file mode 100644 index 00000000..8c79a114 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "b8620955-75e0-49fd-84c4-099ff682559f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "36c3d973-6f67-4f87-9ce7-d69b710f4905", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/beb3f565-8116-4f33-bab2-1796fc548f6b" + }, + "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": "beb3f565-8116-4f33-bab2-1796fc548f6b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "9e24b5f5-ec20-4dd4-bef9-649c9a6db5e0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b10d21a2-729a-4f8d-99f2-5763aa49881b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/output.xml new file mode 100644 index 00000000..7f25d028 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b8620955-75e0-49fd-84c4-099ff682559f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="36c3d973-6f67-4f87-9ce7-d69b710f4905"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/beb3f565-8116-4f33-bab2-1796fc548f6b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="beb3f565-8116-4f33-bab2-1796fc548f6b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9e24b5f5-ec20-4dd4-bef9-649c9a6db5e0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b10d21a2-729a-4f8d-99f2-5763aa49881b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/input.xml new file mode 100644 index 00000000..3536b1ea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/input.xml @@ -0,0 +1,373 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="914b7619-621e-4270-a2b5-1cdf95c87d14"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/967f5e06-30ce-4229-9eff-4ac8514a87e9"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="967f5e06-30ce-4229-9eff-4ac8514a87e9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/06080621-7d27-448f-8c83-065dd25aa098"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/06080621-7d27-448f-8c83-065dd25aa098"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="06080621-7d27-448f-8c83-065dd25aa098"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/bd9c93a5-1172-4971-87a9-351504db765e"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/bd9c93a5-1172-4971-87a9-351504db765e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bd9c93a5-1172-4971-87a9-351504db765e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.json new file mode 100644 index 00000000..5de2c4ee --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "853dba2d-5e1a-4000-8813-112ec7993590", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ed71c687-9abf-4250-950c-872ae7c99dc1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/26dc2c27-36f8-4ccf-b587-323c10a355b6" + }, + "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": "26dc2c27-36f8-4ccf-b587-323c10a355b6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "d0d6f4a6-6669-4103-9e21-e25ee45a4e97", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "63b57776-039b-41f1-9d35-d6d50dd4c305", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.xml new file mode 100644 index 00000000..27806da4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="853dba2d-5e1a-4000-8813-112ec7993590"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ed71c687-9abf-4250-950c-872ae7c99dc1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/26dc2c27-36f8-4ccf-b587-323c10a355b6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="26dc2c27-36f8-4ccf-b587-323c10a355b6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d0d6f4a6-6669-4103-9e21-e25ee45a4e97"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="63b57776-039b-41f1-9d35-d6d50dd4c305"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 3358978a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "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 deleted file mode 100644 index 1f50cbcd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="be8e2e2c-728c-4f71-a387-9342ce684e65"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0c6bf061-9e73-4106-8efb-1bbcf0a0ca62"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/355911fa-86fc-4d78-b30a-80bdc7fa544b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="355911fa-86fc-4d78-b30a-80bdc7fa544b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10259495"/> - </coding> - <text value="FSME-IMMUN 0,5 ml Erwachsene"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="88e35a7d-a9f6-490c-b248-4bd446900334"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1f9be95e-c049-4750-a7fd-47926b04b36c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_914b7619/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/output.json new file mode 100644 index 00000000..a190771f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "f74422df-5c09-40a4-9847-385c74190fe1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8df55970-4071-4111-a989-c34fbb3d8162", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0c4b8167-10af-4c8f-aa19-8536152c12b9" + }, + "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": "0c4b8167-10af-4c8f-aa19-8536152c12b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "6a206e83-dbb5-4bf5-897f-219fcc06dd7f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "36678a6d-c0b0-4175-82ba-f6526bb353e9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/output.xml new file mode 100644 index 00000000..8ce92c3d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f74422df-5c09-40a4-9847-385c74190fe1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8df55970-4071-4111-a989-c34fbb3d8162"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0c4b8167-10af-4c8f-aa19-8536152c12b9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0c4b8167-10af-4c8f-aa19-8536152c12b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6a206e83-dbb5-4bf5-897f-219fcc06dd7f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="36678a6d-c0b0-4175-82ba-f6526bb353e9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index fbfb0ae7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/output.json +++ /dev/null @@ -1,211 +0,0 @@ -{ - "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 deleted file mode 100644 index e7e8d1fa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/output.xml +++ /dev/null @@ -1,213 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="11769c6a-0e26-4f4f-8e6f-48f29e677d3d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b59848bc-d686-40d7-8f13-b338be73ec45"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/1659a1f0-70e1-4c15-88cd-2a4855888da7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1659a1f0-70e1-4c15-88cd-2a4855888da7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16332684"/> - </coding> - <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="af805909-4544-4b8d-8264-417dc8591b0a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="722222200"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> - <telecom> - <system value="phone"/> - <value value="030741852963"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6463498b-9f24-4ff6-a531-3ca458bcb04f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="167761816"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Prof. Dr. med Elias Wagner"/> - <family value="Wagner"/> - <given value="Elias"/> - <prefix value="Prof. Dr. med"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_753fff3b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/output.json new file mode 100644 index 00000000..e99d86c7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "85d82953-a2d7-4548-bd2a-fc4492803f30", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "abfb2319-487c-4649-b93b-9ea43b9a5143", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/19abb44e-b0d6-4b6d-a125-f962332ab7bf" + }, + "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": "19abb44e-b0d6-4b6d-a125-f962332ab7bf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "87468d87-2933-4080-99c7-fcd58f8d4404", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "632666ae-c88c-491a-a6ac-c40115d0351a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/output.xml new file mode 100644 index 00000000..b5cb5d67 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/output.xml @@ -0,0 +1,213 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="85d82953-a2d7-4548-bd2a-fc4492803f30"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="abfb2319-487c-4649-b93b-9ea43b9a5143"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/19abb44e-b0d6-4b6d-a125-f962332ab7bf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="19abb44e-b0d6-4b6d-a125-f962332ab7bf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="87468d87-2933-4080-99c7-fcd58f8d4404"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="632666ae-c88c-491a-a6ac-c40115d0351a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 846ee600..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/output.json +++ /dev/null @@ -1,211 +0,0 @@ -{ - "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 deleted file mode 100644 index aa369114..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/output.xml +++ /dev/null @@ -1,213 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="7479a5b1-6931-4bb5-b3cb-d5f6a8aa017a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9e12b2e2-40d8-42f7-a8ea-0d497f8adb8d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/4d14f382-08af-4160-8f7e-ecf3aa79ad5b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4d14f382-08af-4160-8f7e-ecf3aa79ad5b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16332684"/> - </coding> - <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="24ddaf3f-9d6b-4960-8e89-9b009b9e7981"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="722222200"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> - <telecom> - <system value="phone"/> - <value value="030741852963"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2fef023d-4489-4580-85e9-7dfca3541e68"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="167761816"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Prof. Dr. med Elias Wagner"/> - <family value="Wagner"/> - <given value="Elias"/> - <prefix value="Prof. Dr. med"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_753fff3b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/output.json new file mode 100644 index 00000000..f6389a52 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "4ad6febc-828f-4cc2-a5e1-789dc756201d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8a7e9b82-4081-4f52-b3e9-44c197843a74", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/90571fde-c04c-4452-ae19-90a3755eaa92" + }, + "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": "90571fde-c04c-4452-ae19-90a3755eaa92", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9bd676d1-a92c-49f8-b871-59cdb2f878b2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d9125b66-363e-4dd2-bdf4-1a642d35f4fc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/output.xml new file mode 100644 index 00000000..63e953d9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/output.xml @@ -0,0 +1,213 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4ad6febc-828f-4cc2-a5e1-789dc756201d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8a7e9b82-4081-4f52-b3e9-44c197843a74"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/90571fde-c04c-4452-ae19-90a3755eaa92"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="90571fde-c04c-4452-ae19-90a3755eaa92"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9bd676d1-a92c-49f8-b871-59cdb2f878b2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d9125b66-363e-4dd2-bdf4-1a642d35f4fc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_V1_VerordnungArzt_753fff3b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.json new file mode 100644 index 00000000..cf4c2ef1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "4abe5420-b735-413f-9e35-7372d17a0e47", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0bb0b578-f42e-4664-af82-df461656ca52", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c227eb75-5b54-4cd0-beb6-1fa8630a6174" + }, + "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": "c227eb75-5b54-4cd0-beb6-1fa8630a6174", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1a982a04-579e-4931-802e-d9a877fdde42", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4446f640-fc4e-46e1-a5bc-cd2e978c7bcd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.xml new file mode 100644 index 00000000..fb94d6e8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.xml @@ -0,0 +1,213 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4abe5420-b735-413f-9e35-7372d17a0e47"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0bb0b578-f42e-4664-af82-df461656ca52"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c227eb75-5b54-4cd0-beb6-1fa8630a6174"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c227eb75-5b54-4cd0-beb6-1fa8630a6174"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1a982a04-579e-4931-802e-d9a877fdde42"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4446f640-fc4e-46e1-a5bc-cd2e978c7bcd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 2804fbe9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/output.json +++ /dev/null @@ -1,211 +0,0 @@ -{ - "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 deleted file mode 100644 index a6d80a1e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/output.xml +++ /dev/null @@ -1,213 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4132b49d-cf58-426c-bb95-770503317e75"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b92728fd-3321-4d05-b6aa-dfd55c3c8ad9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/0b02e9bd-78af-4d50-a6c5-9f1026c18bd4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0b02e9bd-78af-4d50-a6c5-9f1026c18bd4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16332684"/> - </coding> - <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9715acf1-2e92-461e-aa08-0ad678845376"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="722222200"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> - <telecom> - <system value="phone"/> - <value value="030741852963"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="731f3b79-6cad-4f1a-ba4e-9eb9b330bd15"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="167761816"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Prof. Dr. med Elias Wagner"/> - <family value="Wagner"/> - <given value="Elias"/> - <prefix value="Prof. Dr. med"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_753fff3b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/output.json new file mode 100644 index 00000000..8c570c9a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "5e50ab28-9197-4e4f-852d-fd56c729360c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c1650d52-6de2-43f5-a3c3-f2d73ab06e45", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f4b159f5-3f0e-4d42-b75e-36cfe30ad76f" + }, + "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": "f4b159f5-3f0e-4d42-b75e-36cfe30ad76f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a8f4244d-0c9b-4506-8296-b0594eb369fc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9e9daf53-c4b6-469d-a4d8-272790f572c7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/output.xml new file mode 100644 index 00000000..7f6000a7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/output.xml @@ -0,0 +1,213 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5e50ab28-9197-4e4f-852d-fd56c729360c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c1650d52-6de2-43f5-a3c3-f2d73ab06e45"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f4b159f5-3f0e-4d42-b75e-36cfe30ad76f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f4b159f5-3f0e-4d42-b75e-36cfe30ad76f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a8f4244d-0c9b-4506-8296-b0594eb369fc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9e9daf53-c4b6-469d-a4d8-272790f572c7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/input.xml new file mode 100644 index 00000000..3a9c71be --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/input.xml @@ -0,0 +1,386 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="753fff3b-5373-4f8d-aa22-852792e799d8"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/607046ff-f07a-4093-8880-e7961c0e0ca8"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="607046ff-f07a-4093-8880-e7961c0e0ca8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/06c35aa5-d009-436f-aaba-93d835a2fe72"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/53dff04a-fa41-45cf-81bc-ce62629917ad"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/53dff04a-fa41-45cf-81bc-ce62629917ad"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53dff04a-fa41-45cf-81bc-ce62629917ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/704db507-79b4-44a1-84b8-344255ad7e36"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/704db507-79b4-44a1-84b8-344255ad7e36"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="704db507-79b4-44a1-84b8-344255ad7e36"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1984-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <name> + <use value="official"/> + <family value="Wagner"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Wagner"/> + </extension> + </family> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Gynäkologie und Geburtshilfe mit dem Schwerpunkt der gynäkologischen Endokrinologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/06c35aa5-d009-436f-aaba-93d835a2fe72"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="06c35aa5-d009-436f-aaba-93d835a2fe72"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="06"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Ludwigsburg-Bietigheim"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.json new file mode 100644 index 00000000..77ed4c64 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "e0cffd24-e7d8-4e0d-8ed6-98fe05cab8d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "eba23dee-c669-4722-9339-6d429c5867b5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/61ecae9c-4e4f-4654-95c1-c5a7a9bb1f0b" + }, + "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": "61ecae9c-4e4f-4654-95c1-c5a7a9bb1f0b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e4684609-59fb-4989-95b2-f446b295f5f5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5bb92c84-5f94-4700-8a19-11cf4630e3af", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.xml new file mode 100644 index 00000000..f2846ad6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.xml @@ -0,0 +1,213 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e0cffd24-e7d8-4e0d-8ed6-98fe05cab8d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="eba23dee-c669-4722-9339-6d429c5867b5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/61ecae9c-4e4f-4654-95c1-c5a7a9bb1f0b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="61ecae9c-4e4f-4654-95c1-c5a7a9bb1f0b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e4684609-59fb-4989-95b2-f446b295f5f5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5bb92c84-5f94-4700-8a19-11cf4630e3af"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 37d149e4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/output.json +++ /dev/null @@ -1,211 +0,0 @@ -{ - "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 deleted file mode 100644 index 0bdb15a3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/output.xml +++ /dev/null @@ -1,213 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="dc3ee448-09b1-420b-b4f1-53de46fa9fd2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="087c7019-6440-40d9-8a6e-bdf9a1246961"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/f2b3da0b-ce19-4dbd-b18f-9ca5009db106"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f2b3da0b-ce19-4dbd-b18f-9ca5009db106"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16332684"/> - </coding> - <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3e074fe1-7f41-4d20-9ded-bd7a867ac733"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="722222200"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> - <telecom> - <system value="phone"/> - <value value="030741852963"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="fbf9da40-1af3-4f56-84e5-8aa8ac2cfda8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="167761816"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Prof. Dr. med Elias Wagner"/> - <family value="Wagner"/> - <given value="Elias"/> - <prefix value="Prof. Dr. med"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/input.xml new file mode 100644 index 00000000..3a9c71be --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/input.xml @@ -0,0 +1,386 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="753fff3b-5373-4f8d-aa22-852792e799d8"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/607046ff-f07a-4093-8880-e7961c0e0ca8"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="607046ff-f07a-4093-8880-e7961c0e0ca8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/06c35aa5-d009-436f-aaba-93d835a2fe72"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/53dff04a-fa41-45cf-81bc-ce62629917ad"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/53dff04a-fa41-45cf-81bc-ce62629917ad"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53dff04a-fa41-45cf-81bc-ce62629917ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/704db507-79b4-44a1-84b8-344255ad7e36"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/704db507-79b4-44a1-84b8-344255ad7e36"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="704db507-79b4-44a1-84b8-344255ad7e36"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1984-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <name> + <use value="official"/> + <family value="Wagner"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Wagner"/> + </extension> + </family> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Gynäkologie und Geburtshilfe mit dem Schwerpunkt der gynäkologischen Endokrinologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/06c35aa5-d009-436f-aaba-93d835a2fe72"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="06c35aa5-d009-436f-aaba-93d835a2fe72"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="06"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Ludwigsburg-Bietigheim"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/output.json new file mode 100644 index 00000000..bcf5ac78 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "7a2b4f2b-1afd-4c94-aa5c-0df1c7a53a93", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a0367794-7cbc-40df-a575-5a93fd6a0216", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/865b04d8-deff-4ede-92b8-f1ab1b815d7e" + }, + "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": "865b04d8-deff-4ede-92b8-f1ab1b815d7e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b14fc489-7d8b-49d3-a12e-a9d019ef884a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "add09c06-e2eb-47f6-9df0-2fd43028b3a4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/output.xml new file mode 100644 index 00000000..12b60515 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/output.xml @@ -0,0 +1,213 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7a2b4f2b-1afd-4c94-aa5c-0df1c7a53a93"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a0367794-7cbc-40df-a575-5a93fd6a0216"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/865b04d8-deff-4ede-92b8-f1ab1b815d7e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="865b04d8-deff-4ede-92b8-f1ab1b815d7e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b14fc489-7d8b-49d3-a12e-a9d019ef884a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="add09c06-e2eb-47f6-9df0-2fd43028b3a4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index b1c512fa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "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 deleted file mode 100644 index 6182c53d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="14b48655-461e-43bc-895c-a4dd9d6073de"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.010.12"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="663e1225-458d-4bd5-8fee-918b2be422f6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2023-07-27"/> - <end value="2023-08-31"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/7a7074f6-4a42-47fa-a225-4a5467fb64d1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7a7074f6-4a42-47fa-a225-4a5467fb64d1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="cb85e303-7567-4c2b-950f-2d9f580e167b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6b885b4c-7b7a-4f42-a1f0-50c731b93bc3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_c44ddc5b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/output.json new file mode 100644 index 00000000..78837305 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "36152703-f8fb-4456-8175-bd9a0dcf9e86", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0cb0f12c-cfa3-45f0-a1b2-74c1f4911af4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/4ed871cf-2c07-4bd9-9c72-fa2ffca1c937" + }, + "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": "4ed871cf-2c07-4bd9-9c72-fa2ffca1c937", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "256b6bd5-c44c-43e6-8a65-269c836238df", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3c6df2a9-4344-48af-8937-da47c44881a4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/output.xml new file mode 100644 index 00000000..35f25e78 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="36152703-f8fb-4456-8175-bd9a0dcf9e86"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0cb0f12c-cfa3-45f0-a1b2-74c1f4911af4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2023-07-27"/> + <end value="2023-08-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4ed871cf-2c07-4bd9-9c72-fa2ffca1c937"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4ed871cf-2c07-4bd9-9c72-fa2ffca1c937"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="256b6bd5-c44c-43e6-8a65-269c836238df"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3c6df2a9-4344-48af-8937-da47c44881a4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_c44ddc5b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.json new file mode 100644 index 00000000..1cf284e7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "fa24a5fb-313d-4326-ad3d-2bdac79d9df7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4137e714-08a8-49a1-ae58-5537b79cfeb9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/57189896-4567-4bc5-a58f-f19a12fc2a92" + }, + "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": "57189896-4567-4bc5-a58f-f19a12fc2a92", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5a7abe22-498d-4a84-948b-870287167b52", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "79d3d8e7-d7a4-498f-b7f1-7e07df4576e2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.xml new file mode 100644 index 00000000..fc0063d4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fa24a5fb-313d-4326-ad3d-2bdac79d9df7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4137e714-08a8-49a1-ae58-5537b79cfeb9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-27"/> + <end value="2024-12-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/57189896-4567-4bc5-a58f-f19a12fc2a92"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="57189896-4567-4bc5-a58f-f19a12fc2a92"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5a7abe22-498d-4a84-948b-870287167b52"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="79d3d8e7-d7a4-498f-b7f1-7e07df4576e2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 051c953b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "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 deleted file mode 100644 index e9fc0518..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ed826199-f544-49eb-a71c-27326542a58e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.010.12"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a237a907-a586-457e-b0df-59bb9f8efa58"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-11-27"/> - <end value="2024-12-31"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/eea8d81a-51a7-4995-b3a1-0cfaecd36275"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="eea8d81a-51a7-4995-b3a1-0cfaecd36275"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="45cb3821-7ed8-4b9b-86a7-bc5d9a5371ed"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="97e17d3e-e311-4c09-a552-b71dbab6cc60"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/input.xml new file mode 100644 index 00000000..6fab64ce --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c44ddc5b-21f5-4ce3-995d-ab5ca2633154"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/a77cc2f2-5574-4292-b1b5-2633b7989970"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a77cc2f2-5574-4292-b1b5-2633b7989970"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/00a18271-c4fd-40b6-93a2-d913e51dded6"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/00a18271-c4fd-40b6-93a2-d913e51dded6"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="00a18271-c4fd-40b6-93a2-d913e51dded6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-11-27"/> + <end value="2024-12-31"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/output.json new file mode 100644 index 00000000..8449f4d6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "3488bc2e-afcb-4cd8-998f-381c8868a0f7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5d1a6346-e300-446b-ac8e-27bd57b47363", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/4299168e-427d-4ed3-acbd-c5b16cd489af" + }, + "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": "4299168e-427d-4ed3-acbd-c5b16cd489af", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ac0232fa-6126-45c1-82ce-5d2a2c81da37", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "081c5d62-90f0-4aef-b934-22054ce9caa1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/output.xml new file mode 100644 index 00000000..b776535e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3488bc2e-afcb-4cd8-998f-381c8868a0f7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5d1a6346-e300-446b-ac8e-27bd57b47363"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-27"/> + <end value="2024-12-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4299168e-427d-4ed3-acbd-c5b16cd489af"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4299168e-427d-4ed3-acbd-c5b16cd489af"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ac0232fa-6126-45c1-82ce-5d2a2c81da37"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="081c5d62-90f0-4aef-b934-22054ce9caa1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index c454e902..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "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 deleted file mode 100644 index b822301c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="301a581a-51e9-48a2-ba79-a57d67b45230"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.015.94"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e69433e6-49ac-4cec-978e-0ede8ba2a07b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="2"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2025-01-15"/> - <end value="2025-02-28"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/ba51a99f-0ee0-412f-8fcb-cd43722652f3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ba51a99f-0ee0-412f-8fcb-cd43722652f3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="96b1fbc8-4283-4f47-b198-64cb45362fba"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="41269acb-0019-4765-b361-246e02c1674f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_7031f7f3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/output.json new file mode 100644 index 00000000..7a5efc09 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "ea1d1f14-cec4-427f-86a6-cec5a2ee57d8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a49ace7e-ff06-456c-a418-d8073945ebee", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/62c2f1a4-35bb-4a17-84f1-e1f8a407e652" + }, + "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": "62c2f1a4-35bb-4a17-84f1-e1f8a407e652", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2dec290d-01fe-446a-a62e-8c34c968734d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4fabb5e0-2453-4af4-8c57-a4b298b67f8b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/output.xml new file mode 100644 index 00000000..e30af6de --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ea1d1f14-cec4-427f-86a6-cec5a2ee57d8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a49ace7e-ff06-456c-a418-d8073945ebee"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-01-15"/> + <end value="2025-02-28"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/62c2f1a4-35bb-4a17-84f1-e1f8a407e652"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="62c2f1a4-35bb-4a17-84f1-e1f8a407e652"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2dec290d-01fe-446a-a62e-8c34c968734d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4fabb5e0-2453-4af4-8c57-a4b298b67f8b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/input.xml new file mode 100644 index 00000000..d428c22c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7031f7f3-cf51-4e77-82d7-b9bdb0a5959f"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/d9e03f5a-9b53-4f21-b0d6-c7e86fdee0c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d9e03f5a-9b53-4f21-b0d6-c7e86fdee0c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/68794d6d-2b05-4d5e-aaf1-49b4b6430104"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/68794d6d-2b05-4d5e-aaf1-49b4b6430104"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="68794d6d-2b05-4d5e-aaf1-49b4b6430104"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2025-01-15"/> + <end value="2025-02-28"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.json new file mode 100644 index 00000000..c3d87bd6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "acfaf7f4-a15e-4da8-8933-514741e1ecd9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "59663ff8-a915-4d7e-aa3c-d3978dec0403", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/83d79b78-3c40-41e0-9797-bfb93eb32fec" + }, + "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": "83d79b78-3c40-41e0-9797-bfb93eb32fec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "639a629e-5784-410e-af4d-242aac03b33f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a86662da-d164-4c3a-b089-6d2507b0ed4d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.xml new file mode 100644 index 00000000..eaf167f2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="acfaf7f4-a15e-4da8-8933-514741e1ecd9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="59663ff8-a915-4d7e-aa3c-d3978dec0403"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-01-15"/> + <end value="2025-02-28"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/83d79b78-3c40-41e0-9797-bfb93eb32fec"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="83d79b78-3c40-41e0-9797-bfb93eb32fec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="639a629e-5784-410e-af4d-242aac03b33f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a86662da-d164-4c3a-b089-6d2507b0ed4d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 3826329a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "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 deleted file mode 100644 index 1278bdd0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="720f0d95-bc1c-4e48-97f9-a28d1932b7ea"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.015.94"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="793e4588-c1fc-4f01-80a9-1314ad257e11"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="2"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2023-09-15"/> - <end value="2023-10-30"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/ece20aa1-0d0a-4759-9ac8-9120293d3993"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ece20aa1-0d0a-4759-9ac8-9120293d3993"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b1116917-f161-4a70-a678-b5cabe33f8b3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="99e2c5e1-b395-4e9f-9c38-386afb747576"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_7031f7f3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/output.json new file mode 100644 index 00000000..bafb7d31 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "47110a69-d7ff-4034-9b61-b1a78ef0431e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2a08c775-3ef8-4a7c-8826-e2861d29fd08", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/06e7dfb5-c2c4-4dd5-9125-57e344a803ac" + }, + "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": "06e7dfb5-c2c4-4dd5-9125-57e344a803ac", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e32915aa-ae75-4d08-971d-c7fbf6ceed86", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "26e80591-af89-4961-b83b-d98f13a95f76", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/output.xml new file mode 100644 index 00000000..1df6c4ef --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="47110a69-d7ff-4034-9b61-b1a78ef0431e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2a08c775-3ef8-4a7c-8826-e2861d29fd08"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2023-09-15"/> + <end value="2023-10-30"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/06e7dfb5-c2c4-4dd5-9125-57e344a803ac"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="06e7dfb5-c2c4-4dd5-9125-57e344a803ac"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e32915aa-ae75-4d08-971d-c7fbf6ceed86"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="26e80591-af89-4961-b83b-d98f13a95f76"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 11feacbf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "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 deleted file mode 100644 index 61232dc3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4474f7d6-5444-434c-9133-5ecbe67eef0a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.016.91"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c06ea8cc-667a-41c2-915b-f56ba00611cb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="3"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2025-03-15"/> - <end value="2025-04-30"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/3d13d82c-1d79-4a9b-be4e-5071ecce016a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3d13d82c-1d79-4a9b-be4e-5071ecce016a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0cb0f545-bb10-4234-beda-4e408f872596"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b729b5b6-1e95-4cee-abee-3bd75cbd2090"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_f70585e0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/output.json new file mode 100644 index 00000000..09ba51dc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "a8542cef-c7cc-42c4-a226-bc5fa422db65", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8e746ec1-4f7f-431c-a3ad-3d36706fa9ec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/49978a3e-14f6-499f-a840-3ed0fd31df7f" + }, + "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": "49978a3e-14f6-499f-a840-3ed0fd31df7f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ef81d4f5-1239-4109-af96-ffb9ee837b80", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7eb2201c-07a6-4a2b-95f2-988ffb20bc11", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/output.xml new file mode 100644 index 00000000..daf88926 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a8542cef-c7cc-42c4-a226-bc5fa422db65"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8e746ec1-4f7f-431c-a3ad-3d36706fa9ec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-03-15"/> + <end value="2025-04-30"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/49978a3e-14f6-499f-a840-3ed0fd31df7f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="49978a3e-14f6-499f-a840-3ed0fd31df7f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ef81d4f5-1239-4109-af96-ffb9ee837b80"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7eb2201c-07a6-4a2b-95f2-988ffb20bc11"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 28c102d1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "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 deleted file mode 100644 index a7f095d8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="57bd7756-1ece-415e-9c5b-d3e56f445461"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.016.91"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0695de7f-9a44-4dfa-ab77-b82498e08be5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="3"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2023-10-15"/> - <end value="2023-12-31"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/283ea6c0-eef5-47d2-90e8-99fc218b8094"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="283ea6c0-eef5-47d2-90e8-99fc218b8094"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a8e501f5-7874-4ffa-b8b8-586c39f711d4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f167ddb5-18e0-4746-9762-1b9083ce847d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_f70585e0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/output.json new file mode 100644 index 00000000..4aae9af1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "c9901077-b0cc-44c4-9372-f134c42a19b0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e08a1513-2e6d-4255-826c-08f3f753d489", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/c8706274-d2ae-480c-84f0-ee38c82cbb57" + }, + "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": "c8706274-d2ae-480c-84f0-ee38c82cbb57", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bd7ac526-20dc-42ae-8605-99697d722eda", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b76ab86d-a8fc-4de1-bc93-d57047eb733a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/output.xml new file mode 100644 index 00000000..fba615e7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c9901077-b0cc-44c4-9372-f134c42a19b0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e08a1513-2e6d-4255-826c-08f3f753d489"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2023-10-15"/> + <end value="2023-12-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c8706274-d2ae-480c-84f0-ee38c82cbb57"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c8706274-d2ae-480c-84f0-ee38c82cbb57"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bd7ac526-20dc-42ae-8605-99697d722eda"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b76ab86d-a8fc-4de1-bc93-d57047eb733a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/input.xml new file mode 100644 index 00000000..91b01984 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="f70585e0-82f9-4d3d-b248-94504ccf6a66"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/1868bb7c-c1a6-48a6-a327-05ff8d24c64a"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1868bb7c-c1a6-48a6-a327-05ff8d24c64a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/76b5767d-55a5-4233-8f85-e15a24a5193a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/76b5767d-55a5-4233-8f85-e15a24a5193a"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="76b5767d-55a5-4233-8f85-e15a24a5193a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2025-03-15"/> + <end value="2025-04-30"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.json new file mode 100644 index 00000000..8c88ac1e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "9d2b7f8a-6197-4295-bbb3-0fd7550da5f5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5112d33d-c630-473c-9750-3fda54e037fd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/029d86d8-aaee-4b93-acf8-9ef74c367d66" + }, + "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": "029d86d8-aaee-4b93-acf8-9ef74c367d66", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "747a417f-0561-47d2-9276-027eeb879d91", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e7251fbc-1c31-4dd9-9e0c-1d9ae2c05e72", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.xml new file mode 100644 index 00000000..322bb701 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9d2b7f8a-6197-4295-bbb3-0fd7550da5f5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5112d33d-c630-473c-9750-3fda54e037fd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-03-15"/> + <end value="2025-04-30"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/029d86d8-aaee-4b93-acf8-9ef74c367d66"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="029d86d8-aaee-4b93-acf8-9ef74c367d66"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="747a417f-0561-47d2-9276-027eeb879d91"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e7251fbc-1c31-4dd9-9e0c-1d9ae2c05e72"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_15da065c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.json new file mode 100644 index 00000000..4c8d5d4a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "c03bace2-348b-44ac-b27f-108f079f870b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "036d5f66-315f-4a9e-920b-060b15d59464", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/0539471d-824b-48df-8b71-bc5a3e781676" + }, + "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": "0539471d-824b-48df-8b71-bc5a3e781676", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d305714e-72f5-4094-9f37-de299aa12a14", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "da961eab-2c69-4a59-8475-b0dee5fae844", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.xml new file mode 100644 index 00000000..87befd05 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c03bace2-348b-44ac-b27f-108f079f870b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="036d5f66-315f-4a9e-920b-060b15d59464"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-04-01"/> + <end value="2025-07-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0539471d-824b-48df-8b71-bc5a3e781676"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0539471d-824b-48df-8b71-bc5a3e781676"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d305714e-72f5-4094-9f37-de299aa12a14"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="da961eab-2c69-4a59-8475-b0dee5fae844"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 241aa5c0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "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 deleted file mode 100644 index d2212b25..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="438bae6b-3e3f-4be2-96fd-ac9f2067241f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.017.88"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2eeef5dd-5faa-4058-9b0c-5e687f33b1c4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2025-04-01"/> - <end value="2025-07-31"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/545f553f-daa9-41c9-b982-03fa577c3947"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="545f553f-daa9-41c9-b982-03fa577c3947"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6956de1b-9675-42cc-babe-075502d05235"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4284b7ea-8ec3-4ae0-88e8-1cf53111dbc1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/input.xml new file mode 100644 index 00000000..ba394bca --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="15da065c-5b75-4acf-a2ba-1355de821d6e"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/f62c91e7-e280-4d32-961b-b07168ab47d7"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f62c91e7-e280-4d32-961b-b07168ab47d7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/1e923204-6866-4030-a460-2ce5bd9db26b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/1e923204-6866-4030-a460-2ce5bd9db26b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1e923204-6866-4030-a460-2ce5bd9db26b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2025-04-01"/> + <end value="2025-07-31"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/output.json new file mode 100644 index 00000000..55e5b1a4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "f100cf4e-0057-48ce-aa23-1af085192710", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "67d03b09-ce08-4484-8256-f079656d30d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/279bb040-40c0-4edb-8590-99cb3ea9106b" + }, + "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": "279bb040-40c0-4edb-8590-99cb3ea9106b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "11daa6ae-ce0b-4cc7-be6d-2f1e5165ddd1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3e20b314-52cd-4220-b9c3-d3892a4ab584", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/output.xml new file mode 100644 index 00000000..acc2df8e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f100cf4e-0057-48ce-aa23-1af085192710"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="67d03b09-ce08-4484-8256-f079656d30d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-04-01"/> + <end value="2025-07-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/279bb040-40c0-4edb-8590-99cb3ea9106b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="279bb040-40c0-4edb-8590-99cb3ea9106b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="11daa6ae-ce0b-4cc7-be6d-2f1e5165ddd1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3e20b314-52cd-4220-b9c3-d3892a4ab584"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index ec9201ad..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "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 deleted file mode 100644 index 68bde5e1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="94137fee-aa62-4d07-97e8-c1ec7d5e9658"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.017.88"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="615454de-aa05-4ede-b509-8962eff89b4f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2023-12-01"/> - <end value="2024-03-31"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/255accfa-31d9-409b-975c-19d6e4699f83"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="255accfa-31d9-409b-975c-19d6e4699f83"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ad25fcd8-37a3-4ded-9f30-a5969b4fac98"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f73771ca-8a49-427e-a4b8-8dec35f072ce"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_15da065c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/output.json new file mode 100644 index 00000000..0a69396e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "e3bb77ce-aefc-4853-928a-ad66a0220def", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "87351807-f095-457f-bc0c-9d1c8a536720", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/27a3d2ad-794c-4d80-92fc-8e5f0ba5542f" + }, + "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": "27a3d2ad-794c-4d80-92fc-8e5f0ba5542f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "53f9a097-1b5b-4697-aa07-6ceded9ddba6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "cc7ff55e-ff6f-4220-baf3-e1e1fb41d843", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/output.xml new file mode 100644 index 00000000..06a6c3b5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e3bb77ce-aefc-4853-928a-ad66a0220def"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="87351807-f095-457f-bc0c-9d1c8a536720"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2023-12-01"/> + <end value="2024-03-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/27a3d2ad-794c-4d80-92fc-8e5f0ba5542f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="27a3d2ad-794c-4d80-92fc-8e5f0ba5542f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="53f9a097-1b5b-4697-aa07-6ceded9ddba6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cc7ff55e-ff6f-4220-baf3-e1e1fb41d843"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 5366d5a0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/output.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "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 deleted file mode 100644 index 71c21b21..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="16489c9e-6b35-457f-a96d-22a1710c6d43"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.003.33"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1380f9f4-5e2e-402c-a7c7-c3693053df45"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/c4623257-7704-4589-ab4d-3ded865cc764"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dosageInstruction> - <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c4623257-7704-4589-ab4d-3ded865cc764"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03386388"/> - </coding> - <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SUP"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e0339db0-0555-4e11-8ea5-d22c3c0a452b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="687777700"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Kinderarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="09411234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Yorckstraße 15"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="15"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Yorckstraße"/> - </extension> - </line> - <line value="Hinterhaus"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Hinterhaus"/> - </extension> - </line> - <city value="Regensburg"/> - <postalCode value="93049"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2eb4dc24-3981-4f34-80da-d1ccc8ea0ddb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="456456534"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Maximilian Weber"/> - <family value="Weber"/> - <given value="Maximilian"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_690a7f01/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/output.json new file mode 100644 index 00000000..958cf99a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "90bd8e39-2f4a-48ec-b41d-febfb6aa1eb7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "16c8bc75-b07d-4966-a93a-bb5b2160410d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a14d1e98-cf31-45fb-a7e6-d53675e08709" + }, + "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": "a14d1e98-cf31-45fb-a7e6-d53675e08709", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "01e4bc40-5521-41fa-884b-b229418422e8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "45d62b56-197c-4a51-82f4-30df2f74ab01", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/output.xml new file mode 100644 index 00000000..01011f23 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="90bd8e39-2f4a-48ec-b41d-febfb6aa1eb7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="16c8bc75-b07d-4966-a93a-bb5b2160410d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a14d1e98-cf31-45fb-a7e6-d53675e08709"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a14d1e98-cf31-45fb-a7e6-d53675e08709"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUP"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="01e4bc40-5521-41fa-884b-b229418422e8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="45d62b56-197c-4a51-82f4-30df2f74ab01"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index b277136e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/output.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "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 deleted file mode 100644 index 66d0f276..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6442b691-0d95-460c-a86f-a2f7d541d527"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.003.33"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="23abac5b-f4c4-4cac-b64b-8b1bb7300617"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/70c0982c-4694-4057-add3-6cc9dc972d1b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dosageInstruction> - <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="70c0982c-4694-4057-add3-6cc9dc972d1b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03386388"/> - </coding> - <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SUP"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="015d7024-a4e6-4de6-b903-965a0d75e131"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="687777700"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Kinderarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="09411234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Yorckstraße 15"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="15"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Yorckstraße"/> - </extension> - </line> - <line value="Hinterhaus"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Hinterhaus"/> - </extension> - </line> - <city value="Regensburg"/> - <postalCode value="93049"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6948599f-2fba-4af2-9200-2417d68dd922"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="456456534"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Maximilian Weber"/> - <family value="Weber"/> - <given value="Maximilian"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_690a7f01/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/output.json new file mode 100644 index 00000000..729e9ebb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "2e424265-201b-44d2-8bb4-64b07a58f64a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "99112591-8358-4502-9f21-52e2d286a74d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b9ed7287-1a77-40a0-8537-61b61afc4c7e" + }, + "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": "b9ed7287-1a77-40a0-8537-61b61afc4c7e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b56a7b63-e7c7-4a94-b20d-a6641a23e591", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d5f2df67-0274-46eb-a6be-20058c41b3a7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/output.xml new file mode 100644 index 00000000..185e466c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2e424265-201b-44d2-8bb4-64b07a58f64a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="99112591-8358-4502-9f21-52e2d286a74d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b9ed7287-1a77-40a0-8537-61b61afc4c7e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b9ed7287-1a77-40a0-8537-61b61afc4c7e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUP"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b56a7b63-e7c7-4a94-b20d-a6641a23e591"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d5f2df67-0274-46eb-a6be-20058c41b3a7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/input.xml new file mode 100644 index 00000000..a077c818 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/input.xml @@ -0,0 +1,379 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="690a7f01-058e-492a-b1dc-d6d8c8a30a59"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/8c5aad28-6029-452d-8f97-0bf213b1a0e3"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8c5aad28-6029-452d-8f97-0bf213b1a0e3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/e538cd5e-883e-4645-af3a-49352fece39b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/76696615-4c18-410e-bcf9-382590c6df3b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/e538cd5e-883e-4645-af3a-49352fece39b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e538cd5e-883e-4645-af3a-49352fece39b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="true"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a0da7cea-dd87-45ab-988d-0f7c26bd3d0b"/> + </medicationReference> + <subject> + <reference value="Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + </requester> + <insurance> + <reference value="Coverage/76696615-4c18-410e-bcf9-382590c6df3b"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a0da7cea-dd87-45ab-988d-0f7c26bd3d0b"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a0da7cea-dd87-45ab-988d-0f7c26bd3d0b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUP"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119814"/> + </identifier> + <name> + <use value="official"/> + <family value="Klein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Klein"/> + </extension> + </family> + <given value="Teddy"/> + </name> + <birthDate value="2020-02-29"/> + <address> + <type value="both"/> + <line value="Roritzerstraße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Roritzerstraße"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93047"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <name> + <use value="official"/> + <family value="Weber"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Weber"/> + </extension> + </family> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Kinder- und Jugendmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/76696615-4c18-410e-bcf9-382590c6df3b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="76696615-4c18-410e-bcf9-382590c6df3b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108416214"/> + </identifier> + <display value="AOK Bayern"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.json new file mode 100644 index 00000000..5aa77adb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "1df537af-6302-40a1-aae8-9e591598c5f5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "66f98e44-30eb-42c2-879e-1e8707037503", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ddb4c0df-c1be-4364-9190-7fb0393f8016" + }, + "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": "ddb4c0df-c1be-4364-9190-7fb0393f8016", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2b4ac9ec-4717-4931-a117-6a0c45baa11d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1d19290b-4294-4fe7-b15b-200b0ed0e6cb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.xml new file mode 100644 index 00000000..dcb7d1a7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1df537af-6302-40a1-aae8-9e591598c5f5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="66f98e44-30eb-42c2-879e-1e8707037503"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ddb4c0df-c1be-4364-9190-7fb0393f8016"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ddb4c0df-c1be-4364-9190-7fb0393f8016"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUP"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2b4ac9ec-4717-4931-a117-6a0c45baa11d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1d19290b-4294-4fe7-b15b-200b0ed0e6cb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index e1835ce3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/output.json +++ /dev/null @@ -1,213 +0,0 @@ -{ - "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 deleted file mode 100644 index 39fe1754..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="08de8f6d-1259-4ff0-82cd-288c53ee531e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.764.737.300.50"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-30"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6c3c2936-60fc-4e97-b26f-8d3db63d4152"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/ba0649bc-99d8-45da-b8d6-f0fde713ae43"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-30"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ba0649bc-99d8-45da-b8d6-f0fde713ae43"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="12"/> - </extension> - <unit value="TAB"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ea327e77-cb05-4d3e-8a82-b34a57d1c892"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="031234567"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis Dr. Topp-Glücklich"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Musterstr. 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Musterstr."/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e4629638-ef13-4cf8-af0d-a07c744811d4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="838382202"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Hans Topp-Glücklich"/> - <family value="Topp-Glücklich"/> - <given value="Hans"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_281a985c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/output.json new file mode 100644 index 00000000..50e5b47c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/output.json @@ -0,0 +1,213 @@ +{ + "resourceType": "Parameters", + "id": "08cd5cfe-41c5-4fc9-b0bc-a1bae3084d61", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3c374fa2-5d80-4e5d-a1e4-805d7d408a59", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2a46225e-e859-484a-95b1-c7506984ee1f" + }, + "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": "2a46225e-e859-484a-95b1-c7506984ee1f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d309828a-d325-49a7-b589-c26697f00186", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f92dd5b2-a3d6-4799-8fae-a50f421a0690", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_281a985c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/output.xml new file mode 100644 index 00000000..bacc0298 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="08cd5cfe-41c5-4fc9-b0bc-a1bae3084d61"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-30"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3c374fa2-5d80-4e5d-a1e4-805d7d408a59"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2a46225e-e859-484a-95b1-c7506984ee1f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-30"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2a46225e-e859-484a-95b1-c7506984ee1f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="TAB"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d309828a-d325-49a7-b589-c26697f00186"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="031234567"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis Dr. Topp-Glücklich"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Musterstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr."/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f92dd5b2-a3d6-4799-8fae-a50f421a0690"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="838382202"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Hans Topp-Glücklich"/> + <family value="Topp-Glücklich"/> + <given value="Hans"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/input.xml new file mode 100644 index 00000000..8f4a2acf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/input.xml @@ -0,0 +1,414 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="281a985c-f25b-4aae-91a6-41ad744080b0"/> + <meta> + <lastUpdated value="2024-11-30T09:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-30T09:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Composition/ed52c1e3-b700-4497-ae19-b23744e29876"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ed52c1e3-b700-4497-ae19-b23744e29876"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811"/> + </subject> + <date value="2024-11-30T09:30:00Z"/> + <author> + <reference value="Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/1910/36/346"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/cf042e44-086a-4d51-9c77-172f9a972e3b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/e930cdee-9eb5-4b44-88b5-2a18b69f3b9a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/1b1ffb6e-eb05-43d7-87eb-e7818fe9661a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="FOR_PractitionerRole"/> + </coding> + </code> + <entry> + <reference value="PractitionerRole/9a4090f8-8c5a-11ea-bc55-0242ac13000"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/MedicationRequest/e930cdee-9eb5-4b44-88b5-2a18b69f3b9a"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e930cdee-9eb5-4b44-88b5-2a18b69f3b9a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5fe6e06c-8725-46d5-aecd-e65e041ca3de"/> + </medicationReference> + <subject> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811"/> + </subject> + <authoredOn value="2024-11-30"/> + <requester> + <reference value="Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3"/> + </requester> + <insurance> + <reference value="Coverage/1b1ffb6e-eb05-43d7-87eb-e7818fe9661a"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Medication/5fe6e06c-8725-46d5-aecd-e65e041ca3de"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5fe6e06c-8725-46d5-aecd-e65e041ca3de"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="12"/> + </extension> + <unit value="TAB"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Patient/9774f67f-a238-4daf-b4e6-679deeef3811"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="9774f67f-a238-4daf-b4e6-679deeef3811"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567891"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Musterstr. 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr."/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="20597e0e-cb2a-45b3-95f0-dc3dbdb617c3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="838382202"/> + </identifier> + <name> + <use value="official"/> + <family value="Topp-Glücklich"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Topp-Glücklich"/> + </extension> + </family> + <given value="Hans"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Hausarzt"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Organization/cf042e44-086a-4d51-9c77-172f9a972e3b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cf042e44-086a-4d51-9c77-172f9a972e3b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="031234567"/> + </identifier> + <name value="Hausarztpraxis Dr. Topp-Glücklich"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Musterstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr."/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Coverage/1b1ffb6e-eb05-43d7-87eb-e7818fe9661a"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b1ffb6e-eb05-43d7-87eb-e7818fe9661a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="03"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="AOK Rheinland/Hamburg"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/PractitionerRole/9a4090f8-8c5a-11ea-bc55-0242ac13000"/> + <resource> + <PractitionerRole xmlns="http://hl7.org/fhir"> + <id value="9a4090f8-8c5a-11ea-bc55-0242ac13000"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_PractitionerRole|1.1.0"/> + </meta> + <practitioner> + <reference value="Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3"/> + </practitioner> + <organization> + <identifier> + <system value="http://fhir.de/NamingSystem/asv/teamnummer"/> + <value value="003456789"/> + </identifier> + </organization> + </PractitionerRole> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.json new file mode 100644 index 00000000..c67f99b9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.json @@ -0,0 +1,213 @@ +{ + "resourceType": "Parameters", + "id": "c68bd720-d130-4e15-b8c1-a0854beb55fa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b8b80cf2-58fc-47a6-8a5b-09e6998409a2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a69a97a1-be75-4924-8a9b-b7ca11bc58c0" + }, + "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": "a69a97a1-be75-4924-8a9b-b7ca11bc58c0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "58b66cd5-9115-4457-8b6a-67c70dde613d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a1d4281d-6b66-45a9-9cde-c4277db1ce6a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_281a985c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.xml new file mode 100644 index 00000000..bb1ab491 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c68bd720-d130-4e15-b8c1-a0854beb55fa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-30"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b8b80cf2-58fc-47a6-8a5b-09e6998409a2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a69a97a1-be75-4924-8a9b-b7ca11bc58c0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-30"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a69a97a1-be75-4924-8a9b-b7ca11bc58c0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="TAB"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="58b66cd5-9115-4457-8b6a-67c70dde613d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="031234567"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis Dr. Topp-Glücklich"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Musterstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr."/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a1d4281d-6b66-45a9-9cde-c4277db1ce6a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="838382202"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Hans Topp-Glücklich"/> + <family value="Topp-Glücklich"/> + <given value="Hans"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index c9ae7f1c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/output.json +++ /dev/null @@ -1,213 +0,0 @@ -{ - "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 deleted file mode 100644 index 59a87452..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9123419b-ff7c-45d8-89a0-07b4aa3d12d7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.764.737.300.50"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-30"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d5c6a4b6-e703-4c43-82a5-fe2037bf07d1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/69ed06c2-3956-4159-9313-a5a5eb7b9582"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-30"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="69ed06c2-3956-4159-9313-a5a5eb7b9582"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="12"/> - </extension> - <unit value="TAB"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="529eb19c-f2a5-4ea0-866e-3242050d6e2d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="031234567"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis Dr. Topp-Glücklich"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Musterstr. 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Musterstr."/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d4c0e15d-ea8e-4b14-bf86-db5183b4e70d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="838382202"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Hans Topp-Glücklich"/> - <family value="Topp-Glücklich"/> - <given value="Hans"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_281a985c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/output.json new file mode 100644 index 00000000..54d9ddb3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/output.json @@ -0,0 +1,213 @@ +{ + "resourceType": "Parameters", + "id": "1474272e-919e-417a-b39f-3fad7445654a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d41bbd27-c539-4dd3-85bf-c1864e90b84b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c732c7a0-fa28-4f36-a0d2-f1457d70063c" + }, + "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": "c732c7a0-fa28-4f36-a0d2-f1457d70063c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "afc890c5-a17c-44b5-a64a-4c64c4a3bfaa", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "52856f6b-908a-4202-bec7-907f1bbd6c68", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_281a985c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/output.xml new file mode 100644 index 00000000..2ba0b946 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1474272e-919e-417a-b39f-3fad7445654a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-30"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d41bbd27-c539-4dd3-85bf-c1864e90b84b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c732c7a0-fa28-4f36-a0d2-f1457d70063c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-30"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c732c7a0-fa28-4f36-a0d2-f1457d70063c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="TAB"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="afc890c5-a17c-44b5-a64a-4c64c4a3bfaa"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="031234567"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis Dr. Topp-Glücklich"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Musterstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr."/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="52856f6b-908a-4202-bec7-907f1bbd6c68"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="838382202"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Hans Topp-Glücklich"/> + <family value="Topp-Glücklich"/> + <given value="Hans"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_aea2f4c5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.json new file mode 100644 index 00000000..3d4dfa41 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "3ff254ba-8b34-4b08-bce9-fc5f4303449f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "070deef0-ab06-4e61-aac5-17fafc3b4770", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3543667d-b215-4446-9475-9b75fb621746" + }, + "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": "3543667d-b215-4446-9475-9b75fb621746", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f9c57655-ff14-4b8b-9002-ef57786922df", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "050aeab8-aeb8-42bc-907f-b32e5b81d5e8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.xml new file mode 100644 index 00000000..2572b749 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3ff254ba-8b34-4b08-bce9-fc5f4303449f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="070deef0-ab06-4e61-aac5-17fafc3b4770"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3543667d-b215-4446-9475-9b75fb621746"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3543667d-b215-4446-9475-9b75fb621746"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392039"/> + </coding> + <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f9c57655-ff14-4b8b-9002-ef57786922df"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="050aeab8-aeb8-42bc-907f-b32e5b81d5e8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 212c79ea..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "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 deleted file mode 100644 index 4cdd6c65..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bcffbf63-62f9-40e0-83f7-f88edde3b449"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.001.39"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="581fbfd2-f1b2-4b6a-a3e1-6a551123ede4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/8028db42-8b4c-4136-bd0e-485be7995663"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8028db42-8b4c-4136-bd0e-485be7995663"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="05392039"/> - </coding> - <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="61946651-9b89-481f-a217-9a0db52814d8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="723333300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Psychiatrie und Psychotherapie"/> - <telecom> - <system value="phone"/> - <value value="030369258147"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="40de9302-3504-46cd-bf68-6fae4501f07a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="582369858"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Emilia Becker"/> - <family value="Becker"/> - <given value="Emilia"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_aea2f4c5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/output.json new file mode 100644 index 00000000..fce17df2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "9d597a87-1a31-472e-89d8-5c7d3ac8043d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f9ff4125-29b4-4774-8981-cd17941f8ece", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/645bfb44-30d7-4d93-bc20-f512d1417db2" + }, + "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": "645bfb44-30d7-4d93-bc20-f512d1417db2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b609e2ba-1c37-43c2-a50d-e784d7ba1afb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "786c5013-5a8a-4424-89c4-b9084e595546", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/output.xml new file mode 100644 index 00000000..846e573b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9d597a87-1a31-472e-89d8-5c7d3ac8043d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f9ff4125-29b4-4774-8981-cd17941f8ece"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/645bfb44-30d7-4d93-bc20-f512d1417db2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="645bfb44-30d7-4d93-bc20-f512d1417db2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392039"/> + </coding> + <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b609e2ba-1c37-43c2-a50d-e784d7ba1afb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="786c5013-5a8a-4424-89c4-b9084e595546"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 01df3b51..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "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 deleted file mode 100644 index bdc7ee5b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d639673c-384b-4e54-bc9e-154b84773569"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.001.39"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7a04ade6-1bea-47f0-8c9f-79d7627749db"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/aa28ef9e-5241-4732-8271-beca0ef0028a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="aa28ef9e-5241-4732-8271-beca0ef0028a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="05392039"/> - </coding> - <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="11494b10-c4da-42ef-9e28-901d7884e5fc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="723333300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Psychiatrie und Psychotherapie"/> - <telecom> - <system value="phone"/> - <value value="030369258147"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4c1c5eee-af30-4fd2-a94a-4249223ef120"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="582369858"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Emilia Becker"/> - <family value="Becker"/> - <given value="Emilia"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/input.xml new file mode 100644 index 00000000..d6e768b7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/input.xml @@ -0,0 +1,368 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="aea2f4c5-675a-4d76-ab9b-7994c80b64ec"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/6aba4ca1-6bc9-47db-a58d-946b5ded26b7"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6aba4ca1-6bc9-47db-a58d-946b5ded26b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/7d871b93-e18c-4865-bad0-6b55196be46b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/7d871b93-e18c-4865-bad0-6b55196be46b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7d871b93-e18c-4865-bad0-6b55196be46b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="true"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a3ca01a4-92c1-422a-87d9-ef046e94527f"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a3ca01a4-92c1-422a-87d9-ef046e94527f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a3ca01a4-92c1-422a-87d9-ef046e94527f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392039"/> + </coding> + <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <name> + <use value="official"/> + <family value="Becker"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Becker"/> + </extension> + </family> + <given value="Emilia"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Psychiatrie und Psychotherapie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="06"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Ludwigsburg-Bietigheim"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/output.json new file mode 100644 index 00000000..c394a722 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "acaef213-5757-4873-8761-6c39cbe8c666", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1cc8a787-27b8-484a-ad05-ef5aa57aaa87", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2327bac9-51d0-4256-9c57-3510c61f99da" + }, + "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": "2327bac9-51d0-4256-9c57-3510c61f99da", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6b6183c4-69b2-435e-bd34-722ce62b0832", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "63cf6439-4888-40f2-9eb2-fc4f0752fd49", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/output.xml new file mode 100644 index 00000000..997d8141 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="acaef213-5757-4873-8761-6c39cbe8c666"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1cc8a787-27b8-484a-ad05-ef5aa57aaa87"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2327bac9-51d0-4256-9c57-3510c61f99da"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2327bac9-51d0-4256-9c57-3510c61f99da"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392039"/> + </coding> + <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6b6183c4-69b2-435e-bd34-722ce62b0832"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="63cf6439-4888-40f2-9eb2-fc4f0752fd49"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_44420ed9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.json new file mode 100644 index 00000000..c2996e63 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.json @@ -0,0 +1,203 @@ +{ + "resourceType": "Parameters", + "id": "8139b304-c7aa-49d0-864c-549285dccf72", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7ba16616-3a78-4019-9297-f94dc0108aea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bf850a64-1bcb-45f0-a73e-4c0763a2f35c" + }, + "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": "bf850a64-1bcb-45f0-a73e-4c0763a2f35c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "32ffdfa7-7b4e-4a86-b793-f2e378da6a5a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "cc268fdc-4207-47be-8a73-39d7a1bef839", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.xml new file mode 100644 index 00000000..9f2c5488 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8139b304-c7aa-49d0-864c-549285dccf72"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7ba16616-3a78-4019-9297-f94dc0108aea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bf850a64-1bcb-45f0-a73e-4c0763a2f35c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bf850a64-1bcb-45f0-a73e-4c0763a2f35c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="32ffdfa7-7b4e-4a86-b793-f2e378da6a5a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cc268fdc-4207-47be-8a73-39d7a1bef839"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index c95a1ed5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/output.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "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 deleted file mode 100644 index 1359448e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9ac0942e-124b-4849-8d89-6640c76476ac"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.006.24"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b0e7ff23-8049-4b1a-969a-9d1e954a3e11"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/31b2df59-cedf-427c-9acd-18e545739de8"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="31b2df59-cedf-427c-9acd-18e545739de8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00814665"/> - </coding> - <text value="Januvia® 50 mg 28 Filmtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3893d5a5-10b0-4794-9db5-1db1b9d459f8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6d02036f-e243-49a0-bdcd-c2fa62553153"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/input.xml new file mode 100644 index 00000000..fad486a6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/input.xml @@ -0,0 +1,384 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="44420ed9-7388-4be5-acc5-9c124fad9f34"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin mit dem Schwerpunkt Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost - Die Gesundheitskasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/output.json new file mode 100644 index 00000000..9be284e4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/output.json @@ -0,0 +1,203 @@ +{ + "resourceType": "Parameters", + "id": "aaca0880-1e21-4fdd-876f-b7cecfda5a46", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8b7ab57e-7581-48ae-a1bb-a71d7126e178", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9e43e6fd-870e-43ca-899d-d53169280d53" + }, + "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": "9e43e6fd-870e-43ca-899d-d53169280d53", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9a15b884-df34-4665-8e4a-f2169ee1b446", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e88b53c7-a602-45b1-9e36-28e43186a32d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/output.xml new file mode 100644 index 00000000..11c96f1e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="aaca0880-1e21-4fdd-876f-b7cecfda5a46"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8b7ab57e-7581-48ae-a1bb-a71d7126e178"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9e43e6fd-870e-43ca-899d-d53169280d53"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9e43e6fd-870e-43ca-899d-d53169280d53"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9a15b884-df34-4665-8e4a-f2169ee1b446"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e88b53c7-a602-45b1-9e36-28e43186a32d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 84646800..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/output.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "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 deleted file mode 100644 index 6d36cb6c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b2afa612-7a82-4a97-b72e-4eea2b555fa1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.006.24"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="f1b3b183-735c-41ad-a625-e2709f971887"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/1e36ed4c-ba3b-4a28-8695-7b31eaee81c2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1e36ed4c-ba3b-4a28-8695-7b31eaee81c2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00814665"/> - </coding> - <text value="Januvia® 50 mg 28 Filmtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0af9b8e5-2a04-4275-a3f4-24f5ff72a1fb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="da25a87a-da50-45ea-bf49-090f63ffe74f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_44420ed9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/output.json new file mode 100644 index 00000000..a6afdbb5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/output.json @@ -0,0 +1,203 @@ +{ + "resourceType": "Parameters", + "id": "e4f42c2c-ca57-4ede-8a15-5a21d14d3333", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7c2e2980-d781-41f6-a585-2f5d16ada94c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7d5e9681-0ef7-4f20-91b4-c7a65f51782e" + }, + "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": "7d5e9681-0ef7-4f20-91b4-c7a65f51782e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "da407b26-551a-4bc5-8260-153668e134bd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b1114aab-1bd4-460c-803e-baa6572a5f5d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/output.xml new file mode 100644 index 00000000..13494f67 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e4f42c2c-ca57-4ede-8a15-5a21d14d3333"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7c2e2980-d781-41f6-a585-2f5d16ada94c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7d5e9681-0ef7-4f20-91b4-c7a65f51782e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7d5e9681-0ef7-4f20-91b4-c7a65f51782e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="da407b26-551a-4bc5-8260-153668e134bd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b1114aab-1bd4-460c-803e-baa6572a5f5d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_0428d416/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.json new file mode 100644 index 00000000..f3b483e8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "e90d32fa-309d-4ce7-936d-59e15b29c8e0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c8df8499-79c2-4982-a405-baecd354832a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bc84b799-ac83-4b76-9865-04d016b1b3a1" + }, + "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": "bc84b799-ac83-4b76-9865-04d016b1b3a1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a1668200-c42b-4029-8dc5-aba01854e363", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f9b36528-40e2-4a9c-8e1e-c4da3043947a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.xml new file mode 100644 index 00000000..28c50e35 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e90d32fa-309d-4ce7-936d-59e15b29c8e0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c8df8499-79c2-4982-a405-baecd354832a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bc84b799-ac83-4b76-9865-04d016b1b3a1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bc84b799-ac83-4b76-9865-04d016b1b3a1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a1668200-c42b-4029-8dc5-aba01854e363"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f9b36528-40e2-4a9c-8e1e-c4da3043947a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 03966c32..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/output.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "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 deleted file mode 100644 index 214a545d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c2530fad-4c53-43dd-9593-a6e3f7b44ce6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.002.36"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="154463cf-ed19-4fd6-8ba5-4fa3836ed9f7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/16d16dc2-62c5-47ff-8296-258f451be8f5"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dosageInstruction> - <text value="2mal tägl. 5ml"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="16d16dc2-62c5-47ff-8296-258f451be8f5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08585997"/> - </coding> - <text value="Prospan® Hustensaft 100ml N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FLE"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6aa2b709-0cff-4f0d-b25e-e73d8569280f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="687777700"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Kinderarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="09411234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Yorckstraße 15"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="15"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Yorckstraße"/> - </extension> - </line> - <line value="Hinterhaus"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Hinterhaus"/> - </extension> - </line> - <city value="Regensburg"/> - <postalCode value="93049"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="33a09223-bc44-40c8-87d5-979f32fdd3b8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="456456534"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Maximilian Weber"/> - <family value="Weber"/> - <given value="Maximilian"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_0428d416/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/output.json new file mode 100644 index 00000000..1db6a6a3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "dd1eaee9-ef89-44b6-a374-b0effc334dd2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3c7bc97d-d15b-4038-b284-dbb161de4dc3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2eb6fcb0-8206-496f-9069-33eb239c4d9e" + }, + "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": "2eb6fcb0-8206-496f-9069-33eb239c4d9e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9fd2c795-de5b-4956-b0fb-397617175d6c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7560a696-5998-4c01-8c26-bd5d27f4032e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/output.xml new file mode 100644 index 00000000..7bdecdc4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dd1eaee9-ef89-44b6-a374-b0effc334dd2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3c7bc97d-d15b-4038-b284-dbb161de4dc3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2eb6fcb0-8206-496f-9069-33eb239c4d9e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2eb6fcb0-8206-496f-9069-33eb239c4d9e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9fd2c795-de5b-4956-b0fb-397617175d6c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7560a696-5998-4c01-8c26-bd5d27f4032e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index a5986b20..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/output.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "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 deleted file mode 100644 index 52045bef..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d3c47fcf-0576-4d6e-8df5-b143dee4d0ef"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.002.36"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="912badcb-b9c6-4a38-b2c4-f9f48610d8eb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/e3e97424-0d1b-48e7-a000-f3a7f73c3842"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dosageInstruction> - <text value="2mal tägl. 5ml"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e3e97424-0d1b-48e7-a000-f3a7f73c3842"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08585997"/> - </coding> - <text value="Prospan® Hustensaft 100ml N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FLE"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2e8d2a32-c675-4cfd-8a6f-d7808f31235d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="687777700"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Kinderarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="09411234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Yorckstraße 15"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="15"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Yorckstraße"/> - </extension> - </line> - <line value="Hinterhaus"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Hinterhaus"/> - </extension> - </line> - <city value="Regensburg"/> - <postalCode value="93049"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="db9c8b41-eb2e-48ce-9c40-9b922c41f4a2"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="456456534"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Maximilian Weber"/> - <family value="Weber"/> - <given value="Maximilian"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/input.xml new file mode 100644 index 00000000..71aea3cc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/input.xml @@ -0,0 +1,393 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="0428d416-149e-48a4-977c-394887b3d85c"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/a054c2f3-0123-4d33-a0b3-bedec2f7d1ea"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a054c2f3-0123-4d33-a0b3-bedec2f7d1ea"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/06dc1594-509a-4f4c-ada7-dfd477a02d86"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/06dc1594-509a-4f4c-ada7-dfd477a02d86"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="06dc1594-509a-4f4c-ada7-dfd477a02d86"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/f568397d-7ba2-46ac-904b-02caec933b42"/> + </medicationReference> + <subject> + <reference value="Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + </requester> + <insurance> + <reference value="Coverage/df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/f568397d-7ba2-46ac-904b-02caec933b42"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f568397d-7ba2-46ac-904b-02caec933b42"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119802"/> + </identifier> + <name> + <use value="official"/> + <family value="Erbprinzessin von und zu der Schimmelpfennig-Hammerschmidt Federmannssohn"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Erbprinzessin"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schimmelpfennig-Hammerschmidt Federmannssohn"/> + </extension> + </family> + <given value="Ingrid"/> + </name> + <birthDate value="2010-01-31"/> + <address> + <type value="both"/> + <line value="Anneliese- und Georg-von-Groscurth-Plaetzchen 149-C"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="149-C"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Anneliese- und Georg-von-Groscurth-Plaetzchen"/> + </extension> + </line> + <line value="5. OG - Hinterhof"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="5. OG - Hinterhof"/> + </extension> + </line> + <city value="Bad Homburg"/> + <postalCode value="60437"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <name> + <use value="official"/> + <family value="Weber"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Weber"/> + </extension> + </family> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Kinder- und Jugendmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + </beneficiary> + <period> + <end value="2040-04-01"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108416214"/> + </identifier> + <display value="AOK Bayern"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/output.json new file mode 100644 index 00000000..d6cf3074 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "af52d7ba-2495-4c52-b54f-1bbaa905eb21", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "83c90029-327e-486b-8072-8ee9e6b13183", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/cfa8f9da-b99f-4c78-9f82-2eae327649fe" + }, + "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": "cfa8f9da-b99f-4c78-9f82-2eae327649fe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c360f34e-1e69-4f6b-b292-39f404874ac8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b04b5514-dea8-4e32-8b6b-d683ab0e2ed5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/output.xml new file mode 100644 index 00000000..b7aec3b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="af52d7ba-2495-4c52-b54f-1bbaa905eb21"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="83c90029-327e-486b-8072-8ee9e6b13183"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/cfa8f9da-b99f-4c78-9f82-2eae327649fe"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cfa8f9da-b99f-4c78-9f82-2eae327649fe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c360f34e-1e69-4f6b-b292-39f404874ac8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b04b5514-dea8-4e32-8b6b-d683ab0e2ed5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 80a103d2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 6bd2b399..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1dac39db-52e7-4578-aaa1-9d72fa1aa20a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.014.97"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b1cb701f-a348-4cab-8810-e914fc2cb076"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/900443e1-fd41-45fc-885c-f052da28e297"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="900443e1-fd41-45fc-885c-f052da28e297"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08671219"/> - </coding> - <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5f822281-9003-4c54-96e0-742c1410a3c9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="93bff49c-ddeb-48f3-86a2-7056c82f31be"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_34abcf97/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/output.json new file mode 100644 index 00000000..538868af --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "83940573-8238-47d9-9a14-c9820046cfc9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "711244b1-7ea4-4962-8a4b-286848ea8643", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/91b882a4-2445-4f5d-9b2f-f4cb214bf5ae" + }, + "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": "91b882a4-2445-4f5d-9b2f-f4cb214bf5ae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0cd9a7c2-f5bb-46e5-a024-ce0d4e9e4e8c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "752aef81-c11b-4fc4-ba8e-af11e2bf117f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/output.xml new file mode 100644 index 00000000..4964dd9e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="83940573-8238-47d9-9a14-c9820046cfc9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="711244b1-7ea4-4962-8a4b-286848ea8643"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/91b882a4-2445-4f5d-9b2f-f4cb214bf5ae"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="91b882a4-2445-4f5d-9b2f-f4cb214bf5ae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08671219"/> + </coding> + <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0cd9a7c2-f5bb-46e5-a024-ce0d4e9e4e8c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="752aef81-c11b-4fc4-ba8e-af11e2bf117f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/input.xml new file mode 100644 index 00000000..7a7c53c8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/input.xml @@ -0,0 +1,388 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="34abcf97-6693-422e-b6f0-0ba9b232843e"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/2300d28c-c5db-45ce-bcb6-1d3bc126f846"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="2300d28c-c5db-45ce-bcb6-1d3bc126f846"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/f3de8250-06d8-492a-8f53-978d97a21836"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/f3de8250-06d8-492a-8f53-978d97a21836"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f3de8250-06d8-492a-8f53-978d97a21836"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/89d7fd61-1f81-4ee5-aab1-d6428e0c6e79"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/89d7fd61-1f81-4ee5-aab1-d6428e0c6e79"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="89d7fd61-1f81-4ee5-aab1-d6428e0c6e79"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08671219"/> + </coding> + <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"/> + </extension> + </family> + <given value="Friëdrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus Betriebskrankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.json new file mode 100644 index 00000000..0ba3e213 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "4c753086-f390-4a9d-8d0a-0175617cd52f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e02c4249-216c-4713-b316-7637ed311019", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/20c6131e-56ba-4a71-a19c-d89d9a61df94" + }, + "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": "20c6131e-56ba-4a71-a19c-d89d9a61df94", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ce4fbfa8-ffaf-435b-a6be-7218ddf60bbc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "49030652-7805-41ea-bc1d-158e37044eae", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.xml new file mode 100644 index 00000000..a352037d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4c753086-f390-4a9d-8d0a-0175617cd52f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e02c4249-216c-4713-b316-7637ed311019"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/20c6131e-56ba-4a71-a19c-d89d9a61df94"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="20c6131e-56ba-4a71-a19c-d89d9a61df94"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08671219"/> + </coding> + <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ce4fbfa8-ffaf-435b-a6be-7218ddf60bbc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="49030652-7805-41ea-bc1d-158e37044eae"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index dbcdd4cf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index 542702b3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d94a9be1-33bd-45c7-ba2b-95a6398d28a8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.014.97"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3b66bd58-0de9-41a9-ae02-5d5876971ede"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/6d77b3a5-9acf-4d32-b089-7ed518e5bd22"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6d77b3a5-9acf-4d32-b089-7ed518e5bd22"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08671219"/> - </coding> - <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f201c7c4-ec79-4a19-9545-ae54a2d3e053"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2d3e40a2-ee64-4811-9239-4518b509f753"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_34abcf97/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/output.json new file mode 100644 index 00000000..a2f239d5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "1db4bbc4-09c2-4868-b5b6-beb3a2c78517", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "58384054-b1b9-4aa6-911e-b72989c80a24", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3c544312-302c-47cf-9866-d22570e5de57" + }, + "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": "3c544312-302c-47cf-9866-d22570e5de57", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "82cff128-f32d-47b5-a04a-b42fff04fda3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f3e631a1-663d-418c-930b-042b669b151c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/output.xml new file mode 100644 index 00000000..a0feca5f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1db4bbc4-09c2-4868-b5b6-beb3a2c78517"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="58384054-b1b9-4aa6-911e-b72989c80a24"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3c544312-302c-47cf-9866-d22570e5de57"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3c544312-302c-47cf-9866-d22570e5de57"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08671219"/> + </coding> + <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="82cff128-f32d-47b5-a04a-b42fff04fda3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f3e631a1-663d-418c-930b-042b669b151c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_14f3cff7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.json new file mode 100644 index 00000000..2bcd887c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "02e11d75-678c-4041-9d58-abae659f216a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8268f49e-1cf8-4454-9fb4-2b1ecaa68cf2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6f629fbb-335f-495d-9767-720bc1010722" + }, + "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": "6f629fbb-335f-495d-9767-720bc1010722", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3f15afaa-1f1b-4740-ba45-4c259c4d68e0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "27e082d3-b17d-4ee5-8d5b-768530f1b780", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.xml new file mode 100644 index 00000000..b96299e0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.xml @@ -0,0 +1,220 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="02e11d75-678c-4041-9d58-abae659f216a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8268f49e-1cf8-4454-9fb4-2b1ecaa68cf2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6f629fbb-335f-495d-9767-720bc1010722"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6f629fbb-335f-495d-9767-720bc1010722"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3f15afaa-1f1b-4740-ba45-4c259c4d68e0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="27e082d3-b17d-4ee5-8d5b-768530f1b780"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Mia Meyer"/> + <family value="Meyer"/> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index dac6acef..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/output.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "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 deleted file mode 100644 index ed92f74c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/output.xml +++ /dev/null @@ -1,220 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1971398c-275f-4eff-9192-55cadaacf777"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.011.09"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4e5f68a9-9809-403a-9021-500e8708a76e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/8ab8483e-8c22-48f2-a208-8407a0d69288"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8ab8483e-8c22-48f2-a208-8407a0d69288"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="04773414"/> - </coding> - <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="afeb6388-5050-4db6-aff7-40428abc6865"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="757299999"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Krankenhaus"/> - <telecom> - <system value="phone"/> - <value value="0309876543"/> - </telecom> - <telecom> - <system value="email"/> - <value value="krankenhaus@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Wegelystraße 3"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="3"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Wegelystraße"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="82e9bc97-ed9c-48e2-918b-18e87230ca84"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="159753527"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Mia Meyer"/> - <family value="Meyer"/> - <given value="Mia"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_14f3cff7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/output.json new file mode 100644 index 00000000..c62cb766 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "86dae539-6890-4402-86a1-9840abff028b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "92f1718a-f8e2-42aa-b356-bcb97473d0c0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b34991e2-a279-4984-a61c-c4b692210788" + }, + "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": "b34991e2-a279-4984-a61c-c4b692210788", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f5aed0a9-0a98-4c92-aeca-3884656eb853", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "17b5fd7e-5b94-4cfd-ac25-ba943464fb8a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/output.xml new file mode 100644 index 00000000..4b41af6f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/output.xml @@ -0,0 +1,220 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="86dae539-6890-4402-86a1-9840abff028b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="92f1718a-f8e2-42aa-b356-bcb97473d0c0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b34991e2-a279-4984-a61c-c4b692210788"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b34991e2-a279-4984-a61c-c4b692210788"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f5aed0a9-0a98-4c92-aeca-3884656eb853"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="17b5fd7e-5b94-4cfd-ac25-ba943464fb8a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Mia Meyer"/> + <family value="Meyer"/> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 018e776f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/output.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "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 deleted file mode 100644 index b30c98b9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/output.xml +++ /dev/null @@ -1,220 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="548c78d1-1068-4301-89c4-a2034d055b7f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.011.09"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="f1de6def-c122-4322-a127-7d8d39c4e734"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/bcc076a9-5c85-4e11-899e-81c7a4a65bd2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bcc076a9-5c85-4e11-899e-81c7a4a65bd2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="04773414"/> - </coding> - <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5c9a90b7-9ad3-4fdf-bc95-6f3fe36fcf40"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="757299999"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Krankenhaus"/> - <telecom> - <system value="phone"/> - <value value="0309876543"/> - </telecom> - <telecom> - <system value="email"/> - <value value="krankenhaus@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Wegelystraße 3"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="3"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Wegelystraße"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="eb9d1dc1-65a0-44ab-b67e-55db3fffed57"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="159753527"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Mia Meyer"/> - <family value="Meyer"/> - <given value="Mia"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/input.xml new file mode 100644 index 00000000..1cb6adf7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="14f3cff7-f921-429e-98ca-c65dcb367ba9"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/8068fd3c-6eed-4b58-9840-c0661e48b6a9"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8068fd3c-6eed-4b58-9840-c0661e48b6a9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="04"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/fe73acaf-c683-460d-9961-3ae6f87068f2"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/fe73acaf-c683-460d-9961-3ae6f87068f2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fe73acaf-c683-460d-9961-3ae6f87068f2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/c1e7027e-3c5b-4e87-a10a-572676b92e22"/> + </medicationReference> + <subject> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + </requester> + <insurance> + <reference value="Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/c1e7027e-3c5b-4e87-a10a-572676b92e22"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c1e7027e-3c5b-4e87-a10a-572676b92e22"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="c9e9eeb8-e397-4d62-a977-656a18027f90"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="P223331978"/> + </identifier> + <name> + <use value="official"/> + <family value="Pan"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Pan"/> + </extension> + </family> + <given value="Peter"/> + </name> + <birthDate value="1972"/> + <address> + <type value="both"/> + <line value="Siebengebirgsstraße 59"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="59"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siebengebirgsstraße"/> + </extension> + </line> + <line value="33. Obergeschoss - Hinterhof, halbrechts"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="33. Obergeschoss - Hinterhof, halbrechts"/> + </extension> + </line> + <city value="Königswinter"/> + <postalCode value="53639"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <name> + <use value="official"/> + <family value="Meyer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Meyer"/> + </extension> + </family> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin der Onkologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101377508"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/output.json new file mode 100644 index 00000000..8fa02b7c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "d69b12cb-ecf0-432d-8707-67e833483986", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "52dc1abd-b593-4143-86a2-17ce10b7f752", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/091c1d00-e2b2-4f07-90e3-a69e373e2cbd" + }, + "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": "091c1d00-e2b2-4f07-90e3-a69e373e2cbd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d4b4c164-f80a-4fbb-b80c-fec94d9f2074", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "52388b28-6464-4294-ae73-8e0f6a41413f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/output.xml new file mode 100644 index 00000000..0403854c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/output.xml @@ -0,0 +1,220 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d69b12cb-ecf0-432d-8707-67e833483986"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="52dc1abd-b593-4143-86a2-17ce10b7f752"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/091c1d00-e2b2-4f07-90e3-a69e373e2cbd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="091c1d00-e2b2-4f07-90e3-a69e373e2cbd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d4b4c164-f80a-4fbb-b80c-fec94d9f2074"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="52388b28-6464-4294-ae73-8e0f6a41413f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Mia Meyer"/> + <family value="Meyer"/> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 3d555efa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/output.json +++ /dev/null @@ -1,213 +0,0 @@ -{ - "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 deleted file mode 100644 index f9ae3a2d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/output.xml +++ /dev/null @@ -1,219 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="50c3377b-8037-4226-b8e4-320174af6d68"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.004.30"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1c6049a1-efaa-4bad-bce7-785ee970f0a9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/9211edba-7f4d-4937-961d-17b1868e5c08"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <note> - <text value="Bitte auf Anwendung schulen"/> - </note> - <dispenseRequest> - <quantity> - <value value="2"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9211edba-7f4d-4937-961d-17b1868e5c08"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00427833"/> - </coding> - <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="IHP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Diskus"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5b0c2083-3b0e-4914-95e1-6aa95973dc80"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e2d55abe-5602-4a19-916d-ddfc7e353b15"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="895268385"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Alexander Fischer"/> - <family value="Fischer"/> - <given value="Alexander"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_9ad99a8f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/output.json new file mode 100644 index 00000000..3fcfbd99 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/output.json @@ -0,0 +1,213 @@ +{ + "resourceType": "Parameters", + "id": "9674e6df-076f-4fbb-ae1d-b7ca23a53a7c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "661b48f3-4719-4c95-8e49-60ed6c0fe91c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c74a17ef-268e-46b7-97a4-b0daf0f34546" + }, + "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": "c74a17ef-268e-46b7-97a4-b0daf0f34546", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "52423478-284e-4634-bef3-a40192199082", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7ed47ae8-4e4e-4c66-96e5-16567404894a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/output.xml new file mode 100644 index 00000000..fa206a39 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/output.xml @@ -0,0 +1,219 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9674e6df-076f-4fbb-ae1d-b7ca23a53a7c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="661b48f3-4719-4c95-8e49-60ed6c0fe91c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c74a17ef-268e-46b7-97a4-b0daf0f34546"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c74a17ef-268e-46b7-97a4-b0daf0f34546"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="52423478-284e-4634-bef3-a40192199082"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7ed47ae8-4e4e-4c66-96e5-16567404894a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="895268385"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Alexander Fischer"/> + <family value="Fischer"/> + <given value="Alexander"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_9ad99a8f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.json new file mode 100644 index 00000000..6d96fb3f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.json @@ -0,0 +1,213 @@ +{ + "resourceType": "Parameters", + "id": "c71089b4-13b8-47f7-8537-a96f9551e446", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "cbf1a2d7-6890-4b24-842e-b63677e5009b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/60a03f28-4e10-4a50-88a6-65082bdc53ad" + }, + "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": "60a03f28-4e10-4a50-88a6-65082bdc53ad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d8c438f6-a852-4fd8-9a08-3e8a7f13193e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1d9ddcd0-e656-4dff-a166-91b7bbbce591", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.xml new file mode 100644 index 00000000..8c5c5881 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.xml @@ -0,0 +1,219 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c71089b4-13b8-47f7-8537-a96f9551e446"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cbf1a2d7-6890-4b24-842e-b63677e5009b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/60a03f28-4e10-4a50-88a6-65082bdc53ad"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="60a03f28-4e10-4a50-88a6-65082bdc53ad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d8c438f6-a852-4fd8-9a08-3e8a7f13193e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1d9ddcd0-e656-4dff-a166-91b7bbbce591"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="895268385"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Alexander Fischer"/> + <family value="Fischer"/> + <given value="Alexander"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index d0015232..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/output.json +++ /dev/null @@ -1,213 +0,0 @@ -{ - "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 deleted file mode 100644 index b4721e73..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/output.xml +++ /dev/null @@ -1,219 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d70e53f9-9241-44aa-9921-8b203020fc9f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.004.30"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="58eebd38-980a-4b87-bdb4-62dd77d40d25"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/e352ae4d-cd7c-4cca-85fb-3cb4c36eae84"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <note> - <text value="Bitte auf Anwendung schulen"/> - </note> - <dispenseRequest> - <quantity> - <value value="2"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e352ae4d-cd7c-4cca-85fb-3cb4c36eae84"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00427833"/> - </coding> - <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="IHP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Diskus"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f67a2534-7bb3-400f-bc0a-6ac2b8ee88c1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="02f4707f-3176-45c7-bf97-d27240882b61"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="895268385"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Alexander Fischer"/> - <family value="Fischer"/> - <given value="Alexander"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/input.xml new file mode 100644 index 00000000..98e87b22 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/input.xml @@ -0,0 +1,447 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9ad99a8f-6bce-4ab8-ada1-bb3063566c25"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/70e4e747-a1e6-44cd-b91d-7cc2eef89c0c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="70e4e747-a1e6-44cd-b91d-7cc2eef89c0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <attester> + <mode value="legal"/> + <party> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </party> + </attester> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/877e9689-523e-46ca-aa78-8de34a023583"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/877e9689-523e-46ca-aa78-8de34a023583"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="877e9689-523e-46ca-aa78-8de34a023583"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="895268385"/> + </identifier> + <name> + <use value="official"/> + <family value="Fischer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Fischer"/> + </extension> + </family> + <given value="Alexander"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="03"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Weiterbildungsassistent"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost - Die Gesundheitskasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/output.json new file mode 100644 index 00000000..0178f0c5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/output.json @@ -0,0 +1,213 @@ +{ + "resourceType": "Parameters", + "id": "9d8597fe-d4a7-47c9-8c9d-d045374d31e8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a8d23ca2-404a-4789-b468-fc9cc45c3e85", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/29f61c2f-95c2-4b1c-aa55-0ebadf0ec856" + }, + "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": "29f61c2f-95c2-4b1c-aa55-0ebadf0ec856", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0ca1f2e1-9143-40fd-a865-66dd66488d19", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "866c2882-1975-4305-9ec7-4bde7a97b65f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/output.xml new file mode 100644 index 00000000..4f3b059a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/output.xml @@ -0,0 +1,219 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9d8597fe-d4a7-47c9-8c9d-d045374d31e8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a8d23ca2-404a-4789-b468-fc9cc45c3e85"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/29f61c2f-95c2-4b1c-aa55-0ebadf0ec856"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="29f61c2f-95c2-4b1c-aa55-0ebadf0ec856"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0ca1f2e1-9143-40fd-a865-66dd66488d19"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="866c2882-1975-4305-9ec7-4bde7a97b65f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="895268385"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Alexander Fischer"/> + <family value="Fischer"/> + <given value="Alexander"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 32e2124a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/output.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "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 deleted file mode 100644 index 0257ad31..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/output.xml +++ /dev/null @@ -1,221 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="42486c99-638e-421d-adb1-ae11bf44f00b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.012.06"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5890193d-fa3d-42bf-ad38-ee305a286972"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/4a7d3061-b3c8-43c3-9f1f-e924a82a8aa3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4a7d3061-b3c8-43c3-9f1f-e924a82a8aa3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01256262"/> - </coding> - <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="98"/> - </extension> - <unit value="St"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="20b3c883-9090-4c9c-9a42-7f7340419e92"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="51ac5bd2-4467-44da-85ea-eeb1a2fe7a59"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_ee9d3b92/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/output.json new file mode 100644 index 00000000..f7a2ca81 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "b3a62e57-51be-47ae-888f-b0ad1312ea4b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "73fe4908-1506-4784-8cb9-76410790b355", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/096304e7-fb5d-4a0c-95a7-02a4d4346bb3" + }, + "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": "096304e7-fb5d-4a0c-95a7-02a4d4346bb3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8738ab45-50c5-41ee-990a-8e6e78171afc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a7db0546-726c-496f-bc31-6707cdd457c2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/output.xml new file mode 100644 index 00000000..0ee6ae5a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/output.xml @@ -0,0 +1,221 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b3a62e57-51be-47ae-888f-b0ad1312ea4b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="73fe4908-1506-4784-8cb9-76410790b355"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/096304e7-fb5d-4a0c-95a7-02a4d4346bb3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="096304e7-fb5d-4a0c-95a7-02a4d4346bb3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01256262"/> + </coding> + <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8738ab45-50c5-41ee-990a-8e6e78171afc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a7db0546-726c-496f-bc31-6707cdd457c2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index aaaabcde..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/output.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "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 deleted file mode 100644 index dc654de7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/output.xml +++ /dev/null @@ -1,221 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b6596f2e-76e2-422e-97f7-24f98b27ac4d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.012.06"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d24bd5d7-ce88-4f53-acaa-c971545494c2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/4f63b2d9-0465-4317-bb3a-77d2ba98add8"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4f63b2d9-0465-4317-bb3a-77d2ba98add8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01256262"/> - </coding> - <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="98"/> - </extension> - <unit value="St"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f5667b07-c382-49f8-b741-90c9310aaae3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1a38b313-c8c2-43fd-b426-ad533b0f2196"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_ee9d3b92/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/output.json new file mode 100644 index 00000000..3d2a7386 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "57b22f96-e4c0-4480-92f8-0b08ef6d969e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b7f4a24c-c6b5-4ba3-bda2-06d2bf70809f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b028290c-d71b-4235-9bda-8997f7da0b96" + }, + "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": "b028290c-d71b-4235-9bda-8997f7da0b96", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8b8edfc0-98f6-482a-a526-25bb9856fc00", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "618a3366-3ecd-4c1e-a771-0d2aca9eba95", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/output.xml new file mode 100644 index 00000000..b052a01e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/output.xml @@ -0,0 +1,221 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="57b22f96-e4c0-4480-92f8-0b08ef6d969e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b7f4a24c-c6b5-4ba3-bda2-06d2bf70809f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b028290c-d71b-4235-9bda-8997f7da0b96"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b028290c-d71b-4235-9bda-8997f7da0b96"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01256262"/> + </coding> + <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8b8edfc0-98f6-482a-a526-25bb9856fc00"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="618a3366-3ecd-4c1e-a771-0d2aca9eba95"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/input.xml new file mode 100644 index 00000000..ed0f8757 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/input.xml @@ -0,0 +1,397 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ee9d3b92-7667-4dfe-8331-f768b2eaca3c"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/ccb7da6a-dcd7-45d1-926f-061c25222ddd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ccb7da6a-dcd7-45d1-926f-061c25222ddd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="10"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/07aca829-ef92-42a5-9163-778f2b06a82e"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/07aca829-ef92-42a5-9163-778f2b06a82e"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="07aca829-ef92-42a5-9163-778f2b06a82e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/cc81b7f8-c01d-446b-996b-2302abac9aa4"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/cc81b7f8-c01d-446b-996b-2302abac9aa4"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cc81b7f8-c01d-446b-996b-2302abac9aa4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01256262"/> + </coding> + <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="98"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin mit dem Schwerpunkt Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost - Die Gesundheitskasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.json new file mode 100644 index 00000000..9c3b64ea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "dba5693c-f2c6-438a-96a0-6bbdcf58171c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "03715321-93d9-43ca-b15c-a00f36cc48e6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5d338636-8369-4bd4-b10b-1908817b3b09" + }, + "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": "5d338636-8369-4bd4-b10b-1908817b3b09", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "17f2e94d-e8c0-4b86-82ca-0bafc04d312d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9f349d84-7814-4990-8457-5ac77b448c1f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.xml new file mode 100644 index 00000000..11bd1691 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.xml @@ -0,0 +1,221 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dba5693c-f2c6-438a-96a0-6bbdcf58171c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="03715321-93d9-43ca-b15c-a00f36cc48e6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5d338636-8369-4bd4-b10b-1908817b3b09"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5d338636-8369-4bd4-b10b-1908817b3b09"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01256262"/> + </coding> + <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="17f2e94d-e8c0-4b86-82ca-0bafc04d312d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9f349d84-7814-4990-8457-5ac77b448c1f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_5a3458b0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.json new file mode 100644 index 00000000..291e554d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "fca3c35e-4f6b-4d3a-9101-143623c2efc7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b9021987-c6ac-4ec8-82ab-8a80a20a2796", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fe7dcaae-ce1c-4002-bca4-49e3165bc816" + }, + "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": "fe7dcaae-ce1c-4002-bca4-49e3165bc816", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "dadbeff9-d187-4588-bb7c-3b345f6ef7bd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1ae6ab0e-7713-4b83-86c5-e8741c6f2c74", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5a3458b0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.xml new file mode 100644 index 00000000..c68d47c6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.xml @@ -0,0 +1,217 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fca3c35e-4f6b-4d3a-9101-143623c2efc7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b9021987-c6ac-4ec8-82ab-8a80a20a2796"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fe7dcaae-ce1c-4002-bca4-49e3165bc816"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fe7dcaae-ce1c-4002-bca4-49e3165bc816"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dadbeff9-d187-4588-bb7c-3b345f6ef7bd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1ae6ab0e-7713-4b83-86c5-e8741c6f2c74"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 48791bf6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index 79aecd74..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/output.xml +++ /dev/null @@ -1,217 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="993f87d3-0258-442f-851f-7c9e53d2ec87"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.005.27"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3dddb8ef-f0de-4369-8686-a3bafec9f790"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/a4027d87-df36-4704-88c3-c2a707040c40"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dosageInstruction> - <text value="bis zu 4mal täglich je 20-40 Tropfen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a4027d87-df36-4704-88c3-c2a707040c40"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03507952"/> - </coding> - <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TEI"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="24310bcf-e0ac-460e-8cd2-0999167ddf2b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e733b6e6-098f-4ba0-a782-927c6626349d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_5a3458b0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/output.json new file mode 100644 index 00000000..74862c25 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "6cbe6ba1-47c3-4c5c-842b-e246dfa5c036", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "40442d0c-2c2c-4180-8f5c-71a6535c20f5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c6ad7cfb-5911-4472-b191-5571758b441a" + }, + "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": "c6ad7cfb-5911-4472-b191-5571758b441a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "d4a7eeed-8111-4c15-bbc6-b10f4fa3bdfc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7faa9dd0-8af1-4891-b41c-618015fb1a67", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5a3458b0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/output.xml new file mode 100644 index 00000000..06083972 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/output.xml @@ -0,0 +1,217 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6cbe6ba1-47c3-4c5c-842b-e246dfa5c036"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="40442d0c-2c2c-4180-8f5c-71a6535c20f5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c6ad7cfb-5911-4472-b191-5571758b441a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dosageInstruction> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c6ad7cfb-5911-4472-b191-5571758b441a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d4a7eeed-8111-4c15-bbc6-b10f4fa3bdfc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7faa9dd0-8af1-4891-b41c-618015fb1a67"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 0268ff17..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index aa32126e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/output.xml +++ /dev/null @@ -1,217 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e9c5bdef-dd34-41f2-906c-679c40cba00b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.005.27"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7292b94a-21f5-49a7-887d-6c6d10560c9b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/64760744-e7b5-4ad3-92d7-f160701f6e0d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dosageInstruction> - <text value="bis zu 4mal täglich je 20-40 Tropfen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="64760744-e7b5-4ad3-92d7-f160701f6e0d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03507952"/> - </coding> - <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TEI"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8fd314f6-6352-4e2b-9562-ca3948c6da73"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ee29d00a-00e8-40ea-b971-4668880c3138"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/input.xml new file mode 100644 index 00000000..ad94fe2c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/input.xml @@ -0,0 +1,428 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5a3458b0-8364-4682-96e2-b262b2ab16eb"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/72893c05-dd21-4dac-b6aa-025ccff54345"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="72893c05-dd21-4dac-b6aa-025ccff54345"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/9519cacf-7fe2-4193-8c2e-0c2c615436af"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="FOR_PractitionerRole"/> + </coding> + </code> + <entry> + <!-- Referenz auf ASV-Kennzeichen(PractitionerRole) --> + <reference value="PractitionerRole/34329d70-ccb5-43ae-b551-e5368022b226"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/9519cacf-7fe2-4193-8c2e-0c2c615436af"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9519cacf-7fe2-4193-8c2e-0c2c615436af"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="Unfalltag"> + <valueDate value="2024-11-27"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/af2c41be-8e6b-439d-ae65-2851b520a6f5"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/af2c41be-8e6b-439d-ae65-2851b520a6f5"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="af2c41be-8e6b-439d-ae65-2851b520a6f5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost - Die Gesundheitskasse"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/PractitionerRole/34329d70-ccb5-43ae-b551-e5368022b226"/> + <resource> + <PractitionerRole xmlns="http://hl7.org/fhir"> + <id value="34329d70-ccb5-43ae-b551-e5368022b226"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_PractitionerRole|1.1.0"/> + </meta> + <practitioner> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </practitioner> + <organization> + <identifier> + <system value="http://fhir.de/NamingSystem/asv/teamnummer"/> + <value value="003456788"/> + </identifier> + </organization> + </PractitionerRole> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/output.json new file mode 100644 index 00000000..16896197 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "41c7aa0c-243d-4791-9c52-618c9ee8542d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0491efae-146c-4bb6-ad47-6ee12861e5bb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/48c2c9e8-58f9-405d-a35c-c9433a03ea2e" + }, + "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": "48c2c9e8-58f9-405d-a35c-c9433a03ea2e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "40a0d656-4f04-4873-9ef7-5942b788bc46", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "912b134d-c80a-486f-bca3-87f58110d93d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5a3458b0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/output.xml new file mode 100644 index 00000000..a1811a4e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/output.xml @@ -0,0 +1,217 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="41c7aa0c-243d-4791-9c52-618c9ee8542d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0491efae-146c-4bb6-ad47-6ee12861e5bb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/48c2c9e8-58f9-405d-a35c-c9433a03ea2e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="48c2c9e8-58f9-405d-a35c-c9433a03ea2e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="40a0d656-4f04-4873-9ef7-5942b788bc46"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="912b134d-c80a-486f-bca3-87f58110d93d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index d206b6fb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/output.json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "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 deleted file mode 100644 index a936d6d4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/output.xml +++ /dev/null @@ -1,214 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6c2315ed-6f39-49eb-94c3-2c023cbd1d1c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.21"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a008f09e-1096-45fb-9cbd-206d91b5ad7d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/acabd189-33f8-4b58-a885-ff9510db16be"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <note> - <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> - </note> - <dosageInstruction> - <text value="1x täglich"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="acabd189-33f8-4b58-a885-ff9510db16be"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08850519"/> - </coding> - <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SMT"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="70"/> - </extension> - <unit value="Stück"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="89bd866a-c359-43c1-bace-f7b94e3f67e3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="723333300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Psychiatrie und Psychotherapie"/> - <telecom> - <system value="phone"/> - <value value="030369258147"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="9909894e-1b88-4003-bb82-c7108df73915"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="582369858"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Emilia Becker"/> - <family value="Becker"/> - <given value="Emilia"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ 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_6d5162b2/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/output.json new file mode 100644 index 00000000..12c566db --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/output.json @@ -0,0 +1,210 @@ +{ + "resourceType": "Parameters", + "id": "21e6e309-5640-435a-a8c9-fd73ac3bf3fe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d53081fb-dfbe-4abb-a34c-cd8845f12293", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/96447ed9-6277-43fb-958b-9e1ea51459b4" + }, + "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": "96447ed9-6277-43fb-958b-9e1ea51459b4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f2e6552a-9db8-4808-ba9a-737e23e6823c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4853ffe6-8884-4689-aaf4-f6596342745c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/output.xml new file mode 100644 index 00000000..8261faa3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/output.xml @@ -0,0 +1,214 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="21e6e309-5640-435a-a8c9-fd73ac3bf3fe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d53081fb-dfbe-4abb-a34c-cd8845f12293"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/96447ed9-6277-43fb-958b-9e1ea51459b4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="96447ed9-6277-43fb-958b-9e1ea51459b4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f2e6552a-9db8-4808-ba9a-737e23e6823c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4853ffe6-8884-4689-aaf4-f6596342745c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ 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_6d5162b2/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.json new file mode 100644 index 00000000..70b0aec5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.json @@ -0,0 +1,210 @@ +{ + "resourceType": "Parameters", + "id": "d4432fc7-9dda-4004-ac72-98cdc2a99ff6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fc133113-61ae-4392-b82a-269e9071181a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/20c0cf81-21af-458f-8be9-5dffd05d3f43" + }, + "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": "20c0cf81-21af-458f-8be9-5dffd05d3f43", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e32940c7-c9d2-4b6d-82b2-8417af22bfd4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d853bb6b-62b6-47fa-b97e-274b06d4f83a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.xml new file mode 100644 index 00000000..3b249fea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.xml @@ -0,0 +1,214 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d4432fc7-9dda-4004-ac72-98cdc2a99ff6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fc133113-61ae-4392-b82a-269e9071181a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/20c0cf81-21af-458f-8be9-5dffd05d3f43"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="20c0cf81-21af-458f-8be9-5dffd05d3f43"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e32940c7-c9d2-4b6d-82b2-8417af22bfd4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d853bb6b-62b6-47fa-b97e-274b06d4f83a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index e0f88710..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/output.json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "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 deleted file mode 100644 index db116b2d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/output.xml +++ /dev/null @@ -1,214 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c3a1abbe-a6f6-4a8d-8aa4-469ee4157fe3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.21"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="09b48e2f-65ef-4964-9dc2-fdc8c16128b1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/c417363e-a7cd-443f-8e02-9d74d575bbd0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <note> - <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> - </note> - <dosageInstruction> - <text value="1x täglich"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c417363e-a7cd-443f-8e02-9d74d575bbd0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08850519"/> - </coding> - <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SMT"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="70"/> - </extension> - <unit value="Stück"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b2bfd8a2-5503-4a2d-9078-c33a3be0aca1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="723333300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Psychiatrie und Psychotherapie"/> - <telecom> - <system value="phone"/> - <value value="030369258147"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="88b6286b-c4a3-4256-8945-40df5e6892c6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="582369858"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Emilia Becker"/> - <family value="Becker"/> - <given value="Emilia"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/input.xml new file mode 100644 index 00000000..cac9c04e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="6d5162b2-abc9-4c0c-9c46-4deb3b64edd7"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/2edc3279-e54d-43b9-8590-4007f1b20fbd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="2edc3279-e54d-43b9-8590-4007f1b20fbd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/0587787f-3f1b-4578-a412-ce5bae8215b9"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/0587787f-3f1b-4578-a412-ce5bae8215b9"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0587787f-3f1b-4578-a412-ce5bae8215b9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/03758a20-5f15-4d10-a0ea-c8a594cea651"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + </requester> + <insurance> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </insurance> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/03758a20-5f15-4d10-a0ea-c8a594cea651"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="03758a20-5f15-4d10-a0ea-c8a594cea651"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <name> + <use value="official"/> + <family value="Becker"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Becker"/> + </extension> + </family> + <given value="Emilia"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Psychiatrie und Psychotherapie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="AOK Rheinland/Hamburg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/output.json new file mode 100644 index 00000000..49a6d656 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/output.json @@ -0,0 +1,210 @@ +{ + "resourceType": "Parameters", + "id": "abae0b98-9dd3-4a20-a13c-3e89bdb7993b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "20f96ddf-f84e-4e25-a732-b9547dde6717", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f9c5055f-132a-4be1-b049-49493fc599b7" + }, + "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": "f9c5055f-132a-4be1-b049-49493fc599b7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c64fd2b9-8ca1-4338-ab95-e4656634494d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "cef71b77-74e1-4a9f-b78d-534aca1a22e5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/output.xml new file mode 100644 index 00000000..95df8453 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/output.xml @@ -0,0 +1,214 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="abae0b98-9dd3-4a20-a13c-3e89bdb7993b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="20f96ddf-f84e-4e25-a732-b9547dde6717"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f9c5055f-132a-4be1-b049-49493fc599b7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f9c5055f-132a-4be1-b049-49493fc599b7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c64fd2b9-8ca1-4338-ab95-e4656634494d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cef71b77-74e1-4a9f-b78d-534aca1a22e5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/input.xml new file mode 100644 index 00000000..09afca96 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="dac55c3e-43cc-4109-ac4c-d6af9f83e868"/> + <meta> + <lastUpdated value="2024-02-08T19:06:25.492+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.770.62"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:06:25.492+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/d9670396-7497-4ebd-9e0e-165d1f63c497"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d9670396-7497-4ebd-9e0e-165d1f63c497"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + </subject> + <date value="2024-02-08T19:06:25+01:00"/> + <author> + <reference value="Practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/9a1b2729-f4bf-43b2-aff7-05cb692790dc"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/620d75ec-ec4c-418a-a0d7-7cbde942be17"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/3bf80c02-5578-44dc-ad8e-c2f92cd581ba"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3bf80c02-5578-44dc-ad8e-c2f92cd581ba"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61252891"/> + </coding> + <text value="Gemvomilsäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1982-01-05"/> + <address> + <type value="both"/> + <line value="Knochenbergsweg 98c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="98c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Knochenbergsweg"/> + </extension> + </line> + <city value="Rahngrün"/> + <postalCode value="79738"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/9a1b2729-f4bf-43b2-aff7-05cb692790dc"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9a1b2729-f4bf-43b2-aff7-05cb692790dc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614137063"/> + </identifier> + <name value="Arztpraxis Arzt"/> + <telecom> + <system value="phone"/> + <value value="+49-073-0437663"/> + </telecom> + <telecom> + <system value="email"/> + <value value="teresa.roggatz@evers.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Burgweg 88"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Burgweg"/> + </extension> + </line> + <city value="Jonland"/> + <postalCode value="15501"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/c58da998-79a6-4a4b-afd3-4834bde2be4f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104424830"/> + </identifier> + <display value="BKK GRILLO‐WERKE AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="176464353"/> + </identifier> + <name> + <use value="official"/> + <family value="Arzt"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Arzt"/> + </extension> + </family> + <given value="Kein"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/620d75ec-ec4c-418a-a0d7-7cbde942be17"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="620d75ec-ec4c-418a-a0d7-7cbde942be17"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/3bf80c02-5578-44dc-ad8e-c2f92cd581ba"/> + </medicationReference> + <subject> + <reference value="Patient/cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + </requester> + <insurance> + <reference value="Coverage/c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.json new file mode 100644 index 00000000..8b71ab7a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ab88ab06-2477-4ef5-bf16-c71bd65f45c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4e7b650d-0e9b-4495-9d42-464dfd5cc9ea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/115fe1fa-aede-47c8-90a1-dc1ca6d165dc" + }, + "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": "115fe1fa-aede-47c8-90a1-dc1ca6d165dc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "66add755-532e-46b7-924e-fd61db759472", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "51fa2f29-497a-4fde-930c-9d4e9c9ba222", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.xml new file mode 100644 index 00000000..18492978 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ab88ab06-2477-4ef5-bf16-c71bd65f45c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.770.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4e7b650d-0e9b-4495-9d42-464dfd5cc9ea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/115fe1fa-aede-47c8-90a1-dc1ca6d165dc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="115fe1fa-aede-47c8-90a1-dc1ca6d165dc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61252891"/> + </coding> + <text value="Gemvomilsäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="66add755-532e-46b7-924e-fd61db759472"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614137063"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Arzt"/> + <telecom> + <system value="phone"/> + <value value="+49-073-0437663"/> + </telecom> + <telecom> + <system value="email"/> + <value value="teresa.roggatz@evers.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Burgweg 88"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Burgweg"/> + </extension> + </line> + <city value="Jonland"/> + <postalCode value="15501"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="51fa2f29-497a-4fde-930c-9d4e9c9ba222"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="176464353"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Kein Arzt"/> + <family value="Arzt"/> + <given value="Kein"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/transformation_protocol.txt b/ePA-eML-Examples/ExampleTestData/transformation_protocol.txt index 91376f3e..55171935 100644 --- a/ePA-eML-Examples/ExampleTestData/transformation_protocol.txt +++ b/ePA-eML-Examples/ExampleTestData/transformation_protocol.txt @@ -1,40 +1,40 @@ Filename: kbv_1_1_0/bundle/dac55c3e-43cc-4109-ac4c-d6af9f83e868.xml - transform to valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003 + transform to valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e Filename: kbv_1_1_0/bundle/Beispiel_1.xml - transform to valid/medicationPzn/Beispiel_1_f12fa769 + transform to valid/medicationPzn/Beispiel_1_44420ed9 Filename: kbv_1_1_0/bundle/Beispiel_2.xml - transform to valid/medicationPzn/Beispiel_2_2b6860ab + transform to valid/medicationPzn/Beispiel_2_6d5162b2 Filename: kbv_1_1_0/bundle/Beispiel_3.xml - transform to valid/medicationPzn/Beispiel_3_fc33c82b + transform to valid/medicationPzn/Beispiel_3_328ad940 Filename: kbv_1_1_0/bundle/Beispiel_4.xml - transform to valid/medicationPzn/Beispiel_4_cd2e731a + transform to valid/medicationPzn/Beispiel_4_5f66314e Filename: kbv_1_1_0/medication_compounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5.xml - transform to valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99 + transform to valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc Filename: kbv_1_1_0/medication_compounding/76e83871-27f6-4625-9fb3-cadf6a13059f.xml - transform to valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350 + transform to valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871 Filename: kbv_1_1_0/organization/cf042e44-086a-4d51-9c77-172f9a972e3b.xml - transform to valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db + transform to valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44 Filename: kbv_1_1_0/organization/cf042e44-086a-4d51-9c77-172f9a972e4b.xml - transform to valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973 + transform to valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44 Filename: kbv_1_1_0/organization/cf042e44-086a-4d51-9c77-172f9a972e5b.xml - transform to valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383 + transform to valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44 Filename: kbv_1_1_0/organization/cf042e44-086a-4d51-9c77-172f9a972e6b.xml - transform to valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9 + transform to valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44 Filename: kbv_1_1_0/medication_ingredient/86fa62c7-06a0-418e-ba26-e99baa053c07.xml - transform to valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891 + transform to valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7 Filename: kbv_1_1_0/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a.xml - transform to valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af + transform to valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d Filename: kbv_1_1_0/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a.xml - transform to valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef + transform to valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d Filename: kbv_1_1_0/medication_freetext/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920.xml - transform to valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b + transform to valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e Filename: kbv_1_1_0/medicationRequest/c0312f32-4f6c-49b3-b3f4-21506785d583.xml - transform to valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74 + transform to valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32 Filename: kbv_1_1_0/medication_pzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4.xml - transform to valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f + transform to valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9 Filename: erp_workflow_1_2/medicationdispense/f64fd7b4-8720-4986-a3c3-11892afa2267.xml - transform to valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21 + transform to valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4 Filename: erp_workflow_1_2/medicationdispense/26fbffa8-b0df-4074-b2cf-143269aff176.xml - transform to valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5 + transform to valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8 Filename: erp_workflow_1_2/medicationdispense/Example-MedicationDispense_1_4.xml - transform to valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7 + transform to valid/medicationDispense/Example-MedicationDispense_1_4_3465270a 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_5cd916fc/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/input.xml rename to ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/log.txt new file mode 100644 index 00000000..25e46e6a --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=8,row=22,locationString=Medication.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Medication.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Medication.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.json new file mode 100644 index 00000000..92896de8 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.json @@ -0,0 +1,120 @@ +{ + "resourceType": "Medication", + "id": "f25e03d7-84b1-4e52-838b-3ef68793eaef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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_5cd916fc/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.xml new file mode 100644 index 00000000..577f14dc --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.xml @@ -0,0 +1,107 @@ +<Medication xmlns="http://hl7.org/fhir"> + <id value="f25e03d7-84b1-4e52-838b-3ef68793eaef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> +</Medication> \ No newline at end of file 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 deleted file mode 100644 index 340436d5..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/output.json +++ /dev/null @@ -1,120 +0,0 @@ -{ - "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 deleted file mode 100644 index 249f3c01..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/output.xml +++ /dev/null @@ -1,107 +0,0 @@ -<Medication xmlns="http://hl7.org/fhir"> - <id value="858e8f99-1cc1-46a6-bcf1-f7a418b69f14"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Lösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Salicylsäure"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="2-propanol 70 %"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 100 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> -</Medication> \ 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_76e83871/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/input.xml rename to ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/log.txt new file mode 100644 index 00000000..25e46e6a --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=8,row=22,locationString=Medication.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Medication.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Medication.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.json new file mode 100644 index 00000000..4afdf96d --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.json @@ -0,0 +1,120 @@ +{ + "resourceType": "Medication", + "id": "499fcce7-ca2c-4b60-82ff-0daeacf9a789", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-formulation-packaging-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_76e83871/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.xml new file mode 100644 index 00000000..28d1f2d8 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.xml @@ -0,0 +1,107 @@ +<Medication xmlns="http://hl7.org/fhir"> + <id value="499fcce7-ca2c-4b60-82ff-0daeacf9a789"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> +</Medication> \ No newline at end of file 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 deleted file mode 100644 index cc217ea9..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/output.json +++ /dev/null @@ -1,120 +0,0 @@ -{ - "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 deleted file mode 100644 index 0e118e20..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/output.xml +++ /dev/null @@ -1,107 +0,0 @@ -<Medication xmlns="http://hl7.org/fhir"> - <id value="8156e350-e6f6-498c-a1b8-3dfb637752f8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Lösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Salicylsäure"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="2-propanol 70 %"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 100 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> -</Medication> \ 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_26fbffa8/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/input.xml rename to ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.json new file mode 100644 index 00000000..b0308b76 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "cc959459-a571-4d9c-b432-101684f9ff40", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.033.491.280.78" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "3ca1baf9-7a22-4915-80b9-93da050105f6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "26fbffa8-b0df-4074-b2cf-143269aff176_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/70225cef-734c-4536-a01a-3e50e4f72cec" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X234567890" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/9d616e3d-ba7e-4220-ab2e-d96826690b40" + } + } ], + "whenHandedOver": "2022-02-28", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "70225cef-734c-4536-a01a-3e50e4f72cec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "9d616e3d-ba7e-4220-ab2e-d96826690b40", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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_26fbffa8/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.xml new file mode 100644 index 00000000..0e7caa30 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.xml @@ -0,0 +1,132 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="cc959459-a571-4d9c-b432-101684f9ff40"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.033.491.280.78"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="3ca1baf9-7a22-4915-80b9-93da050105f6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="26fbffa8-b0df-4074-b2cf-143269aff176_160.000.033.491.280.78"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/70225cef-734c-4536-a01a-3e50e4f72cec"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567890"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/9d616e3d-ba7e-4220-ab2e-d96826690b40"/> + </actor> + </performer> + <whenHandedOver value="2022-02-28"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="70225cef-734c-4536-a01a-3e50e4f72cec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <value value="20"/> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9d616e3d-ba7e-4220-ab2e-d96826690b40"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Milton Yermouth"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 3bbc8cf2..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 5b5bf546..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index a3610214..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/output.xml +++ /dev/null @@ -1,121 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="eacd41b5-e5ae-422a-adc9-e5dfcb7f2af1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="fc4434b8-d666-4a19-ae92-3c8b72feccd6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.033.491.280.78"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/497eacbb-947e-4b67-9cab-6bddd9612a09"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X234567890"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c069552a-8659-4347-bb0b-f53f7feb837f"/> - </actor> - </performer> - <whenHandedOver value="2022-02-28"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="497eacbb-947e-4b67-9cab-6bddd9612a09"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <value value="20"/> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c069552a-8659-4347-bb0b-f53f7feb837f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Milton Yermouth"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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_3465270a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/input.xml rename to ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.json new file mode 100644 index 00000000..47e407f7 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "c1a7bd22-6156-487d-8910-2812edb26511", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.033.491.280.78" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a6e1b829-982c-4d21-8621-525556203a14", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "3465270a-11e7-4bbf-ae53-378f9cc52747_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/099fb270-efc6-49e4-8406-6855757c2f32" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X234567890" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/7e3d40ba-495f-46fb-8349-9dd95526c2ca" + } + } ], + "whenHandedOver": "2022-02-28", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "099fb270-efc6-49e4-8406-6855757c2f32", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "7e3d40ba-495f-46fb-8349-9dd95526c2ca", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Kenney C. Strait" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.xml new file mode 100644 index 00000000..98793104 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.xml @@ -0,0 +1,132 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c1a7bd22-6156-487d-8910-2812edb26511"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.033.491.280.78"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a6e1b829-982c-4d21-8621-525556203a14"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="3465270a-11e7-4bbf-ae53-378f9cc52747_160.000.033.491.280.78"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/099fb270-efc6-49e4-8406-6855757c2f32"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567890"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/7e3d40ba-495f-46fb-8349-9dd95526c2ca"/> + </actor> + </performer> + <whenHandedOver value="2022-02-28"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="099fb270-efc6-49e4-8406-6855757c2f32"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <value value="20"/> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7e3d40ba-495f-46fb-8349-9dd95526c2ca"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kenney C. Strait"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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 deleted file mode 100644 index 5d1c2b82..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index d2ab20f2..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index ff4bea03..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/output.xml +++ /dev/null @@ -1,121 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="95ab7ff7-5bf8-4b2e-8ee1-28ef3cdc0779"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="17020304-5dc7-491d-b884-6ac31521dd1e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.033.491.280.78"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/13a7cdf5-795f-4153-bedb-a96b0dc10f76"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X234567890"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/7659f3b3-0728-45e9-97fe-c09bc4cb546e"/> - </actor> - </performer> - <whenHandedOver value="2022-02-28"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="13a7cdf5-795f-4153-bedb-a96b0dc10f76"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <value value="20"/> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="7659f3b3-0728-45e9-97fe-c09bc4cb546e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Dwayne Pipe"/> - </Organization> - </resource> - </parameter> -</Parameters> \ 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 deleted file mode 100644 index 0a5c6246..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 14b52b1f..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/output.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "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 deleted file mode 100644 index edd17442..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/output.xml +++ /dev/null @@ -1,120 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0f29ab21-4209-4182-9120-37ea94816851"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters"/> - </meta> - <parameter> - <name value="dispensation"/> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="fcd2a4a7-dd86-4aaf-8a7a-8173fcb39739"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.533.49"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/62398c3b-c2c2-440c-83c0-ceaf9523be3b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/fd6c8212-b461-471a-9fa5-5f75f50eee53"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="62398c3b-c2c2-440c-83c0-ceaf9523be3b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="84264572"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - </parameter> - <parameter> - <name value="performerInstitution"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="fd6c8212-b461-471a-9fa5-5f75f50eee53"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Justin Case"/> - </Organization> - </resource> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/input.xml new file mode 100644 index 00000000..2fd55595 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f64fd7b4-8720-4986-a3c3-11892afa2267"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="81a3a319-f7a4-42d1-bd10-d929186b36b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#81a3a319-f7a4-42d1-bd10-d929186b36b7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.json new file mode 100644 index 00000000..e2b08a0d --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "82a2c606-360f-44da-89a6-b27e58ad4c22", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "72de6188-0910-4323-853c-279513fec829", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f64fd7b4-8720-4986-a3c3-11892afa2267_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/a84190b5-c7e2-4f26-bc09-f6a3a09f4dee" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/45302349-82cc-4194-861d-6bc16cb19108" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a84190b5-c7e2-4f26-bc09-f6a3a09f4dee", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "45302349-82cc-4194-861d-6bc16cb19108", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Danielle Soloud" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.xml new file mode 100644 index 00000000..502dcf8a --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="82a2c606-360f-44da-89a6-b27e58ad4c22"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="72de6188-0910-4323-853c-279513fec829"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f64fd7b4-8720-4986-a3c3-11892afa2267_200.000.002.096.533.49"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a84190b5-c7e2-4f26-bc09-f6a3a09f4dee"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/45302349-82cc-4194-861d-6bc16cb19108"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a84190b5-c7e2-4f26-bc09-f6a3a09f4dee"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="45302349-82cc-4194-861d-6bc16cb19108"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Danielle Soloud"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 5aea15d0..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/output.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "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 deleted file mode 100644 index c924cdf4..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/output.xml +++ /dev/null @@ -1,18 +0,0 @@ -<Medication xmlns="http://hl7.org/fhir"> - <id value="03f2023b-7f44-4cf3-af1a-daa59c11d390"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="Metformin 850mg Tabletten N3"/> - </code> -</Medication> \ 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_0d93504e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/input.xml rename to ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.json new file mode 100644 index 00000000..0714278d --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.json @@ -0,0 +1,20 @@ +{ + "resourceType": "Medication", + "id": "8cf23bc8-b875-4415-88d7-c2a7c6908a55", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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_0d93504e/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.xml new file mode 100644 index 00000000..1a7d3c40 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.xml @@ -0,0 +1,18 @@ +<Medication xmlns="http://hl7.org/fhir"> + <id value="8cf23bc8-b875-4415-88d7-c2a7c6908a55"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> +</Medication> \ No newline at end of file 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 deleted file mode 100644 index 01e0abfc..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/output.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "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 deleted file mode 100644 index 9c3a7fd9..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/output.xml +++ /dev/null @@ -1,70 +0,0 @@ -<Medication xmlns="http://hl7.org/fhir"> - <id value="7f3c3891-531d-4739-b183-d9cffdef77e6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> -</Medication> \ 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_86fa62c7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/input.xml rename to ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.json new file mode 100644 index 00000000..e8a5a699 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.json @@ -0,0 +1,77 @@ +{ + "resourceType": "Medication", + "id": "d4833fbc-40b7-411d-8abd-5df7c762fcba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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_86fa62c7/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.xml new file mode 100644 index 00000000..d7b9f117 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.xml @@ -0,0 +1,70 @@ +<Medication xmlns="http://hl7.org/fhir"> + <id value="d4833fbc-40b7-411d-8abd-5df7c762fcba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> +</Medication> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/input.xml new file mode 100644 index 00000000..e6e9fe0a --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/input.xml @@ -0,0 +1,384 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="44420ed9-7388-4be5-acc5-9c124fad9f34"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin: Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json new file mode 100644 index 00000000..424e8931 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json @@ -0,0 +1,203 @@ +{ + "resourceType": "Parameters", + "id": "70d771d1-f5a0-4b72-9364-fa297ad22d46", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f804ac0c-1b6e-459d-9e93-0fab6ec870e5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/19a59841-1d86-4f0d-944d-4349d1515d84" + }, + "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": "19a59841-1d86-4f0d-944d-4349d1515d84", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e763e338-08f3-4d11-968c-2e36da814e5a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "18666957-1f7b-4be4-a4d3-65148c927cca", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_44420ed9/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.xml new file mode 100644 index 00000000..150a3445 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="70d771d1-f5a0-4b72-9364-fa297ad22d46"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f804ac0c-1b6e-459d-9e93-0fab6ec870e5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/19a59841-1d86-4f0d-944d-4349d1515d84"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="19a59841-1d86-4f0d-944d-4349d1515d84"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e763e338-08f3-4d11-968c-2e36da814e5a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="18666957-1f7b-4be4-a4d3-65148c927cca"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 53f3792c..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/output.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "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 deleted file mode 100644 index c6535f43..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f12fa769-5cc6-4b3e-b794-9dacfc76b73a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.006.24"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1284b3a6-52aa-4eb4-b3ca-1c56202f3248"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/a907a18e-e16c-4dfb-a80c-bb778ee300d8"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a907a18e-e16c-4dfb-a80c-bb778ee300d8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00814665"/> - </coding> - <text value="Januvia® 50 mg 28 Filmtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="71f52e98-6cb1-4fcf-96c8-c63fdd8781df"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a7ffbb57-fb3d-45be-b77c-c1a16dc36d39"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file 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 deleted file mode 100644 index faba3f05..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/output.json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "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 deleted file mode 100644 index da18263c..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/output.xml +++ /dev/null @@ -1,214 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2b6860ab-aded-4421-839a-a43da53e19b1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.21"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0472ea6f-c6de-42b3-b1cf-6f9e2bd81f6d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/fcab27f1-9e6f-4c10-a9e2-921641b7caf1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <note> - <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> - </note> - <dosageInstruction> - <text value="1x täglich"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fcab27f1-9e6f-4c10-a9e2-921641b7caf1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08850519"/> - </coding> - <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SMT"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="70"/> - </extension> - <unit value="Stück"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="73e991f1-ebdb-4512-a7ac-0edce5cd9e08"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="723333300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Psychiatrie und Psychotherapie"/> - <telecom> - <system value="phone"/> - <value value="030369258147"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d9e9eed5-469d-4d17-925a-69d1a05a526b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="582369858"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Emilia Becker"/> - <family value="Becker"/> - <given value="Emilia"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/input.xml new file mode 100644 index 00000000..2a6cb1e2 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="6d5162b2-abc9-4c0c-9c46-4deb3b64edd7"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/2edc3279-e54d-43b9-8590-4007f1b20fbd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="2edc3279-e54d-43b9-8590-4007f1b20fbd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/0587787f-3f1b-4578-a412-ce5bae8215b9"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/0587787f-3f1b-4578-a412-ce5bae8215b9"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0587787f-3f1b-4578-a412-ce5bae8215b9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/03758a20-5f15-4d10-a0ea-c8a594cea651"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + </requester> + <insurance> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </insurance> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/03758a20-5f15-4d10-a0ea-c8a594cea651"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="03758a20-5f15-4d10-a0ea-c8a594cea651"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <name> + <use value="official"/> + <family value="Becker"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Becker"/> + </extension> + </family> + <given value="Emilia"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Psychiatrie und Psychotherapie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="AOK Rheinland/Hamburg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json new file mode 100644 index 00000000..68ca0a2d --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json @@ -0,0 +1,210 @@ +{ + "resourceType": "Parameters", + "id": "9147a685-ba33-4e13-9ef3-d08af48707f0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "64b5549e-d926-4ab4-8e19-9b405985363c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e196bf63-2927-43b1-b4d5-41243db9d504" + }, + "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": "e196bf63-2927-43b1-b4d5-41243db9d504", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "20249cf4-a8bc-45f5-aa92-7ab6c71134b7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "69e2988d-e7b3-4f46-8fbb-3f0ea8a8473f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6d5162b2/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.xml new file mode 100644 index 00000000..c5d2ff06 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.xml @@ -0,0 +1,214 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9147a685-ba33-4e13-9ef3-d08af48707f0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="64b5549e-d926-4ab4-8e19-9b405985363c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e196bf63-2927-43b1-b4d5-41243db9d504"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e196bf63-2927-43b1-b4d5-41243db9d504"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="20249cf4-a8bc-45f5-aa92-7ab6c71134b7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="69e2988d-e7b3-4f46-8fbb-3f0ea8a8473f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/input.xml new file mode 100644 index 00000000..99796153 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/input.xml @@ -0,0 +1,406 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="328ad940-3fff-11ed-b878-0242ac120002"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.22"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03879429"/> + </coding> + <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="30"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="P123464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Privati"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Privati"/> + </extension> + </family> + <given value="Paula"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-748382202"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-749999999"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="123456789"/> + </identifier> + <display value="Allianz Private Krankenversicherung"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.json new file mode 100644 index 00000000..3fe090b6 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.json @@ -0,0 +1,220 @@ +{ + "resourceType": "Parameters", + "id": "42798459-f847-4c93-8285-df820f19367b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "04916cb7-92ef-4748-9daa-f82cf52b60a7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4fa3cb44-1d11-4dcf-b3f4-a87e0d45990a" + }, + "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": "4fa3cb44-1d11-4dcf-b3f4-a87e0d45990a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c719043d-8d94-4993-a7d2-07ade1c22741", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6a46db18-dbf4-46d6-b0cb-e697a124ab13", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_328ad940/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.xml new file mode 100644 index 00000000..08444a48 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.xml @@ -0,0 +1,224 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="42798459-f847-4c93-8285-df820f19367b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="04916cb7-92ef-4748-9daa-f82cf52b60a7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4fa3cb44-1d11-4dcf-b3f4-a87e0d45990a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4fa3cb44-1d11-4dcf-b3f4-a87e0d45990a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03879429"/> + </coding> + <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="30"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c719043d-8d94-4993-a7d2-07ade1c22741"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-749999999"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6a46db18-dbf4-46d6-b0cb-e697a124ab13"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-748382202"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index ca167469..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/output.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "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 deleted file mode 100644 index 4ef660c6..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/output.xml +++ /dev/null @@ -1,224 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="fc33c82b-1f1c-41a1-8d3f-55dbb1ddf636"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.22"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="bfeabcd8-2d7b-44d4-93cd-f7a7b3637caa"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/daf1739f-83f2-4df8-9f39-a958c7cceff2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="daf1739f-83f2-4df8-9f39-a958c7cceff2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03879429"/> - </coding> - <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="RET"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="30"/> - </extension> - <unit value="Stück"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2f748563-5337-451a-83c7-ed04a19946f3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="999999900"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-749999999"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="0c7f7e79-1110-4f82-ac22-5850eb1e1783"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="999999900"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-748382202"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/input.xml new file mode 100644 index 00000000..13d36b8d --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/input.xml @@ -0,0 +1,425 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5f66314e-459a-41e9-a3d7-65c935a8be2c"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/d8c9c61e-49a4-4af8-a6dc-20afbecff2ba"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d8c9c61e-49a4-4af8-a6dc-20afbecff2ba"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/a3420913-2b33-4f66-b3df-85f1b06bb226"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/a3420913-2b33-4f66-b3df-85f1b06bb226"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a3420913-2b33-4f66-b3df-85f1b06bb226"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="2"/> + </valueCoding> + </extension> + <extension url="Unfalltag"> + <valueDate value="2021-04-01"/> + </extension> + <extension url="Unfallbetrieb"> + <valueString value="Arbeitsplatz"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + </insurance> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Payor_Type_KBV"/> + <code value="UK"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Alternative_IK"> + <valueIdentifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="120591802"/> + </valueIdentifier> + </extension> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="Unfallkasse NRW"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json new file mode 100644 index 00000000..07d71346 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "b5674478-c068-4665-8c3a-bc5313a98423", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "18538df9-9f64-492a-a5ac-2fca817ec963", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/91dd33a6-2878-46a4-a021-33c32e21eeb3" + }, + "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": "91dd33a6-2878-46a4-a021-33c32e21eeb3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "21d91058-9bd2-47c7-8366-6c109e6160a4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a85087b2-fe97-4a6f-8004-541f3ccc0d6d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f66314e/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.xml new file mode 100644 index 00000000..37c1bf4f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.xml @@ -0,0 +1,223 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b5674478-c068-4665-8c3a-bc5313a98423"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="18538df9-9f64-492a-a5ac-2fca817ec963"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/91dd33a6-2878-46a4-a021-33c32e21eeb3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="91dd33a6-2878-46a4-a021-33c32e21eeb3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="21d91058-9bd2-47c7-8366-6c109e6160a4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a85087b2-fe97-4a6f-8004-541f3ccc0d6d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index bbaefe41..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/output.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "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 deleted file mode 100644 index bd6704a2..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/output.xml +++ /dev/null @@ -1,223 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="cd2e731a-2aa1-4fd9-b10d-d387f583fed2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.008.18"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ff0c7287-a123-4479-bcbe-ce952a3d4667"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/598e3618-5958-4ca8-8729-109d080dc586"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <note> - <text value="Verwendung ohne Anlegen eines Verbandes"/> - </note> - <dosageInstruction> - <text value="3mal täglich dünn auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="598e3618-5958-4ca8-8729-109d080dc586"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02090906"/> - </coding> - <text value="Fucidine® 20mg/g Creme 15g N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="CRE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="15"/> - </extension> - <unit value="g"/> - <system value="http://unitsofmeasure.org"/> - <code value="g"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f648fb24-9cf9-4c7a-a4b6-70b20870de92"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2a4ea6b7-3b61-4542-8ffb-53fec0f64d2c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 9493bdf3..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "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 deleted file mode 100644 index d95feb26..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="816f5003-c342-469e-a64f-01e223524bf6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.770.62"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3573b273-a2e9-4ac6-a3c8-ab895ef75032"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/b0faa733-6a1a-4942-9f2a-d169057ee4e6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b0faa733-6a1a-4942-9f2a-d169057ee4e6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="61252891"/> - </coding> - <text value="Gemvomilsäure"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0a6b6e2c-3bac-4e16-88c1-a6ccd7eb5bd5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="614137063"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Arzt"/> - <telecom> - <system value="phone"/> - <value value="+49-073-0437663"/> - </telecom> - <telecom> - <system value="email"/> - <value value="teresa.roggatz@evers.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Burgweg 88"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="88"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Burgweg"/> - </extension> - </line> - <city value="Jonland"/> - <postalCode value="15501"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d07578ee-14c7-4ff4-8c27-2f9e2f162e0a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="176464353"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Kein Arzt"/> - <family value="Arzt"/> - <given value="Kein"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/input.xml new file mode 100644 index 00000000..09afca96 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="dac55c3e-43cc-4109-ac4c-d6af9f83e868"/> + <meta> + <lastUpdated value="2024-02-08T19:06:25.492+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.770.62"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:06:25.492+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/d9670396-7497-4ebd-9e0e-165d1f63c497"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d9670396-7497-4ebd-9e0e-165d1f63c497"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + </subject> + <date value="2024-02-08T19:06:25+01:00"/> + <author> + <reference value="Practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/9a1b2729-f4bf-43b2-aff7-05cb692790dc"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/620d75ec-ec4c-418a-a0d7-7cbde942be17"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/3bf80c02-5578-44dc-ad8e-c2f92cd581ba"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3bf80c02-5578-44dc-ad8e-c2f92cd581ba"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61252891"/> + </coding> + <text value="Gemvomilsäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1982-01-05"/> + <address> + <type value="both"/> + <line value="Knochenbergsweg 98c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="98c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Knochenbergsweg"/> + </extension> + </line> + <city value="Rahngrün"/> + <postalCode value="79738"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/9a1b2729-f4bf-43b2-aff7-05cb692790dc"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9a1b2729-f4bf-43b2-aff7-05cb692790dc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614137063"/> + </identifier> + <name value="Arztpraxis Arzt"/> + <telecom> + <system value="phone"/> + <value value="+49-073-0437663"/> + </telecom> + <telecom> + <system value="email"/> + <value value="teresa.roggatz@evers.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Burgweg 88"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Burgweg"/> + </extension> + </line> + <city value="Jonland"/> + <postalCode value="15501"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/c58da998-79a6-4a4b-afd3-4834bde2be4f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104424830"/> + </identifier> + <display value="BKK GRILLO‐WERKE AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="176464353"/> + </identifier> + <name> + <use value="official"/> + <family value="Arzt"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Arzt"/> + </extension> + </family> + <given value="Kein"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/620d75ec-ec4c-418a-a0d7-7cbde942be17"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="620d75ec-ec4c-418a-a0d7-7cbde942be17"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/3bf80c02-5578-44dc-ad8e-c2f92cd581ba"/> + </medicationReference> + <subject> + <reference value="Patient/cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + </requester> + <insurance> + <reference value="Coverage/c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.json new file mode 100644 index 00000000..892950f8 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "b545e839-b240-4df1-9555-ce400fdf1e3a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0b289d96-09f4-4db4-a750-af6840bd36f1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/00b626a0-67c7-4793-8464-ec0b35669149" + }, + "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": "00b626a0-67c7-4793-8464-ec0b35669149", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "01ebd2e0-6031-4b92-a3df-b8787c329815", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "64c2cf73-3d46-47c9-8a6b-38dd580cc232", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dac55c3e/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.xml new file mode 100644 index 00000000..5e6c1d37 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b545e839-b240-4df1-9555-ce400fdf1e3a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.770.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0b289d96-09f4-4db4-a750-af6840bd36f1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/00b626a0-67c7-4793-8464-ec0b35669149"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="00b626a0-67c7-4793-8464-ec0b35669149"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61252891"/> + </coding> + <text value="Gemvomilsäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="01ebd2e0-6031-4b92-a3df-b8787c329815"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614137063"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Arzt"/> + <telecom> + <system value="phone"/> + <value value="+49-073-0437663"/> + </telecom> + <telecom> + <system value="email"/> + <value value="teresa.roggatz@evers.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Burgweg 88"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Burgweg"/> + </extension> + </line> + <city value="Jonland"/> + <postalCode value="15501"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="64c2cf73-3d46-47c9-8a6b-38dd580cc232"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="176464353"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Kein Arzt"/> + <family value="Arzt"/> + <given value="Kein"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file 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 deleted file mode 100644 index 639e68f4..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/output.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "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 deleted file mode 100644 index 0d7f15ef..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/output.xml +++ /dev/null @@ -1,46 +0,0 @@ -<Medication xmlns="http://hl7.org/fhir"> - <id value="74cc0c8f-d767-4454-8d85-c3039c9f266d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="01"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="04100230"/> - </coding> - <text value="IBUFLAM akut"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="8520897878"/> - <expirationDate value="2024-02-21T10:05:01+01:00"/> - </batch> -</Medication> \ 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_fb0699b9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/input.xml rename to ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.json new file mode 100644 index 00000000..57d96c48 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.json @@ -0,0 +1,49 @@ +{ + "resourceType": "Medication", + "id": "31fa83c0-a723-4e9e-a578-7e798f3f9ece", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "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_fb0699b9/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.xml new file mode 100644 index 00000000..0a388dc7 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.xml @@ -0,0 +1,46 @@ +<Medication xmlns="http://hl7.org/fhir"> + <id value="31fa83c0-a723-4e9e-a578-7e798f3f9ece"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04100230"/> + </coding> + <text value="IBUFLAM akut"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="8520897878"/> + <expirationDate value="2024-02-21T10:05:01+01:00"/> + </batch> +</Medication> \ 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 deleted file mode 100644 index ba74cde3..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index fe7b643e..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/output.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "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 deleted file mode 100644 index d8e9638c..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/output.xml +++ /dev/null @@ -1,86 +0,0 @@ -<Organization xmlns="http://hl7.org/fhir"> - <id value="1e5b49db-8cfa-40de-9394-14fc0d0cefdc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="031234567"/> - </identifier> - <identifier> - <use value="official"/> - <type> - <coding> - <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> - <code value="KZVA"/> - </coding> - </type> - <system value="http://fhir.de/sid/kzbv/kzvabrechnungsnummer"/> - <value value="036004328"/> - </identifier> - <identifier> - <use value="official"/> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="XX"/> - </coding> - </type> - <system value="http://fhir.de/sid/arge-ik/iknr"/> - <value value="825868088"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <identifier> - <type> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type"/> - <code value="KSN"/> - </coding> - </type> - <system value="http://fhir.de/sid/dkgev/standortnummer"/> - <value value="123456"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis Dr. Topp-Glücklich"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Musterstr. 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Musterstr."/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - </address> -</Organization> \ 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_cf042e44/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/input.xml rename to ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/log.txt b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/log.txt new file mode 100644 index 00000000..9e54e391 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/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.12,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_cf042e44/output.json b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/output.json new file mode 100644 index 00000000..5ced58b7 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/output.json @@ -0,0 +1,85 @@ +{ + "resourceType": "Organization", + "id": "4ef3101a-dff3-4d39-a89a-61df2b1079ac", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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_cf042e44/output.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/output.xml new file mode 100644 index 00000000..935db7e2 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/output.xml @@ -0,0 +1,86 @@ +<Organization xmlns="http://hl7.org/fhir"> + <id value="4ef3101a-dff3-4d39-a89a-61df2b1079ac"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="031234567"/> + </identifier> + <identifier> + <use value="official"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="KZVA"/> + </coding> + </type> + <system value="http://fhir.de/sid/kzbv/kzvabrechnungsnummer"/> + <value value="036004328"/> + </identifier> + <identifier> + <use value="official"/> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="XX"/> + </coding> + </type> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="825868088"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <identifier> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type"/> + <code value="KSN"/> + </coding> + </type> + <system value="http://fhir.de/sid/dkgev/standortnummer"/> + <value value="123456"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis Dr. Topp-Glücklich"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Musterstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr."/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + </address> +</Organization> \ 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 deleted file mode 100644 index ec11a793..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 3307fc9d..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/output.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "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 deleted file mode 100644 index f99b4920..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/output.xml +++ /dev/null @@ -1,75 +0,0 @@ -<Organization xmlns="http://hl7.org/fhir"> - <id value="1e01a973-a5ae-4304-90c8-f03d95c4444f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="031234567"/> - </identifier> - <identifier> - <use value="official"/> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="XX"/> - </coding> - </type> - <system value="http://fhir.de/sid/arge-ik/iknr"/> - <value value="825868088"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <identifier> - <type> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type"/> - <code value="KSN"/> - </coding> - </type> - <system value="http://fhir.de/sid/dkgev/standortnummer"/> - <value value="123456"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis Dr. Topp-Glücklich"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Musterstr. 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Musterstr."/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - </address> -</Organization> \ 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_cf042e44/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/input.xml rename to ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/log.txt b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/log.txt new file mode 100644 index 00000000..0159119b --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/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.12,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_cf042e44/output.json b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/output.json new file mode 100644 index 00000000..1765abf7 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/output.json @@ -0,0 +1,75 @@ +{ + "resourceType": "Organization", + "id": "2c9cbf3c-83d5-48b8-b57d-ff80e1878757", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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_cf042e44/output.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/output.xml new file mode 100644 index 00000000..36c250d9 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/output.xml @@ -0,0 +1,75 @@ +<Organization xmlns="http://hl7.org/fhir"> + <id value="2c9cbf3c-83d5-48b8-b57d-ff80e1878757"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="031234567"/> + </identifier> + <identifier> + <use value="official"/> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="XX"/> + </coding> + </type> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="825868088"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <identifier> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type"/> + <code value="KSN"/> + </coding> + </type> + <system value="http://fhir.de/sid/dkgev/standortnummer"/> + <value value="123456"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis Dr. Topp-Glücklich"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Musterstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr."/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + </address> +</Organization> \ 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_cf042e44/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/input.xml rename to ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/log.txt b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/log.txt new file mode 100644 index 00000000..3197a9cf --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/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.12,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_cf042e44/output.json b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/output.json new file mode 100644 index 00000000..916ccba8 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/output.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Organization", + "id": "e55c1ca5-512d-4830-9384-e01949c30076", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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_cf042e44/output.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/output.xml new file mode 100644 index 00000000..98159759 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/output.xml @@ -0,0 +1,76 @@ +<Organization xmlns="http://hl7.org/fhir"> + <id value="e55c1ca5-512d-4830-9384-e01949c30076"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <use value="official"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="KZVA"/> + </coding> + </type> + <system value="http://fhir.de/sid/kzbv/kzvabrechnungsnummer"/> + <value value="036004328"/> + </identifier> + <identifier> + <use value="official"/> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="XX"/> + </coding> + </type> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="825868088"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <identifier> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type"/> + <code value="KSN"/> + </coding> + </type> + <system value="http://fhir.de/sid/dkgev/standortnummer"/> + <value value="123456"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis Dr. Topp-Glücklich"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Musterstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr."/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + </address> +</Organization> \ 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 deleted file mode 100644 index 8137f1f2..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 99e9a479..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/output.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "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 deleted file mode 100644 index acab8adc..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/output.xml +++ /dev/null @@ -1,76 +0,0 @@ -<Organization xmlns="http://hl7.org/fhir"> - <id value="d618a383-4639-4e3c-b48a-a21c27aea420"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <use value="official"/> - <type> - <coding> - <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> - <code value="KZVA"/> - </coding> - </type> - <system value="http://fhir.de/sid/kzbv/kzvabrechnungsnummer"/> - <value value="036004328"/> - </identifier> - <identifier> - <use value="official"/> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="XX"/> - </coding> - </type> - <system value="http://fhir.de/sid/arge-ik/iknr"/> - <value value="825868088"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <identifier> - <type> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type"/> - <code value="KSN"/> - </coding> - </type> - <system value="http://fhir.de/sid/dkgev/standortnummer"/> - <value value="123456"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis Dr. Topp-Glücklich"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Musterstr. 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Musterstr."/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - </address> -</Organization> \ 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 deleted file mode 100644 index 8736fe77..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 2d3bcb92..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/output.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "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 deleted file mode 100644 index a34b0064..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/output.xml +++ /dev/null @@ -1,54 +0,0 @@ -<Organization xmlns="http://hl7.org/fhir"> - <id value="4a939ea9-a628-44c9-9752-70c51bf45dfd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <identifier> - <type> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type"/> - <code value="KSN"/> - </coding> - </type> - <system value="http://fhir.de/sid/dkgev/standortnummer"/> - <value value="123456"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis Dr. Topp-Glücklich"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Musterstr. 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Musterstr."/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - </address> -</Organization> \ 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_cf042e44/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/input.xml rename to ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/log.txt b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/log.txt new file mode 100644 index 00000000..37c751ec --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/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.12,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_cf042e44/output.json b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/output.json new file mode 100644 index 00000000..85a511d2 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/output.json @@ -0,0 +1,56 @@ +{ + "resourceType": "Organization", + "id": "0b10d297-1cc4-466d-8077-634a3fabf5e0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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_cf042e44/output.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/output.xml new file mode 100644 index 00000000..5ca33fec --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/output.xml @@ -0,0 +1,54 @@ +<Organization xmlns="http://hl7.org/fhir"> + <id value="0b10d297-1cc4-466d-8077-634a3fabf5e0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <identifier> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type"/> + <code value="KSN"/> + </coding> + </type> + <system value="http://fhir.de/sid/dkgev/standortnummer"/> + <value value="123456"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis Dr. Topp-Glücklich"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Musterstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr."/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + </address> +</Organization> \ 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_4a048d7d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/input.xml rename to ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/log.txt b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.json b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.json new file mode 100644 index 00000000..3d8f3e4c --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Practitioner", + "id": "4660d691-30d3-4026-ac4f-8de055e56736", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4a048d7d/output.xml b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.xml new file mode 100644 index 00000000..0e4c9b68 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.xml @@ -0,0 +1,42 @@ +<Practitioner xmlns="http://hl7.org/fhir"> + <id value="4660d691-30d3-4026-ac4f-8de055e56736"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="176464353"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Kein Arzt abc"/> + <family value="Arzt"/> + <given value="Kein"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + <suffix value="abc"/> + </name> +</Practitioner> \ No newline at end of file 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 deleted file mode 100644 index a678a730..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/output.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "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 deleted file mode 100644 index 81677c66..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/output.xml +++ /dev/null @@ -1,42 +0,0 @@ -<Practitioner xmlns="http://hl7.org/fhir"> - <id value="6b3963af-e254-4a7c-963c-422a71f1793a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="176464353"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Kein Arzt abc"/> - <family value="Arzt"/> - <given value="Kein"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - <suffix value="abc"/> - </name> -</Practitioner> \ No newline at end of file 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 deleted file mode 100644 index 46a34fc6..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/output.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "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 deleted file mode 100644 index 983dd573..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/output.xml +++ /dev/null @@ -1,42 +0,0 @@ -<Practitioner xmlns="http://hl7.org/fhir"> - <id value="382caeef-4a0e-4723-8d83-10f9a253609f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <use value="official"/> - <type> - <coding> - <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> - <code value="ZANR"/> - </coding> - </type> - <system value="http://fhir.de/sid/kzbv/zahnarztnummer"/> - <value value="585313091"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Kein Arzt"/> - <family value="Arzt"/> - <given value="Kein"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> -</Practitioner> \ 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_4a048d7d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/input.xml rename to ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/log.txt b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.json b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.json new file mode 100644 index 00000000..63567e5c --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Practitioner", + "id": "40448fab-6e8c-4bfd-aac4-b98c1fc7138e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4a048d7d/output.xml b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.xml new file mode 100644 index 00000000..c7ad07c2 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.xml @@ -0,0 +1,42 @@ +<Practitioner xmlns="http://hl7.org/fhir"> + <id value="40448fab-6e8c-4bfd-aac4-b98c1fc7138e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <use value="official"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="ZANR"/> + </coding> + </type> + <system value="http://fhir.de/sid/kzbv/zahnarztnummer"/> + <value value="585313091"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Kein Arzt"/> + <family value="Arzt"/> + <given value="Kein"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> +</Practitioner> \ 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_c0312f32/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/input.xml rename to ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/input.xml diff --git a/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/log.txt b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.json b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.json new file mode 100644 index 00000000..efcf2a68 --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.json @@ -0,0 +1,39 @@ +{ + "resourceType": "MedicationRequest", + "id": "34310acb-e519-4528-93be-9440048cae80", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-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_c0312f32/output.xml b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.xml new file mode 100644 index 00000000..10f092da --- /dev/null +++ b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.xml @@ -0,0 +1,36 @@ +<MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="34310acb-e519-4528-93be-9440048cae80"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/26d162c-59b6-465d-a8e1-91b570461e8f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-11"/> + <dosageInstruction> + <text value="1-1-1-1"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> +</MedicationRequest> \ No newline at end of file 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 deleted file mode 100644 index 002d9c47..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/output.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "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 deleted file mode 100644 index db5e5d1b..00000000 --- a/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/output.xml +++ /dev/null @@ -1,36 +0,0 @@ -<MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ffaf6f74-3052-4632-ad64-5778accd41ca"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="order"/> - <medicationReference> - <reference value="Medication/26d162c-59b6-465d-a8e1-91b570461e8f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-11"/> - <dosageInstruction> - <text value="1-1-1-1"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> -</MedicationRequest> \ No newline at end of file From db70bb6637bab8c17ece5b4450bed7914769cbf0 Mon Sep 17 00:00:00 2001 From: Steven Ulrich <steven.ulrich@gematik.de> Date: Mon, 14 Oct 2024 14:28:09 +0200 Subject: [PATCH 2/2] fix: adjust EML examples --- .../transformation_protocol.txt | 1950 +++++++++++------ .../Beispiel_23_9581ce65/log.txt | 1 - .../Beispiel_23_9581ce65/output.json | 14 +- .../Beispiel_23_9581ce65/output.xml | 14 +- .../input.xml | 0 .../Beispiel_23_9581ce65_9581ce65}/log.txt | 0 .../Beispiel_23_9581ce65_9581ce65/output.json | 293 +++ .../Beispiel_23_9581ce65_9581ce65/output.xml | 287 +++ .../Beispiel_23_d0ca163a_9581ce65/log.txt | 3 - .../Beispiel_23_d0ca163a_9581ce65/output.json | 293 --- .../Beispiel_23_d0ca163a_9581ce65/output.xml | 287 --- .../input.xml | 407 ++++ .../log.txt | 0 .../output.json | 293 +++ .../output.xml | 287 +++ .../Beispiel_24_77b6e755_a409358a/log.txt | 5 - .../Beispiel_24_77b6e755_a409358a/output.json | 344 --- .../Beispiel_24_77b6e755_a409358a/output.xml | 334 --- .../input.xml | 0 .../log.txt | 3 + .../output.json | 344 +++ .../output.xml | 334 +++ .../Beispiel_24_a409358a/log.txt | 4 +- .../Beispiel_24_a409358a/output.json | 16 +- .../Beispiel_24_a409358a/output.xml | 16 +- .../Beispiel_24_a409358a_a409358a/input.xml | 437 ++++ .../Beispiel_24_a409358a_a409358a/log.txt | 3 + .../Beispiel_24_a409358a_a409358a/output.json | 344 +++ .../Beispiel_24_a409358a_a409358a/output.xml | 334 +++ .../Beispiel_25_cd31610e_dae573db/log.txt | 3 - .../Beispiel_25_cd31610e_dae573db/output.json | 280 --- .../Beispiel_25_cd31610e_dae573db/output.xml | 277 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 280 +++ .../output.xml | 277 +++ .../Beispiel_25_dae573db/log.txt | 1 - .../Beispiel_25_dae573db/output.json | 14 +- .../Beispiel_25_dae573db/output.xml | 14 +- .../Beispiel_25_dae573db_dae573db/input.xml | 422 ++++ .../Beispiel_25_dae573db_dae573db}/log.txt | 0 .../Beispiel_25_dae573db_dae573db/output.json | 280 +++ .../Beispiel_25_dae573db_dae573db/output.xml | 277 +++ .../Beispiel_50_c0cfd125_ddc83056/log.txt | 3 - .../Beispiel_50_c0cfd125_ddc83056/output.json | 312 --- .../Beispiel_50_c0cfd125_ddc83056/output.xml | 307 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 312 +++ .../output.xml | 307 +++ .../Beispiel_50_ddc83056/log.txt | 1 - .../Beispiel_50_ddc83056/output.json | 14 +- .../Beispiel_50_ddc83056/output.xml | 14 +- .../Beispiel_50_ddc83056_ddc83056/input.xml | 432 ++++ .../Beispiel_50_ddc83056_ddc83056}/log.txt | 0 .../Beispiel_50_ddc83056_ddc83056/output.json | 312 +++ .../Beispiel_50_ddc83056_ddc83056/output.xml | 307 +++ .../Beispiel_51_63c98839_deda8f97/log.txt | 3 - .../Beispiel_51_63c98839_deda8f97/output.json | 296 --- .../Beispiel_51_63c98839_deda8f97/output.xml | 289 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 296 +++ .../output.xml | 289 +++ .../Beispiel_51_deda8f97/log.txt | 1 - .../Beispiel_51_deda8f97/output.json | 14 +- .../Beispiel_51_deda8f97/output.xml | 14 +- .../Beispiel_51_deda8f97_deda8f97/input.xml | 420 ++++ .../Beispiel_51_deda8f97_deda8f97}/log.txt | 0 .../Beispiel_51_deda8f97_deda8f97/output.json | 296 +++ .../Beispiel_51_deda8f97_deda8f97/output.xml | 289 +++ .../Beispiel_52_2980d248_6f193f8b/log.txt | 3 - .../Beispiel_52_2980d248_6f193f8b/output.json | 296 --- .../Beispiel_52_2980d248_6f193f8b/output.xml | 289 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 296 +++ .../output.xml | 289 +++ .../Beispiel_52_6f193f8b/log.txt | 1 - .../Beispiel_52_6f193f8b/output.json | 14 +- .../Beispiel_52_6f193f8b/output.xml | 14 +- .../Beispiel_52_6f193f8b_6f193f8b/input.xml | 420 ++++ .../Beispiel_52_6f193f8b_6f193f8b}/log.txt | 0 .../Beispiel_52_6f193f8b_6f193f8b/output.json | 296 +++ .../Beispiel_52_6f193f8b_6f193f8b/output.xml | 289 +++ .../Beispiel_53_465f1638/log.txt | 1 - .../Beispiel_53_465f1638/output.json | 14 +- .../Beispiel_53_465f1638/output.xml | 14 +- .../input.xml | 0 .../Beispiel_53_465f1638_465f1638}/log.txt | 0 .../Beispiel_53_465f1638_465f1638/output.json | 325 +++ .../Beispiel_53_465f1638_465f1638/output.xml | 317 +++ .../Beispiel_53_f5386f17_465f1638/log.txt | 3 - .../Beispiel_53_f5386f17_465f1638/output.json | 325 --- .../Beispiel_53_f5386f17_465f1638/output.xml | 317 --- .../input.xml | 417 ++++ .../log.txt | 0 .../output.json | 325 +++ .../output.xml | 317 +++ .../log.txt | 3 - .../output.json | 293 --- .../output.xml | 287 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 293 +++ .../output.xml | 287 +++ .../Rez_Nr1_VerordnungArzt_9581ce65/log.txt | 1 - .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 293 +++ .../output.xml | 287 +++ .../log.txt | 3 - .../output.json | 293 --- .../output.xml | 287 --- .../input.xml | 407 ++++ .../log.txt | 0 .../output.json | 293 +++ .../output.xml | 287 +++ .../log.txt | 3 - .../output.json | 293 --- .../output.xml | 287 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 293 +++ .../output.xml | 287 +++ .../log.txt | 3 - .../output.json | 293 --- .../output.xml | 287 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 293 +++ .../output.xml | 287 +++ .../log.txt | 1 - .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 418 ++++ .../log.txt | 0 .../output.json | 293 +++ .../output.xml | 287 +++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../06_request_taskClose_null/output.json | 14 +- .../06_request_taskClose_null/output.xml | 14 +- .../06_request_taskClose_null_null/input.xml | 90 + .../log.txt | 0 .../output.json | 134 ++ .../06_request_taskClose_null_null/output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 91 + .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 130 -- .../output.xml | 134 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 130 -- .../output.xml | 134 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 130 -- .../output.xml | 134 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 82 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 82 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../log.txt | 3 - .../output.json | 218 -- .../output.xml | 209 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 218 ++ .../output.xml | 209 ++ .../log.txt | 1 - .../output.json | 16 +- .../output.xml | 16 +- .../input.xml | 98 + .../log.txt | 0 .../output.json | 218 ++ .../output.xml | 209 ++ .../output.json | 130 -- .../output.xml | 134 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 130 -- .../output.xml | 134 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 130 -- .../output.xml | 134 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 82 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 130 -- .../output.xml | 134 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 130 -- .../output.xml | 134 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 85 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 82 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../output.json | 130 -- .../output.xml | 134 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 86 + .../log.txt | 0 .../output.json | 130 ++ .../output.xml | 134 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 91 + .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 91 + .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 91 + .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 91 + .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 91 + .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 91 + .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 91 + .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 108 + .../output.xml | 113 + .../output.json | 108 - .../output.xml | 113 - .../input.xml | 60 + .../log.txt | 0 .../output.json | 108 + .../output.xml | 113 + .../output.json | 108 - .../output.xml | 113 - .../input.xml | 0 .../log.txt | 0 .../output.json | 108 + .../output.xml | 113 + .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 108 + .../output.xml | 113 + .../output.json | 108 - .../output.xml | 113 - .../input.xml | 60 + .../log.txt | 0 .../output.json | 108 + .../output.xml | 113 + .../output.json | 108 - .../output.xml | 113 - .../input.xml | 0 .../log.txt | 0 .../output.json | 108 + .../output.xml | 113 + .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 88 + .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 131 -- .../output.xml | 135 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 131 ++ .../output.xml | 135 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 91 + .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 91 + .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 91 + .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 91 + .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 134 -- .../output.xml | 138 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 14 +- .../output.xml | 14 +- .../input.xml | 91 + .../log.txt | 0 .../output.json | 134 ++ .../output.xml | 138 ++ .../output.json | 127 -- .../output.xml | 131 -- .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../input.xml | 83 + .../log.txt | 0 .../output.json | 127 ++ .../output.xml | 131 ++ .../Beispiel_22_4863d1fb/output.json | 12 +- .../Beispiel_22_4863d1fb/output.xml | 12 +- .../input.xml | 0 .../Beispiel_22_4863d1fb_4863d1fb}/log.txt | 0 .../Beispiel_22_4863d1fb_4863d1fb/output.json | 190 ++ .../Beispiel_22_4863d1fb_4863d1fb/output.xml | 195 ++ .../Beispiel_22_ba4e7121_4863d1fb/output.json | 190 -- .../Beispiel_22_ba4e7121_4863d1fb/output.xml | 195 -- .../input.xml | 373 ++++ .../log.txt | 0 .../output.json | 190 ++ .../output.xml | 195 ++ .../FT_V1_VerordnungArzt_4863d1fb/output.json | 12 +- .../FT_V1_VerordnungArzt_4863d1fb/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 190 ++ .../output.xml | 195 ++ .../output.json | 190 -- .../output.xml | 195 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 190 ++ .../output.xml | 195 ++ .../output.json | 190 -- .../output.xml | 195 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 190 ++ .../output.xml | 195 ++ .../output.json | 190 -- .../output.xml | 195 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 190 ++ .../output.xml | 195 ++ .../FT_V2_VerordnungArzt_4863d1fb/output.json | 12 +- .../FT_V2_VerordnungArzt_4863d1fb/output.xml | 12 +- .../input.xml | 373 ++++ .../log.txt | 0 .../output.json | 190 ++ .../output.xml | 195 ++ .../output.json | 190 -- .../output.xml | 195 -- .../input.xml | 373 ++++ .../log.txt | 0 .../output.json | 190 ++ .../output.xml | 195 ++ .../Beispiel_16_6e2b78ab_ec6059d9/output.json | 243 -- .../Beispiel_16_6e2b78ab_ec6059d9/output.xml | 242 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 243 ++ .../output.xml | 242 ++ .../Beispiel_16_ec6059d9/output.json | 12 +- .../Beispiel_16_ec6059d9/output.xml | 12 +- .../Beispiel_16_ec6059d9_ec6059d9/input.xml | 444 ++++ .../Beispiel_16_ec6059d9_ec6059d9}/log.txt | 0 .../Beispiel_16_ec6059d9_ec6059d9/output.json | 243 ++ .../Beispiel_16_ec6059d9_ec6059d9/output.xml | 242 ++ .../Beispiel_17_01142458_9c85a2a5/output.json | 250 --- .../Beispiel_17_01142458_9c85a2a5/output.xml | 250 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 250 +++ .../output.xml | 250 +++ .../Beispiel_17_9c85a2a5/output.json | 12 +- .../Beispiel_17_9c85a2a5/output.xml | 12 +- .../Beispiel_17_9c85a2a5_9c85a2a5/input.xml | 408 ++++ .../Beispiel_17_9c85a2a5_9c85a2a5}/log.txt | 0 .../Beispiel_17_9c85a2a5_9c85a2a5/output.json | 250 +++ .../Beispiel_17_9c85a2a5_9c85a2a5/output.xml | 250 +++ .../Beispiel_18_218b581d/output.json | 12 +- .../Beispiel_18_218b581d/output.xml | 12 +- .../input.xml | 0 .../Beispiel_18_218b581d_218b581d}/log.txt | 0 .../Beispiel_18_218b581d_218b581d/output.json | 276 +++ .../Beispiel_18_218b581d_218b581d/output.xml | 274 +++ .../Beispiel_18_fe99181f_218b581d/output.json | 276 --- .../Beispiel_18_fe99181f_218b581d/output.xml | 274 --- .../input.xml | 428 ++++ .../log.txt | 0 .../output.json | 276 +++ .../output.xml | 274 +++ .../Beispiel_19_9eb9d0af_cf0d4980/output.json | 242 -- .../Beispiel_19_9eb9d0af_cf0d4980/output.xml | 243 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 242 ++ .../output.xml | 243 ++ .../Beispiel_19_cf0d4980/output.json | 12 +- .../Beispiel_19_cf0d4980/output.xml | 12 +- .../Beispiel_19_cf0d4980_cf0d4980/input.xml | 406 ++++ .../Beispiel_19_cf0d4980_cf0d4980}/log.txt | 0 .../Beispiel_19_cf0d4980_cf0d4980/output.json | 242 ++ .../Beispiel_19_cf0d4980_cf0d4980/output.xml | 243 ++ .../output.json | 248 --- .../output.xml | 250 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 248 +++ .../output.xml | 250 +++ .../Beispiel_21_1_cd6d3a17/output.json | 12 +- .../Beispiel_21_1_cd6d3a17/output.xml | 12 +- .../Beispiel_21_1_cd6d3a17_cd6d3a17/input.xml | 396 ++++ .../Beispiel_21_1_cd6d3a17_cd6d3a17}/log.txt | 0 .../output.json | 248 +++ .../output.xml | 250 +++ .../output.json | 248 --- .../output.xml | 250 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 248 +++ .../output.xml | 250 +++ .../Beispiel_21_2_d9118e05/output.json | 12 +- .../Beispiel_21_2_d9118e05/output.xml | 12 +- .../Beispiel_21_2_d9118e05_d9118e05/input.xml | 396 ++++ .../Beispiel_21_2_d9118e05_d9118e05}/log.txt | 0 .../output.json | 248 +++ .../output.xml | 250 +++ .../Beispiel_29_726e6cdd/output.json | 12 +- .../Beispiel_29_726e6cdd/output.xml | 12 +- .../input.xml | 0 .../Beispiel_29_726e6cdd_726e6cdd}/log.txt | 0 .../Beispiel_29_726e6cdd_726e6cdd/output.json | 227 ++ .../Beispiel_29_726e6cdd_726e6cdd/output.xml | 229 ++ .../Beispiel_29_a90c2e57_726e6cdd/output.json | 227 -- .../Beispiel_29_a90c2e57_726e6cdd/output.xml | 229 -- .../input.xml | 370 ++++ .../log.txt | 0 .../output.json | 227 ++ .../output.xml | 229 ++ .../Beispiel_58_9356774b/output.json | 12 +- .../Beispiel_58_9356774b/output.xml | 12 +- .../input.xml | 0 .../Beispiel_58_9356774b_9356774b}/log.txt | 0 .../Beispiel_58_9356774b_9356774b/output.json | 227 ++ .../Beispiel_58_9356774b_9356774b/output.xml | 229 ++ .../Beispiel_58_97f6247a_9356774b/output.json | 227 -- .../Beispiel_58_97f6247a_9356774b/output.xml | 229 -- .../input.xml | 370 ++++ .../log.txt | 0 .../output.json | 227 ++ .../output.xml | 229 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 239 ++ .../output.xml | 240 ++ .../output.json | 239 -- .../output.xml | 240 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 239 ++ .../output.xml | 240 ++ .../output.json | 239 -- .../output.xml | 240 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 239 ++ .../output.xml | 240 ++ .../output.json | 239 -- .../output.xml | 240 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 239 ++ .../output.xml | 240 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 414 ++++ .../log.txt | 0 .../output.json | 239 ++ .../output.xml | 240 ++ .../output.json | 239 -- .../output.xml | 240 -- .../input.xml | 414 ++++ .../log.txt | 0 .../output.json | 239 ++ .../output.xml | 240 ++ .../output.json | 248 --- .../output.xml | 250 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 248 +++ .../output.xml | 250 +++ .../output.json | 248 --- .../output.xml | 250 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 248 +++ .../output.xml | 250 +++ .../output.json | 12 +- .../WS_MV1_VerordnungArzt_cd6d3a17/output.xml | 12 +- .../input.xml | 396 ++++ .../log.txt | 0 .../output.json | 248 +++ .../output.xml | 250 +++ .../output.json | 248 --- .../output.xml | 250 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 248 +++ .../output.xml | 250 +++ .../output.json | 248 --- .../output.xml | 250 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 248 +++ .../output.xml | 250 +++ .../output.json | 12 +- .../WS_MV2_VerordnungArzt_d9118e05/output.xml | 12 +- .../input.xml | 396 ++++ .../log.txt | 0 .../output.json | 248 +++ .../output.xml | 250 +++ .../output.json | 242 -- .../output.xml | 243 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 242 ++ .../output.xml | 243 ++ .../output.json | 242 -- .../output.xml | 243 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 242 ++ .../output.xml | 243 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 406 ++++ .../log.txt | 0 .../output.json | 242 ++ .../output.xml | 243 ++ .../output.json | 250 --- .../output.xml | 250 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 250 +++ .../output.xml | 250 +++ .../WS_V1_VerordnungArzt_9c85a2a5/output.json | 12 +- .../WS_V1_VerordnungArzt_9c85a2a5/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 250 +++ .../output.xml | 250 +++ .../output.json | 250 --- .../output.xml | 250 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 250 +++ .../output.xml | 250 +++ .../output.json | 250 --- .../output.xml | 250 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 250 +++ .../output.xml | 250 +++ .../output.json | 250 --- .../output.xml | 250 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 250 +++ .../output.xml | 250 +++ .../WS_V2_VerordnungArzt_9c85a2a5/output.json | 12 +- .../WS_V2_VerordnungArzt_9c85a2a5/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 250 +++ .../output.xml | 250 +++ .../WS_V3_VerordnungArzt_9c85a2a5/output.json | 12 +- .../WS_V3_VerordnungArzt_9c85a2a5/output.xml | 12 +- .../input.xml | 408 ++++ .../log.txt | 0 .../output.json | 250 +++ .../output.xml | 250 +++ .../output.json | 250 --- .../output.xml | 250 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 250 +++ .../output.xml | 250 +++ .../output.json | 250 --- .../output.xml | 250 --- .../input.xml | 408 ++++ .../log.txt | 0 .../output.json | 250 +++ .../output.xml | 250 +++ .../WS_V4_VerordnungArzt_9c85a2a5/output.json | 12 +- .../WS_V4_VerordnungArzt_9c85a2a5/output.xml | 12 +- .../input.xml | 408 ++++ .../log.txt | 0 .../output.json | 250 +++ .../output.xml | 250 +++ .../output.json | 250 --- .../output.xml | 250 --- .../input.xml | 0 .../log.txt | 0 .../output.json | 250 +++ .../output.xml | 250 +++ .../output.json | 250 --- .../output.xml | 250 --- .../input.xml | 408 ++++ .../log.txt | 0 .../output.json | 250 +++ .../output.xml | 250 +++ .../002_document_to_sign_02ad9b11/output.json | 12 +- .../002_document_to_sign_02ad9b11/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 233 -- .../output.xml | 236 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 233 ++ .../output.xml | 236 ++ .../002_document_to_sign_05168195/output.json | 12 +- .../002_document_to_sign_05168195/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_09e5d103/output.json | 12 +- .../002_document_to_sign_09e5d103/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_0b82f30f/output.json | 12 +- .../002_document_to_sign_0b82f30f/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 233 -- .../output.xml | 236 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 233 ++ .../output.xml | 236 ++ .../002_document_to_sign_0d9bb3b8/output.json | 12 +- .../002_document_to_sign_0d9bb3b8/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_0fdadb04/output.json | 12 +- .../002_document_to_sign_0fdadb04/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_10feb16e/output.json | 12 +- .../002_document_to_sign_10feb16e/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_12931066/output.json | 12 +- .../002_document_to_sign_12931066/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_14d9b2f3/output.json | 12 +- .../002_document_to_sign_14d9b2f3/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_16b1f573/output.json | 12 +- .../002_document_to_sign_16b1f573/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_1906d211/output.json | 12 +- .../002_document_to_sign_1906d211/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_1be382e5/output.json | 12 +- .../002_document_to_sign_1be382e5/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_230dc009/output.json | 12 +- .../002_document_to_sign_230dc009/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_29aa5ba0/output.json | 12 +- .../002_document_to_sign_29aa5ba0/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_2b62d10b/output.json | 12 +- .../002_document_to_sign_2b62d10b/output.xml | 12 +- .../input.xml | 0 .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 0 .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_2ddcab15/output.json | 12 +- .../002_document_to_sign_2ddcab15/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 233 ++ .../output.xml | 236 ++ .../output.json | 234 -- .../output.xml | 237 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 234 ++ .../output.xml | 237 ++ .../002_document_to_sign_35469770/output.json | 12 +- .../002_document_to_sign_35469770/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_37c652cb/output.json | 12 +- .../002_document_to_sign_37c652cb/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_4149362e/output.json | 12 +- .../002_document_to_sign_4149362e/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_41ecb9a7/output.json | 12 +- .../002_document_to_sign_41ecb9a7/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_45a9ad90/output.json | 12 +- .../002_document_to_sign_45a9ad90/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_475e9667/output.json | 12 +- .../002_document_to_sign_475e9667/output.xml | 12 +- .../input.xml | 402 ++++ .../log.txt | 2 + .../output.json | 233 ++ .../output.xml | 236 ++ .../002_document_to_sign_4c861d6d/output.json | 12 +- .../002_document_to_sign_4c861d6d/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_4f51deff/output.json | 12 +- .../002_document_to_sign_4f51deff/output.xml | 12 +- .../input.xml | 403 ++++ .../log.txt | 2 + .../output.json | 234 ++ .../output.xml | 237 ++ .../002_document_to_sign_4ff8a848/output.json | 12 +- .../002_document_to_sign_4ff8a848/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_5093c3ab/output.json | 12 +- .../002_document_to_sign_5093c3ab/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_5d6fae1d/output.json | 12 +- .../002_document_to_sign_5d6fae1d/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_5f3e877b/output.json | 12 +- .../002_document_to_sign_5f3e877b/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_617b672a/output.json | 12 +- .../002_document_to_sign_617b672a/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_62dd6004/output.json | 12 +- .../002_document_to_sign_62dd6004/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_7c15a984/output.json | 12 +- .../002_document_to_sign_7c15a984/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_7fe0b57d/output.json | 12 +- .../002_document_to_sign_7fe0b57d/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_80a43c33/output.json | 12 +- .../002_document_to_sign_80a43c33/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 234 -- .../output.xml | 237 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 234 ++ .../output.xml | 237 ++ .../output.json | 234 -- .../output.xml | 237 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 234 ++ .../output.xml | 237 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_902668fe/output.json | 12 +- .../002_document_to_sign_902668fe/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_90d5dd65/output.json | 12 +- .../002_document_to_sign_90d5dd65/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_9645a6a3/output.json | 12 +- .../002_document_to_sign_9645a6a3/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_9c9429a1/output.json | 12 +- .../002_document_to_sign_9c9429a1/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_a39897e0/output.json | 12 +- .../002_document_to_sign_a39897e0/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_a3c77b03/output.json | 12 +- .../002_document_to_sign_a3c77b03/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_ab9f6a4e/output.json | 12 +- .../002_document_to_sign_ab9f6a4e/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_ad686294/output.json | 12 +- .../002_document_to_sign_ad686294/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 234 -- .../output.xml | 237 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 234 ++ .../output.xml | 237 ++ .../002_document_to_sign_b0589d4c/output.json | 12 +- .../002_document_to_sign_b0589d4c/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_b0ce4ff1/output.json | 12 +- .../002_document_to_sign_b0ce4ff1/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_b4bf1696/output.json | 12 +- .../002_document_to_sign_b4bf1696/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_bbc51505/output.json | 12 +- .../002_document_to_sign_bbc51505/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_bddb1f9e/output.json | 12 +- .../002_document_to_sign_bddb1f9e/output.xml | 12 +- .../input.xml | 402 ++++ .../log.txt | 2 + .../output.json | 233 ++ .../output.xml | 236 ++ .../002_document_to_sign_bf973351/output.json | 12 +- .../002_document_to_sign_bf973351/output.xml | 12 +- .../input.xml | 403 ++++ .../log.txt | 2 + .../output.json | 234 ++ .../output.xml | 237 ++ .../002_document_to_sign_bfd34b90/output.json | 12 +- .../002_document_to_sign_bfd34b90/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 233 -- .../output.xml | 236 -- .../input.xml | 402 ++++ .../log.txt | 2 + .../output.json | 233 ++ .../output.xml | 236 ++ .../002_document_to_sign_c79c0fe3/output.json | 12 +- .../002_document_to_sign_c79c0fe3/output.xml | 12 +- .../input.xml | 403 ++++ .../log.txt | 2 + .../output.json | 234 ++ .../output.xml | 237 ++ .../002_document_to_sign_c7ac3a7c/output.json | 12 +- .../002_document_to_sign_c7ac3a7c/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_c88ccdf7/output.json | 12 +- .../002_document_to_sign_c88ccdf7/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_cb7063e3/output.json | 12 +- .../002_document_to_sign_cb7063e3/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_dac55c3e/output.json | 12 +- .../002_document_to_sign_dac55c3e/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_df31f167/output.json | 12 +- .../002_document_to_sign_df31f167/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_df4a4b64/output.json | 12 +- .../002_document_to_sign_df4a4b64/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_df6aff69/output.json | 12 +- .../002_document_to_sign_df6aff69/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 233 ++ .../output.xml | 236 ++ .../002_document_to_sign_e17e8259/output.json | 12 +- .../002_document_to_sign_e17e8259/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_e4a92e97/output.json | 12 +- .../002_document_to_sign_e4a92e97/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_e6706910/output.json | 12 +- .../002_document_to_sign_e6706910/output.xml | 12 +- .../input.xml | 403 ++++ .../log.txt | 2 + .../output.json | 234 ++ .../output.xml | 237 ++ .../output.json | 233 -- .../output.xml | 236 -- .../input.xml | 402 ++++ .../log.txt | 2 + .../output.json | 233 ++ .../output.xml | 236 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_f731f36c/output.json | 12 +- .../002_document_to_sign_f731f36c/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_f88786be/output.json | 12 +- .../002_document_to_sign_f88786be/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_f9c4ff65/output.json | 12 +- .../002_document_to_sign_f9c4ff65/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_fb9ea88e/output.json | 12 +- .../002_document_to_sign_fb9ea88e/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../002_document_to_sign_fce076cc/output.json | 12 +- .../002_document_to_sign_fce076cc/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../003_document_to_sign_12875f19/output.json | 12 +- .../003_document_to_sign_12875f19/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../003_document_to_sign_25e815da/output.json | 12 +- .../003_document_to_sign_25e815da/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../003_document_to_sign_3817df9f/output.json | 12 +- .../003_document_to_sign_3817df9f/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../003_document_to_sign_3a052e22/output.json | 12 +- .../003_document_to_sign_3a052e22/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../003_document_to_sign_3cb47bc5/output.json | 12 +- .../003_document_to_sign_3cb47bc5/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../003_document_to_sign_4d68c364/output.json | 12 +- .../003_document_to_sign_4d68c364/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../003_document_to_sign_6b244b96/output.json | 12 +- .../003_document_to_sign_6b244b96/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../003_document_to_sign_90b31bf4/output.json | 12 +- .../003_document_to_sign_90b31bf4/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../003_document_to_sign_9963336d/output.json | 12 +- .../003_document_to_sign_9963336d/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../003_document_to_sign_a49d100a/output.json | 12 +- .../003_document_to_sign_a49d100a/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../003_document_to_sign_a79dd76f/output.json | 12 +- .../003_document_to_sign_a79dd76f/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../003_document_to_sign_c44d90eb/output.json | 12 +- .../003_document_to_sign_c44d90eb/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../003_document_to_sign_ee45abcb/output.json | 12 +- .../003_document_to_sign_ee45abcb/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../004_document_to_sign_93c38d8d/output.json | 12 +- .../004_document_to_sign_93c38d8d/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../004_document_to_sign_c80f28e3/output.json | 12 +- .../004_document_to_sign_c80f28e3/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../005_document_to_sign_04ef6989/output.json | 12 +- .../005_document_to_sign_04ef6989/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../005_document_to_sign_207902f9/output.json | 12 +- .../005_document_to_sign_207902f9/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../005_document_to_sign_251cee33/output.json | 12 +- .../005_document_to_sign_251cee33/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../005_document_to_sign_9e9b3d77/output.json | 12 +- .../005_document_to_sign_9e9b3d77/output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 233 -- .../output.xml | 236 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 233 ++ .../output.xml | 236 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../009_document_to_sign_7adc4492/output.json | 12 +- .../009_document_to_sign_7adc4492/output.xml | 12 +- .../input.xml | 402 ++++ .../log.txt | 2 + .../output.json | 233 ++ .../output.xml | 236 ++ .../009_document_to_sign_d04a95ee/output.json | 12 +- .../009_document_to_sign_d04a95ee/output.xml | 12 +- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../output.json | 233 -- .../output.xml | 236 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 233 ++ .../output.xml | 236 ++ .../016_document_to_sign_71606533/output.json | 12 +- .../016_document_to_sign_71606533/output.xml | 12 +- .../input.xml | 402 ++++ .../log.txt | 2 + .../output.json | 233 ++ .../output.xml | 236 ++ .../output.json | 233 -- .../output.xml | 236 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 233 ++ .../output.xml | 236 ++ .../023_document_to_sign_7b2ca3fe/output.json | 12 +- .../023_document_to_sign_7b2ca3fe/output.xml | 12 +- .../input.xml | 402 ++++ .../log.txt | 2 + .../output.json | 233 ++ .../output.xml | 236 ++ .../output.json | 225 -- .../output.xml | 230 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../Beispiel_10_1_c44ddc5b/output.json | 12 +- .../Beispiel_10_1_c44ddc5b/output.xml | 12 +- .../Beispiel_10_1_c44ddc5b_c44ddc5b/input.xml | 408 ++++ .../Beispiel_10_1_c44ddc5b_c44ddc5b/log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../Beispiel_10_2_7031f7f3/output.json | 12 +- .../Beispiel_10_2_7031f7f3/output.xml | 12 +- .../input.xml | 0 .../Beispiel_10_2_7031f7f3_7031f7f3/log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../output.json | 225 -- .../output.xml | 230 -- .../input.xml | 408 ++++ .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../output.json | 225 -- .../output.xml | 230 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../Beispiel_10_3_f70585e0/output.json | 12 +- .../Beispiel_10_3_f70585e0/output.xml | 12 +- .../Beispiel_10_3_f70585e0_f70585e0/input.xml | 408 ++++ .../Beispiel_10_3_f70585e0_f70585e0/log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../Beispiel_10_4_15da065c/output.json | 12 +- .../Beispiel_10_4_15da065c/output.xml | 12 +- .../input.xml | 0 .../Beispiel_10_4_15da065c_15da065c/log.txt | 2 + .../output.json | 224 ++ .../output.xml | 229 ++ .../output.json | 224 -- .../output.xml | 229 -- .../input.xml | 407 ++++ .../log.txt | 2 + .../output.json | 224 ++ .../output.xml | 229 ++ .../Beispiel_11_1a369537_690a7f01/output.json | 205 -- .../Beispiel_11_1a369537_690a7f01/output.xml | 208 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 205 ++ .../output.xml | 208 ++ .../Beispiel_11_690a7f01/output.json | 12 +- .../Beispiel_11_690a7f01/output.xml | 12 +- .../Beispiel_11_690a7f01_690a7f01/input.xml | 379 ++++ .../Beispiel_11_690a7f01_690a7f01/log.txt | 2 + .../Beispiel_11_690a7f01_690a7f01/output.json | 205 ++ .../Beispiel_11_690a7f01_690a7f01/output.xml | 208 ++ .../Beispiel_12_14f3cff7/output.json | 12 +- .../Beispiel_12_14f3cff7/output.xml | 12 +- .../input.xml | 0 .../Beispiel_12_14f3cff7_14f3cff7/log.txt | 2 + .../Beispiel_12_14f3cff7_14f3cff7/output.json | 217 ++ .../Beispiel_12_14f3cff7_14f3cff7/output.xml | 220 ++ .../Beispiel_12_2aa01d66_14f3cff7/output.json | 217 -- .../Beispiel_12_2aa01d66_14f3cff7/output.xml | 220 -- .../input.xml | 396 ++++ .../log.txt | 2 + .../output.json | 217 ++ .../output.xml | 220 ++ .../Beispiel_13_8d85e45c_ee9d3b92/output.json | 217 -- .../Beispiel_13_8d85e45c_ee9d3b92/output.xml | 221 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 217 ++ .../output.xml | 221 ++ .../Beispiel_13_ee9d3b92/output.json | 12 +- .../Beispiel_13_ee9d3b92/output.xml | 12 +- .../Beispiel_13_ee9d3b92_ee9d3b92/input.xml | 397 ++++ .../Beispiel_13_ee9d3b92_ee9d3b92/log.txt | 2 + .../Beispiel_13_ee9d3b92_ee9d3b92/output.json | 217 ++ .../Beispiel_13_ee9d3b92_ee9d3b92/output.xml | 221 ++ .../Beispiel_14_63ade791_753fff3b/output.json | 209 -- .../Beispiel_14_63ade791_753fff3b/output.xml | 211 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 209 ++ .../output.xml | 211 ++ .../Beispiel_14_753fff3b/output.json | 12 +- .../Beispiel_14_753fff3b/output.xml | 12 +- .../Beispiel_14_753fff3b_753fff3b/input.xml | 384 ++++ .../Beispiel_14_753fff3b_753fff3b/log.txt | 2 + .../Beispiel_14_753fff3b_753fff3b/output.json | 209 ++ .../Beispiel_14_753fff3b_753fff3b/output.xml | 211 ++ .../Beispiel_15_34abcf97/output.json | 12 +- .../Beispiel_15_34abcf97/output.xml | 12 +- .../input.xml | 0 .../Beispiel_15_34abcf97_34abcf97/log.txt | 2 + .../Beispiel_15_34abcf97_34abcf97/output.json | 198 ++ .../Beispiel_15_34abcf97_34abcf97/output.xml | 204 ++ .../Beispiel_15_b8505bd0_34abcf97/output.json | 198 -- .../Beispiel_15_b8505bd0_34abcf97/output.xml | 204 -- .../input.xml | 388 ++++ .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_1_44420ed9/output.json | 12 +- .../Beispiel_1_44420ed9/output.xml | 12 +- .../input.xml | 0 .../Beispiel_1_44420ed9_44420ed9/log.txt | 2 + .../Beispiel_1_44420ed9_44420ed9/output.json | 203 ++ .../Beispiel_1_44420ed9_44420ed9/output.xml | 208 ++ .../Beispiel_1_f12fa769_44420ed9/output.json | 203 -- .../Beispiel_1_f12fa769_44420ed9/output.xml | 208 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 203 ++ .../output.xml | 208 ++ .../Beispiel_1_f40a23d0_44420ed9/output.json | 203 -- .../Beispiel_1_f40a23d0_44420ed9/output.xml | 208 -- .../input.xml | 384 ++++ .../log.txt | 2 + .../output.json | 203 ++ .../output.xml | 208 ++ .../Beispiel_2_2b6860ab_6d5162b2/output.json | 210 -- .../Beispiel_2_2b6860ab_6d5162b2/output.xml | 214 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 210 ++ .../output.xml | 214 ++ .../Beispiel_2_6d5162b2/output.json | 12 +- .../Beispiel_2_6d5162b2/output.xml | 12 +- .../input.xml | 0 .../Beispiel_2_6d5162b2_6d5162b2/log.txt | 2 + .../Beispiel_2_6d5162b2_6d5162b2/output.json | 210 ++ .../Beispiel_2_6d5162b2_6d5162b2/output.xml | 214 ++ .../Beispiel_2_d5f08b4e_6d5162b2/output.json | 210 -- .../Beispiel_2_d5f08b4e_6d5162b2/output.xml | 214 -- .../input.xml | 396 ++++ .../log.txt | 2 + .../output.json | 210 ++ .../output.xml | 214 ++ .../Beispiel_30_1ab932b8_846d07e6/output.json | 198 -- .../Beispiel_30_1ab932b8_846d07e6/output.xml | 204 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_30_846d07e6/output.json | 12 +- .../Beispiel_30_846d07e6/output.xml | 12 +- .../Beispiel_30_846d07e6_846d07e6/input.xml | 372 ++++ .../Beispiel_30_846d07e6_846d07e6/log.txt | 2 + .../Beispiel_30_846d07e6_846d07e6/output.json | 198 ++ .../Beispiel_30_846d07e6_846d07e6/output.xml | 204 ++ .../Beispiel_31_7f12495e/output.json | 12 +- .../Beispiel_31_7f12495e/output.xml | 12 +- .../input.xml | 0 .../Beispiel_31_7f12495e_7f12495e/log.txt | 2 + .../Beispiel_31_7f12495e_7f12495e/output.json | 198 ++ .../Beispiel_31_7f12495e_7f12495e/output.xml | 204 ++ .../Beispiel_31_e0cb3cbc_7f12495e/output.json | 198 -- .../Beispiel_31_e0cb3cbc_7f12495e/output.xml | 204 -- .../input.xml | 372 ++++ .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_32_318de3dd_6f404894/output.json | 198 -- .../Beispiel_32_318de3dd_6f404894/output.xml | 204 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_32_6f404894/output.json | 12 +- .../Beispiel_32_6f404894/output.xml | 12 +- .../Beispiel_32_6f404894_6f404894/input.xml | 369 ++++ .../Beispiel_32_6f404894_6f404894/log.txt | 2 + .../Beispiel_32_6f404894_6f404894/output.json | 198 ++ .../Beispiel_32_6f404894_6f404894/output.xml | 204 ++ .../Beispiel_33_1f339db0/output.json | 12 +- .../Beispiel_33_1f339db0/output.xml | 12 +- .../input.xml | 0 .../Beispiel_33_1f339db0_1f339db0/log.txt | 2 + .../Beispiel_33_1f339db0_1f339db0/output.json | 198 ++ .../Beispiel_33_1f339db0_1f339db0/output.xml | 204 ++ .../Beispiel_33_34200096_1f339db0/output.json | 198 -- .../Beispiel_33_34200096_1f339db0/output.xml | 204 -- .../input.xml | 369 ++++ .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_34_7fd5f6de_d38c02fa/output.json | 198 -- .../Beispiel_34_7fd5f6de_d38c02fa/output.xml | 204 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_34_d38c02fa/output.json | 12 +- .../Beispiel_34_d38c02fa/output.xml | 12 +- .../Beispiel_34_d38c02fa_d38c02fa/input.xml | 372 ++++ .../Beispiel_34_d38c02fa_d38c02fa/log.txt | 2 + .../Beispiel_34_d38c02fa_d38c02fa/output.json | 198 ++ .../Beispiel_34_d38c02fa_d38c02fa/output.xml | 204 ++ .../Beispiel_35_b942313c/output.json | 12 +- .../Beispiel_35_b942313c/output.xml | 12 +- .../input.xml | 0 .../Beispiel_35_b942313c_b942313c/log.txt | 2 + .../Beispiel_35_b942313c_b942313c/output.json | 198 ++ .../Beispiel_35_b942313c_b942313c/output.xml | 204 ++ .../Beispiel_35_f54e7067_b942313c/output.json | 198 -- .../Beispiel_35_f54e7067_b942313c/output.xml | 204 -- .../input.xml | 372 ++++ .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_36_143798dc_c48d0fb5/output.json | 198 -- .../Beispiel_36_143798dc_c48d0fb5/output.xml | 204 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_36_c48d0fb5/output.json | 12 +- .../Beispiel_36_c48d0fb5/output.xml | 12 +- .../Beispiel_36_c48d0fb5_c48d0fb5/input.xml | 383 ++++ .../Beispiel_36_c48d0fb5_c48d0fb5/log.txt | 2 + .../Beispiel_36_c48d0fb5_c48d0fb5/output.json | 198 ++ .../Beispiel_36_c48d0fb5_c48d0fb5/output.xml | 204 ++ .../Beispiel_37_78ff5d32_7d1f08b4/output.json | 198 -- .../Beispiel_37_78ff5d32_7d1f08b4/output.xml | 204 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_37_7d1f08b4/output.json | 12 +- .../Beispiel_37_7d1f08b4/output.xml | 12 +- .../Beispiel_37_7d1f08b4_7d1f08b4/input.xml | 372 ++++ .../Beispiel_37_7d1f08b4_7d1f08b4/log.txt | 2 + .../Beispiel_37_7d1f08b4_7d1f08b4/output.json | 198 ++ .../Beispiel_37_7d1f08b4_7d1f08b4/output.xml | 204 ++ .../Beispiel_38_60e48db8/output.json | 12 +- .../Beispiel_38_60e48db8/output.xml | 12 +- .../input.xml | 0 .../Beispiel_38_60e48db8_60e48db8/log.txt | 2 + .../Beispiel_38_60e48db8_60e48db8/output.json | 198 ++ .../Beispiel_38_60e48db8_60e48db8/output.xml | 204 ++ .../Beispiel_38_fb26a25e_60e48db8/output.json | 198 -- .../Beispiel_38_fb26a25e_60e48db8/output.xml | 204 -- .../input.xml | 372 ++++ .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_39_23d155d0_acf39375/output.json | 198 -- .../Beispiel_39_23d155d0_acf39375/output.xml | 204 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_39_acf39375/output.json | 12 +- .../Beispiel_39_acf39375/output.xml | 12 +- .../Beispiel_39_acf39375_acf39375/input.xml | 372 ++++ .../Beispiel_39_acf39375_acf39375/log.txt | 2 + .../Beispiel_39_acf39375_acf39375/output.json | 198 ++ .../Beispiel_39_acf39375_acf39375/output.xml | 204 ++ .../input.xml | 0 .../Beispiel_3_328ad940_328ad940/log.txt | 2 + .../Beispiel_3_328ad940_328ad940/output.json | 220 ++ .../Beispiel_3_328ad940_328ad940/output.xml | 224 ++ .../output.json | 220 -- .../output.xml | 224 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 220 ++ .../output.xml | 224 ++ .../Beispiel_3_PKV_328ad940/output.json | 12 +- .../Beispiel_3_PKV_328ad940/output.xml | 12 +- .../input.xml | 406 ++++ .../Beispiel_3_PKV_328ad940_328ad940/log.txt | 2 + .../output.json | 220 ++ .../output.xml | 224 ++ .../Beispiel_3_fc33c82b_328ad940/output.json | 220 -- .../Beispiel_3_fc33c82b_328ad940/output.xml | 224 -- .../input.xml | 406 ++++ .../log.txt | 2 + .../output.json | 220 ++ .../output.xml | 224 ++ .../Beispiel_40_50926152/output.json | 12 +- .../Beispiel_40_50926152/output.xml | 12 +- .../input.xml | 0 .../Beispiel_40_50926152_50926152/log.txt | 2 + .../Beispiel_40_50926152_50926152/output.json | 198 ++ .../Beispiel_40_50926152_50926152/output.xml | 204 ++ .../Beispiel_40_ec1c5acd_50926152/output.json | 198 -- .../Beispiel_40_ec1c5acd_50926152/output.xml | 204 -- .../input.xml | 372 ++++ .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_41_2a94fb4b_e9de4852/output.json | 198 -- .../Beispiel_41_2a94fb4b_e9de4852/output.xml | 204 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_41_e9de4852/output.json | 12 +- .../Beispiel_41_e9de4852/output.xml | 12 +- .../Beispiel_41_e9de4852_e9de4852/input.xml | 372 ++++ .../Beispiel_41_e9de4852_e9de4852/log.txt | 2 + .../Beispiel_41_e9de4852_e9de4852/output.json | 198 ++ .../Beispiel_41_e9de4852_e9de4852/output.xml | 204 ++ .../Beispiel_42_f5df70a6_fe9200db/output.json | 198 -- .../Beispiel_42_f5df70a6_fe9200db/output.xml | 204 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_42_fe9200db/output.json | 12 +- .../Beispiel_42_fe9200db/output.xml | 12 +- .../Beispiel_42_fe9200db_fe9200db/input.xml | 372 ++++ .../Beispiel_42_fe9200db_fe9200db/log.txt | 2 + .../Beispiel_42_fe9200db_fe9200db/output.json | 198 ++ .../Beispiel_42_fe9200db_fe9200db/output.xml | 204 ++ .../Beispiel_43_22d245d1_91c262e7/output.json | 198 -- .../Beispiel_43_22d245d1_91c262e7/output.xml | 204 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_43_91c262e7/output.json | 12 +- .../Beispiel_43_91c262e7/output.xml | 12 +- .../Beispiel_43_91c262e7_91c262e7/input.xml | 383 ++++ .../Beispiel_43_91c262e7_91c262e7/log.txt | 2 + .../Beispiel_43_91c262e7_91c262e7/output.json | 198 ++ .../Beispiel_43_91c262e7_91c262e7/output.xml | 204 ++ .../Beispiel_45_5702a4b8/output.json | 12 +- .../Beispiel_45_5702a4b8/output.xml | 12 +- .../input.xml | 0 .../Beispiel_45_5702a4b8_5702a4b8/log.txt | 2 + .../Beispiel_45_5702a4b8_5702a4b8/output.json | 198 ++ .../Beispiel_45_5702a4b8_5702a4b8/output.xml | 204 ++ .../Beispiel_45_bb4ce485_5702a4b8/output.json | 198 -- .../Beispiel_45_bb4ce485_5702a4b8/output.xml | 204 -- .../input.xml | 372 ++++ .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_49_68570de1_baac1cdd/output.json | 198 -- .../Beispiel_49_68570de1_baac1cdd/output.xml | 204 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_49_baac1cdd/output.json | 12 +- .../Beispiel_49_baac1cdd/output.xml | 12 +- .../Beispiel_49_baac1cdd_baac1cdd/input.xml | 369 ++++ .../Beispiel_49_baac1cdd_baac1cdd/log.txt | 2 + .../Beispiel_49_baac1cdd_baac1cdd/output.json | 198 ++ .../Beispiel_49_baac1cdd_baac1cdd/output.xml | 204 ++ .../Beispiel_4_5f66314e/output.json | 12 +- .../Beispiel_4_5f66314e/output.xml | 12 +- .../input.xml | 0 .../Beispiel_4_5f66314e_5f66314e/log.txt | 2 + .../Beispiel_4_5f66314e_5f66314e/output.json | 218 ++ .../Beispiel_4_5f66314e_5f66314e/output.xml | 223 ++ .../Beispiel_4_cd2e731a_5f66314e/output.json | 218 -- .../Beispiel_4_cd2e731a_5f66314e/output.xml | 223 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 218 ++ .../output.xml | 223 ++ .../Beispiel_4_ee308df9_5f66314e/output.json | 218 -- .../Beispiel_4_ee308df9_5f66314e/output.xml | 223 -- .../input.xml | 425 ++++ .../log.txt | 2 + .../output.json | 218 ++ .../output.xml | 223 ++ .../Beispiel_54_d390d0d3/output.json | 12 +- .../Beispiel_54_d390d0d3/output.xml | 12 +- .../input.xml | 0 .../Beispiel_54_d390d0d3_d390d0d3/log.txt | 2 + .../Beispiel_54_d390d0d3_d390d0d3/output.json | 198 ++ .../Beispiel_54_d390d0d3_d390d0d3/output.xml | 204 ++ .../Beispiel_54_dff1953b_d390d0d3/output.json | 198 -- .../Beispiel_54_dff1953b_d390d0d3/output.xml | 204 -- .../input.xml | 372 ++++ .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_55_10ddea96_a6949071/output.json | 200 -- .../Beispiel_55_10ddea96_a6949071/output.xml | 204 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 200 ++ .../output.xml | 204 ++ .../Beispiel_55_a6949071/output.json | 12 +- .../Beispiel_55_a6949071/output.xml | 12 +- .../Beispiel_55_a6949071_a6949071/input.xml | 372 ++++ .../Beispiel_55_a6949071_a6949071/log.txt | 2 + .../Beispiel_55_a6949071_a6949071/output.json | 200 ++ .../Beispiel_55_a6949071_a6949071/output.xml | 204 ++ .../Beispiel_56_414ca393/output.json | 12 +- .../Beispiel_56_414ca393/output.xml | 12 +- .../input.xml | 0 .../Beispiel_56_414ca393_414ca393/log.txt | 2 + .../Beispiel_56_414ca393_414ca393/output.json | 198 ++ .../Beispiel_56_414ca393_414ca393/output.xml | 204 ++ .../Beispiel_56_bc08cd5c_414ca393/output.json | 198 -- .../Beispiel_56_bc08cd5c_414ca393/output.xml | 204 -- .../input.xml | 372 ++++ .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_57_3a1c45f8/output.json | 12 +- .../Beispiel_57_3a1c45f8/output.xml | 12 +- .../input.xml | 0 .../Beispiel_57_3a1c45f8_3a1c45f8/log.txt | 2 + .../Beispiel_57_3a1c45f8_3a1c45f8/output.json | 198 ++ .../Beispiel_57_3a1c45f8_3a1c45f8/output.xml | 204 ++ .../Beispiel_57_855147c1_3a1c45f8/output.json | 198 -- .../Beispiel_57_855147c1_3a1c45f8/output.xml | 204 -- .../input.xml | 377 ++++ .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_60_2f97abb5/output.json | 12 +- .../Beispiel_60_2f97abb5/output.xml | 12 +- .../input.xml | 0 .../Beispiel_60_2f97abb5_2f97abb5/log.txt | 2 + .../Beispiel_60_2f97abb5_2f97abb5/output.json | 218 ++ .../Beispiel_60_2f97abb5_2f97abb5/output.xml | 222 ++ .../Beispiel_60_bc27f419_2f97abb5/output.json | 218 -- .../Beispiel_60_bc27f419_2f97abb5/output.xml | 222 -- .../input.xml | 475 ++++ .../log.txt | 2 + .../output.json | 218 ++ .../output.xml | 222 ++ .../Beispiel_6_5287e4ed_9ad99a8f/output.json | 211 -- .../Beispiel_6_5287e4ed_9ad99a8f/output.xml | 217 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 211 ++ .../output.xml | 217 ++ .../Beispiel_6_9ad99a8f/output.json | 12 +- .../Beispiel_6_9ad99a8f/output.xml | 12 +- .../Beispiel_6_9ad99a8f_9ad99a8f/input.xml | 445 ++++ .../Beispiel_6_9ad99a8f_9ad99a8f/log.txt | 2 + .../Beispiel_6_9ad99a8f_9ad99a8f/output.json | 211 ++ .../Beispiel_6_9ad99a8f_9ad99a8f/output.xml | 217 ++ .../Beispiel_7_aea2f4c5/output.json | 12 +- .../Beispiel_7_aea2f4c5/output.xml | 12 +- .../input.xml | 0 .../Beispiel_7_aea2f4c5_aea2f4c5/log.txt | 2 + .../Beispiel_7_aea2f4c5_aea2f4c5/output.json | 190 ++ .../Beispiel_7_aea2f4c5_aea2f4c5/output.xml | 195 ++ .../Beispiel_7_c806b0e8_aea2f4c5/output.json | 190 -- .../Beispiel_7_c806b0e8_aea2f4c5/output.xml | 195 -- .../input.xml | 368 ++++ .../log.txt | 2 + .../output.json | 190 ++ .../output.xml | 195 ++ .../Beispiel_8_0097fa46_0428d416/output.json | 205 -- .../Beispiel_8_0097fa46_0428d416/output.xml | 208 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 205 ++ .../output.xml | 208 ++ .../Beispiel_8_0428d416/output.json | 12 +- .../Beispiel_8_0428d416/output.xml | 12 +- .../Beispiel_8_0428d416_0428d416/input.xml | 393 ++++ .../Beispiel_8_0428d416_0428d416/log.txt | 2 + .../Beispiel_8_0428d416_0428d416/output.json | 205 ++ .../Beispiel_8_0428d416_0428d416/output.xml | 208 ++ .../Beispiel_9_45f28601_914b7619/output.json | 198 -- .../Beispiel_9_45f28601_914b7619/output.xml | 204 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../Beispiel_9_914b7619/output.json | 12 +- .../Beispiel_9_914b7619/output.xml | 12 +- .../Beispiel_9_914b7619_914b7619/input.xml | 382 ++++ .../Beispiel_9_914b7619_914b7619/log.txt | 2 + .../Beispiel_9_914b7619_914b7619/output.json | 198 ++ .../Beispiel_9_914b7619_914b7619/output.xml | 204 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 218 ++ .../output.xml | 223 ++ .../output.json | 218 -- .../output.xml | 223 -- .../input.xml | 425 ++++ .../log.txt | 2 + .../output.json | 218 ++ .../output.xml | 223 ++ .../output.json | 218 -- .../output.xml | 223 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 218 ++ .../output.xml | 223 ++ .../output.json | 190 -- .../output.xml | 195 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 190 ++ .../output.xml | 195 ++ .../output.json | 190 -- .../output.xml | 195 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 190 ++ .../output.xml | 195 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 190 ++ .../output.xml | 195 ++ .../output.json | 190 -- .../output.xml | 195 -- .../input.xml | 373 ++++ .../log.txt | 2 + .../output.json | 190 ++ .../output.xml | 195 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 373 ++++ .../log.txt | 2 + .../output.json | 190 ++ .../output.xml | 195 ++ .../output.json | 190 -- .../output.xml | 195 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 190 ++ .../output.xml | 195 ++ .../output.json | 211 -- .../output.xml | 213 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 211 ++ .../output.xml | 213 ++ .../output.json | 211 -- .../output.xml | 213 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 211 ++ .../output.xml | 213 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 211 ++ .../output.xml | 213 ++ .../output.json | 211 -- .../output.xml | 213 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 211 ++ .../output.xml | 213 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 386 ++++ .../log.txt | 2 + .../output.json | 211 ++ .../output.xml | 213 ++ .../output.json | 211 -- .../output.xml | 213 -- .../input.xml | 386 ++++ .../log.txt | 2 + .../output.json | 211 ++ .../output.xml | 213 ++ .../output.json | 225 -- .../output.xml | 230 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../output.json | 225 -- .../output.xml | 230 -- .../input.xml | 408 ++++ .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../output.json | 225 -- .../output.xml | 230 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 408 ++++ .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../output.json | 225 -- .../output.xml | 230 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../output.json | 225 -- .../output.xml | 230 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../output.json | 225 -- .../output.xml | 230 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 408 ++++ .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../output.json | 225 -- .../output.xml | 230 -- .../input.xml | 408 ++++ .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../output.json | 225 -- .../output.xml | 230 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 225 ++ .../output.xml | 230 ++ .../output.json | 205 -- .../output.xml | 208 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 205 ++ .../output.xml | 208 ++ .../output.json | 205 -- .../output.xml | 208 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 205 ++ .../output.xml | 208 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 379 ++++ .../log.txt | 2 + .../output.json | 205 ++ .../output.xml | 208 ++ .../output.json | 213 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 213 ++ .../output.xml | 215 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 414 ++++ .../log.txt | 2 + .../output.json | 213 ++ .../output.xml | 215 ++ .../output.json | 213 -- .../output.xml | 215 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 213 ++ .../output.xml | 215 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 190 ++ .../output.xml | 195 ++ .../output.json | 190 -- .../output.xml | 195 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 190 ++ .../output.xml | 195 ++ .../output.json | 190 -- .../output.xml | 195 -- .../input.xml | 368 ++++ .../log.txt | 2 + .../output.json | 190 ++ .../output.xml | 195 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 203 ++ .../output.xml | 208 ++ .../output.json | 203 -- .../output.xml | 208 -- .../input.xml | 384 ++++ .../log.txt | 2 + .../output.json | 203 ++ .../output.xml | 208 ++ .../output.json | 203 -- .../output.xml | 208 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 203 ++ .../output.xml | 208 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 205 ++ .../output.xml | 208 ++ .../output.json | 205 -- .../output.xml | 208 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 205 ++ .../output.xml | 208 ++ .../output.json | 205 -- .../output.xml | 208 -- .../input.xml | 393 ++++ .../log.txt | 2 + .../output.json | 205 ++ .../output.xml | 208 ++ .../output.json | 198 -- .../output.xml | 204 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 388 ++++ .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../output.json | 198 -- .../output.xml | 204 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 198 ++ .../output.xml | 204 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 217 ++ .../output.xml | 220 ++ .../output.json | 217 -- .../output.xml | 220 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 217 ++ .../output.xml | 220 ++ .../output.json | 217 -- .../output.xml | 220 -- .../input.xml | 396 ++++ .../log.txt | 2 + .../output.json | 217 ++ .../output.xml | 220 ++ .../output.json | 213 -- .../output.xml | 219 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 213 ++ .../output.xml | 219 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 213 ++ .../output.xml | 219 ++ .../output.json | 213 -- .../output.xml | 219 -- .../input.xml | 447 ++++ .../log.txt | 2 + .../output.json | 213 ++ .../output.xml | 219 ++ .../output.json | 217 -- .../output.xml | 221 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 217 ++ .../output.xml | 221 ++ .../output.json | 217 -- .../output.xml | 221 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 217 ++ .../output.xml | 221 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 397 ++++ .../log.txt | 2 + .../output.json | 217 ++ .../output.xml | 221 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 217 ++ .../output.json | 212 -- .../output.xml | 217 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 217 ++ .../output.json | 212 -- .../output.xml | 217 -- .../input.xml | 428 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 217 ++ .../output.json | 210 -- .../output.xml | 214 -- .../input.xml | 0 .../log.txt | 2 + .../output.json | 210 ++ .../output.xml | 214 ++ .../output.json | 12 +- .../output.xml | 12 +- .../input.xml | 0 .../log.txt | 2 + .../output.json | 210 ++ .../output.xml | 214 ++ .../output.json | 210 -- .../output.xml | 214 -- .../input.xml | 396 ++++ .../log.txt | 2 + .../output.json | 210 ++ .../output.xml | 214 ++ .../output.json | 212 -- .../output.xml | 215 -- .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../input.xml | 381 ++++ .../log.txt | 2 + .../output.json | 212 ++ .../output.xml | 215 ++ .../log.txt | 1 - .../output.json | 4 +- .../output.xml | 4 +- .../log.txt | 1 - .../output.json | 4 +- .../output.xml | 4 +- .../output.json | 14 +- .../output.xml | 14 +- .../output.json | 14 +- .../output.xml | 14 +- .../output.json | 14 +- .../output.xml | 14 +- .../output.json | 2 +- .../output.xml | 2 +- .../output.json | 2 +- .../output.xml | 2 +- .../Beispiel_1_44420ed9/output.json | 12 +- .../Beispiel_1_44420ed9/output.xml | 12 +- .../Beispiel_2_6d5162b2/output.json | 12 +- .../Beispiel_2_6d5162b2/output.xml | 12 +- .../Beispiel_3_328ad940/output.json | 12 +- .../Beispiel_3_328ad940/output.xml | 12 +- .../Beispiel_4_5f66314e/output.json | 12 +- .../Beispiel_4_5f66314e/output.xml | 12 +- .../output.json | 12 +- .../output.xml | 12 +- .../output.json | 2 +- .../output.xml | 2 +- .../output.json | 2 +- .../output.xml | 2 +- .../output.json | 2 +- .../output.xml | 2 +- .../output.json | 2 +- .../output.xml | 2 +- .../output.json | 2 +- .../output.xml | 2 +- .../output.json | 2 +- .../output.xml | 2 +- .../output.json | 2 +- .../output.xml | 2 +- .../output.json | 2 +- .../output.xml | 2 +- 3797 files changed, 315931 insertions(+), 133780 deletions(-) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Beispiel_23_d0ca163a_9581ce65 => Beispiel_23_9581ce65_9581ce65}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b => medicationCompounding/Beispiel_23_9581ce65_9581ce65}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65_9581ce65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65_9581ce65/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de => medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Beispiel_24_77b6e755_a409358a => Beispiel_24_77b6e755_a409358a_a409358a}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a_a409358a/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a_a409358a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a_a409358a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a_a409358a/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a_a409358a/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a_a409358a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a_a409358a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Beispiel_25_cd31610e_dae573db => Beispiel_25_cd31610e_dae573db_dae573db}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c => medicationCompounding/Beispiel_25_cd31610e_dae573db_dae573db}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db_dae573db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db_dae573db/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db_dae573db/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7 => medicationCompounding/Beispiel_25_dae573db_dae573db}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db_dae573db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db_dae573db/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Beispiel_50_c0cfd125_ddc83056 => Beispiel_50_c0cfd125_ddc83056_ddc83056}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7 => medicationCompounding/Beispiel_50_c0cfd125_ddc83056_ddc83056}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056_ddc83056/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056_ddc83056/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056_ddc83056/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f => medicationCompounding/Beispiel_50_ddc83056_ddc83056}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056_ddc83056/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056_ddc83056/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Beispiel_51_63c98839_deda8f97 => Beispiel_51_63c98839_deda8f97_deda8f97}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680 => medicationCompounding/Beispiel_51_63c98839_deda8f97_deda8f97}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97_deda8f97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97_deda8f97/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97_deda8f97/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6 => medicationCompounding/Beispiel_51_deda8f97_deda8f97}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97_deda8f97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97_deda8f97/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Beispiel_52_2980d248_6f193f8b => Beispiel_52_2980d248_6f193f8b_6f193f8b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379 => medicationCompounding/Beispiel_52_2980d248_6f193f8b_6f193f8b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b_6f193f8b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b_6f193f8b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b_6f193f8b/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd => medicationCompounding/Beispiel_52_6f193f8b_6f193f8b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b_6f193f8b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b_6f193f8b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Beispiel_53_f5386f17_465f1638 => Beispiel_53_465f1638_465f1638}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb => medicationCompounding/Beispiel_53_465f1638_465f1638}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638_465f1638/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638_465f1638/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32 => medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Rez_Nr1_VerordnungArzt_6b905d63_9581ce65 => Rez_Nr1_VerordnungArzt_6b905d63_9581ce65_9581ce65}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05 => medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65_9581ce65}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65_9581ce65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65_9581ce65/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65 => Rez_Nr1_VerordnungArzt_9581ce65_9581ce65}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373 => medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65_9581ce65}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65_9581ce65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65_9581ce65/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253 => medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db => Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db_dae573db}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_e3418508_15850937 => medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db_dae573db}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db_dae573db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db_dae573db/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/{Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db => Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db_dae573db}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c => medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db_dae573db}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db_dae573db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db_dae573db/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49 => medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_a7854089_0474ec05 => 008_Request_MedicationDispense_0474ec05_0474ec05}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_0159fb4f_5b32c036 => 008_Request_MedicationDispense_0474ec05_0474ec05}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05_0474ec05/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05_0474ec05/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_2bcb39ce_076ea66c => 008_Request_MedicationDispense_076ea66c_076ea66c}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_1473f940_f9f80ea9 => 008_Request_MedicationDispense_076ea66c_076ea66c}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c_076ea66c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c_076ea66c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_14610226_c9011d4b => 008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_1f42e5b7_8f932795 => 008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_e3418508_15850937 => 008_Request_MedicationDispense_15850937_15850937}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_2789ac6b_efe8874f => 008_Request_MedicationDispense_15850937_15850937}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937_15850937/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937_15850937/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_15a4f10b_de72e8de => 008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_305be6c9_c916d235 => 008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_31f38335_11863590 => 008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_f1564ba7_2f0c013c => 008_Request_MedicationDispense_2f0c013c_2f0c013c}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_41e06295_30b0bdfb => 008_Request_MedicationDispense_2f0c013c_2f0c013c}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c_2f0c013c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c_2f0c013c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_543ea2ca_357fb680 => 008_Request_MedicationDispense_357fb680_357fb680}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_46b4d2a7_f671e4a6 => 008_Request_MedicationDispense_357fb680_357fb680}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680_357fb680/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680_357fb680/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_64342c02_466b70a6 => 008_Request_MedicationDispense_466b70a6_466b70a6}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_5113c40f_efd6ebf9 => 008_Request_MedicationDispense_466b70a6_466b70a6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6_466b70a6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6_466b70a6/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_490093ae_f9a262d7 => 008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_59d671a6_cc07c2ac => 008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_4ebfa209_c8f501a7 => 008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_622316fe_800e0802 => 008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_506e4daf_ddedee4f => 008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_69d3fc0d_88ceb1e2 => 008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_87e0742e_89b0bda6 => 008_Request_MedicationDispense_543ea2ca_357fb680_357fb680}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_8dcafef9_e8fc0f90 => 008_Request_MedicationDispense_64342c02_466b70a6_466b70a6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_687dff01_cb5b4379 => 008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_a6f5fbec_95b01d68 => 008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_909027dd_70a68a32 => 008_Request_MedicationDispense_70a68a32_70a68a32}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_a86d9701_2bd690cf => 008_Request_MedicationDispense_70a68a32_70a68a32}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32_70a68a32/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32_70a68a32/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_d8468bee_7757f253 => 008_Request_MedicationDispense_7757f253_7757f253}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_c30c0754_4dbd54be => 008_Request_MedicationDispense_7757f253_7757f253}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253_7757f253/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253_7757f253/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_7be52e28_fe8a28dd => 008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_c48e8331_f64fd7b4 => 008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_809395bb_a21e7dbb => 008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_c591a1e2_7fd8a33d => 008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_cb07b09c_4a30f8e0 => 008_Request_MedicationDispense_909027dd_70a68a32_70a68a32}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_d71fba4b_948d7373 => 008_Request_MedicationDispense_948d7373_948d7373}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_d1d6a359_91e812db => 008_Request_MedicationDispense_948d7373_948d7373}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373_948d7373/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373_948d7373/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{008_Request_MedicationDispense_fa474a74_9e291e49 => 008_Request_MedicationDispense_9e291e49_9e291e49}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_e8d5ccd4_9b046560 => 008_Request_MedicationDispense_9e291e49_9e291e49}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49_9e291e49/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49_9e291e49/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{010_Request_MedicationDispense_71f76f82_b7698c22 => 008_Request_MedicationDispense_a21e7dbb_a21e7dbb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{010_Request_MedicationDispense_a00e4916_b5ff96d1 => 008_Request_MedicationDispense_a7854089_0474ec05_0474ec05}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{010_Request_MedicationDispense_a8177c29_f08aa035 => 008_Request_MedicationDispense_c8f501a7_c8f501a7}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{011_Request_MedicationDispense_56e40195_8f3ff291 => 008_Request_MedicationDispense_c9011d4b_c9011d4b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{011_Request_MedicationDispense_6dcbcf82_f976d60f => 008_Request_MedicationDispense_cb5b4379_cb5b4379}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{011_Request_MedicationDispense_72acb68b_251c9cea => 008_Request_MedicationDispense_d71fba4b_948d7373_948d7373}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{011_Request_MedicationDispense_d356fb06_03b61c19 => 008_Request_MedicationDispense_d8468bee_7757f253_7757f253}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{013_Request_MedicationDispense_91805a70_27819d94 => 008_Request_MedicationDispense_ddedee4f_ddedee4f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{014_Request_MedicationDispense_2d9f6ecc_0926ecff => 008_Request_MedicationDispense_de72e8de_de72e8de}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937_15850937/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{014_Request_MedicationDispense_e08671c3_227cd07a => 008_Request_MedicationDispense_e3418508_15850937_15850937}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937_15850937/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937_15850937/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{06_request_taskClose_8d0f44ed_null => 008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{06_request_taskClose_c8335ed8_null => 008_Request_MedicationDispense_f9a262d7_f9a262d7}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{08_response_taskDispense_00c96c80_dffbfd6a => 008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{08_response_taskDispense_816796a2_dffbfd6a => 008_Request_MedicationDispense_fe8a28dd_fe8a28dd}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_0159fb4f_5b32c036 => 009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null => 009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_31f38335_11863590 => 009_Request_MedicationDispense_11863590_11863590}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null => 009_Request_MedicationDispense_11863590_11863590}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590_11863590/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590_11863590/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_1473f940_f9f80ea9 => 009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null => 009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_1f42e5b7_8f932795 => 009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null => 009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_2789ac6b_efe8874f => 009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null => 009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_a86d9701_2bd690cf => 009_Request_MedicationDispense_2bd690cf_2bd690cf}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null => 009_Request_MedicationDispense_2bd690cf_2bd690cf}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf_2bd690cf/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf_2bd690cf/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_305be6c9_c916d235 => 009_Request_MedicationDispense_305be6c9_c916d235_c916d235}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null => 009_Request_MedicationDispense_305be6c9_c916d235_c916d235}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235_c916d235/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235_c916d235/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_41e06295_30b0bdfb => 009_Request_MedicationDispense_30b0bdfb_30b0bdfb}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.627.91_medicationdispense_WST_69fc18af_null => 009_Request_MedicationDispense_30b0bdfb_30b0bdfb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb_30b0bdfb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb_30b0bdfb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null => 009_Request_MedicationDispense_31f38335_11863590_11863590}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null => 009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_46b4d2a7_f671e4a6 => 009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null => 009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_cb07b09c_4a30f8e0 => 009_Request_MedicationDispense_4a30f8e0_4a30f8e0}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null => 009_Request_MedicationDispense_4a30f8e0_4a30f8e0}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0_4a30f8e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0_4a30f8e0/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_c30c0754_4dbd54be => 009_Request_MedicationDispense_4dbd54be_4dbd54be}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a => 009_Request_MedicationDispense_4dbd54be_4dbd54be}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be_4dbd54be/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be_4dbd54be/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_5113c40f_efd6ebf9 => 009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{FT_V1_MedicationDispense_d2e37ab5_ee46e774 => 009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_59d671a6_cc07c2ac => 009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{FT_V1_MedicationDispense_dba0fee1_ee46e774 => 009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036_5b32c036/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{FT_V2_MedicationDispense_71a9d48e_5b829135 => 009_Request_MedicationDispense_5b32c036_5b32c036}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036_5b32c036/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036_5b32c036/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_622316fe_800e0802 => 009_Request_MedicationDispense_622316fe_800e0802_800e0802}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{FT_V2_MedicationDispense_ce40a8d8_5b829135 => 009_Request_MedicationDispense_622316fe_800e0802_800e0802}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802_800e0802/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802_800e0802/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_69d3fc0d_88ceb1e2 => 009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02 => 009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_c591a1e2_7fd8a33d => 009_Request_MedicationDispense_7fd8a33d_7fd8a33d}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02 => 009_Request_MedicationDispense_7fd8a33d_7fd8a33d}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d_7fd8a33d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d_7fd8a33d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be => 009_Request_MedicationDispense_800e0802_800e0802}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_87e0742e_89b0bda6 => 009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be => 009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8 => 009_Request_MedicationDispense_88ceb1e2_88ceb1e2}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8 => 009_Request_MedicationDispense_89b0bda6_89b0bda6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_8dcafef9_e8fc0f90 => 009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b => 009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b => 009_Request_MedicationDispense_8f932795_8f932795}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_d1d6a359_91e812db => 009_Request_MedicationDispense_91e812db_91e812db}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b => 009_Request_MedicationDispense_91e812db_91e812db}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db_91e812db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db_91e812db/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_a6f5fbec_95b01d68 => 009_Request_MedicationDispense_95b01d68_95b01d68}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b => 009_Request_MedicationDispense_95b01d68_95b01d68}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68_95b01d68/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68_95b01d68/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_e8d5ccd4_9b046560 => 009_Request_MedicationDispense_9b046560_9b046560}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV1_MedicationDispense_ac65a7dd_999bde79 => 009_Request_MedicationDispense_9b046560_9b046560}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560_9b046560/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560_9b046560/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV1_MedicationDispense_ff62fffa_999bde79 => 009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV2_MedicationDispense_13174b10_4eaadf76 => 009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76 => 009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{009_Request_MedicationDispense_c48e8331_f64fd7b4 => 009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV3_MedicationDispense_1f2b9024_b60dfbab => 009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab => 009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV4_MedicationDispense_b6caabd2_6df0c60b => 009_Request_MedicationDispense_c916d235_c916d235}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV4_MedicationDispense_ca4f715f_6df0c60b => 009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Noctu_MedicationDispense_6be89a62_89a81399 => 009_Request_MedicationDispense_cc07c2ac_cc07c2ac}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Noctu_MedicationDispense_85f77ac6_89a81399 => 009_Request_MedicationDispense_d1d6a359_91e812db_91e812db}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f => 009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f => 009_Request_MedicationDispense_e8fc0f90_e8fc0f90}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2 => 009_Request_MedicationDispense_efd6ebf9_efd6ebf9}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2 => 009_Request_MedicationDispense_efe8874f_efe8874f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4 => 009_Request_MedicationDispense_f64fd7b4_f64fd7b4}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr3_MedicationDispense_010703d3_c0e79dec => 009_Request_MedicationDispense_f64fd7b4_f64fd7b4}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4_f64fd7b4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4_f64fd7b4/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec => 009_Request_MedicationDispense_f671e4a6_f671e4a6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd => 009_Request_MedicationDispense_f9f80ea9_f9f80ea9}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{010_Request_MedicationDispense_71f76f82_b7698c22 => 010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd => 010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{010_Request_MedicationDispense_a00e4916_b5ff96d1 => 010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3 => 010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{010_Request_MedicationDispense_a8177c29_f08aa035 => 010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr5_MedicationDispense_45961b32_61cbdbb3 => 010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff => 010_Request_MedicationDispense_b5ff96d1_b5ff96d1}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr6_MedicationDispense_bf7af439_f2a598ff => 010_Request_MedicationDispense_b7698c22_b7698c22}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a => 010_Request_MedicationDispense_f08aa035_f08aa035}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{011_Request_MedicationDispense_d356fb06_03b61c19 => 011_Request_MedicationDispense_03b61c19_03b61c19}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr7_MedicationDispense_2e46d353_e378bc5a => 011_Request_MedicationDispense_03b61c19_03b61c19}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19_03b61c19/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19_03b61c19/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{011_Request_MedicationDispense_72acb68b_251c9cea => 011_Request_MedicationDispense_251c9cea_251c9cea}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr8_MedicationDispense_08300ec5_c9455210 => 011_Request_MedicationDispense_251c9cea_251c9cea}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea_251c9cea/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea_251c9cea/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{011_Request_MedicationDispense_56e40195_8f3ff291 => 011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr8_MedicationDispense_c882728b_c9455210 => 011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{011_Request_MedicationDispense_6dcbcf82_f976d60f => 011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Unfall_MedicationDispense_1c30eb50_37d8e326 => 011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326 => 011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74 => 011_Request_MedicationDispense_8f3ff291_8f3ff291}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_aut_idem_MedicationDispense_fada6955_c85a4b74 => 011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{Rez_Nr1_MedicationDispense_d8994a8a_a8df5484 => 011_Request_MedicationDispense_f976d60f_f976d60f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{013_Request_MedicationDispense_91805a70_27819d94 => 013_Request_MedicationDispense_27819d94_27819d94}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{Rez_Nr1_MedicationDispense_f4875d9c_a8df5484 => 013_Request_MedicationDispense_27819d94_27819d94}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94_27819d94/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94_27819d94/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592 => 013_Request_MedicationDispense_91805a70_27819d94_27819d94}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{014_Request_MedicationDispense_2d9f6ecc_0926ecff => 014_Request_MedicationDispense_0926ecff_0926ecff}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592 => 014_Request_MedicationDispense_0926ecff_0926ecff}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff_0926ecff/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff_0926ecff/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{014_Request_MedicationDispense_e08671c3_227cd07a => 014_Request_MedicationDispense_227cd07a_227cd07a}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067 => 014_Request_MedicationDispense_227cd07a_227cd07a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a_227cd07a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a_227cd07a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_BK_V1_MedicationDispense_b9ca692c_b1a77067 => 014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_BK_V2_MedicationDispense_48c15070_dec2d0aa => 014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{06_request_taskClose_8d0f44ed_null => 06_request_taskClose_8d0f44ed_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa => 06_request_taskClose_8d0f44ed_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{06_request_taskClose_c8335ed8_null => 06_request_taskClose_c8335ed8_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6 => 06_request_taskClose_c8335ed8_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_MV1_MedicationDispense_d697d945_ac31e7a6 => 06_request_taskClose_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{08_response_taskDispense_00c96c80_dffbfd6a => 08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_MV2_MedicationDispense_72e8c90f_361ee9e0 => 08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{08_response_taskDispense_816796a2_dffbfd6a => 08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_MV2_MedicationDispense_80760961_361ee9e0 => 08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_Unfall_MedicationDispense_01dee893_f23d8d7f => 08_response_taskDispense_dffbfd6a_dffbfd6a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null => 160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f => 160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V1_MedicationDispense_bead4326_5906fd7f => 160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null => 160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V1_MedicationDispense_f928bb5f_5906fd7f => 160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V2_MedicationDispense_5008abb4_95db25e9 => 160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null => 160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V2_MedicationDispense_d6799e8c_95db25e9 => 160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V3_MedicationDispense_2b8b7bec_c3437dfc => 160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null => 160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V3_MedicationDispense_b3753083_c3437dfc => 160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V4_MedicationDispense_336380fd_9d575775 => 160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null => 160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V4_MedicationDispense_749b8a4f_9d575775 => 160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4 => 160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/log.txt delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null => 160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationFreeText/Beispiel_22_ba4e7121_4863d1fb => medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb => medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null => 160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb => medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb => medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null => 160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb => medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9 => medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.627.91_medicationdispense_WST_69fc18af_null => 160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_17_01142458_9c85a2a5 => medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_18_fe99181f_218b581d => medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null => 160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980 => medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17 => medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null => 160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05 => medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_29_a90c2e57_726e6cdd => medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null => 160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/Beispiel_58_97f6247a_9356774b => medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d => medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null => 160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null_null}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d => medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null_null/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d => medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a => 3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d => medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17 => medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{FT_V1_MedicationDispense_d2e37ab5_ee46e774 => FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17 => medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{FT_V1_MedicationDispense_dba0fee1_ee46e774 => FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05 => medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05 => medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{FT_V2_MedicationDispense_71a9d48e_5b829135 => FT_V2_MedicationDispense_5b829135_5b829135}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980 => medicationDispense/FT_V2_MedicationDispense_5b829135_5b829135}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135_5b829135/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135_5b829135/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980 => medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{FT_V2_MedicationDispense_ce40a8d8_5b829135 => FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5 => medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02 => PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5 => medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5 => medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02 => PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5 => medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be => PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5 => medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5 => medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be => PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5 => medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8 => PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5 => medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8 => PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_02fcf3a5_475e9667 => medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_0854ff7a_fce076cc => medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b => PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_09045269_45a9ad90 => medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e => medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b => PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_11cffc5c_09e5d103 => medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b => PZN_KB_V2_MedicationDispense_22871e5b_22871e5b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_13ef7eed_df4a4b64 => medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b_22871e5b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b_22871e5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b_22871e5b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_141bdd95_617b672a => medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b => PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d => medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV1_MedicationDispense_ff62fffa_999bde79 => PZN_MV1_MedicationDispense_999bde79_999bde79}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8 => medicationDispense/PZN_MV1_MedicationDispense_999bde79_999bde79}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79_999bde79/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79_999bde79/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV1_MedicationDispense_ac65a7dd_999bde79 => PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_1b51052c_fb9ea88e => medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_1c646da7_4149362e => medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV2_MedicationDispense_13174b10_4eaadf76 => PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb => medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_265b0953_4ff8a848 => medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76 => PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_2a985325_4c861d6d => medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV3_MedicationDispense_1f2b9024_b60dfbab => PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_2aa2072e_902668fe => medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab => PZN_MV3_MedicationDispense_b60dfbab_b60dfbab}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_2cbc202c_2b62d10b => medicationDispense/PZN_MV3_MedicationDispense_b60dfbab_b60dfbab}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab_b60dfbab/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab_b60dfbab/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_2d9e5916_f88786be => medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV4_MedicationDispense_b6caabd2_6df0c60b => PZN_MV4_MedicationDispense_6df0c60b_6df0c60b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_2e209d67_4f51deff => medicationDispense/PZN_MV4_MedicationDispense_6df0c60b_6df0c60b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b_6df0c60b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b_6df0c60b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03 => medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_MV4_MedicationDispense_ca4f715f_6df0c60b => PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_3f310f6f_e17e8259 => medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Noctu_MedicationDispense_6be89a62_89a81399 => PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_4ee123e6_9c9429a1 => medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Noctu_MedicationDispense_85f77ac6_89a81399 => PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_550e0973_bbc51505 => medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_55258d43_5f3e877b => medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f => PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_5665652f_90d5dd65 => medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f => PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_5da0791f_41ecb9a7 => medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7 => medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2 => PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_670603fd_1906d211 => medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2 => PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_6f96c033_b4bf1696 => medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_76455c58_05168195 => medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr3_MedicationDispense_010703d3_c0e79dec => PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_78aebb81_02ad9b11 => medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec => PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_7b9e2504_5093c3ab => medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_83c10e2d_dac55c3e => medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd => PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3 => medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd => PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_862aa430_bf973351 => medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_89383746_b0ce4ff1 => medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3 => PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984 => medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr5_MedicationDispense_45961b32_61cbdbb3 => PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_9102a310_29aa5ba0 => medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_94ddf2c1_10feb16e => medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff => PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_968173c9_12931066 => medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr6_MedicationDispense_bf7af439_f2a598ff => PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65 => medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_a4f05dcd_230dc009 => medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a => PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c => medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr7_MedicationDispense_2e46d353_e378bc5a => PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_aedad2dd_e6706910 => medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_b1146a3f_35469770 => medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr8_MedicationDispense_08300ec5_c9455210 => PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_bcba7c06_f731f36c => medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Nr8_MedicationDispense_c882728b_c9455210 => PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_c2ad19ce_1be382e5 => medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_c3479bd3_cb7063e3 => medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Unfall_MedicationDispense_1c30eb50_37d8e326 => PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_c60771b5_2ddcab15 => medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326 => PZN_Unfall_MedicationDispense_37d8e326_37d8e326}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_cae47569_ad686294 => medicationDispense/PZN_Unfall_MedicationDispense_37d8e326_37d8e326}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326_37d8e326/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326_37d8e326/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_cb78899c_bfd34b90 => medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74 => PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_cc2415eb_9645a6a3 => medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e => medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{PZN_aut_idem_MedicationDispense_fada6955_c85a4b74 => PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_cec6c127_16b1f573 => medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{Rez_Nr1_MedicationDispense_d8994a8a_a8df5484 => Rez_Nr1_MedicationDispense_a8df5484_a8df5484}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_d45686e2_0fdadb04 => medicationDispense/Rez_Nr1_MedicationDispense_a8df5484_a8df5484}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484_a8df5484/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484_a8df5484/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_dbeccf45_e4a92e97 => medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{Rez_Nr1_MedicationDispense_f4875d9c_a8df5484 => Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0 => medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592 => Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_dd6f3569_df31f167 => medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_e4726de8_b0589d4c => medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592 => Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_e55e8bba_80a43c33 => medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067 => WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_f25d9001_df6aff69 => medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d => medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_BK_V1_MedicationDispense_b9ca692c_b1a77067 => WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_f4c61557_0b82f30f => medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_BK_V2_MedicationDispense_48c15070_dec2d0aa => WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_f8d80421_62dd6004 => medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa => WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/002_document_to_sign_feff6e76_14d9b2f3 => medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_004ef082_12875f19 => medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6 => WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_1e697f5a_c44d90eb => medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_MV1_MedicationDispense_d697d945_ac31e7a6 => WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_39ea3447_4d68c364 => medicationDispense/WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_3fb29ad6_6b244b96 => medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_MV2_MedicationDispense_72e8c90f_361ee9e0 => WS_MV2_MedicationDispense_361ee9e0_361ee9e0}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb => medicationDispense/WS_MV2_MedicationDispense_361ee9e0_361ee9e0}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0_361ee9e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0_361ee9e0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_59da5b8a_3817df9f => medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_MV2_MedicationDispense_80760961_361ee9e0 => WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_5e9c3c5a_9963336d => medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_Unfall_MedicationDispense_01dee893_f23d8d7f => WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_6e19e753_a49d100a => medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f => WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_7e017904_90b31bf4 => medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_9965d2f7_a79dd76f => medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V1_MedicationDispense_f928bb5f_5906fd7f => WS_V1_MedicationDispense_5906fd7f_5906fd7f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5 => medicationDispense/WS_V1_MedicationDispense_5906fd7f_5906fd7f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f_5906fd7f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f_5906fd7f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V1_MedicationDispense_bead4326_5906fd7f => WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_f3b90767_25e815da => medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/003_document_to_sign_fd771be7_3a052e22 => medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V2_MedicationDispense_5008abb4_95db25e9 => WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/004_document_to_sign_0169e0e6_c80f28e3 => medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/004_document_to_sign_fb58223d_93c38d8d => medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V2_MedicationDispense_d6799e8c_95db25e9 => WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/005_document_to_sign_2745328a_251cee33 => medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V3_MedicationDispense_2b8b7bec_c3437dfc => WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/005_document_to_sign_50200ff7_04ef6989 => medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V3_MedicationDispense_b3753083_c3437dfc => WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/005_document_to_sign_8e04dafe_207902f9 => medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/005_document_to_sign_d9759800_9e9b3d77 => medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V4_MedicationDispense_336380fd_9d575775 => WS_V4_MedicationDispense_336380fd_9d575775_9d575775}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/009_document_to_sign_4aec765d_7adc4492 => medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775_9d575775}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775_9d575775/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775_9d575775/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/{WS_V4_MedicationDispense_749b8a4f_9d575775 => WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/009_document_to_sign_57eabb67_d04a95ee => medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/016_document_to_sign_355db86f_71606533 => medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/023_document_to_sign_2d819774_7b2ca3fe => medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_10_1_0904076e_c44ddc5b => medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/{Beispiel_22_ba4e7121_4863d1fb => Beispiel_22_4863d1fb_4863d1fb}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3 => medicationFreeText/Beispiel_22_4863d1fb_4863d1fb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb_4863d1fb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_10_3_552a0944_f70585e0 => medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/{FT_V1_VerordnungArzt_525fb142_4863d1fb => FT_V1_VerordnungArzt_4863d1fb_4863d1fb}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_10_4_2f23f99c_15da065c => medicationFreeText/FT_V1_VerordnungArzt_4863d1fb_4863d1fb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb_4863d1fb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/{FT_V1_VerordnungArzt_4986252f_4863d1fb => FT_V1_VerordnungArzt_4986252f_4863d1fb_4863d1fb}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_11_1a369537_690a7f01 => medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb_4863d1fb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb_4863d1fb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/{FT_V2_VerordnungArzt_a0a0fa28_4863d1fb => FT_V1_VerordnungArzt_525fb142_4863d1fb_4863d1fb}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_12_2aa01d66_14f3cff7 => medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb_4863d1fb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb_4863d1fb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/{FT_V2_VerordnungArzt_2f7fa888_4863d1fb => FT_V2_VerordnungArzt_2f7fa888_4863d1fb_4863d1fb}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_13_8d85e45c_ee9d3b92 => medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb_4863d1fb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb_4863d1fb/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_14_63ade791_753fff3b => medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_15_b8505bd0_34abcf97 => medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_16_6e2b78ab_ec6059d9 => Beispiel_16_6e2b78ab_ec6059d9_ec6059d9}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_1_f12fa769_44420ed9 => medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9_ec6059d9}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9_ec6059d9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9_ec6059d9/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9_ec6059d9/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_1_f40a23d0_44420ed9 => medicationIngredient/Beispiel_16_ec6059d9_ec6059d9}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9_ec6059d9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9_ec6059d9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_17_01142458_9c85a2a5 => Beispiel_17_01142458_9c85a2a5_9c85a2a5}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_2_2b6860ab_6d5162b2 => medicationIngredient/Beispiel_17_01142458_9c85a2a5_9c85a2a5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5_9c85a2a5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_2_d5f08b4e_6d5162b2 => medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_18_fe99181f_218b581d => Beispiel_18_218b581d_218b581d}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_30_1ab932b8_846d07e6 => medicationIngredient/Beispiel_18_218b581d_218b581d}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d_218b581d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_31_e0cb3cbc_7f12495e => medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_19_9eb9d0af_cf0d4980 => Beispiel_19_9eb9d0af_cf0d4980_cf0d4980}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_32_318de3dd_6f404894 => medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980_cf0d4980}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980_cf0d4980/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980_cf0d4980/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980_cf0d4980/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_33_34200096_1f339db0 => medicationIngredient/Beispiel_19_cf0d4980_cf0d4980}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980_cf0d4980/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980_cf0d4980/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_21_1_c1bbfd8b_cd6d3a17 => Beispiel_21_1_c1bbfd8b_cd6d3a17_cd6d3a17}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_34_7fd5f6de_d38c02fa => medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17_cd6d3a17}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17_cd6d3a17/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17_cd6d3a17/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_35_f54e7067_b942313c => medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_21_2_67ebe8c1_d9118e05 => Beispiel_21_2_67ebe8c1_d9118e05_d9118e05}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_36_143798dc_c48d0fb5 => medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05_d9118e05}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05_d9118e05/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05_d9118e05/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05_d9118e05/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_37_78ff5d32_7d1f08b4 => medicationIngredient/Beispiel_21_2_d9118e05_d9118e05}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05_d9118e05/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05_d9118e05/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_29_a90c2e57_726e6cdd => Beispiel_29_726e6cdd_726e6cdd}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_38_fb26a25e_60e48db8 => medicationIngredient/Beispiel_29_726e6cdd_726e6cdd}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd_726e6cdd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd_726e6cdd/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_39_23d155d0_acf39375 => medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{Beispiel_58_97f6247a_9356774b => Beispiel_58_9356774b_9356774b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940 => medicationIngredient/Beispiel_58_9356774b_9356774b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b_9356774b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b_9356774b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_3_fc33c82b_328ad940 => medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_BK_V1_VerordnungArzt_f0255f73_218b581d => WS_BK_V1_VerordnungArzt_218b581d_218b581d}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_40_ec1c5acd_50926152 => medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d_218b581d}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d_218b581d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d => WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d_218b581d}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_41_2a94fb4b_e9de4852 => medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d_218b581d}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d_218b581d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_BK_V2_VerordnungArzt_b4263a0b_218b581d => WS_BK_V1_VerordnungArzt_f0255f73_218b581d_218b581d}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_42_f5df70a6_fe9200db => medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d_218b581d}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d_218b581d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_BK_V2_VerordnungArzt_19ee1a38_218b581d => WS_BK_V2_VerordnungArzt_19ee1a38_218b581d_218b581d}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_43_22d245d1_91c262e7 => medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d_218b581d}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d_218b581d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_45_bb4ce485_5702a4b8 => medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_49_68570de1_baac1cdd => medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_MV1_VerordnungArzt_6cd22004_cd6d3a17 => WS_MV1_VerordnungArzt_6cd22004_cd6d3a17_cd6d3a17}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_4_cd2e731a_5f66314e => medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17_cd6d3a17}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17_cd6d3a17/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17_cd6d3a17/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_MV1_VerordnungArzt_855669ce_cd6d3a17 => WS_MV1_VerordnungArzt_855669ce_cd6d3a17_cd6d3a17}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_4_ee308df9_5f66314e => medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17_cd6d3a17}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17_cd6d3a17/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17_cd6d3a17/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_54_dff1953b_d390d0d3 => medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_MV2_VerordnungArzt_0e20c760_d9118e05 => WS_MV2_VerordnungArzt_0e20c760_d9118e05_d9118e05}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_55_10ddea96_a6949071 => medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05_d9118e05}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05_d9118e05/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05_d9118e05/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_MV2_VerordnungArzt_d1c94e5f_d9118e05 => WS_MV2_VerordnungArzt_d1c94e5f_d9118e05_d9118e05}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_56_bc08cd5c_414ca393 => medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05_d9118e05}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05_d9118e05/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05_d9118e05/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_57_855147c1_3a1c45f8 => medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_Unfall_VerordnungArzt_2d950b54_cf0d4980 => WS_Unfall_VerordnungArzt_2d950b54_cf0d4980_cf0d4980}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_60_bc27f419_2f97abb5 => medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980_cf0d4980}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980_cf0d4980/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980_cf0d4980/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_Unfall_VerordnungArzt_c49e3851_cf0d4980 => WS_Unfall_VerordnungArzt_c49e3851_cf0d4980_cf0d4980}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_6_5287e4ed_9ad99a8f => medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980_cf0d4980}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980_cf0d4980/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980_cf0d4980/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_7_c806b0e8_aea2f4c5 => medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V1_VerordnungArzt_86dcf637_9c85a2a5 => WS_V1_VerordnungArzt_86dcf637_9c85a2a5_9c85a2a5}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_8_0097fa46_0428d416 => medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5_9c85a2a5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V2_VerordnungArzt_1951fd21_9c85a2a5 => WS_V1_VerordnungArzt_9c85a2a5_9c85a2a5}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/Beispiel_9_45f28601_914b7619 => medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5_9c85a2a5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5_9c85a2a5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V1_VerordnungArzt_e065344f_9c85a2a5 => WS_V1_VerordnungArzt_e065344f_9c85a2a5_9c85a2a5}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e => medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5_9c85a2a5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5_9c85a2a5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V3_VerordnungArzt_f7577903_9c85a2a5 => WS_V2_VerordnungArzt_1951fd21_9c85a2a5_9c85a2a5}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e => medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5_9c85a2a5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5_9c85a2a5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V2_VerordnungArzt_68631a1b_9c85a2a5 => WS_V2_VerordnungArzt_68631a1b_9c85a2a5_9c85a2a5}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619 => medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5_9c85a2a5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V4_VerordnungArzt_fa6f0220_9c85a2a5 => WS_V2_VerordnungArzt_9c85a2a5_9c85a2a5}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619 => medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5_9c85a2a5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5_9c85a2a5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619 => medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V3_VerordnungArzt_a07c7844_9c85a2a5 => WS_V3_VerordnungArzt_a07c7844_9c85a2a5_9c85a2a5}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619 => medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5_9c85a2a5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5_9c85a2a5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b => medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b => medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/{WS_V4_VerordnungArzt_ea19671f_9c85a2a5 => WS_V4_VerordnungArzt_ea19671f_9c85a2a5_9c85a2a5}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b => medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5_9c85a2a5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5_9c85a2a5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/{medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b => medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_78aebb81_02ad9b11 => 002_document_to_sign_02ad9b11_02ad9b11}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV1_VerordnungArzt_14b48655_c44ddc5b => 002_document_to_sign_02ad9b11_02ad9b11}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11_02ad9b11/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11_02ad9b11/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_02fcf3a5_475e9667 => 002_document_to_sign_02fcf3a5_475e9667_475e9667}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV1_VerordnungArzt_ed826199_c44ddc5b => 002_document_to_sign_02fcf3a5_475e9667_475e9667}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667_475e9667/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667_475e9667/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_76455c58_05168195 => 002_document_to_sign_05168195_05168195}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV2_VerordnungArzt_301a581a_7031f7f3 => 002_document_to_sign_05168195_05168195}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195_05168195/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195_05168195/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_0854ff7a_fce076cc => 002_document_to_sign_0854ff7a_fce076cc_fce076cc}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV2_VerordnungArzt_720f0d95_7031f7f3 => 002_document_to_sign_0854ff7a_fce076cc_fce076cc}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc_fce076cc/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc_fce076cc/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_09045269_45a9ad90 => 002_document_to_sign_09045269_45a9ad90_45a9ad90}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV3_VerordnungArzt_4474f7d6_f70585e0 => 002_document_to_sign_09045269_45a9ad90_45a9ad90}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90_45a9ad90/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90_45a9ad90/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_11cffc5c_09e5d103 => 002_document_to_sign_09e5d103_09e5d103}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV3_VerordnungArzt_57bd7756_f70585e0 => 002_document_to_sign_09e5d103_09e5d103}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103_09e5d103/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103_09e5d103/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_f4c61557_0b82f30f => 002_document_to_sign_0b82f30f_0b82f30f}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV4_VerordnungArzt_438bae6b_15da065c => 002_document_to_sign_0b82f30f_0b82f30f}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f_0b82f30f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f_0b82f30f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_0d6a22d4_bddb1f9e => 002_document_to_sign_0d6a22d4_bddb1f9e_bddb1f9e}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV4_VerordnungArzt_94137fee_15da065c => 002_document_to_sign_0d6a22d4_bddb1f9e_bddb1f9e}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e_bddb1f9e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e_bddb1f9e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_19a7bde6_0d9bb3b8 => 002_document_to_sign_0d9bb3b8_0d9bb3b8}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Noctu_VerordnungArzt_16489c9e_690a7f01 => 002_document_to_sign_0d9bb3b8_0d9bb3b8}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8_0d9bb3b8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8_0d9bb3b8/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_d45686e2_0fdadb04 => 002_document_to_sign_0fdadb04_0fdadb04}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Noctu_VerordnungArzt_6442b691_690a7f01 => 002_document_to_sign_0fdadb04_0fdadb04}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04_0fdadb04/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04_0fdadb04/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_94ddf2c1_10feb16e => 002_document_to_sign_10feb16e_10feb16e}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr1_VerordnungArzt_08de8f6d_281a985c => 002_document_to_sign_10feb16e_10feb16e}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e_10feb16e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e_10feb16e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103_09e5d103/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr1_VerordnungArzt_9123419b_281a985c => 002_document_to_sign_11cffc5c_09e5d103_09e5d103}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103_09e5d103/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103_09e5d103/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_968173c9_12931066 => 002_document_to_sign_12931066_12931066}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5 => 002_document_to_sign_12931066_12931066}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066_12931066/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066_12931066/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_13ef7eed_df4a4b64 => 002_document_to_sign_13ef7eed_df4a4b64_df4a4b64}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5 => 002_document_to_sign_13ef7eed_df4a4b64_df4a4b64}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64_df4a4b64/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64_df4a4b64/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_141bdd95_617b672a => 002_document_to_sign_141bdd95_617b672a_617b672a}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9 => 002_document_to_sign_141bdd95_617b672a_617b672a}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a_617b672a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a_617b672a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_feff6e76_14d9b2f3 => 002_document_to_sign_14d9b2f3_14d9b2f3}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr3_VerordnungArzt_b2afa612_44420ed9 => 002_document_to_sign_14d9b2f3_14d9b2f3}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3_14d9b2f3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3_14d9b2f3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_cec6c127_16b1f573 => 002_document_to_sign_16b1f573_16b1f573}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr4_VerordnungArzt_c2530fad_0428d416 => 002_document_to_sign_16b1f573_16b1f573}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573_16b1f573/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573_16b1f573/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_16ca6d24_5d6fae1d => 002_document_to_sign_16ca6d24_5d6fae1d_5d6fae1d}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416 => 002_document_to_sign_16ca6d24_5d6fae1d_5d6fae1d}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d_5d6fae1d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d_5d6fae1d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_670603fd_1906d211 => 002_document_to_sign_1906d211_1906d211}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr5_VerordnungArzt_1dac39db_34abcf97 => 002_document_to_sign_1906d211_1906d211}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211_1906d211/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211_1906d211/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97 => 002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_1b51052c_fb9ea88e => 002_document_to_sign_1b51052c_fb9ea88e_fb9ea88e}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr6_VerordnungArzt_1971398c_14f3cff7 => 002_document_to_sign_1b51052c_fb9ea88e_fb9ea88e}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e_fb9ea88e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e_fb9ea88e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_c2ad19ce_1be382e5 => 002_document_to_sign_1be382e5_1be382e5}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7 => 002_document_to_sign_1be382e5_1be382e5}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5_1be382e5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5_1be382e5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_1c646da7_4149362e => 002_document_to_sign_1c646da7_4149362e_4149362e}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f => 002_document_to_sign_1c646da7_4149362e_4149362e}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e_4149362e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e_4149362e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_1ed8eaa8_37c652cb => 002_document_to_sign_1ed8eaa8_37c652cb_37c652cb}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f => 002_document_to_sign_1ed8eaa8_37c652cb_37c652cb}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb_37c652cb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb_37c652cb/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_a4f05dcd_230dc009 => 002_document_to_sign_230dc009_230dc009}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92 => 002_document_to_sign_230dc009_230dc009}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009_230dc009/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009_230dc009/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_265b0953_4ff8a848 => 002_document_to_sign_265b0953_4ff8a848_4ff8a848}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92 => 002_document_to_sign_265b0953_4ff8a848_4ff8a848}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848_4ff8a848/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848_4ff8a848/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_9102a310_29aa5ba0 => 002_document_to_sign_29aa5ba0_29aa5ba0}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0 => 002_document_to_sign_29aa5ba0_29aa5ba0}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0_29aa5ba0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0_29aa5ba0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_2a985325_4c861d6d => 002_document_to_sign_2a985325_4c861d6d_4c861d6d}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0 => 002_document_to_sign_2a985325_4c861d6d_4c861d6d}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d_4c861d6d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d_4c861d6d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_2aa2072e_902668fe => 002_document_to_sign_2aa2072e_902668fe_902668fe}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2 => 002_document_to_sign_2aa2072e_902668fe_902668fe}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe_902668fe/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe_902668fe/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_2cbc202c_2b62d10b => 002_document_to_sign_2b62d10b_2b62d10b}/input.xml (100%) rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2 => 002_document_to_sign_2b62d10b_2b62d10b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b_2b62d10b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b_2b62d10b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b_2b62d10b/input.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e => 002_document_to_sign_2cbc202c_2b62d10b_2b62d10b}/log.txt (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b_2b62d10b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b_2b62d10b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_2d9e5916_f88786be => 002_document_to_sign_2d9e5916_f88786be_f88786be}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be_f88786be/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be_f88786be/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be_f88786be/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_c60771b5_2ddcab15 => 002_document_to_sign_2ddcab15_2ddcab15}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15_2ddcab15/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15_2ddcab15/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15_2ddcab15/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_2e209d67_4f51deff => 002_document_to_sign_2e209d67_4f51deff_4f51deff}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff_4f51deff/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff_4f51deff/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff_4f51deff/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_b1146a3f_35469770 => 002_document_to_sign_35469770_35469770}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770_35469770/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770_35469770/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770_35469770/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_3bc18bf8_a3c77b03 => 002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_3f310f6f_e17e8259 => 002_document_to_sign_3f310f6f_e17e8259_e17e8259}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259_e17e8259/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259_e17e8259/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259_e17e8259/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_5da0791f_41ecb9a7 => 002_document_to_sign_41ecb9a7_41ecb9a7}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7_41ecb9a7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7_41ecb9a7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7_41ecb9a7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_4ee123e6_9c9429a1 => 002_document_to_sign_4ee123e6_9c9429a1_9c9429a1}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1_9c9429a1/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1_9c9429a1/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1_9c9429a1/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_7b9e2504_5093c3ab => 002_document_to_sign_5093c3ab_5093c3ab}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab_5093c3ab/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab_5093c3ab/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab_5093c3ab/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_550e0973_bbc51505 => 002_document_to_sign_550e0973_bbc51505_bbc51505}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505_bbc51505/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505_bbc51505/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505_bbc51505/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_55258d43_5f3e877b => 002_document_to_sign_55258d43_5f3e877b_5f3e877b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b_5f3e877b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b_5f3e877b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b_5f3e877b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_5665652f_90d5dd65 => 002_document_to_sign_5665652f_90d5dd65_90d5dd65}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65_90d5dd65/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65_90d5dd65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65_90d5dd65/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_5ed8a5cd_c88ccdf7 => 002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_f8d80421_62dd6004 => 002_document_to_sign_62dd6004_62dd6004}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004_62dd6004/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004_62dd6004/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004_62dd6004/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_6f96c033_b4bf1696 => 002_document_to_sign_6f96c033_b4bf1696_b4bf1696}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696_b4bf1696/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696_b4bf1696/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696_b4bf1696/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_8e4b0bfe_7c15a984 => 002_document_to_sign_7c15a984_7c15a984}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984_7c15a984/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984_7c15a984/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984_7c15a984/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_f276a8fc_7fe0b57d => 002_document_to_sign_7fe0b57d_7fe0b57d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d_7fe0b57d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d_7fe0b57d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d_7fe0b57d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_e55e8bba_80a43c33 => 002_document_to_sign_80a43c33_80a43c33}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33_80a43c33/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33_80a43c33/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33_80a43c33/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_83c10e2d_dac55c3e => 002_document_to_sign_83c10e2d_dac55c3e_dac55c3e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e_dac55c3e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e_dac55c3e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e_dac55c3e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_840ab9b1_c79c0fe3 => 002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_862aa430_bf973351 => 002_document_to_sign_862aa430_bf973351_bf973351}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351_bf973351/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351_bf973351/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351_bf973351/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_89383746_b0ce4ff1 => 002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_cc2415eb_9645a6a3 => 002_document_to_sign_9645a6a3_9645a6a3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3_9645a6a3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3_9645a6a3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3_9645a6a3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_a0b1a2cd_f9c4ff65 => 002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_dd2d2c6b_a39897e0 => 002_document_to_sign_a39897e0_a39897e0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0_a39897e0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0_a39897e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0_a39897e0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_ce4b1eb6_ab9f6a4e => 002_document_to_sign_ab9f6a4e_ab9f6a4e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e_ab9f6a4e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e_ab9f6a4e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e_ab9f6a4e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_cae47569_ad686294 => 002_document_to_sign_ad686294_ad686294}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294_ad686294/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294_ad686294/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294_ad686294/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_ad7148f1_c7ac3a7c => 002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_aedad2dd_e6706910 => 002_document_to_sign_aedad2dd_e6706910_e6706910}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910_e6706910/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910_e6706910/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910_e6706910/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_e4726de8_b0589d4c => 002_document_to_sign_b0589d4c_b0589d4c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c_b0589d4c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c_b0589d4c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c_b0589d4c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_bcba7c06_f731f36c => 002_document_to_sign_bcba7c06_f731f36c_f731f36c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c_f731f36c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c_f731f36c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c_f731f36c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_cb78899c_bfd34b90 => 002_document_to_sign_bfd34b90_bfd34b90}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90_bfd34b90/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90_bfd34b90/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90_bfd34b90/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_c3479bd3_cb7063e3 => 002_document_to_sign_c3479bd3_cb7063e3_cb7063e3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3_cb7063e3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3_cb7063e3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3_cb7063e3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e => 002_document_to_sign_dac55c3e_dac55c3e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e_dac55c3e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e_dac55c3e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e_dac55c3e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_dbeccf45_e4a92e97 => 002_document_to_sign_dbeccf45_e4a92e97_e4a92e97}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97_e4a92e97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97_e4a92e97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97_e4a92e97/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_dd6f3569_df31f167 => 002_document_to_sign_dd6f3569_df31f167_df31f167}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167_df31f167/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167_df31f167/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167_df31f167/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{002_document_to_sign_f25d9001_df6aff69 => 002_document_to_sign_df6aff69_df6aff69}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69_df6aff69/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69_df6aff69/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69_df6aff69/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_004ef082_12875f19 => 003_document_to_sign_004ef082_12875f19_12875f19}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19_12875f19/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19_12875f19/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19_12875f19/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_1e697f5a_c44d90eb => 003_document_to_sign_1e697f5a_c44d90eb_c44d90eb}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb_c44d90eb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb_c44d90eb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb_c44d90eb/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_f3b90767_25e815da => 003_document_to_sign_25e815da_25e815da}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da_25e815da/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da_25e815da/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da_25e815da/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_59da5b8a_3817df9f => 003_document_to_sign_3817df9f_3817df9f}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f_3817df9f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f_3817df9f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f_3817df9f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_39ea3447_4d68c364 => 003_document_to_sign_39ea3447_4d68c364_4d68c364}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364_4d68c364/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364_4d68c364/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364_4d68c364/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_fd771be7_3a052e22 => 003_document_to_sign_3a052e22_3a052e22}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22_3a052e22/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22_3a052e22/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22_3a052e22/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_a40b9e5a_3cb47bc5 => 003_document_to_sign_3cb47bc5_3cb47bc5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5_3cb47bc5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5_3cb47bc5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5_3cb47bc5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_3fb29ad6_6b244b96 => 003_document_to_sign_3fb29ad6_6b244b96_6b244b96}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96_6b244b96/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96_6b244b96/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96_6b244b96/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_53d1cfe9_ee45abcb => 003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_5e9c3c5a_9963336d => 003_document_to_sign_5e9c3c5a_9963336d_9963336d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d_9963336d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d_9963336d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d_9963336d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_6e19e753_a49d100a => 003_document_to_sign_6e19e753_a49d100a_a49d100a}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a_a49d100a/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a_a49d100a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a_a49d100a/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_7e017904_90b31bf4 => 003_document_to_sign_7e017904_90b31bf4_90b31bf4}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4_90b31bf4/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4_90b31bf4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4_90b31bf4/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{003_document_to_sign_9965d2f7_a79dd76f => 003_document_to_sign_9965d2f7_a79dd76f_a79dd76f}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f_a79dd76f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f_a79dd76f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f_a79dd76f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{004_document_to_sign_0169e0e6_c80f28e3 => 004_document_to_sign_0169e0e6_c80f28e3_c80f28e3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3_c80f28e3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3_c80f28e3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3_c80f28e3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{004_document_to_sign_fb58223d_93c38d8d => 004_document_to_sign_93c38d8d_93c38d8d}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d_93c38d8d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d_93c38d8d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d_93c38d8d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{005_document_to_sign_50200ff7_04ef6989 => 005_document_to_sign_04ef6989_04ef6989}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989_04ef6989/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989_04ef6989/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989_04ef6989/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{005_document_to_sign_8e04dafe_207902f9 => 005_document_to_sign_207902f9_207902f9}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9_207902f9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9_207902f9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9_207902f9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{005_document_to_sign_2745328a_251cee33 => 005_document_to_sign_251cee33_251cee33}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33_251cee33/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33_251cee33/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33_251cee33/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{005_document_to_sign_d9759800_9e9b3d77 => 005_document_to_sign_9e9b3d77_9e9b3d77}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77_9e9b3d77/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77_9e9b3d77/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77_9e9b3d77/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{009_document_to_sign_4aec765d_7adc4492 => 009_document_to_sign_4aec765d_7adc4492_7adc4492}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492_7adc4492/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492_7adc4492/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492_7adc4492/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{009_document_to_sign_57eabb67_d04a95ee => 009_document_to_sign_57eabb67_d04a95ee_d04a95ee}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee_d04a95ee/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee_d04a95ee/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee_d04a95ee/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{016_document_to_sign_355db86f_71606533 => 016_document_to_sign_355db86f_71606533_71606533}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533_71606533/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533_71606533/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533_71606533/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{023_document_to_sign_2d819774_7b2ca3fe => 023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_10_1_0904076e_c44ddc5b => Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_10_2_d27c0e14_7031f7f3 => Beispiel_10_2_7031f7f3_7031f7f3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3_7031f7f3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3_7031f7f3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3_7031f7f3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_10_3_552a0944_f70585e0 => Beispiel_10_3_552a0944_f70585e0_f70585e0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0_f70585e0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0_f70585e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0_f70585e0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_10_4_2f23f99c_15da065c => Beispiel_10_4_15da065c_15da065c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c_15da065c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c_15da065c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c_15da065c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_11_1a369537_690a7f01 => Beispiel_11_1a369537_690a7f01_690a7f01}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01_690a7f01/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01_690a7f01/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01_690a7f01/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_12_2aa01d66_14f3cff7 => Beispiel_12_14f3cff7_14f3cff7}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7_14f3cff7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7_14f3cff7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7_14f3cff7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_13_8d85e45c_ee9d3b92 => Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_14_63ade791_753fff3b => Beispiel_14_63ade791_753fff3b_753fff3b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b_753fff3b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_15_b8505bd0_34abcf97 => Beispiel_15_34abcf97_34abcf97}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97_34abcf97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97_34abcf97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97_34abcf97/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_1_f12fa769_44420ed9 => Beispiel_1_44420ed9_44420ed9}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9_44420ed9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9_44420ed9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9_44420ed9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_1_f40a23d0_44420ed9 => Beispiel_1_f12fa769_44420ed9_44420ed9}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9_44420ed9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9_44420ed9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9_44420ed9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_2_2b6860ab_6d5162b2 => Beispiel_2_2b6860ab_6d5162b2_6d5162b2}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2_6d5162b2/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2_6d5162b2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2_6d5162b2/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_2_d5f08b4e_6d5162b2 => Beispiel_2_6d5162b2_6d5162b2}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_30_1ab932b8_846d07e6 => Beispiel_30_1ab932b8_846d07e6_846d07e6}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6_846d07e6/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6_846d07e6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6_846d07e6/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_31_e0cb3cbc_7f12495e => Beispiel_31_7f12495e_7f12495e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e_7f12495e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e_7f12495e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e_7f12495e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_32_318de3dd_6f404894 => Beispiel_32_318de3dd_6f404894_6f404894}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894_6f404894/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894_6f404894/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894_6f404894/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_33_34200096_1f339db0 => Beispiel_33_1f339db0_1f339db0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0_1f339db0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0_1f339db0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0_1f339db0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_34_7fd5f6de_d38c02fa => Beispiel_34_7fd5f6de_d38c02fa_d38c02fa}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa_d38c02fa/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa_d38c02fa/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa_d38c02fa/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_35_f54e7067_b942313c => Beispiel_35_b942313c_b942313c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c_b942313c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c_b942313c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c_b942313c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_36_143798dc_c48d0fb5 => Beispiel_36_143798dc_c48d0fb5_c48d0fb5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5_c48d0fb5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5_c48d0fb5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5_c48d0fb5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_37_78ff5d32_7d1f08b4 => Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_38_fb26a25e_60e48db8 => Beispiel_38_60e48db8_60e48db8}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8_60e48db8/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8_60e48db8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8_60e48db8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_39_23d155d0_acf39375 => Beispiel_39_23d155d0_acf39375_acf39375}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375_acf39375/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375_acf39375/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375_acf39375/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_3_PKV_1f6ef093_328ad940 => Beispiel_3_328ad940_328ad940}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_328ad940_328ad940/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_328ad940_328ad940/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_328ad940_328ad940/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_3_fc33c82b_328ad940 => Beispiel_3_PKV_1f6ef093_328ad940_328ad940}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940_328ad940/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940_328ad940/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940_328ad940/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_40_ec1c5acd_50926152 => Beispiel_40_50926152_50926152}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152_50926152/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152_50926152/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152_50926152/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_41_2a94fb4b_e9de4852 => Beispiel_41_2a94fb4b_e9de4852_e9de4852}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852_e9de4852/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852_e9de4852/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852_e9de4852/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_42_f5df70a6_fe9200db => Beispiel_42_f5df70a6_fe9200db_fe9200db}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db_fe9200db/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db_fe9200db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db_fe9200db/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_43_22d245d1_91c262e7 => Beispiel_43_22d245d1_91c262e7_91c262e7}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7_91c262e7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7_91c262e7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7_91c262e7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_45_bb4ce485_5702a4b8 => Beispiel_45_5702a4b8_5702a4b8}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8_5702a4b8/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8_5702a4b8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8_5702a4b8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_49_68570de1_baac1cdd => Beispiel_49_68570de1_baac1cdd_baac1cdd}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd_baac1cdd/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd_baac1cdd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd_baac1cdd/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_4_cd2e731a_5f66314e => Beispiel_4_5f66314e_5f66314e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e_5f66314e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e_5f66314e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e_5f66314e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_4_ee308df9_5f66314e => Beispiel_4_cd2e731a_5f66314e_5f66314e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e_5f66314e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e_5f66314e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e_5f66314e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_54_dff1953b_d390d0d3 => Beispiel_54_d390d0d3_d390d0d3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3_d390d0d3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3_d390d0d3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3_d390d0d3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_55_10ddea96_a6949071 => Beispiel_55_10ddea96_a6949071_a6949071}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071_a6949071/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071_a6949071/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071_a6949071/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_56_bc08cd5c_414ca393 => Beispiel_56_414ca393_414ca393}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393_414ca393/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393_414ca393/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393_414ca393/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_57_855147c1_3a1c45f8 => Beispiel_57_3a1c45f8_3a1c45f8}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8_3a1c45f8/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8_3a1c45f8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8_3a1c45f8/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_60_bc27f419_2f97abb5 => Beispiel_60_2f97abb5_2f97abb5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5_2f97abb5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5_2f97abb5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5_2f97abb5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_6_5287e4ed_9ad99a8f => Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_7_c806b0e8_aea2f4c5 => Beispiel_7_aea2f4c5_aea2f4c5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5_aea2f4c5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5_aea2f4c5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5_aea2f4c5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_8_0097fa46_0428d416 => Beispiel_8_0097fa46_0428d416_0428d416}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416_0428d416/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416_0428d416/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416_0428d416/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{Beispiel_9_45f28601_914b7619 => Beispiel_9_45f28601_914b7619_914b7619}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619_914b7619/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e => PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e => PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619 => PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619 => PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619 => PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619 => PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b => PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b => PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b => PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b => PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV1_VerordnungArzt_14b48655_c44ddc5b => PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV1_VerordnungArzt_ed826199_c44ddc5b => PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV2_VerordnungArzt_301a581a_7031f7f3 => PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV2_VerordnungArzt_720f0d95_7031f7f3 => PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV3_VerordnungArzt_4474f7d6_f70585e0 => PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV3_VerordnungArzt_57bd7756_f70585e0 => PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV4_VerordnungArzt_438bae6b_15da065c => PZN_MV4_VerordnungArzt_15da065c_15da065c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c_15da065c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c_15da065c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c_15da065c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_MV4_VerordnungArzt_94137fee_15da065c => PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Noctu_VerordnungArzt_16489c9e_690a7f01 => PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Noctu_VerordnungArzt_6442b691_690a7f01 => PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr1_VerordnungArzt_08de8f6d_281a985c => PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr1_VerordnungArzt_9123419b_281a985c => PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5 => PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5 => PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9 => PZN_Nr3_VerordnungArzt_44420ed9_44420ed9}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9_44420ed9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9_44420ed9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9_44420ed9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr3_VerordnungArzt_b2afa612_44420ed9 => PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416 => PZN_Nr4_VerordnungArzt_0428d416_0428d416}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416_0428d416/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416_0428d416/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416_0428d416/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr4_VerordnungArzt_c2530fad_0428d416 => PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr5_VerordnungArzt_1dac39db_34abcf97 => PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97 => PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7 => PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr6_VerordnungArzt_1971398c_14f3cff7 => PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f => PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f => PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92 => PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92 => PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0 => PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0 => PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2 => PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2/output.xml rename ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/{PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2 => PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2}/input.xml (100%) create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/output.xml delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.json delete mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/output.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/input.xml create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/log.txt create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/output.json create mode 100644 ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/output.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/transformation_protocol.txt b/ePA-eML-Examples/ExampleRepoTestData/transformation_protocol.txt index 391f126f..2b2c0c77 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/transformation_protocol.txt +++ b/ePA-eML-Examples/ExampleRepoTestData/transformation_protocol.txt @@ -1,427 +1,785 @@ -Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/input.xml - transform to valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e -Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/input.xml - transform to valid/medicationPzn/Beispiel_3_fc33c82b_328ad940 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/input.xml - transform to valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/input.xml - transform to valid/medicationPzn/Beispiel_1_f12fa769_44420ed9 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/input.xml - transform to valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/input.xml - transform to valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/input.xml - transform to valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/input.xml - transform to valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/input.xml - transform to valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/input.xml - transform to valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/input.xml - transform to valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/input.xml - transform to valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/input.xml - transform to valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/input.xml - transform to valid/medicationPzn/003_document_to_sign_004ef082_12875f19 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/input.xml - transform to valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/input.xml - transform to valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/input.xml - transform to valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/input.xml - transform to valid/medicationPzn/002_document_to_sign_b1146a3f_35469770 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/input.xml - transform to valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/input.xml - transform to valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/input.xml - transform to valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/input.xml - transform to valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/input.xml - transform to valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/input.xml - transform to valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/input.xml - transform to valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/input.xml - transform to valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/input.xml - transform to valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/input.xml - transform to valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/input.xml - transform to valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/input.xml - transform to valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/input.xml - transform to valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/input.xml - transform to valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/input.xml - transform to valid/medicationPzn/002_document_to_sign_141bdd95_617b672a -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/input.xml - transform to valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/input.xml - transform to valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/input.xml - transform to valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/input.xml - transform to valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/input.xml - transform to valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/input.xml - transform to valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/input.xml - transform to valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/input.xml - transform to valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/input.xml - transform to valid/medicationPzn/Beispiel_11_1a369537_690a7f01 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/input.xml - transform to valid/medicationPzn/Beispiel_43_22d245d1_91c262e7 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/input.xml - transform to valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/input.xml - transform to valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/input.xml - transform to valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/input.xml - transform to valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/input.xml - transform to valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/input.xml - transform to valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/input.xml - transform to valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/input.xml - transform to valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/input.xml - transform to valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/input.xml - transform to valid/medicationPzn/Beispiel_33_34200096_1f339db0 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/input.xml - transform to valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/input.xml - transform to valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/input.xml - transform to valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/input.xml - transform to valid/medicationPzn/Beispiel_32_318de3dd_6f404894 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/input.xml - transform to valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/input.xml - transform to valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/input.xml - transform to valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/input.xml - transform to valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/input.xml - transform to valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/input.xml - transform to valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/input.xml - transform to valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/input.xml - transform to valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/input.xml - transform to valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/input.xml - transform to valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/input.xml - transform to valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/input.xml - transform to valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/input.xml - transform to valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/input.xml - transform to valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/input.xml - transform to valid/medicationPzn/Beispiel_8_0097fa46_0428d416 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/input.xml - transform to valid/medicationPzn/002_document_to_sign_670603fd_1906d211 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/input.xml - transform to valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/input.xml - transform to valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/input.xml - transform to valid/medicationPzn/Beispiel_14_63ade791_753fff3b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/input.xml - transform to valid/medicationPzn/Beispiel_55_10ddea96_a6949071 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/input.xml - transform to valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/input.xml - transform to valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/input.xml - transform to valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/input.xml - transform to valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/input.xml - transform to valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/input.xml - transform to valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/input.xml - transform to valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/input.xml - transform to valid/medicationPzn/Beispiel_40_ec1c5acd_50926152 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/input.xml - transform to valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/input.xml - transform to valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/input.xml - transform to valid/medicationPzn/002_document_to_sign_09045269_45a9ad90 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/input.xml - transform to valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/input.xml - transform to valid/medicationPzn/Beispiel_9_45f28601_914b7619 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/input.xml - transform to valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/input.xml - transform to valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/input.xml - transform to valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/input.xml - transform to valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/input.xml - transform to valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/input.xml - transform to valid/medicationPzn/Beispiel_35_f54e7067_b942313c -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/input.xml - transform to valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/input.xml - transform to valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/input.xml - transform to valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/input.xml - transform to valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/input.xml - transform to valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/input.xml - transform to valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/input.xml - transform to valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/input.xml - transform to valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/input.xml - transform to valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/input.xml - transform to valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/input.xml - transform to valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/input.xml - transform to valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/input.xml - transform to valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/input.xml - transform to valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/input.xml - transform to valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/input.xml - transform to valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/input.xml - transform to valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/input.xml - transform to valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/input.xml - transform to valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/input.xml - transform to valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/input.xml - transform to valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/input.xml - transform to valid/medicationPzn/016_document_to_sign_355db86f_71606533 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/input.xml - transform to valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/input.xml - transform to valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/input.xml - transform to valid/medicationPzn/Beispiel_39_23d155d0_acf39375 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/input.xml - transform to valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/input.xml - transform to valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/input.xml - transform to valid/medicationPzn/002_document_to_sign_968173c9_12931066 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/input.xml - transform to valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/input.xml - transform to valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/input.xml - transform to valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/input.xml - transform to valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/input.xml - transform to valid/medicationPzn/005_document_to_sign_2745328a_251cee33 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/input.xml - transform to valid/medicationPzn/002_document_to_sign_76455c58_05168195 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/input.xml - transform to valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/input.xml - transform to valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/input.xml - transform to valid/medicationPzn/Beispiel_4_ee308df9_5f66314e -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/input.xml - transform to valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/input.xml - transform to valid/medicationPzn/002_document_to_sign_cae47569_ad686294 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/input.xml - transform to valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/input.xml - transform to valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/input.xml - transform to valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/input.xml - transform to valid/medicationPzn/002_document_to_sign_862aa430_bf973351 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/input.xml - transform to valid/medicationPzn/Beispiel_49_68570de1_baac1cdd -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/input.xml - transform to valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/input.xml - transform to valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/input.xml - transform to valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/input.xml - transform to valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/input.xml - transform to valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/input.xml - transform to valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/input.xml - transform to valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/input.xml - transform to valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/input.xml - transform to valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/input.xml - transform to valid/medicationPzn/002_document_to_sign_550e0973_bbc51505 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/input.xml - transform to valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/input.xml - transform to valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/input.xml - transform to valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/input.xml - transform to valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/input.xml - transform to valid/medicationPzn/003_document_to_sign_f3b90767_25e815da -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/input.xml - transform to valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/input.xml - transform to valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/input.xml - transform to valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/input.xml - transform to valid/medicationPzn/002_document_to_sign_1c646da7_4149362e -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/input.xml - transform to valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/input.xml - transform to valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/input.xml - transform to valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/input.xml - transform to valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/input.xml - transform to valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/input.xml - transform to valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/input.xml - transform to valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/input.xml - transform to valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/input.xml - transform to valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/input.xml - transform to valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/input.xml - transform to valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/input.xml - transform to valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/input.xml - transform to valid/medicationCompounding/Beispiel_51_63c98839_deda8f97 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/input.xml - transform to valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/input.xml - transform to valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/input.xml - transform to valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/input.xml - transform to valid/medicationCompounding/Beispiel_53_f5386f17_465f1638 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/input.xml - transform to valid/medicationCompounding/Beispiel_25_cd31610e_dae573db -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/input.xml - transform to valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/input.xml - transform to valid/medicationCompounding/Beispiel_24_77b6e755_a409358a -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/input.xml - transform to valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/input.xml - transform to valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/input.xml - transform to valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/input.xml - transform to valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/input.xml - transform to valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/input.xml - transform to valid/medicationIngredient/Beispiel_58_97f6247a_9356774b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/input.xml - transform to valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/input.xml - transform to valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/input.xml - transform to valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/input.xml - transform to valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/input.xml - transform to valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/input.xml - transform to valid/medicationIngredient/Beispiel_18_fe99181f_218b581d -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/input.xml - transform to valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/input.xml - transform to valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/input.xml - transform to valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/input.xml - transform to valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/input.xml - transform to valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/input.xml - transform to valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/input.xml - transform to valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/input.xml - transform to valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/input.xml - transform to valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/input.xml - transform to valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/input.xml - transform to valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/input.xml - transform to valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/input.xml - transform to valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/input.xml - transform to valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/input.xml - transform to valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/input.xml - transform to valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/input.xml - transform to valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/input.xml - transform to valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/input.xml - transform to valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/input.xml - transform to valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/input.xml - transform to valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/input.xml + transform to valid/medicationPzn/Beispiel_3_328ad940_328ad940 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/input.xml + transform to valid/medicationPzn/Beispiel_4_5f66314e_5f66314e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/input.xml + transform to valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/input.xml + transform to valid/medicationPzn/Beispiel_1_44420ed9_44420ed9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/input.xml + transform to valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/input.xml + transform to valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/input.xml + transform to valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/input.xml + transform to valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/input.xml + transform to valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/input.xml + transform to valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/input.xml + transform to valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/input.xml + transform to valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/input.xml + transform to valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/input.xml + transform to valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/input.xml + transform to valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/input.xml + transform to valid/medicationPzn/016_document_to_sign_355db86f_71606533_71606533 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/input.xml + transform to valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/input.xml + transform to valid/medicationPzn/002_document_to_sign_902668fe_902668fe +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/input.xml + transform to valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/input.xml + transform to valid/medicationPzn/Beispiel_39_acf39375_acf39375 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/input.xml + transform to valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c_15da065c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/input.xml + transform to valid/medicationPzn/002_document_to_sign_02ad9b11_02ad9b11 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/input.xml + transform to valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/input.xml + transform to valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d_5d6fae1d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/input.xml + transform to valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/input.xml + transform to valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/input.xml + transform to valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/input.xml + transform to valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/input.xml + transform to valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/input.xml + transform to valid/medicationPzn/002_document_to_sign_29aa5ba0_29aa5ba0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/input.xml + transform to valid/medicationPzn/002_document_to_sign_16b1f573_16b1f573 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/input.xml + transform to valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/input.xml + transform to valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/input.xml + transform to valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/input.xml + transform to valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/input.xml + transform to valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/input.xml + transform to valid/medicationPzn/Beispiel_42_fe9200db_fe9200db +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/input.xml + transform to valid/medicationPzn/002_document_to_sign_05168195_05168195 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/input.xml + transform to valid/medicationPzn/Beispiel_9_914b7619_914b7619 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/input.xml + transform to valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/input.xml + transform to valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/input.xml + transform to valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/input.xml + transform to valid/medicationPzn/Beispiel_38_60e48db8_60e48db8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/input.xml + transform to valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/input.xml + transform to valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/input.xml + transform to valid/medicationPzn/002_document_to_sign_550e0973_bbc51505_bbc51505 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/input.xml + transform to valid/medicationPzn/005_document_to_sign_9e9b3d77_9e9b3d77 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/input.xml + transform to valid/medicationPzn/Beispiel_10_2_7031f7f3_7031f7f3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/input.xml + transform to valid/medicationPzn/002_document_to_sign_09045269_45a9ad90_45a9ad90 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/input.xml + transform to valid/medicationPzn/002_document_to_sign_a39897e0_a39897e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/input.xml + transform to valid/medicationPzn/Beispiel_7_aea2f4c5_aea2f4c5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/input.xml + transform to valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/input.xml + transform to valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/input.xml + transform to valid/medicationPzn/016_document_to_sign_71606533_71606533 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/input.xml + transform to valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/input.xml + transform to valid/medicationPzn/003_document_to_sign_25e815da_25e815da +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/input.xml + transform to valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/input.xml + transform to valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/input.xml + transform to valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259_e17e8259 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/input.xml + transform to valid/medicationPzn/Beispiel_32_6f404894_6f404894 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/input.xml + transform to valid/medicationPzn/Beispiel_54_d390d0d3_d390d0d3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/input.xml + transform to valid/medicationPzn/002_document_to_sign_41ecb9a7_41ecb9a7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/input.xml + transform to valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/input.xml + transform to valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/input.xml + transform to valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/input.xml + transform to valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/input.xml + transform to valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940_328ad940 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/input.xml + transform to valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/input.xml + transform to valid/medicationPzn/Beispiel_43_91c262e7_91c262e7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/input.xml + transform to valid/medicationPzn/002_document_to_sign_35469770_35469770 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/input.xml + transform to valid/medicationPzn/002_document_to_sign_7c15a984_7c15a984 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/input.xml + transform to valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/input.xml + transform to valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/input.xml + transform to valid/medicationPzn/Beispiel_9_45f28601_914b7619_914b7619 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/input.xml + transform to valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65_90d5dd65 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/input.xml + transform to valid/medicationPzn/Beispiel_39_23d155d0_acf39375_acf39375 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/input.xml + transform to valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f_a79dd76f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/input.xml + transform to valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/input.xml + transform to valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0_f70585e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/input.xml + transform to valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/input.xml + transform to valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e_dac55c3e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/input.xml + transform to valid/medicationPzn/003_document_to_sign_3817df9f_3817df9f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/input.xml + transform to valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/input.xml + transform to valid/medicationPzn/002_document_to_sign_10feb16e_10feb16e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/input.xml + transform to valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/input.xml + transform to valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/input.xml + transform to valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/input.xml + transform to valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/input.xml + transform to valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416_0428d416 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/input.xml + transform to valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/input.xml + transform to valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64_df4a4b64 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/input.xml + transform to valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/input.xml + transform to valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492_7adc4492 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/input.xml + transform to valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/input.xml + transform to valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/input.xml + transform to valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/input.xml + transform to valid/medicationPzn/Beispiel_43_22d245d1_91c262e7_91c262e7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/input.xml + transform to valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/input.xml + transform to valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/input.xml + transform to valid/medicationPzn/002_document_to_sign_2ddcab15_2ddcab15 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/input.xml + transform to valid/medicationPzn/002_document_to_sign_1be382e5_1be382e5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/input.xml + transform to valid/medicationPzn/002_document_to_sign_14d9b2f3_14d9b2f3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/input.xml + transform to valid/medicationPzn/002_document_to_sign_df31f167_df31f167 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/input.xml + transform to valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/input.xml + transform to valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/input.xml + transform to valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/input.xml + transform to valid/medicationPzn/005_document_to_sign_04ef6989_04ef6989 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/input.xml + transform to valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/input.xml + transform to valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1_9c9429a1 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/input.xml + transform to valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/input.xml + transform to valid/medicationPzn/002_document_to_sign_b0589d4c_b0589d4c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/input.xml + transform to valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/input.xml + transform to valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/input.xml + transform to valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/input.xml + transform to valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/input.xml + transform to valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/input.xml + transform to valid/medicationPzn/002_document_to_sign_12931066_12931066 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/input.xml + transform to valid/medicationPzn/002_document_to_sign_9645a6a3_9645a6a3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/input.xml + transform to valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/input.xml + transform to valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/input.xml + transform to valid/medicationPzn/Beispiel_4_5f66314e_5f66314e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/input.xml + transform to valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848_4ff8a848 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/input.xml + transform to valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/input.xml + transform to valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/input.xml + transform to valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/input.xml + transform to valid/medicationPzn/Beispiel_14_753fff3b_753fff3b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/input.xml + transform to valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/input.xml + transform to valid/medicationPzn/Beispiel_45_5702a4b8_5702a4b8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/input.xml + transform to valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b_2b62d10b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/input.xml + transform to valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/input.xml + transform to valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/input.xml + transform to valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/input.xml + transform to valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/input.xml + transform to valid/medicationPzn/Beispiel_10_4_15da065c_15da065c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/input.xml + transform to valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/input.xml + transform to valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/input.xml + transform to valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e_bddb1f9e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/input.xml + transform to valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/input.xml + transform to valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/input.xml + transform to valid/medicationPzn/002_document_to_sign_bfd34b90_bfd34b90 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/input.xml + transform to valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/input.xml + transform to valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/input.xml + transform to valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/input.xml + transform to valid/medicationPzn/002_document_to_sign_1c646da7_4149362e_4149362e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/input.xml + transform to valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/input.xml + transform to valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/input.xml + transform to valid/medicationPzn/Beispiel_57_3a1c45f8_3a1c45f8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/input.xml + transform to valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/input.xml + transform to valid/medicationPzn/Beispiel_11_1a369537_690a7f01_690a7f01 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/input.xml + transform to valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/input.xml + transform to valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/input.xml + transform to valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/input.xml + transform to valid/medicationPzn/Beispiel_30_846d07e6_846d07e6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/input.xml + transform to valid/medicationPzn/Beispiel_49_68570de1_baac1cdd_baac1cdd +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/input.xml + transform to valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/input.xml + transform to valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/input.xml + transform to valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9_44420ed9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/input.xml + transform to valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/input.xml + transform to valid/medicationPzn/Beispiel_12_14f3cff7_14f3cff7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/input.xml + transform to valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4_90b31bf4 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/input.xml + transform to valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/input.xml + transform to valid/medicationPzn/002_document_to_sign_0b82f30f_0b82f30f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/input.xml + transform to valid/medicationPzn/Beispiel_31_7f12495e_7f12495e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/input.xml + transform to valid/medicationPzn/Beispiel_11_690a7f01_690a7f01 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/input.xml + transform to valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/input.xml + transform to valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/input.xml + transform to valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/input.xml + transform to valid/medicationPzn/Beispiel_32_318de3dd_6f404894_6f404894 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/input.xml + transform to valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/input.xml + transform to valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/input.xml + transform to valid/medicationPzn/002_document_to_sign_dac55c3e_dac55c3e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/input.xml + transform to valid/medicationPzn/Beispiel_56_414ca393_414ca393 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/input.xml + transform to valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/input.xml + transform to valid/medicationPzn/002_document_to_sign_2b62d10b_2b62d10b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/input.xml + transform to valid/medicationPzn/Beispiel_1_f12fa769_44420ed9_44420ed9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/input.xml + transform to valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/input.xml + transform to valid/medicationPzn/002_document_to_sign_f88786be_f88786be +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/input.xml + transform to valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/input.xml + transform to valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/input.xml + transform to valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/input.xml + transform to valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5_c48d0fb5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/input.xml + transform to valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db_fe9200db +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/input.xml + transform to valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/input.xml + transform to valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/input.xml + transform to valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/input.xml + transform to valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e_5f66314e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/input.xml + transform to valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852_e9de4852 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/input.xml + transform to valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/input.xml + transform to valid/medicationPzn/002_document_to_sign_09e5d103_09e5d103 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/input.xml + transform to valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910_e6706910 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/input.xml + transform to valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/input.xml + transform to valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/input.xml + transform to valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb_c44d90eb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/input.xml + transform to valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103_09e5d103 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/input.xml + transform to valid/medicationPzn/Beispiel_1_44420ed9_44420ed9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/input.xml + transform to valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/input.xml + transform to valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/input.xml + transform to valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/input.xml + transform to valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/input.xml + transform to valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/input.xml + transform to valid/medicationPzn/002_document_to_sign_862aa430_bf973351_bf973351 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/input.xml + transform to valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/input.xml + transform to valid/medicationPzn/Beispiel_35_b942313c_b942313c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/input.xml + transform to valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/input.xml + transform to valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b_5f3e877b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/input.xml + transform to valid/medicationPzn/005_document_to_sign_207902f9_207902f9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/input.xml + transform to valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/input.xml + transform to valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/input.xml + transform to valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/input.xml + transform to valid/medicationPzn/002_document_to_sign_0fdadb04_0fdadb04 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/input.xml + transform to valid/medicationPzn/002_document_to_sign_4149362e_4149362e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/input.xml + transform to valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6_846d07e6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/input.xml + transform to valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167_df31f167 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/input.xml + transform to valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/input.xml + transform to valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/input.xml + transform to valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/input.xml + transform to valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97_e4a92e97 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/input.xml + transform to valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee_d04a95ee +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/input.xml + transform to valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/input.xml + transform to valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/input.xml + transform to valid/medicationPzn/Beispiel_14_63ade791_753fff3b_753fff3b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/input.xml + transform to valid/medicationPzn/002_document_to_sign_ab9f6a4e_ab9f6a4e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/input.xml + transform to valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3_cb7063e3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/input.xml + transform to valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/input.xml + transform to valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/input.xml + transform to valid/medicationPzn/Beispiel_60_2f97abb5_2f97abb5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/input.xml + transform to valid/medicationPzn/002_document_to_sign_80a43c33_80a43c33 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/input.xml + transform to valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/input.xml + transform to valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/input.xml + transform to valid/medicationPzn/Beispiel_8_0097fa46_0428d416_0428d416 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/input.xml + transform to valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/input.xml + transform to valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667_475e9667 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/input.xml + transform to valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb_37c652cb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/input.xml + transform to valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/input.xml + transform to valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a_a49d100a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/input.xml + transform to valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/input.xml + transform to valid/medicationPzn/003_document_to_sign_004ef082_12875f19_12875f19 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/input.xml + transform to valid/medicationPzn/Beispiel_15_34abcf97_34abcf97 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/input.xml + transform to valid/medicationPzn/Beispiel_8_0428d416_0428d416 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/input.xml + transform to valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/input.xml + transform to valid/medicationPzn/003_document_to_sign_9963336d_9963336d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/input.xml + transform to valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/input.xml + transform to valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d_9963336d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/input.xml + transform to valid/medicationPzn/002_document_to_sign_5093c3ab_5093c3ab +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/input.xml + transform to valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2_6d5162b2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/input.xml + transform to valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/input.xml + transform to valid/medicationPzn/003_document_to_sign_3a052e22_3a052e22 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/input.xml + transform to valid/medicationPzn/003_document_to_sign_12875f19_12875f19 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/input.xml + transform to valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c_f731f36c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/input.xml + transform to valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc_fce076cc +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/input.xml + transform to valid/medicationPzn/Beispiel_55_10ddea96_a6949071_a6949071 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/input.xml + transform to valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/input.xml + transform to valid/medicationPzn/002_document_to_sign_e6706910_e6706910 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/input.xml + transform to valid/medicationPzn/002_document_to_sign_617b672a_617b672a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/input.xml + transform to valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/input.xml + transform to valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/input.xml + transform to valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/input.xml + transform to valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/input.xml + transform to valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/input.xml + transform to valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/input.xml + transform to valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/input.xml + transform to valid/medicationPzn/003_document_to_sign_3cb47bc5_3cb47bc5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/input.xml + transform to valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/input.xml + transform to valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/input.xml + transform to valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa_d38c02fa +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/input.xml + transform to valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/input.xml + transform to valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/input.xml + transform to valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/input.xml + transform to valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/input.xml + transform to valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/input.xml + transform to valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/input.xml + transform to valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/input.xml + transform to valid/medicationPzn/002_document_to_sign_230dc009_230dc009 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/input.xml + transform to valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/input.xml + transform to valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696_b4bf1696 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/input.xml + transform to valid/medicationPzn/Beispiel_55_a6949071_a6949071 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/input.xml + transform to valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/input.xml + transform to valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/input.xml + transform to valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe_902668fe +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/input.xml + transform to valid/medicationPzn/002_document_to_sign_475e9667_475e9667 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/input.xml + transform to valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/input.xml + transform to valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/input.xml + transform to valid/medicationPzn/005_document_to_sign_251cee33_251cee33 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/input.xml + transform to valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff_4f51deff +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/input.xml + transform to valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/input.xml + transform to valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/input.xml + transform to valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3_c80f28e3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/input.xml + transform to valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/input.xml + transform to valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/input.xml + transform to valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/input.xml + transform to valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/input.xml + transform to valid/medicationPzn/002_document_to_sign_bf973351_bf973351 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/input.xml + transform to valid/medicationPzn/004_document_to_sign_93c38d8d_93c38d8d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/input.xml + transform to valid/medicationPzn/002_document_to_sign_62dd6004_62dd6004 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/input.xml + transform to valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d_4c861d6d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/input.xml + transform to valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be_f88786be +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/input.xml + transform to valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e_fb9ea88e +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/input.xml + transform to valid/medicationPzn/Beispiel_40_50926152_50926152 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/input.xml + transform to valid/medicationPzn/Beispiel_33_1f339db0_1f339db0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/input.xml + transform to valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/input.xml + transform to valid/medicationPzn/Beispiel_41_e9de4852_e9de4852 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/input.xml + transform to valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/input.xml + transform to valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364_4d68c364 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/input.xml + transform to valid/medicationPzn/002_document_to_sign_7fe0b57d_7fe0b57d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/input.xml + transform to valid/medicationPzn/002_document_to_sign_141bdd95_617b672a_617b672a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/input.xml + transform to valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/input.xml + transform to valid/medicationPzn/002_document_to_sign_df6aff69_df6aff69 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/input.xml + transform to valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/input.xml + transform to valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/input.xml + transform to valid/medicationPzn/002_document_to_sign_ad686294_ad686294 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/input.xml + transform to valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/input.xml + transform to valid/medicationPzn/002_document_to_sign_0d9bb3b8_0d9bb3b8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/input.xml + transform to valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/input.xml + transform to valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/input.xml + transform to valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96_6b244b96 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/input.xml + transform to valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/input.xml + transform to valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/input.xml + transform to valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/input.xml + transform to valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/input.xml + transform to valid/medicationPzn/002_document_to_sign_1906d211_1906d211 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/input.xml + transform to valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/input.xml + transform to valid/medicationCompounding/Beispiel_23_9581ce65_9581ce65 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/input.xml + transform to valid/medicationCompounding/Beispiel_25_cd31610e_dae573db_dae573db +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/input.xml + transform to valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db_dae573db +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/input.xml + transform to valid/medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/input.xml + transform to valid/medicationCompounding/Beispiel_24_a409358a_a409358a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/input.xml + transform to valid/medicationCompounding/Beispiel_51_63c98839_deda8f97_deda8f97 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/input.xml + transform to valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/input.xml + transform to valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65_9581ce65 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/input.xml + transform to valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/input.xml + transform to valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b_6f193f8b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/input.xml + transform to valid/medicationCompounding/Beispiel_52_6f193f8b_6f193f8b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/input.xml + transform to valid/medicationCompounding/Beispiel_51_deda8f97_deda8f97 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/input.xml + transform to valid/medicationCompounding/Beispiel_53_465f1638_465f1638 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/input.xml + transform to valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db_dae573db +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/input.xml + transform to valid/medicationCompounding/Beispiel_25_dae573db_dae573db +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/input.xml + transform to valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056_ddc83056 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/input.xml + transform to valid/medicationCompounding/Beispiel_50_ddc83056_ddc83056 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/input.xml + transform to valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65_9581ce65 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/input.xml + transform to valid/medicationCompounding/Beispiel_24_77b6e755_a409358a_a409358a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/input.xml + transform to valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980_cf0d4980 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/input.xml + transform to valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17_cd6d3a17 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/input.xml + transform to valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980_cf0d4980 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/input.xml + transform to valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/input.xml + transform to valid/medicationIngredient/Beispiel_19_cf0d4980_cf0d4980 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/input.xml + transform to valid/medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/input.xml + transform to valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17_cd6d3a17 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/input.xml + transform to valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/input.xml + transform to valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05_d9118e05 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/input.xml + transform to valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/input.xml + transform to valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9_ec6059d9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/input.xml + transform to valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/input.xml + transform to valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/input.xml + transform to valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/input.xml + transform to valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/input.xml + transform to valid/medicationIngredient/Beispiel_58_9356774b_9356774b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/input.xml + transform to valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/input.xml + transform to valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/input.xml + transform to valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05_d9118e05 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/input.xml + transform to valid/medicationIngredient/Beispiel_21_2_d9118e05_d9118e05 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/input.xml + transform to valid/medicationIngredient/Beispiel_16_ec6059d9_ec6059d9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/input.xml + transform to valid/medicationIngredient/Beispiel_29_726e6cdd_726e6cdd +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/input.xml + transform to valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d_218b581d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/input.xml + transform to valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/input.xml + transform to valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/input.xml + transform to valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d_218b581d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/input.xml + transform to valid/medicationIngredient/Beispiel_18_218b581d_218b581d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/input.xml + transform to valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d_218b581d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/input.xml + transform to valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17_cd6d3a17 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/input.xml + transform to valid/medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/input.xml + transform to valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/input.xml + transform to valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/input.xml + transform to valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/input.xml + transform to valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/input.xml + transform to valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/input.xml + transform to valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/input.xml + transform to valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/input.xml + transform to valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d_218b581d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/input.xml + transform to valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/input.xml + transform to valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980_cf0d4980 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/input.xml + transform to valid/medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/input.xml + transform to valid/medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/input.xml + transform to valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05_d9118e05 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/input.xml + transform to valid/medicationFreeText/Beispiel_22_4863d1fb_4863d1fb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/input.xml + transform to valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/input.xml + transform to valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb_4863d1fb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/input.xml + transform to valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb_4863d1fb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/input.xml + transform to valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb_4863d1fb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/input.xml + transform to valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb_4863d1fb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/input.xml + transform to valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/input.xml + transform to valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb 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_6d5162b2 Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Arbeitsunfall/PZN-Verordnung_Arbeitsunfall_1/PZN_Arbeitsunfall_VerordnungArzt.xml @@ -836,276 +1194,476 @@ Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/das_abrufen_von_e_ transform to valid/medicationPzn/002_document_to_sign_5f3e877b 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_62dd6004 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/input.xml - transform to valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/input.xml - transform to valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/input.xml - transform to valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/input.xml - transform to valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/input.xml - transform to valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/input.xml - transform to valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/input.xml - transform to valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/input.xml - transform to valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/input.xml - transform to valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/input.xml - transform to valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/input.xml - transform to valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/input.xml - transform to valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/input.xml - transform to valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/input.xml - transform to valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/input.xml - transform to valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/input.xml - transform to valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/input.xml - transform to valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/input.xml - transform to valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/input.xml - transform to valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/input.xml - transform to valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/input.xml - transform to valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/input.xml - transform to valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/input.xml - transform to valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/input.xml - transform to valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/input.xml - transform to valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/input.xml - transform to valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/input.xml - transform to valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/input.xml - transform to valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/input.xml - transform to valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/input.xml - transform to valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/input.xml - transform to valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/input.xml - transform to valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/input.xml - transform to valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/input.xml - transform to valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/input.xml - transform to valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/input.xml - transform to valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/input.xml - transform to valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/input.xml - transform to valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/input.xml - transform to valid/medicationDispense/06_request_taskClose_c8335ed8_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/input.xml - transform to valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/input.xml - transform to valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/input.xml - transform to valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/input.xml - transform to valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/input.xml - transform to valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/input.xml - transform to valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/input.xml - transform to valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/input.xml - transform to valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/input.xml - transform to valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/input.xml - transform to valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/input.xml - transform to valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/input.xml - transform to valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/input.xml - transform to valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/input.xml - transform to valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/input.xml - transform to valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/input.xml - transform to valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/input.xml - transform to valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/input.xml - transform to valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/input.xml - transform to valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/input.xml - transform to valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/input.xml - transform to valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/input.xml - transform to valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/input.xml - transform to valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/input.xml - transform to valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/input.xml - transform to valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/input.xml - transform to valid/medicationDispense/06_request_taskClose_8d0f44ed_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/input.xml - transform to valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/input.xml - transform to valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/input.xml - transform to valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/input.xml - transform to valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/input.xml - transform to valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/input.xml - transform to valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/input.xml - transform to valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/input.xml - transform to valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/input.xml - transform to valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/input.xml - transform to valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/input.xml - transform to valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/input.xml - transform to valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/input.xml - transform to valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/input.xml - transform to valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/input.xml - transform to valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/input.xml - transform to valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/input.xml - transform to valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/input.xml - transform to valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/input.xml - transform to valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/input.xml - transform to valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/input.xml - transform to valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/input.xml - transform to valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/input.xml - transform to valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/input.xml - transform to valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/input.xml - transform to valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/input.xml - transform to valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/input.xml - transform to valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/input.xml - transform to valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/input.xml - transform to valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399 -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/input.xml - transform to valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/input.xml - transform to valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a -Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/input.xml - transform to valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea +Filename: eRezept-Examples/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/input.xml + transform to valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/input.xml + transform to valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb_30b0bdfb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/input.xml + transform to valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/input.xml + transform to valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/input.xml + transform to valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/input.xml + transform to valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/input.xml + transform to valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/input.xml + transform to valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/input.xml + transform to valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/input.xml + transform to valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/input.xml + transform to valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/input.xml + transform to valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/input.xml + transform to valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/input.xml + transform to valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/input.xml + transform to valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/input.xml + transform to valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/input.xml + transform to valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/input.xml + transform to valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/input.xml + transform to valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/input.xml + transform to valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/input.xml + transform to valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/input.xml + transform to valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/input.xml + transform to valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/input.xml + transform to valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/input.xml + transform to valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/input.xml + transform to valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/input.xml + transform to valid/medicationDispense/06_request_taskClose_8d0f44ed_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/input.xml + transform to valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/input.xml + transform to valid/medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/input.xml + transform to valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/input.xml + transform to valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/input.xml + transform to valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/input.xml + transform to valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/input.xml + transform to valid/medicationDispense/013_Request_MedicationDispense_27819d94_27819d94 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/input.xml + transform to valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/input.xml + transform to valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_95b01d68_95b01d68 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/input.xml + transform to valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/input.xml + transform to valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/input.xml + transform to valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/input.xml + transform to valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/input.xml + transform to valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937_15850937 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/input.xml + transform to valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_91e812db_91e812db +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/input.xml + transform to valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326_37d8e326 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/input.xml + transform to valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/input.xml + transform to valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/input.xml + transform to valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802_800e0802 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/input.xml + transform to valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/input.xml + transform to valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/input.xml + transform to valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_7757f253_7757f253 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/input.xml + transform to valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/input.xml + transform to valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/input.xml + transform to valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/input.xml + transform to valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/input.xml + transform to valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/input.xml + transform to valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/input.xml + transform to valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/input.xml + transform to valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/input.xml + transform to valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0_4a30f8e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/input.xml + transform to valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/input.xml + transform to valid/medicationDispense/06_request_taskClose_c8335ed8_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/input.xml + transform to valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484_a8df5484 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/input.xml + transform to valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/input.xml + transform to valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_2bd690cf_2bd690cf +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/input.xml + transform to valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_15850937_15850937 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/input.xml + transform to valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/input.xml + transform to valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b_6df0c60b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/input.xml + transform to valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/input.xml + transform to valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_948d7373_948d7373 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_9e291e49_9e291e49 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/input.xml + transform to valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/input.xml + transform to valid/medicationDispense/014_Request_MedicationDispense_0926ecff_0926ecff +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/input.xml + transform to valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235_c916d235 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/input.xml + transform to valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_076ea66c_076ea66c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_11863590_11863590 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_5b32c036_5b32c036 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/input.xml + transform to valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/input.xml + transform to valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_4dbd54be_4dbd54be +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/input.xml + transform to valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/input.xml + transform to valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/input.xml + transform to valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/input.xml + transform to valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/input.xml + transform to valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/input.xml + transform to valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/input.xml + transform to valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/input.xml + transform to valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/input.xml + transform to valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/input.xml + transform to valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/input.xml + transform to valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d_7fd8a33d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/input.xml + transform to valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/input.xml + transform to valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/input.xml + transform to valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/input.xml + transform to valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/input.xml + transform to valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/input.xml + transform to valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/input.xml + transform to valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/input.xml + transform to valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/input.xml + transform to valid/medicationDispense/06_request_taskClose_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_466b70a6_466b70a6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/input.xml + transform to valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4_f64fd7b4 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/input.xml + transform to valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/input.xml + transform to valid/medicationDispense/FT_V2_MedicationDispense_5b829135_5b829135 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/input.xml + transform to valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/input.xml + transform to valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_357fb680_357fb680 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/input.xml + transform to valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/input.xml + transform to valid/medicationDispense/014_Request_MedicationDispense_227cd07a_227cd07a +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/input.xml + transform to valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/input.xml + transform to valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/input.xml + transform to valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/input.xml + transform to valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/input.xml + transform to valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/input.xml + transform to valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/input.xml + transform to valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/input.xml + transform to valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/input.xml + transform to valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b_22871e5b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/input.xml + transform to valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/input.xml + transform to valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/input.xml + transform to valid/medicationDispense/011_Request_MedicationDispense_03b61c19_03b61c19 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/input.xml + transform to valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/input.xml + transform to valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/input.xml + transform to valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f_5906fd7f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/input.xml + transform to valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/input.xml + transform to valid/medicationDispense/011_Request_MedicationDispense_251c9cea_251c9cea +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/input.xml + transform to valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/input.xml + transform to valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/input.xml + transform to valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/input.xml + transform to valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/input.xml + transform to valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab_b60dfbab +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/input.xml + transform to valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/input.xml + transform to valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/input.xml + transform to valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/input.xml + transform to valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/input.xml + transform to valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/input.xml + transform to valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0_361ee9e0 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/input.xml + transform to valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/input.xml + transform to valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/input.xml + transform to valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/input.xml + transform to valid/medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/input.xml + transform to valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/input.xml + transform to valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/input.xml + transform to valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/input.xml + transform to valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/input.xml + transform to valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/input.xml + transform to valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/input.xml + transform to valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/input.xml + transform to valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_70a68a32_70a68a32 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/input.xml + transform to valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/input.xml + transform to valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/input.xml + transform to valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/input.xml + transform to valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/input.xml + transform to valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79_999bde79 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/input.xml + transform to valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/input.xml + transform to valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775_9d575775 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_9b046560_9b046560 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/input.xml + transform to valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_2f0c013c_2f0c013c +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/input.xml + transform to valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/input.xml + transform to valid/medicationDispense/008_Request_MedicationDispense_0474ec05_0474ec05 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/input.xml + transform to valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/input.xml + transform to valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291 +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/input.xml + transform to valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/input.xml + transform to valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/input.xml + transform to valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f +Filename: eRezept-Examples/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/input.xml + transform to valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067 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_c85a4b74 Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Arbeitsunfall/PZN-Verordnung_Arbeitsunfall_1/PZN_Arbeitsunfall_MedicationDispense.xml @@ -1366,10 +1924,6 @@ Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/quittung_erneut_ab transform to valid/medicationDispense/008_Request_MedicationDispense_ddedee4f 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_4dbd54be -Filename: eRezept-Examples/API-Examples/2024-11-01/erp_abrufen/06_request_taskClose.xml - transform to valid/medicationDispense/06_request_taskClose_null -Filename: eRezept-Examples/API-Examples/2024-11-01/erp_abrufen/08_response_taskDispense.xml - transform to valid/medicationDispense/08_response_taskDispense_dffbfd6a Filename: eRezept-Examples/API-Examples/2023-07-01/erp_abrufen/06_request_taskClose.xml transform to valid/medicationDispense/06_request_taskClose_null Filename: eRezept-Examples/API-Examples/2023-07-01/erp_abrufen/08_response_taskDispense.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/log.txt index bbf64b22..a7d0a24f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/log.txt +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/log.txt @@ -1,3 +1,2 @@ Fhir Validation result: valid -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/11f6dd1f-c6a4-4dbe-8f30-e5079f0f8099*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/11f6dd1f-c6a4-4dbe-8f30-e5079f0f8099*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/11f6dd1f-c6a4-4dbe-8f30-e5079f0f8099*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.json index 33aaaf49..d4d1db7c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "a6656532-20c4-49bb-8f4a-89a6de811e1a", + "id": "a22d705a-a099-4e5c-9b59-6267e1701476", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "edfcfe36-6cbb-47a6-a101-fe1741f6867a", + "id": "f5f49a1c-8ce0-46c0-a83f-81ab604c9547", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/11f6dd1f-c6a4-4dbe-8f30-e5079f0f8099" + "reference": "Medication/30c1fe4e-702d-45bd-a899-9e82e9c00774" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "11f6dd1f-c6a4-4dbe-8f30-e5079f0f8099", + "id": "30c1fe4e-702d-45bd-a899-9e82e9c00774", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -80,7 +80,7 @@ "amount": { "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "100" } ], "unit": "ml" @@ -182,7 +182,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "32597469-f313-4eea-a1c0-82214c632f4c", + "id": "d5cb94ba-cf6a-4373-9475-6c3c891402c9", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -247,7 +247,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "ad073977-0036-454d-a5cc-5e824b4ca503", + "id": "ab9862e3-768a-4087-90e8-07104df6cf6d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.xml index b2773775..bcfdc887 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="a6656532-20c4-49bb-8f4a-89a6de811e1a"/> + <id value="a22d705a-a099-4e5c-9b59-6267e1701476"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="edfcfe36-6cbb-47a6-a101-fe1741f6867a"/> + <id value="f5f49a1c-8ce0-46c0-a83f-81ab604c9547"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/11f6dd1f-c6a4-4dbe-8f30-e5079f0f8099"/> + <reference value="Medication/30c1fe4e-702d-45bd-a899-9e82e9c00774"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="11f6dd1f-c6a4-4dbe-8f30-e5079f0f8099"/> + <id value="30c1fe4e-702d-45bd-a899-9e82e9c00774"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -79,7 +79,7 @@ </form> <amount> <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> <valueString value="100"/> </extension> <unit value="ml"/> @@ -173,7 +173,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="32597469-f313-4eea-a1c0-82214c632f4c"/> + <id value="d5cb94ba-cf6a-4373-9475-6c3c891402c9"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -241,7 +241,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ad073977-0036-454d-a5cc-5e824b4ca503"/> + <id value="ab9862e3-768a-4087-90e8-07104df6cf6d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65_9581ce65/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65_9581ce65/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65_9581ce65/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65_9581ce65/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65_9581ce65/output.json new file mode 100644 index 00000000..d74dc115 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65_9581ce65/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "c860fc26-0321-48a5-8311-a3b9a3953aba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2b09c4e4-26a1-48ab-bb1c-aa1d85c161e3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6ace756a-68cf-49fe-90f1-b9d251e37fd8" + }, + "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": "6ace756a-68cf-49fe-90f1-b9d251e37fd8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "5d1a3a0e-c9d0-4842-8c2c-f300d92a8278", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "43318a72-8272-47fa-99c2-8e7e5126bbfe", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9581ce65_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65_9581ce65/output.xml new file mode 100644 index 00000000..aba76dd2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_9581ce65_9581ce65/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c860fc26-0321-48a5-8311-a3b9a3953aba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2b09c4e4-26a1-48ab-bb1c-aa1d85c161e3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6ace756a-68cf-49fe-90f1-b9d251e37fd8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6ace756a-68cf-49fe-90f1-b9d251e37fd8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d1a3a0e-c9d0-4842-8c2c-f300d92a8278"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="43318a72-8272-47fa-99c2-8e7e5126bbfe"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Hanna Schmidt"/> + <family value="Schmidt"/> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/log.txt deleted file mode 100644 index 9c8c6928..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -Fhir Validation result: valid - -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/0218cc5a-071c-4712-b3c0-a9aa7407a318*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/0218cc5a-071c-4712-b3c0-a9aa7407a318*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/0218cc5a-071c-4712-b3c0-a9aa7407a318*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/output.json deleted file mode 100644 index ba8e00f4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/output.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "0e6f51f3-b581-4118-a6af-bffab1cef665", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "da96cef1-de3a-4074-84d4-da9240f79420", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/0218cc5a-071c-4712-b3c0-a9aa7407a318" - }, - "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": "0218cc5a-071c-4712-b3c0-a9aa7407a318", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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-formulation-packaging-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": "df5bdaa9-6819-4338-a40d-5b268346263d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "54008ea5-5e4f-4c5c-a936-d909acdf76f8", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/output.xml deleted file mode 100644 index c85ff85b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65/output.xml +++ /dev/null @@ -1,287 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0e6f51f3-b581-4118-a6af-bffab1cef665"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.024.67"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="da96cef1-de3a-4074-84d4-da9240f79420"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/0218cc5a-071c-4712-b3c0-a9aa7407a318"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0218cc5a-071c-4712-b3c0-a9aa7407a318"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Lösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Salicylsäure"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="2-propanol 70 %"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 100 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="df5bdaa9-6819-4338-a40d-5b268346263d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="54008ea5-5e4f-4c5c-a936-d909acdf76f8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123412821"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Hanna Schmidt"/> - <family value="Schmidt"/> - <given value="Hanna"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65/input.xml new file mode 100644 index 00000000..67d159fe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65/input.xml @@ -0,0 +1,407 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9581ce65-b118-4751-9073-19c091b341e0"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/80a467fb-36ad-4549-8be1-12f0e4520c73"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="80a467fb-36ad-4549-8be1-12f0e4520c73"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/4739972b-52d6-4bea-9ba1-d360f8c22689"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/4739972b-52d6-4bea-9ba1-d360f8c22689"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4739972b-52d6-4bea-9ba1-d360f8c22689"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5cd916fc-2ae2-4148-b016-911ec5f4c0a5"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/5cd916fc-2ae2-4148-b016-911ec5f4c0a5"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5cd916fc-2ae2-4148-b016-911ec5f4c0a5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="Ad 100 g"/> + </extension> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <name> + <use value="official"/> + <family value="Schmidt"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schmidt"/> + </extension> + </family> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Dermatologin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65/output.json new file mode 100644 index 00000000..43a8c763 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "f94e30dd-0558-4d48-88e5-ed1819092f15", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "16f4dabf-d7ea-4419-b976-09de2b26c2f2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a9b155b2-80f3-4d58-8a2b-453c83020d85" + }, + "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": "a9b155b2-80f3-4d58-8a2b-453c83020d85", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "88ca800a-9ccb-47ea-ba80-0044dfcd02c5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "bad5a9ae-6932-4860-a195-8830ddce114a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9581ce65_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65/output.xml new file mode 100644 index 00000000..3c9e17a5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a_9581ce65_9581ce65/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f94e30dd-0558-4d48-88e5-ed1819092f15"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="16f4dabf-d7ea-4419-b976-09de2b26c2f2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a9b155b2-80f3-4d58-8a2b-453c83020d85"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a9b155b2-80f3-4d58-8a2b-453c83020d85"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="88ca800a-9ccb-47ea-ba80-0044dfcd02c5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bad5a9ae-6932-4860-a195-8830ddce114a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Hanna Schmidt"/> + <family value="Schmidt"/> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/log.txt deleted file mode 100644 index 303f9c42..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/log.txt +++ /dev/null @@ -1,5 +0,0 @@ -Fhir Validation result: valid - -SingleValidationMessage[col=10,row=76,locationString=Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2]: Does not match slice 'rxPrescriptionProcessIdentifier' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2]: Does not match slice 'isVaccine' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2]: Does not match slice 'drugCategory' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2]: Does not match slice 'normSizeCode' (discriminator: ('http://fhir.de/StructureDefinition/normgroesse' in url)), Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2]: Does not match slice 'packaging' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2]: Does not match slice 'manufacturingInstructions' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.extension[2]: Does not match slice 'type' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension' in url))]] -SingleValidationMessage[col=14,row=88,locationString=Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] -SingleValidationMessage[col=14,row=100,locationString=Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.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.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/b8134162-7080-480d-8e1b-03ff36ae45dd*/.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/b8134162-7080-480d-8e1b-03ff36ae45dd*/.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/b8134162-7080-480d-8e1b-03ff36ae45dd*/.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/b8134162-7080-480d-8e1b-03ff36ae45dd*/.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_a409358a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/output.json deleted file mode 100644 index 7f219c0c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/output.json +++ /dev/null @@ -1,344 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "916bdc29-c92c-4cd3-9abc-fc56931d2683", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "42b2c9f7-af01-4555-aa20-4d293242d13d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/b8134162-7080-480d-8e1b-03ff36ae45dd" - }, - "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": "b8134162-7080-480d-8e1b-03ff36ae45dd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/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://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging", - "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-formulation-packaging-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": "1400f2c3-7881-4da0-9704-d2a3d2e8538e", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "32415e26-62aa-475c-8ef4-63e0fb0dc8e7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_a409358a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/output.xml deleted file mode 100644 index d91e9808..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/output.xml +++ /dev/null @@ -1,334 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="916bdc29-c92c-4cd3-9abc-fc56931d2683"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.059.59"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="42b2c9f7-af01-4555-aa20-4d293242d13d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/b8134162-7080-480d-8e1b-03ff36ae45dd"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <patientInstruction value="Jeden 2. Tag vorm Schlafen dünn auf Achselhöhle auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b8134162-7080-480d-8e1b-03ff36ae45dd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging"> - <valueString value="Deo-Roller"/> - </extension> - <code> - <text value="Viskose Aluminiumchlorid-Hexahydrat-Lösung 20 % (NRF 11.132.)"/> - </code> - <form> - <text value="Gel"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10206346"/> - </coding> - <text value="Aluminiumchlorid-Hexahydrat"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> - <valueString value="Pulver"/> - </extension> - <itemCodeableConcept> - <text value="Hydroxyethylcellulose 250"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="2"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="Gereinigtes Wasser"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 100 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1400f2c3-7881-4da0-9704-d2a3d2e8538e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="32415e26-62aa-475c-8ef4-63e0fb0dc8e7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123412821"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Hanna Schmidt"/> - <family value="Schmidt"/> - <given value="Hanna"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a_a409358a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a_a409358a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a_a409358a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a_a409358a/log.txt new file mode 100644 index 00000000..124e6884 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a_a409358a/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=100,locationString=Parameters.parameter[0].part[3].resource/*Medication/61856e4e-7a33-45b0-beae-28c0fc9aeeed*/.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.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/61856e4e-7a33-45b0-beae-28c0fc9aeeed*/.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/61856e4e-7a33-45b0-beae-28c0fc9aeeed*/.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/61856e4e-7a33-45b0-beae-28c0fc9aeeed*/.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/61856e4e-7a33-45b0-beae-28c0fc9aeeed*/.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_a409358a_a409358a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a_a409358a/output.json new file mode 100644 index 00000000..34b6d094 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a_a409358a/output.json @@ -0,0 +1,344 @@ +{ + "resourceType": "Parameters", + "id": "9a5f3fc7-99ce-4b0c-86d8-733c25ab6a6b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "69458fa7-759f-4b66-b85e-eb4a76cb3790", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/61856e4e-7a33-45b0-beae-28c0fc9aeeed" + }, + "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": "61856e4e-7a33-45b0-beae-28c0fc9aeeed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/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-total-quantity-formulation-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": "07025cac-f381-4b1c-9eba-699e45face56", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8b7e78b5-9fd7-43bf-99fb-18bbc71c32f2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a409358a_a409358a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a_a409358a/output.xml new file mode 100644 index 00000000..dd933d04 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755_a409358a_a409358a/output.xml @@ -0,0 +1,334 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9a5f3fc7-99ce-4b0c-86d8-733c25ab6a6b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.059.59"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="69458fa7-759f-4b66-b85e-eb4a76cb3790"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/61856e4e-7a33-45b0-beae-28c0fc9aeeed"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Jeden 2. Tag vorm Schlafen dünn auf Achselhöhle auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="61856e4e-7a33-45b0-beae-28c0fc9aeeed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="Deo-Roller"/> + </extension> + <code> + <text value="Viskose Aluminiumchlorid-Hexahydrat-Lösung 20 % (NRF 11.132.)"/> + </code> + <form> + <text value="Gel"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10206346"/> + </coding> + <text value="Aluminiumchlorid-Hexahydrat"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Pulver"/> + </extension> + <itemCodeableConcept> + <text value="Hydroxyethylcellulose 250"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="2"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Gereinigtes Wasser"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="07025cac-f381-4b1c-9eba-699e45face56"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8b7e78b5-9fd7-43bf-99fb-18bbc71c32f2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Hanna Schmidt"/> + <family value="Schmidt"/> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/log.txt index e27be221..82f853ce 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/log.txt +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/log.txt @@ -1,5 +1,3 @@ Fhir Validation result: valid -SingleValidationMessage[col=10,row=76,locationString=Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2]: Does not match slice 'rxPrescriptionProcessIdentifier' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2]: Does not match slice 'isVaccine' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2]: Does not match slice 'drugCategory' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2]: Does not match slice 'normSizeCode' (discriminator: ('http://fhir.de/StructureDefinition/normgroesse' in url)), Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2]: Does not match slice 'packaging' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2]: Does not match slice 'manufacturingInstructions' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.extension[2]: Does not match slice 'type' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension' in url))]] -SingleValidationMessage[col=14,row=88,locationString=Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] -SingleValidationMessage[col=14,row=100,locationString=Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.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.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/ed637bbc-0624-4657-bb2b-953801aec9c7*/.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/ed637bbc-0624-4657-bb2b-953801aec9c7*/.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/ed637bbc-0624-4657-bb2b-953801aec9c7*/.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/ed637bbc-0624-4657-bb2b-953801aec9c7*/.ingredient[0].item.ofType(CodeableConcept).coding[0]: Does not match slice 'pzn' (discriminator: $this.empty())]] +SingleValidationMessage[col=14,row=100,locationString=Parameters.parameter[0].part[3].resource/*Medication/e41699c7-d273-4530-a06c-9384ebff3437*/.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.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/e41699c7-d273-4530-a06c-9384ebff3437*/.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/e41699c7-d273-4530-a06c-9384ebff3437*/.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/e41699c7-d273-4530-a06c-9384ebff3437*/.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/e41699c7-d273-4530-a06c-9384ebff3437*/.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_a409358a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/output.json index a6da30f5..64d475b2 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "8637aa54-a8fe-44bb-856d-499ddadcd5c9", + "id": "57d72b56-8d72-4ff6-af1b-59b1165f9be0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "8bf513eb-5c4d-49d0-9e29-8a7d5182c510", + "id": "c9bb0dd4-a984-4393-99be-7734e2d6452e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/ed637bbc-0624-4657-bb2b-953801aec9c7" + "reference": "Medication/e41699c7-d273-4530-a06c-9384ebff3437" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "ed637bbc-0624-4657-bb2b-953801aec9c7", + "id": "e41699c7-d273-4530-a06c-9384ebff3437", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -74,7 +74,7 @@ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension", "valueString": "Deo-Roller" } ], "code": { @@ -86,7 +86,7 @@ "amount": { "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "100" } ], "unit": "ml" @@ -233,7 +233,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "5fdd828c-44b2-4a89-832f-a36d519294b0", + "id": "f3804d39-e56d-4208-a4c3-55b4a66e9f04", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -298,7 +298,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "e335deb5-16ff-4cd6-8107-a51e23b4d737", + "id": "99fafd31-b1b4-4d67-9ec7-c2325fb177b2", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/output.xml index fc2bffab..0531083d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="8637aa54-a8fe-44bb-856d-499ddadcd5c9"/> + <id value="57d72b56-8d72-4ff6-af1b-59b1165f9be0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8bf513eb-5c4d-49d0-9e29-8a7d5182c510"/> + <id value="c9bb0dd4-a984-4393-99be-7734e2d6452e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/ed637bbc-0624-4657-bb2b-953801aec9c7"/> + <reference value="Medication/e41699c7-d273-4530-a06c-9384ebff3437"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="ed637bbc-0624-4657-bb2b-953801aec9c7"/> + <id value="e41699c7-d273-4530-a06c-9384ebff3437"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -74,7 +74,7 @@ <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> <valueBoolean value="false"/> </extension> - <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging"> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> <valueString value="Deo-Roller"/> </extension> <code> @@ -85,7 +85,7 @@ </form> <amount> <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> <valueString value="100"/> </extension> <unit value="ml"/> @@ -220,7 +220,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="5fdd828c-44b2-4a89-832f-a36d519294b0"/> + <id value="f3804d39-e56d-4208-a4c3-55b4a66e9f04"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -288,7 +288,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e335deb5-16ff-4cd6-8107-a51e23b4d737"/> + <id value="99fafd31-b1b4-4d67-9ec7-c2325fb177b2"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a_a409358a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a_a409358a/input.xml new file mode 100644 index 00000000..bfe8b1a5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a_a409358a/input.xml @@ -0,0 +1,437 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="a409358a-da34-11eb-8d19-0242ac130003"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.059.59"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/135350ea-2cea-4320-b584-537401f995bd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="135350ea-2cea-4320-b584-537401f995bd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/9711ab74-273d-44b5-be67-3cc80e9e9abd"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/9711ab74-273d-44b5-be67-3cc80e9e9abd"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9711ab74-273d-44b5-be67-3cc80e9e9abd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/619ad8c5-bc4b-4841-8a13-4162f51c06e7"/> + </medicationReference> + <subject> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + </requester> + <insurance> + <reference value="Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + </insurance> + <dosageInstruction> + <patientInstruction value="Jeden 2. Tag vorm Schlafen dünn auf Achselhöhle auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/619ad8c5-bc4b-4841-8a13-4162f51c06e7"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="619ad8c5-bc4b-4841-8a13-4162f51c06e7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging"> + <valueString value="Deo-Roller"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + <text value="Viskose Aluminiumchlorid-Hexahydrat-Lösung 20 % (NRF 11.132.)"/> + </code> + <form> + <text value="Gel"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10206346"/> + </coding> + <text value="Aluminiumchlorid-Hexahydrat"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form"> + <valueString value="Pulver"/> + </extension> + <itemCodeableConcept> + <text value="Hydroxyethylcellulose 250"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="2"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Gereinigtes Wasser"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="Ad 100 g"/> + </extension> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="c9e9eeb8-e397-4d62-a977-656a18027f90"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="P223331978"/> + </identifier> + <name> + <use value="official"/> + <family value="Pan"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Pan"/> + </extension> + </family> + <given value="Peter"/> + </name> + <birthDate value="1972"/> + <address> + <type value="both"/> + <line value="Siebengebirgsstraße 59"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="59"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siebengebirgsstraße"/> + </extension> + </line> + <line value="33. Obergeschoss - Hinterhof, halbrechts"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="33. Obergeschoss - Hinterhof, halbrechts"/> + </extension> + </line> + <city value="Königswinter"/> + <postalCode value="53639"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <name> + <use value="official"/> + <family value="Schmidt"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schmidt"/> + </extension> + </family> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Dermatologin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="SEL"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101377508"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a_a409358a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a_a409358a/log.txt new file mode 100644 index 00000000..883cc401 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a_a409358a/log.txt @@ -0,0 +1,3 @@ +Fhir Validation result: valid + +SingleValidationMessage[col=14,row=100,locationString=Parameters.parameter[0].part[3].resource/*Medication/db793de5-c3e3-4d88-a1d3-4d6f4daba614*/.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.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/db793de5-c3e3-4d88-a1d3-4d6f4daba614*/.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/db793de5-c3e3-4d88-a1d3-4d6f4daba614*/.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/db793de5-c3e3-4d88-a1d3-4d6f4daba614*/.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/db793de5-c3e3-4d88-a1d3-4d6f4daba614*/.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_a409358a_a409358a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a_a409358a/output.json new file mode 100644 index 00000000..0e2ebb29 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a_a409358a/output.json @@ -0,0 +1,344 @@ +{ + "resourceType": "Parameters", + "id": "52d59c5a-49ae-4211-b058-236d9d57cdfc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a43e23d4-78de-4c14-95d8-3d8ee405bc23", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/db793de5-c3e3-4d88-a1d3-4d6f4daba614" + }, + "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": "db793de5-c3e3-4d88-a1d3-4d6f4daba614", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/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-total-quantity-formulation-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": "ba92b907-5fa8-41a1-ae58-0112a77a7cfd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c5c91ccb-79b5-47d0-92ec-ac0759e6b64d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a409358a_a409358a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a_a409358a/output.xml new file mode 100644 index 00000000..c83fddfc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_a409358a_a409358a/output.xml @@ -0,0 +1,334 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="52d59c5a-49ae-4211-b058-236d9d57cdfc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.059.59"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a43e23d4-78de-4c14-95d8-3d8ee405bc23"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/db793de5-c3e3-4d88-a1d3-4d6f4daba614"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Jeden 2. Tag vorm Schlafen dünn auf Achselhöhle auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="db793de5-c3e3-4d88-a1d3-4d6f4daba614"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <valueString value="Deo-Roller"/> + </extension> + <code> + <text value="Viskose Aluminiumchlorid-Hexahydrat-Lösung 20 % (NRF 11.132.)"/> + </code> + <form> + <text value="Gel"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10206346"/> + </coding> + <text value="Aluminiumchlorid-Hexahydrat"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Pulver"/> + </extension> + <itemCodeableConcept> + <text value="Hydroxyethylcellulose 250"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="2"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Gereinigtes Wasser"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ba92b907-5fa8-41a1-ae58-0112a77a7cfd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c5c91ccb-79b5-47d0-92ec-ac0759e6b64d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Hanna Schmidt"/> + <family value="Schmidt"/> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/log.txt deleted file mode 100644 index fb986935..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -Fhir Validation result: valid - -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/bfe31dd6-a3ba-4cb9-b3ca-54583141f09e*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/bfe31dd6-a3ba-4cb9-b3ca-54583141f09e*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/bfe31dd6-a3ba-4cb9-b3ca-54583141f09e*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/output.json deleted file mode 100644 index fe1a6720..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/output.json +++ /dev/null @@ -1,280 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "f429e5fb-3569-4b18-b228-79fba309c87a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "45d20749-fa62-411e-95d1-685da8289ea5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/bfe31dd6-a3ba-4cb9-b3ca-54583141f09e" - }, - "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": "bfe31dd6-a3ba-4cb9-b3ca-54583141f09e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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-formulation-packaging-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": "c64c173d-11ab-47a1-a84d-f75d7d305af8", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "b3c6820c-c080-43ee-8a2e-35b36cad24b0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/output.xml deleted file mode 100644 index 48184384..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/output.xml +++ /dev/null @@ -1,277 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f429e5fb-3569-4b18-b228-79fba309c87a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.026.61"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="45d20749-fa62-411e-95d1-685da8289ea5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/bfe31dd6-a3ba-4cb9-b3ca-54583141f09e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="3"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bfe31dd6-a3ba-4cb9-b3ca-54583141f09e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Infusionslösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> - <valueString value="500"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Etoposid"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="180"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="NaCl 0,9 %"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="500"/> - <unit value="ml"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c64c173d-11ab-47a1-a84d-f75d7d305af8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b3c6820c-c080-43ee-8a2e-35b36cad24b0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db_dae573db/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db_dae573db/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db_dae573db/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db_dae573db/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db_dae573db/output.json new file mode 100644 index 00000000..7c9bbff3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db_dae573db/output.json @@ -0,0 +1,280 @@ +{ + "resourceType": "Parameters", + "id": "78b42581-71ad-4753-a72a-8e45cb4d8b37", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "16273ea3-3fdc-47de-be3b-cc065bb0a066", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/48cf6f0e-4d09-4917-815c-bc34b1a47597" + }, + "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": "48cf6f0e-4d09-4917-815c-bc34b1a47597", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "46272cba-a001-4b4b-95ab-b7c36e7dc20f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "438b30c2-081f-4382-a79e-3531bd1d7e2d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dae573db_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db_dae573db/output.xml new file mode 100644 index 00000000..42bf026b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e_dae573db_dae573db/output.xml @@ -0,0 +1,277 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="78b42581-71ad-4753-a72a-8e45cb4d8b37"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.026.61"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="16273ea3-3fdc-47de-be3b-cc065bb0a066"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/48cf6f0e-4d09-4917-815c-bc34b1a47597"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="48cf6f0e-4d09-4917-815c-bc34b1a47597"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Infusionslösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="500"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Etoposid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="180"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="NaCl 0,9 %"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="500"/> + <unit value="ml"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="46272cba-a001-4b4b-95ab-b7c36e7dc20f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="438b30c2-081f-4382-a79e-3531bd1d7e2d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/log.txt index aa951f3c..a7d0a24f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/log.txt +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/log.txt @@ -1,3 +1,2 @@ Fhir Validation result: valid -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/925d3d85-95d8-4caf-9a98-ec8cba952e82*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/925d3d85-95d8-4caf-9a98-ec8cba952e82*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/925d3d85-95d8-4caf-9a98-ec8cba952e82*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.json index d0e509ae..fa7fbdb8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "f7709359-5626-4208-a8b9-a3ec63d78b4f", + "id": "ca4202eb-facc-4cf9-a68f-f86a8e51b3a8", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "d43e816b-0860-4bc2-9b50-c46b0daf5c5b", + "id": "6b7c1dd5-eb30-4e87-8511-2bdb97049ca4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/925d3d85-95d8-4caf-9a98-ec8cba952e82" + "reference": "Medication/f41848d3-04a8-4123-ae9a-82d713dbddc6" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "925d3d85-95d8-4caf-9a98-ec8cba952e82", + "id": "f41848d3-04a8-4123-ae9a-82d713dbddc6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -80,7 +80,7 @@ "amount": { "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "500" } ], "unit": "ml" @@ -169,7 +169,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e978f747-2e49-47f7-a094-1040e0bebf42", + "id": "9c2c49a5-e882-4dce-9960-d82a777f35eb", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -234,7 +234,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "9d448ab0-c333-4e5d-ba5c-cf110d9471f5", + "id": "daacf887-7444-414a-99b6-64bd35e1c566", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.xml index 1e24fcdb..c76e4e2f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="f7709359-5626-4208-a8b9-a3ec63d78b4f"/> + <id value="ca4202eb-facc-4cf9-a68f-f86a8e51b3a8"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d43e816b-0860-4bc2-9b50-c46b0daf5c5b"/> + <id value="6b7c1dd5-eb30-4e87-8511-2bdb97049ca4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/925d3d85-95d8-4caf-9a98-ec8cba952e82"/> + <reference value="Medication/f41848d3-04a8-4123-ae9a-82d713dbddc6"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="925d3d85-95d8-4caf-9a98-ec8cba952e82"/> + <id value="f41848d3-04a8-4123-ae9a-82d713dbddc6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -79,7 +79,7 @@ </form> <amount> <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> <valueString value="500"/> </extension> <unit value="ml"/> @@ -163,7 +163,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e978f747-2e49-47f7-a094-1040e0bebf42"/> + <id value="9c2c49a5-e882-4dce-9960-d82a777f35eb"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -231,7 +231,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="9d448ab0-c333-4e5d-ba5c-cf110d9471f5"/> + <id value="daacf887-7444-414a-99b6-64bd35e1c566"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db_dae573db/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db_dae573db/input.xml new file mode 100644 index 00000000..ff225e69 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db_dae573db/input.xml @@ -0,0 +1,422 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="dae573db-54e3-4cb8-880d-0a46bea8aea1"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.026.61"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/e1d276c4-f4d5-4e2d-8a82-04d92b34ca51"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="e1d276c4-f4d5-4e2d-8a82-04d92b34ca51"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/c97a6538-6742-45a3-a229-2e0e792db446"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/c97a6538-6742-45a3-a229-2e0e792db446"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c97a6538-6742-45a3-a229-2e0e792db446"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/fd681c2a-6f35-4fa9-8c84-573157130773"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/fd681c2a-6f35-4fa9-8c84-573157130773"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fd681c2a-6f35-4fa9-8c84-573157130773"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Infusionslösung"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="500"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Etoposid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="180"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="NaCl 0,9 %"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="500"/> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus BKK"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db_dae573db/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db_dae573db/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db_dae573db/output.json new file mode 100644 index 00000000..80aa7a70 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db_dae573db/output.json @@ -0,0 +1,280 @@ +{ + "resourceType": "Parameters", + "id": "8b3ddf6c-86ff-4b4b-b9a5-8920dfab8003", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "70017267-c93b-4fcc-9168-5f11a50d6bc2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/16453bc4-06c2-46da-a329-501af29f28a0" + }, + "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": "16453bc4-06c2-46da-a329-501af29f28a0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "ee314908-4b80-443a-b4d2-5791787c75b5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7329afda-d335-4dcb-9f45-c354c6197bab", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dae573db_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db_dae573db/output.xml new file mode 100644 index 00000000..789a38f4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_dae573db_dae573db/output.xml @@ -0,0 +1,277 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8b3ddf6c-86ff-4b4b-b9a5-8920dfab8003"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.026.61"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="70017267-c93b-4fcc-9168-5f11a50d6bc2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/16453bc4-06c2-46da-a329-501af29f28a0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="16453bc4-06c2-46da-a329-501af29f28a0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Infusionslösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="500"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Etoposid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="180"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="NaCl 0,9 %"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="500"/> + <unit value="ml"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ee314908-4b80-443a-b4d2-5791787c75b5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7329afda-d335-4dcb-9f45-c354c6197bab"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/log.txt deleted file mode 100644 index e893ce64..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -Fhir Validation result: valid - -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/9134af1f-3b5e-4d07-adeb-4285e0c45973*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/9134af1f-3b5e-4d07-adeb-4285e0c45973*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/9134af1f-3b5e-4d07-adeb-4285e0c45973*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/output.json deleted file mode 100644 index 026fd04e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/output.json +++ /dev/null @@ -1,312 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "b944ce4e-e8c1-4826-80d8-b038088aa961", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "1cf22516-720c-463e-a533-c326a5018a68", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/9134af1f-3b5e-4d07-adeb-4285e0c45973" - }, - "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": "9134af1f-3b5e-4d07-adeb-4285e0c45973", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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-formulation-packaging-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": "7d249e05-0f8e-469a-9b07-5a162c5e9601", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "ec96d194-a506-4b30-a127-a8d264040003", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_ddc83056/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/output.xml deleted file mode 100644 index 098dbebf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/output.xml +++ /dev/null @@ -1,307 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b944ce4e-e8c1-4826-80d8-b038088aa961"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.050.86"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1cf22516-720c-463e-a533-c326a5018a68"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/9134af1f-3b5e-4d07-adeb-4285e0c45973"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <patientInstruction value="Täglich eine zum Frühstück"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9134af1f-3b5e-4d07-adeb-4285e0c45973"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Kapseln"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> - <valueString value="50"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Hydrocortison"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="0.06"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="Mannit"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="12.5"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="Siliciumdioxid"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="0.5"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="7d249e05-0f8e-469a-9b07-5a162c5e9601"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ec96d194-a506-4b30-a127-a8d264040003"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056_ddc83056/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056_ddc83056/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056_ddc83056/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056_ddc83056/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056_ddc83056/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056_ddc83056/output.json new file mode 100644 index 00000000..cacd0b6c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056_ddc83056/output.json @@ -0,0 +1,312 @@ +{ + "resourceType": "Parameters", + "id": "10ffba79-064b-4d5b-933b-e7c834b2b60e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ffe2f032-43bd-4da5-88db-b1be3badc3c3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1b728a73-0db5-45aa-b560-bfb2cb6dfe40" + }, + "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": "1b728a73-0db5-45aa-b560-bfb2cb6dfe40", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "408aaaad-c229-4e27-8903-5280b88a9f12", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7e5d99c6-11b4-4d2a-9ca7-675f29d5feaf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ddc83056_ddc83056/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056_ddc83056/output.xml new file mode 100644 index 00000000..d1aa1049 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125_ddc83056_ddc83056/output.xml @@ -0,0 +1,307 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="10ffba79-064b-4d5b-933b-e7c834b2b60e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.050.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ffe2f032-43bd-4da5-88db-b1be3badc3c3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1b728a73-0db5-45aa-b560-bfb2cb6dfe40"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Täglich eine zum Frühstück"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1b728a73-0db5-45aa-b560-bfb2cb6dfe40"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Kapseln"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="50"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Hydrocortison"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="0.06"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Mannit"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="12.5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Siliciumdioxid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="0.5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="408aaaad-c229-4e27-8903-5280b88a9f12"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7e5d99c6-11b4-4d2a-9ca7-675f29d5feaf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/log.txt index d6c646ac..a7d0a24f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/log.txt +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/log.txt @@ -1,3 +1,2 @@ Fhir Validation result: valid -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/a864c6ae-ee6b-4f85-89ab-f2c224dbc6dc*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/a864c6ae-ee6b-4f85-89ab-f2c224dbc6dc*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/a864c6ae-ee6b-4f85-89ab-f2c224dbc6dc*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.json index a46f2700..6b8ade5d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "1d65488d-3581-4609-8a09-029dd361bbfa", + "id": "25ec50aa-abca-4dda-9b4a-7d49a1b92561", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "dc5febbc-578f-4243-9cba-8145ec759f5e", + "id": "29a26f7e-518f-4fee-a8bb-c0ec3f28628a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/a864c6ae-ee6b-4f85-89ab-f2c224dbc6dc" + "reference": "Medication/8ff5745f-f340-4d5d-9940-bf593fee23a5" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a864c6ae-ee6b-4f85-89ab-f2c224dbc6dc", + "id": "8ff5745f-f340-4d5d-9940-bf593fee23a5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -80,7 +80,7 @@ "amount": { "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "50" } ], "unit": "Stück" @@ -206,7 +206,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "ca724140-c6e3-41d1-83a1-3db9db97d592", + "id": "44af15f4-2b25-4acb-ba01-b35a0b68faf8", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -273,7 +273,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "df8470b8-4013-4365-8c19-ede9e98149a6", + "id": "ad94e364-cf0d-4bd8-8877-d014f4152a23", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.xml index d8cc5aca..8f993bf1 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="1d65488d-3581-4609-8a09-029dd361bbfa"/> + <id value="25ec50aa-abca-4dda-9b4a-7d49a1b92561"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="dc5febbc-578f-4243-9cba-8145ec759f5e"/> + <id value="29a26f7e-518f-4fee-a8bb-c0ec3f28628a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/a864c6ae-ee6b-4f85-89ab-f2c224dbc6dc"/> + <reference value="Medication/8ff5745f-f340-4d5d-9940-bf593fee23a5"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a864c6ae-ee6b-4f85-89ab-f2c224dbc6dc"/> + <id value="8ff5745f-f340-4d5d-9940-bf593fee23a5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -79,7 +79,7 @@ </form> <amount> <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> <valueString value="50"/> </extension> <unit value="Stück"/> @@ -197,7 +197,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="ca724140-c6e3-41d1-83a1-3db9db97d592"/> + <id value="44af15f4-2b25-4acb-ba01-b35a0b68faf8"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -266,7 +266,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="df8470b8-4013-4365-8c19-ede9e98149a6"/> + <id value="ad94e364-cf0d-4bd8-8877-d014f4152a23"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056_ddc83056/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056_ddc83056/input.xml new file mode 100644 index 00000000..44acb15e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056_ddc83056/input.xml @@ -0,0 +1,432 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ddc83056-5dab-4411-ab13-48abfaf9c47d"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.050.86"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4a6b0467-1949-4e3e-b361-9c9a838d1878"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4a6b0467-1949-4e3e-b361-9c9a838d1878"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/6f5059fe-fe6d-423e-88a7-337957039486"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/6f5059fe-fe6d-423e-88a7-337957039486"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6f5059fe-fe6d-423e-88a7-337957039486"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/8d33ae42-2329-463c-8c36-06255bee16f8"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <patientInstruction value="Täglich eine zum Frühstück"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/8d33ae42-2329-463c-8c36-06255bee16f8"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8d33ae42-2329-463c-8c36-06255bee16f8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Kapseln"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="50"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Hydrocortison"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="0.06"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Mannit"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="12.5"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Siliciumdioxid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="0.5"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus BKK"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056_ddc83056/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056_ddc83056/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056_ddc83056/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056_ddc83056/output.json new file mode 100644 index 00000000..6d89397d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056_ddc83056/output.json @@ -0,0 +1,312 @@ +{ + "resourceType": "Parameters", + "id": "fc4a1617-dac0-454b-abdd-cd3900fc2ba2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1904672c-25a0-4a7e-968e-344d6b80f518", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/95557ef5-95d9-4e4f-b0cc-71b528305bcf" + }, + "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": "95557ef5-95d9-4e4f-b0cc-71b528305bcf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "f3933421-02a1-45d0-bc0e-5a2c73276e21", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6e4abe8b-f96f-4ffe-b37f-929f40515fd3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ddc83056_ddc83056/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056_ddc83056/output.xml new file mode 100644 index 00000000..b5b309a4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_ddc83056_ddc83056/output.xml @@ -0,0 +1,307 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fc4a1617-dac0-454b-abdd-cd3900fc2ba2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.050.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1904672c-25a0-4a7e-968e-344d6b80f518"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/95557ef5-95d9-4e4f-b0cc-71b528305bcf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Täglich eine zum Frühstück"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="95557ef5-95d9-4e4f-b0cc-71b528305bcf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Kapseln"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="50"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Hydrocortison"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="0.06"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Mannit"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="12.5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Siliciumdioxid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="0.5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f3933421-02a1-45d0-bc0e-5a2c73276e21"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6e4abe8b-f96f-4ffe-b37f-929f40515fd3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/log.txt deleted file mode 100644 index 5d8138a1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -Fhir Validation result: valid - -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/c48f4051-fb1b-4923-88b3-b726016551ad*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/c48f4051-fb1b-4923-88b3-b726016551ad*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/c48f4051-fb1b-4923-88b3-b726016551ad*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/output.json deleted file mode 100644 index d5b76860..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/output.json +++ /dev/null @@ -1,296 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "605c00a7-8401-40d3-a53b-6f8ee902c3eb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "f4bcff63-4e40-47da-a1c7-5aed72cc13b9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/c48f4051-fb1b-4923-88b3-b726016551ad" - }, - "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": "c48f4051-fb1b-4923-88b3-b726016551ad", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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-formulation-packaging-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": "33150e2a-4887-4743-8cea-6cf627b5236f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "d927cae0-5b5c-4100-8356-1bf0d7240942", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_deda8f97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/output.xml deleted file mode 100644 index b7d9b181..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/output.xml +++ /dev/null @@ -1,289 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="605c00a7-8401-40d3-a53b-6f8ee902c3eb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.051.83"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="f4bcff63-4e40-47da-a1c7-5aed72cc13b9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/c48f4051-fb1b-4923-88b3-b726016551ad"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <patientInstruction value="Ad libitum"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c48f4051-fb1b-4923-88b3-b726016551ad"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Creme"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> - <valueString value="50"/> - </extension> - <unit value="g"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> - <valueString value="Creme"/> - </extension> - <itemCodeableConcept> - <text value="Nerisona"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> - <valueString value="Creme"/> - </extension> - <itemCodeableConcept> - <text value="Asche Basis"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 50 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="33150e2a-4887-4743-8cea-6cf627b5236f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d927cae0-5b5c-4100-8356-1bf0d7240942"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97_deda8f97/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97_deda8f97/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97_deda8f97/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97_deda8f97/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97_deda8f97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97_deda8f97/output.json new file mode 100644 index 00000000..cbdf7ac0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97_deda8f97/output.json @@ -0,0 +1,296 @@ +{ + "resourceType": "Parameters", + "id": "615ce789-4bfd-4353-ac83-ef5c14c31882", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0d684e81-51cb-4085-acac-f3e202d6d5e5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fc4a615d-b857-4f55-bdc4-55320c68c553" + }, + "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": "fc4a615d-b857-4f55-bdc4-55320c68c553", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "505fe059-41fc-4655-ab25-ee9e4412dfad", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "000ce409-09ee-4d0b-bbd2-954c5c19f173", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_deda8f97_deda8f97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97_deda8f97/output.xml new file mode 100644 index 00000000..2c4df9a4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839_deda8f97_deda8f97/output.xml @@ -0,0 +1,289 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="615ce789-4bfd-4353-ac83-ef5c14c31882"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.051.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0d684e81-51cb-4085-acac-f3e202d6d5e5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fc4a615d-b857-4f55-bdc4-55320c68c553"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fc4a615d-b857-4f55-bdc4-55320c68c553"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Creme"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="50"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Creme"/> + </extension> + <itemCodeableConcept> + <text value="Nerisona"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Creme"/> + </extension> + <itemCodeableConcept> + <text value="Asche Basis"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 50 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="505fe059-41fc-4655-ab25-ee9e4412dfad"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="000ce409-09ee-4d0b-bbd2-954c5c19f173"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/log.txt index f6c1d088..a7d0a24f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/log.txt +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/log.txt @@ -1,3 +1,2 @@ Fhir Validation result: valid -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/49d03c27-8771-4e41-941c-f762bbba06f5*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/49d03c27-8771-4e41-941c-f762bbba06f5*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/49d03c27-8771-4e41-941c-f762bbba06f5*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.json index d9bbcffb..f5731baa 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "8960dde7-fbaf-4b56-819e-406515733aa2", + "id": "e9a8732d-48f4-4649-8bae-222fba29ac5f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "d2ee0299-a8dc-475e-b079-d3aa737bf68f", + "id": "03267d3e-67c5-4f1a-a123-37dbb0536f09", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/49d03c27-8771-4e41-941c-f762bbba06f5" + "reference": "Medication/0ba863df-416b-4f20-8d50-ad9320ac69a1" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "49d03c27-8771-4e41-941c-f762bbba06f5", + "id": "0ba863df-416b-4f20-8d50-ad9320ac69a1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -80,7 +80,7 @@ "amount": { "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "50" } ], "unit": "g" @@ -190,7 +190,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f8a256d4-f7b9-4d8a-9a07-fb014ab70614", + "id": "b37debbc-1a2f-4de1-bcc8-f340d6cbaf38", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -257,7 +257,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "3f60e8e4-e712-4578-ad86-f42af022d4a4", + "id": "a04494b9-cec6-4aaf-a00d-e1123234e11e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.xml index cb7ee18c..b0fb2b44 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="8960dde7-fbaf-4b56-819e-406515733aa2"/> + <id value="e9a8732d-48f4-4649-8bae-222fba29ac5f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d2ee0299-a8dc-475e-b079-d3aa737bf68f"/> + <id value="03267d3e-67c5-4f1a-a123-37dbb0536f09"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/49d03c27-8771-4e41-941c-f762bbba06f5"/> + <reference value="Medication/0ba863df-416b-4f20-8d50-ad9320ac69a1"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="49d03c27-8771-4e41-941c-f762bbba06f5"/> + <id value="0ba863df-416b-4f20-8d50-ad9320ac69a1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -79,7 +79,7 @@ </form> <amount> <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> <valueString value="50"/> </extension> <unit value="g"/> @@ -179,7 +179,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f8a256d4-f7b9-4d8a-9a07-fb014ab70614"/> + <id value="b37debbc-1a2f-4de1-bcc8-f340d6cbaf38"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -248,7 +248,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="3f60e8e4-e712-4578-ad86-f42af022d4a4"/> + <id value="a04494b9-cec6-4aaf-a00d-e1123234e11e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97_deda8f97/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97_deda8f97/input.xml new file mode 100644 index 00000000..ff700530 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97_deda8f97/input.xml @@ -0,0 +1,420 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="deda8f97-38b6-4598-b805-3ef4926fc09d"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.051.83"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/373f42c6-a5a2-4143-b1de-b99ca5ba74d3"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="373f42c6-a5a2-4143-b1de-b99ca5ba74d3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/966400e9-18e3-463a-b0af-00594196efbb"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/966400e9-18e3-463a-b0af-00594196efbb"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="966400e9-18e3-463a-b0af-00594196efbb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/fa428147-0baa-4fc4-9a04-ff190bdd11f6"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/fa428147-0baa-4fc4-9a04-ff190bdd11f6"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fa428147-0baa-4fc4-9a04-ff190bdd11f6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Creme"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="50"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form"> + <valueString value="Creme"/> + </extension> + <itemCodeableConcept> + <text value="Nerisona"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form"> + <valueString value="Creme"/> + </extension> + <itemCodeableConcept> + <text value="Asche Basis"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="Ad 50 g"/> + </extension> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus BKK"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97_deda8f97/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97_deda8f97/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97_deda8f97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97_deda8f97/output.json new file mode 100644 index 00000000..885b873e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97_deda8f97/output.json @@ -0,0 +1,296 @@ +{ + "resourceType": "Parameters", + "id": "b4752d43-e8bb-4d44-88d3-90b5af56be4b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1c97bc79-a2a8-4975-8096-7edf292edb2c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/eb146ddc-9e08-43df-b5c6-dcffc9562b50" + }, + "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": "eb146ddc-9e08-43df-b5c6-dcffc9562b50", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "7a221ca5-f045-4f9c-b371-c4f802df944e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d10b6f2e-4fd8-49a8-b366-e5e28d560136", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_deda8f97_deda8f97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97_deda8f97/output.xml new file mode 100644 index 00000000..5704855c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_deda8f97_deda8f97/output.xml @@ -0,0 +1,289 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b4752d43-e8bb-4d44-88d3-90b5af56be4b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.051.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1c97bc79-a2a8-4975-8096-7edf292edb2c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/eb146ddc-9e08-43df-b5c6-dcffc9562b50"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="eb146ddc-9e08-43df-b5c6-dcffc9562b50"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Creme"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="50"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Creme"/> + </extension> + <itemCodeableConcept> + <text value="Nerisona"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Creme"/> + </extension> + <itemCodeableConcept> + <text value="Asche Basis"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 50 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7a221ca5-f045-4f9c-b371-c4f802df944e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d10b6f2e-4fd8-49a8-b366-e5e28d560136"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/log.txt deleted file mode 100644 index ac44a4ed..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -Fhir Validation result: valid - -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/5ef9067d-02a2-420c-9810-d0f91c6c4410*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/5ef9067d-02a2-420c-9810-d0f91c6c4410*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/5ef9067d-02a2-420c-9810-d0f91c6c4410*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/output.json deleted file mode 100644 index 81ca8f96..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/output.json +++ /dev/null @@ -1,296 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "7deee8e0-2e63-43ba-a1d1-63f2f6cab9cb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "564456e8-cb3d-4def-aff1-05496c360801", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/5ef9067d-02a2-420c-9810-d0f91c6c4410" - }, - "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": "5ef9067d-02a2-420c-9810-d0f91c6c4410", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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-formulation-packaging-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": "8b5003c8-b865-4781-9499-8e66ab7fe6af", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "61a2a0fe-4770-4a4b-9682-422aa451c5c6", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_6f193f8b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/output.xml deleted file mode 100644 index f7cec319..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/output.xml +++ /dev/null @@ -1,289 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="7deee8e0-2e63-43ba-a1d1-63f2f6cab9cb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.052.80"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="564456e8-cb3d-4def-aff1-05496c360801"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/5ef9067d-02a2-420c-9810-d0f91c6c4410"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <patientInstruction value="Ad libitum"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5ef9067d-02a2-420c-9810-d0f91c6c4410"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Salbe"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> - <valueString value="60"/> - </extension> - <unit value="g"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> - <valueString value="Salbe"/> - </extension> - <itemCodeableConcept> - <text value="Nerisona"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="30"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> - <valueString value="Salbe"/> - </extension> - <itemCodeableConcept> - <text value="Asche Basis"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 60 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8b5003c8-b865-4781-9499-8e66ab7fe6af"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="61a2a0fe-4770-4a4b-9682-422aa451c5c6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b_6f193f8b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b_6f193f8b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b_6f193f8b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b_6f193f8b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b_6f193f8b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b_6f193f8b/output.json new file mode 100644 index 00000000..987706ab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b_6f193f8b/output.json @@ -0,0 +1,296 @@ +{ + "resourceType": "Parameters", + "id": "abbb855e-ddf7-482a-8b3e-babb068fe318", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c9afe037-d3d7-46c2-a5db-5bb3960c07db", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9a4d0e54-0dd6-45e1-bf37-ca2306ae4b5a" + }, + "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": "9a4d0e54-0dd6-45e1-bf37-ca2306ae4b5a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "b8cc9d67-d552-4cd5-8715-0bd97f857873", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4cfeb4a5-15e3-4434-ba76-2aa09d01e0ec", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6f193f8b_6f193f8b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b_6f193f8b/output.xml new file mode 100644 index 00000000..39d1dcdb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248_6f193f8b_6f193f8b/output.xml @@ -0,0 +1,289 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="abbb855e-ddf7-482a-8b3e-babb068fe318"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.052.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c9afe037-d3d7-46c2-a5db-5bb3960c07db"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9a4d0e54-0dd6-45e1-bf37-ca2306ae4b5a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9a4d0e54-0dd6-45e1-bf37-ca2306ae4b5a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Salbe"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="60"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Salbe"/> + </extension> + <itemCodeableConcept> + <text value="Nerisona"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="30"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Salbe"/> + </extension> + <itemCodeableConcept> + <text value="Asche Basis"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 60 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b8cc9d67-d552-4cd5-8715-0bd97f857873"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4cfeb4a5-15e3-4434-ba76-2aa09d01e0ec"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/log.txt index 4e2453bf..a7d0a24f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/log.txt +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/log.txt @@ -1,3 +1,2 @@ Fhir Validation result: valid -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/264471ee-9914-423c-9a10-5b4600aa118c*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/264471ee-9914-423c-9a10-5b4600aa118c*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/264471ee-9914-423c-9a10-5b4600aa118c*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.json index e5fb35f8..eb279863 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "55335ae5-2873-4fea-bd7a-79646aa5f684", + "id": "ed611bd6-48cb-4e8c-9815-aa450a7d1d00", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "a8ba5cd0-5ce6-45a3-af31-bb156937ad37", + "id": "2b6e8faa-ea2c-4444-916c-b5159376ab69", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/264471ee-9914-423c-9a10-5b4600aa118c" + "reference": "Medication/ccd35f7c-ebff-42fb-80d6-c437f0697386" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "264471ee-9914-423c-9a10-5b4600aa118c", + "id": "ccd35f7c-ebff-42fb-80d6-c437f0697386", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -80,7 +80,7 @@ "amount": { "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "60" } ], "unit": "g" @@ -190,7 +190,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e92d5a5f-6ff7-4f1b-adda-aedd2b4a6e6b", + "id": "febd9843-43aa-421e-a33f-08f0ffbc1207", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -257,7 +257,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "959bd3ba-9613-4dca-9ba6-fa164d70f712", + "id": "368f64b2-2c85-44ff-adc3-36580b9cff59", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.xml index 7f70ab47..0a43c34d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="55335ae5-2873-4fea-bd7a-79646aa5f684"/> + <id value="ed611bd6-48cb-4e8c-9815-aa450a7d1d00"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a8ba5cd0-5ce6-45a3-af31-bb156937ad37"/> + <id value="2b6e8faa-ea2c-4444-916c-b5159376ab69"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/264471ee-9914-423c-9a10-5b4600aa118c"/> + <reference value="Medication/ccd35f7c-ebff-42fb-80d6-c437f0697386"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="264471ee-9914-423c-9a10-5b4600aa118c"/> + <id value="ccd35f7c-ebff-42fb-80d6-c437f0697386"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -79,7 +79,7 @@ </form> <amount> <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> <valueString value="60"/> </extension> <unit value="g"/> @@ -179,7 +179,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e92d5a5f-6ff7-4f1b-adda-aedd2b4a6e6b"/> + <id value="febd9843-43aa-421e-a33f-08f0ffbc1207"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -248,7 +248,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="959bd3ba-9613-4dca-9ba6-fa164d70f712"/> + <id value="368f64b2-2c85-44ff-adc3-36580b9cff59"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b_6f193f8b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b_6f193f8b/input.xml new file mode 100644 index 00000000..11e05e19 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b_6f193f8b/input.xml @@ -0,0 +1,420 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="6f193f8b-da7b-4a77-9105-44050d8839c5"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.052.80"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/9fa07214-b744-4709-aca9-c91d23690e86"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="9fa07214-b744-4709-aca9-c91d23690e86"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/d7be9b6b-8530-43a9-87c6-c01602cf3def"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/d7be9b6b-8530-43a9-87c6-c01602cf3def"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d7be9b6b-8530-43a9-87c6-c01602cf3def"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/c7320d8f-1bec-4063-8ae2-9609ecef65f9"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/c7320d8f-1bec-4063-8ae2-9609ecef65f9"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c7320d8f-1bec-4063-8ae2-9609ecef65f9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Salbe"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="60"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form"> + <valueString value="Salbe"/> + </extension> + <itemCodeableConcept> + <text value="Nerisona"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="30"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form"> + <valueString value="Salbe"/> + </extension> + <itemCodeableConcept> + <text value="Asche Basis"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="Ad 60 g"/> + </extension> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus BKK"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b_6f193f8b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b_6f193f8b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b_6f193f8b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b_6f193f8b/output.json new file mode 100644 index 00000000..beda74ff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b_6f193f8b/output.json @@ -0,0 +1,296 @@ +{ + "resourceType": "Parameters", + "id": "e1411047-61b4-45e9-ae8d-bcb0a7d4c32b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ad89aafe-06d3-4c23-9583-58ad3b44413d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/762b5904-5735-40df-8629-b2a87e929c31" + }, + "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": "762b5904-5735-40df-8629-b2a87e929c31", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "2daf31c3-a7c9-4a1c-b845-5484fcd51f1a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2b23b2f0-1bd7-46fe-88f2-a56d8d747558", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6f193f8b_6f193f8b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b_6f193f8b/output.xml new file mode 100644 index 00000000..160d3198 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_6f193f8b_6f193f8b/output.xml @@ -0,0 +1,289 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e1411047-61b4-45e9-ae8d-bcb0a7d4c32b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.052.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ad89aafe-06d3-4c23-9583-58ad3b44413d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/762b5904-5735-40df-8629-b2a87e929c31"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="762b5904-5735-40df-8629-b2a87e929c31"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Salbe"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="60"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Salbe"/> + </extension> + <itemCodeableConcept> + <text value="Nerisona"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="30"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"> + <valueString value="Salbe"/> + </extension> + <itemCodeableConcept> + <text value="Asche Basis"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 60 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2daf31c3-a7c9-4a1c-b845-5484fcd51f1a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2b23b2f0-1bd7-46fe-88f2-a56d8d747558"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/log.txt index cb3dc67b..a7d0a24f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/log.txt +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/log.txt @@ -1,3 +1,2 @@ Fhir Validation result: valid -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/137d3e82-6206-44c9-b7b0-c8dced914e14*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/137d3e82-6206-44c9-b7b0-c8dced914e14*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/137d3e82-6206-44c9-b7b0-c8dced914e14*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.json index 2b16e1db..4ed93a4c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "6802719b-7408-4e8a-b3cb-e696889ed347", + "id": "23744b36-a70b-4b1d-9ed1-5e5fa169e26e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "6aa88cfd-214e-4f25-a48d-5984fb8015e0", + "id": "441c87a3-3b43-4656-80e7-c937469eaa47", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/137d3e82-6206-44c9-b7b0-c8dced914e14" + "reference": "Medication/6cf99d46-9532-4a90-9c4e-0f9f7a9589a1" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "137d3e82-6206-44c9-b7b0-c8dced914e14", + "id": "6cf99d46-9532-4a90-9c4e-0f9f7a9589a1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -80,7 +80,7 @@ "amount": { "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "200" } ], "unit": "g" @@ -219,7 +219,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "0d8c05e9-90be-4883-bb94-4d7085700325", + "id": "1a0988f7-9fa9-49db-9676-81ceaf295976", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -286,7 +286,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "8560113c-b4bf-4a8d-9423-1aa57f17d232", + "id": "d6ec00fd-ad09-4114-8d75-b58764b38215", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.xml index a175f8e8..a6ea2df3 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="6802719b-7408-4e8a-b3cb-e696889ed347"/> + <id value="23744b36-a70b-4b1d-9ed1-5e5fa169e26e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6aa88cfd-214e-4f25-a48d-5984fb8015e0"/> + <id value="441c87a3-3b43-4656-80e7-c937469eaa47"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/137d3e82-6206-44c9-b7b0-c8dced914e14"/> + <reference value="Medication/6cf99d46-9532-4a90-9c4e-0f9f7a9589a1"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="137d3e82-6206-44c9-b7b0-c8dced914e14"/> + <id value="6cf99d46-9532-4a90-9c4e-0f9f7a9589a1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -79,7 +79,7 @@ </form> <amount> <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> <valueString value="200"/> </extension> <unit value="g"/> @@ -207,7 +207,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="0d8c05e9-90be-4883-bb94-4d7085700325"/> + <id value="1a0988f7-9fa9-49db-9676-81ceaf295976"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -276,7 +276,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="8560113c-b4bf-4a8d-9423-1aa57f17d232"/> + <id value="d6ec00fd-ad09-4114-8d75-b58764b38215"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638_465f1638/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638_465f1638/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638_465f1638/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638_465f1638/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638_465f1638/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638_465f1638/output.json new file mode 100644 index 00000000..baf11a07 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638_465f1638/output.json @@ -0,0 +1,325 @@ +{ + "resourceType": "Parameters", + "id": "4aaae9c0-f1e5-4681-94f8-82ece2a22b44", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ab840ced-40d4-4073-9a43-018629fc6fed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/29825a5e-cb7c-45e5-aeb9-5f2258fde981" + }, + "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": "29825a5e-cb7c-45e5-aeb9-5f2258fde981", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "f2c1f9d9-dce3-482f-9eab-d8ff70f4688e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d1f6954a-d351-4ac1-b86a-84da8eef06e6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_465f1638_465f1638/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638_465f1638/output.xml new file mode 100644 index 00000000..0dfa30d6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_465f1638_465f1638/output.xml @@ -0,0 +1,317 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4aaae9c0-f1e5-4681-94f8-82ece2a22b44"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.053.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ab840ced-40d4-4073-9a43-018629fc6fed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/29825a5e-cb7c-45e5-aeb9-5f2258fde981"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="29825a5e-cb7c-45e5-aeb9-5f2258fde981"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Creme"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="200"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Erythromycin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="2.5"/> + <unit value="%"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Oleum Rosae"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="1"/> + <unit value="%"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Ungt. Emulsificans aquos."/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 200 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f2c1f9d9-dce3-482f-9eab-d8ff70f4688e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d1f6954a-d351-4ac1-b86a-84da8eef06e6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/log.txt deleted file mode 100644 index 75f8318b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -Fhir Validation result: valid - -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/5306ed70-b003-47d4-8d46-74482a0558de*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/5306ed70-b003-47d4-8d46-74482a0558de*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/5306ed70-b003-47d4-8d46-74482a0558de*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/output.json deleted file mode 100644 index fdf59784..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/output.json +++ /dev/null @@ -1,325 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "aec042ac-d801-4e09-a285-671d674a35a3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "c953fc3e-37a5-4dad-8f20-127aca63a261", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/5306ed70-b003-47d4-8d46-74482a0558de" - }, - "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": "5306ed70-b003-47d4-8d46-74482a0558de", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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-formulation-packaging-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": "df11a8e9-0960-4ea1-8ae8-cd458e812548", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "bc3968f8-5f2f-4d11-b4ea-25503a80c949", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_465f1638/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/output.xml deleted file mode 100644 index e0c8f5af..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638/output.xml +++ /dev/null @@ -1,317 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="aec042ac-d801-4e09-a285-671d674a35a3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.053.77"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c953fc3e-37a5-4dad-8f20-127aca63a261"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/5306ed70-b003-47d4-8d46-74482a0558de"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <patientInstruction value="Ad libitum"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5306ed70-b003-47d4-8d46-74482a0558de"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Creme"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> - <valueString value="200"/> - </extension> - <unit value="g"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Erythromycin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="2.5"/> - <unit value="%"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="Oleum Rosae"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="1"/> - <unit value="%"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="Ungt. Emulsificans aquos."/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 200 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="df11a8e9-0960-4ea1-8ae8-cd458e812548"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="bc3968f8-5f2f-4d11-b4ea-25503a80c949"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638/input.xml new file mode 100644 index 00000000..624b8a00 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638/input.xml @@ -0,0 +1,417 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="465f1638-1fbe-462e-a68a-e25b7b507c3e"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.053.77"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/f2b34822-c748-4285-a78c-8861e76588d7"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f2b34822-c748-4285-a78c-8861e76588d7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/74b3e33f-3c13-4814-9d78-197d2ff9f7de"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/74b3e33f-3c13-4814-9d78-197d2ff9f7de"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="74b3e33f-3c13-4814-9d78-197d2ff9f7de"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/ce7953d0-25a1-4998-a246-53973eab64e6"/> + </medicationReference> + <subject> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + </insurance> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/ce7953d0-25a1-4998-a246-53973eab64e6"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ce7953d0-25a1-4998-a246-53973eab64e6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Creme"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="200"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Erythromycin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="2.5"/> + <unit value="%"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Oleum Rosae"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="1"/> + <unit value="%"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Ungt. Emulsificans aquos."/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="Ad 200 g"/> + </extension> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="E111111113"/> + </identifier> + <name> + <use value="official"/> + <family value="Christrose"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Christrose"/> + </extension> + </family> + <given value="Christa"/> + </name> + <birthDate value="1933-03-13"/> + <address> + <type value="both"/> + <line value="Nagelsweg 27"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Nagelsweg"/> + </extension> + </line> + <city value="Hamburg"/> + <postalCode value="20097"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="02"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101560000"/> + </identifier> + <display value="DAK-GESUNDHEIT"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638/output.json new file mode 100644 index 00000000..4e5d0f9e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638/output.json @@ -0,0 +1,325 @@ +{ + "resourceType": "Parameters", + "id": "6e0f19e9-a27d-4484-b4a2-1ababad90ebe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "64ded062-61d5-4318-97e1-db28364d86b2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5063c0bf-4443-45f5-99f9-2438732397fb" + }, + "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": "5063c0bf-4443-45f5-99f9-2438732397fb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "0d4b990b-c5e2-4eb6-bb5c-1b64026cf0db", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "071169b7-cf42-49e3-ad7a-8f8ae7dfe3f9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_465f1638_465f1638/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638/output.xml new file mode 100644 index 00000000..9d8c5122 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17_465f1638_465f1638/output.xml @@ -0,0 +1,317 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6e0f19e9-a27d-4484-b4a2-1ababad90ebe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.053.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="64ded062-61d5-4318-97e1-db28364d86b2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5063c0bf-4443-45f5-99f9-2438732397fb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <patientInstruction value="Ad libitum"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5063c0bf-4443-45f5-99f9-2438732397fb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Creme"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="200"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Erythromycin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="2.5"/> + <unit value="%"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Oleum Rosae"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="1"/> + <unit value="%"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Ungt. Emulsificans aquos."/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 200 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0d4b990b-c5e2-4eb6-bb5c-1b64026cf0db"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="071169b7-cf42-49e3-ad7a-8f8ae7dfe3f9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/log.txt deleted file mode 100644 index 21a24c12..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -Fhir Validation result: valid - -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/dd6df9bc-34b5-4655-9dd8-d5cdba5ada43*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/dd6df9bc-34b5-4655-9dd8-d5cdba5ada43*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/dd6df9bc-34b5-4655-9dd8-d5cdba5ada43*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/output.json deleted file mode 100644 index d7412802..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/output.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "a6bf2d4f-afd3-4318-b985-52f944e9dffb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "0b2b2386-6c28-4c52-ad39-22202f5674ea", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/dd6df9bc-34b5-4655-9dd8-d5cdba5ada43" - }, - "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": "dd6df9bc-34b5-4655-9dd8-d5cdba5ada43", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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-formulation-packaging-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": "5f99c9d4-5432-4022-b559-649b8eae50bb", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "491a1775-74fc-48ce-9342-02efa674c219", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/output.xml deleted file mode 100644 index 77a9c885..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/output.xml +++ /dev/null @@ -1,287 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a6bf2d4f-afd3-4318-b985-52f944e9dffb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.024.67"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0b2b2386-6c28-4c52-ad39-22202f5674ea"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/dd6df9bc-34b5-4655-9dd8-d5cdba5ada43"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dosageInstruction> - <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="dd6df9bc-34b5-4655-9dd8-d5cdba5ada43"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Lösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Salicylsäure"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="2-propanol 70 %"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 100 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5f99c9d4-5432-4022-b559-649b8eae50bb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="491a1775-74fc-48ce-9342-02efa674c219"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123412821"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Hanna Schmidt"/> - <family value="Schmidt"/> - <given value="Hanna"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65_9581ce65/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65_9581ce65/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65_9581ce65/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65_9581ce65/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65_9581ce65/output.json new file mode 100644 index 00000000..dabe891c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65_9581ce65/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "e2fbf48e-d35b-4d97-b6ff-3d3e63e8db49", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c486b4e6-ffff-4f4b-8460-d29b4fcbe625", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/cf53c3a1-dbb7-4526-ad69-daa26b1399c6" + }, + "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": "cf53c3a1-dbb7-4526-ad69-daa26b1399c6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "38c0b3db-3e5b-4cc0-8f46-65ef445a0cc7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2c4e80a6-5eb2-42a4-9a64-c8dd2e902cf7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9581ce65_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65_9581ce65/output.xml new file mode 100644 index 00000000..c12b13ec --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63_9581ce65_9581ce65/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e2fbf48e-d35b-4d97-b6ff-3d3e63e8db49"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c486b4e6-ffff-4f4b-8460-d29b4fcbe625"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/cf53c3a1-dbb7-4526-ad69-daa26b1399c6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dosageInstruction> + <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cf53c3a1-dbb7-4526-ad69-daa26b1399c6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="38c0b3db-3e5b-4cc0-8f46-65ef445a0cc7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2c4e80a6-5eb2-42a4-9a64-c8dd2e902cf7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Hanna Schmidt"/> + <family value="Schmidt"/> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/log.txt index f85464f8..a7d0a24f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/log.txt +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/log.txt @@ -1,3 +1,2 @@ Fhir Validation result: valid -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/50c917b8-cccb-4dbd-b51d-248caa09e5df*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/50c917b8-cccb-4dbd-b51d-248caa09e5df*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/50c917b8-cccb-4dbd-b51d-248caa09e5df*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.json index c8d50f7a..85cf03c4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "1090d0ac-fef0-430b-9a73-be771c49f1ac", + "id": "066fcafe-892c-43c1-a784-bcd72d1d1cc7", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "ad48f9ba-6d9e-4f75-a676-9cceee723245", + "id": "d89a61b3-ddfb-46f6-9178-c2f31e008779", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/50c917b8-cccb-4dbd-b51d-248caa09e5df" + "reference": "Medication/6e04ea8e-eda7-439d-b40e-eaa27eda6c80" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "50c917b8-cccb-4dbd-b51d-248caa09e5df", + "id": "6e04ea8e-eda7-439d-b40e-eaa27eda6c80", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -80,7 +80,7 @@ "amount": { "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "100" } ], "unit": "ml" @@ -182,7 +182,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "28046865-3b40-47e1-9895-aa10cd6cea7e", + "id": "361a2cf7-5618-4272-b503-a15aaec306d0", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -247,7 +247,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "2c830980-b444-415e-b0c8-5a962ba3222b", + "id": "7826f1b3-151c-4a81-b16d-c475024bf2ab", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.xml index 6480975f..db98b2e0 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="1090d0ac-fef0-430b-9a73-be771c49f1ac"/> + <id value="066fcafe-892c-43c1-a784-bcd72d1d1cc7"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ad48f9ba-6d9e-4f75-a676-9cceee723245"/> + <id value="d89a61b3-ddfb-46f6-9178-c2f31e008779"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/50c917b8-cccb-4dbd-b51d-248caa09e5df"/> + <reference value="Medication/6e04ea8e-eda7-439d-b40e-eaa27eda6c80"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="50c917b8-cccb-4dbd-b51d-248caa09e5df"/> + <id value="6e04ea8e-eda7-439d-b40e-eaa27eda6c80"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -79,7 +79,7 @@ </form> <amount> <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> <valueString value="100"/> </extension> <unit value="ml"/> @@ -173,7 +173,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="28046865-3b40-47e1-9895-aa10cd6cea7e"/> + <id value="361a2cf7-5618-4272-b503-a15aaec306d0"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -241,7 +241,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2c830980-b444-415e-b0c8-5a962ba3222b"/> + <id value="7826f1b3-151c-4a81-b16d-c475024bf2ab"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65_9581ce65/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65_9581ce65/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65_9581ce65/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65_9581ce65/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65_9581ce65/output.json new file mode 100644 index 00000000..1c3514ab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65_9581ce65/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "cddf35e1-3016-4ba2-9b76-2033430d5c64", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "baaa12c0-10fc-4d15-acf2-d2ba1fe54d23", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4168b3d2-debf-4069-bbf6-e1d5c3c8e12f" + }, + "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": "4168b3d2-debf-4069-bbf6-e1d5c3c8e12f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "26819ac0-7ff5-4406-9699-a583f3db8633", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e2a4e779-98fb-4267-ba5e-acd57a2a10e3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9581ce65_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65_9581ce65/output.xml new file mode 100644 index 00000000..05095329 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_9581ce65_9581ce65/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="cddf35e1-3016-4ba2-9b76-2033430d5c64"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="baaa12c0-10fc-4d15-acf2-d2ba1fe54d23"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4168b3d2-debf-4069-bbf6-e1d5c3c8e12f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4168b3d2-debf-4069-bbf6-e1d5c3c8e12f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="26819ac0-7ff5-4406-9699-a583f3db8633"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e2a4e779-98fb-4267-ba5e-acd57a2a10e3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Hanna Schmidt"/> + <family value="Schmidt"/> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/log.txt deleted file mode 100644 index e037a397..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -Fhir Validation result: valid - -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/b6bf5f3d-c8cb-4330-95aa-4fb097901174*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/b6bf5f3d-c8cb-4330-95aa-4fb097901174*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/b6bf5f3d-c8cb-4330-95aa-4fb097901174*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/output.json deleted file mode 100644 index 5de09810..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/output.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "acc26c5a-5013-4a70-9379-ae1782af9abb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "d57a331f-a3dd-46a4-9324-a9d1e687e7d4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/b6bf5f3d-c8cb-4330-95aa-4fb097901174" - }, - "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": "b6bf5f3d-c8cb-4330-95aa-4fb097901174", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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-formulation-packaging-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": "529fefc5-1755-4d03-97cf-bfd378e6a71b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "477eed77-c6ca-4d5f-a1e0-3707f7befede", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/output.xml deleted file mode 100644 index 0f4b83c4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65/output.xml +++ /dev/null @@ -1,287 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="acc26c5a-5013-4a70-9379-ae1782af9abb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.024.67"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d57a331f-a3dd-46a4-9324-a9d1e687e7d4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/b6bf5f3d-c8cb-4330-95aa-4fb097901174"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dosageInstruction> - <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b6bf5f3d-c8cb-4330-95aa-4fb097901174"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Lösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Salicylsäure"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="g"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="2-propanol 70 %"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 100 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="529fefc5-1755-4d03-97cf-bfd378e6a71b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="477eed77-c6ca-4d5f-a1e0-3707f7befede"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123412821"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Hanna Schmidt"/> - <family value="Schmidt"/> - <given value="Hanna"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65/input.xml new file mode 100644 index 00000000..ca70c607 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65/input.xml @@ -0,0 +1,407 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9581ce65-b118-4751-9073-19c091b341e0"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/80a467fb-36ad-4549-8be1-12f0e4520c73"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="80a467fb-36ad-4549-8be1-12f0e4520c73"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/4739972b-52d6-4bea-9ba1-d360f8c22689"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/4739972b-52d6-4bea-9ba1-d360f8c22689"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4739972b-52d6-4bea-9ba1-d360f8c22689"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5cd916fc-2ae2-4148-b016-911ec5f4c0a5"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/5cd916fc-2ae2-4148-b016-911ec5f4c0a5"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5cd916fc-2ae2-4148-b016-911ec5f4c0a5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="Ad 100 g"/> + </extension> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ec5b4fcf-9739-4055-b23c-a5b3a65beb66"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <name> + <use value="official"/> + <family value="Schmidt"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schmidt"/> + </extension> + </family> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Dermatologin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="06"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Ludwigsburg-Bietigheim"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65/output.json new file mode 100644 index 00000000..fedf5e7c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "317584e3-aa90-40d2-8471-368d159483b8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9bb650ef-c313-47a1-9ff3-e486723cc179", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d7f94346-7da6-47c2-b0d0-37e47207a060" + }, + "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": "d7f94346-7da6-47c2-b0d0-37e47207a060", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "d540297b-8734-4418-b196-4938a4f7aa0f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "76efa6f5-d2d9-48d8-807f-94ddbe4fea8d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9581ce65_9581ce65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65/output.xml new file mode 100644 index 00000000..e9427731 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6_9581ce65_9581ce65/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="317584e3-aa90-40d2-8471-368d159483b8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9bb650ef-c313-47a1-9ff3-e486723cc179"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d7f94346-7da6-47c2-b0d0-37e47207a060"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <patientInstruction value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d7f94346-7da6-47c2-b0d0-37e47207a060"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="g"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d540297b-8734-4418-b196-4938a4f7aa0f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="76efa6f5-d2d9-48d8-807f-94ddbe4fea8d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123412821"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Hanna Schmidt"/> + <family value="Schmidt"/> + <given value="Hanna"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/log.txt deleted file mode 100644 index 61cd0a13..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -Fhir Validation result: valid - -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/fc4e5b10-ab74-4df7-97d5-1f6bb5691a2f*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/fc4e5b10-ab74-4df7-97d5-1f6bb5691a2f*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/fc4e5b10-ab74-4df7-97d5-1f6bb5691a2f*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/output.json deleted file mode 100644 index 4163152a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/output.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "ac9e5e6e-f374-4a78-91c8-a868d4eedbe8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "6908c0ec-c2bb-4641-89f1-20756fa705bb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/fc4e5b10-ab74-4df7-97d5-1f6bb5691a2f" - }, - "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": "fc4e5b10-ab74-4df7-97d5-1f6bb5691a2f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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-formulation-packaging-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": "025bd246-39f1-44bb-90f2-371b9f2e05bc", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "64b0ddc2-32f2-4014-9783-900f86c5c8b8", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/output.xml deleted file mode 100644 index aace1ef4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/output.xml +++ /dev/null @@ -1,287 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ac9e5e6e-f374-4a78-91c8-a868d4eedbe8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.018.562.305.023.72"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-24"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6908c0ec-c2bb-4641-89f1-20756fa705bb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/fc4e5b10-ab74-4df7-97d5-1f6bb5691a2f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-24"/> - <dosageInstruction> - <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="3"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fc4e5b10-ab74-4df7-97d5-1f6bb5691a2f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Infusionslösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> - <valueString value="500"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Etoposid"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="180"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="NaCl 0,9 %"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="ad 500 ml"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="025bd246-39f1-44bb-90f2-371b9f2e05bc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="64b0ddc2-32f2-4014-9783-900f86c5c8b8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db_dae573db/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db_dae573db/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db_dae573db/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db_dae573db/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db_dae573db/output.json new file mode 100644 index 00000000..4b6d2f95 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db_dae573db/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "832dc557-7840-4fdd-b5f4-e4dceb5d74d1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9478e006-c3c4-466e-a586-271044252d38", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/34db69f5-0b12-4cf2-b3dd-df0ce090df47" + }, + "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": "34db69f5-0b12-4cf2-b3dd-df0ce090df47", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "ff04d784-f9c4-45d9-a62e-946db3c00c26", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b8d19b91-6f08-4cab-8385-0b8379ee86c1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dae573db_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db_dae573db/output.xml new file mode 100644 index 00000000..ccb3aed8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0_dae573db_dae573db/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="832dc557-7840-4fdd-b5f4-e4dceb5d74d1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-24"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9478e006-c3c4-466e-a586-271044252d38"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/34db69f5-0b12-4cf2-b3dd-df0ce090df47"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-24"/> + <dosageInstruction> + <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="34db69f5-0b12-4cf2-b3dd-df0ce090df47"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Infusionslösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="500"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Etoposid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="180"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="NaCl 0,9 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="ad 500 ml"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ff04d784-f9c4-45d9-a62e-946db3c00c26"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b8d19b91-6f08-4cab-8385-0b8379ee86c1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/log.txt deleted file mode 100644 index f62a8e58..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -Fhir Validation result: valid - -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/18bc4f1c-901d-4e59-9e6c-15a9048d5def*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/18bc4f1c-901d-4e59-9e6c-15a9048d5def*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/18bc4f1c-901d-4e59-9e6c-15a9048d5def*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/output.json deleted file mode 100644 index 16c3ef68..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/output.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "4878ac0c-df68-40f4-a6ac-0c39c20d1891", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "2f6f573f-a501-4949-a1ba-b0fa1854c05d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/18bc4f1c-901d-4e59-9e6c-15a9048d5def" - }, - "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": "18bc4f1c-901d-4e59-9e6c-15a9048d5def", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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-formulation-packaging-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": "4720923b-b10d-44ec-a26b-0fac34ab8024", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "926b92ef-db7f-439f-9ca2-5728b57f93db", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/output.xml deleted file mode 100644 index 946258c1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/output.xml +++ /dev/null @@ -1,287 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4878ac0c-df68-40f4-a6ac-0c39c20d1891"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.018.562.305.023.72"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-24"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2f6f573f-a501-4949-a1ba-b0fa1854c05d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/18bc4f1c-901d-4e59-9e6c-15a9048d5def"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-24"/> - <dosageInstruction> - <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="3"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="18bc4f1c-901d-4e59-9e6c-15a9048d5def"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Infusionslösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> - <valueString value="500"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Etoposid"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="180"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="NaCl 0,9 %"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="ad 500 ml"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4720923b-b10d-44ec-a26b-0fac34ab8024"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="926b92ef-db7f-439f-9ca2-5728b57f93db"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db_dae573db/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db_dae573db/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db_dae573db/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db_dae573db/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db_dae573db/output.json new file mode 100644 index 00000000..e8a4a814 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db_dae573db/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "d4db6dea-458f-4feb-836b-fbb6bfc3dcd1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1bf47120-f26e-4d63-821b-cf9d961ec90a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/82ef2f94-cb81-4fb0-aaa2-e9661e1b4921" + }, + "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": "82ef2f94-cb81-4fb0-aaa2-e9661e1b4921", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "10afbabf-1180-4296-9004-47b1521facf7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5c023758-2e8a-4a6b-9d65-313736a34907", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dae573db_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db_dae573db/output.xml new file mode 100644 index 00000000..1a4136f9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730_dae573db_dae573db/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d4db6dea-458f-4feb-836b-fbb6bfc3dcd1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-24"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1bf47120-f26e-4d63-821b-cf9d961ec90a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/82ef2f94-cb81-4fb0-aaa2-e9661e1b4921"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-24"/> + <dosageInstruction> + <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="82ef2f94-cb81-4fb0-aaa2-e9661e1b4921"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Infusionslösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="500"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Etoposid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="180"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="NaCl 0,9 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="ad 500 ml"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="10afbabf-1180-4296-9004-47b1521facf7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5c023758-2e8a-4a6b-9d65-313736a34907"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/log.txt index ad26b8c9..a7d0a24f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/log.txt +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/log.txt @@ -1,3 +1,2 @@ Fhir Validation result: valid -SingleValidationMessage[col=14,row=82,locationString=Parameters.parameter[0].part[3].resource/*Medication/efb7459f-4e09-4d4c-86d3-2cf99297d56b*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/efb7459f-4e09-4d4c-86d3-2cf99297d56b*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/efb7459f-4e09-4d4c-86d3-2cf99297d56b*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.json index aa9739dc..0807936f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "eb8200f0-7592-4e3a-b18b-7a5d7b5c99e5", + "id": "cd887795-e808-47a3-96ac-46295c1b90c0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "125de5b0-5d7d-4936-94c0-069a891ec455", + "id": "b6c1ae00-3e31-49ad-99a4-de59e528b62f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/efb7459f-4e09-4d4c-86d3-2cf99297d56b" + "reference": "Medication/837f880f-edde-4257-8739-97111e95da7b" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "efb7459f-4e09-4d4c-86d3-2cf99297d56b", + "id": "837f880f-edde-4257-8739-97111e95da7b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -80,7 +80,7 @@ "amount": { "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "500" } ], "unit": "ml" @@ -182,7 +182,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "9a3ec414-e750-4cae-b984-81f961e56745", + "id": "6a80c30a-b09f-4ce8-b10f-220086594137", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -247,7 +247,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "e7709007-703f-4114-b14a-0a636ef5bf65", + "id": "cae31800-8adf-495f-ab05-83e5759c4b8a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.xml index 4a77e488..4fa58410 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="eb8200f0-7592-4e3a-b18b-7a5d7b5c99e5"/> + <id value="cd887795-e808-47a3-96ac-46295c1b90c0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="125de5b0-5d7d-4936-94c0-069a891ec455"/> + <id value="b6c1ae00-3e31-49ad-99a4-de59e528b62f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/efb7459f-4e09-4d4c-86d3-2cf99297d56b"/> + <reference value="Medication/837f880f-edde-4257-8739-97111e95da7b"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="efb7459f-4e09-4d4c-86d3-2cf99297d56b"/> + <id value="837f880f-edde-4257-8739-97111e95da7b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -79,7 +79,7 @@ </form> <amount> <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> <valueString value="500"/> </extension> <unit value="ml"/> @@ -173,7 +173,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="9a3ec414-e750-4cae-b984-81f961e56745"/> + <id value="6a80c30a-b09f-4ce8-b10f-220086594137"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -241,7 +241,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e7709007-703f-4114-b14a-0a636ef5bf65"/> + <id value="cae31800-8adf-495f-ab05-83e5759c4b8a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db/input.xml new file mode 100644 index 00000000..0e2b20b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db/input.xml @@ -0,0 +1,418 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="dae573db-54e3-4cb8-880d-0a46bea8aea1"/> + <meta> + <lastUpdated value="2024-11-24T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-24T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/e1d276c4-f4d5-4e2d-8a82-04d92b34ca51"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="e1d276c4-f4d5-4e2d-8a82-04d92b34ca51"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2024-11-24T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/c97a6538-6742-45a3-a229-2e0e792db446"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/c97a6538-6742-45a3-a229-2e0e792db446"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c97a6538-6742-45a3-a229-2e0e792db446"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/fd681c2a-6f35-4fa9-8c84-573157130773"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2024-11-24"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/fd681c2a-6f35-4fa9-8c84-573157130773"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fd681c2a-6f35-4fa9-8c84-573157130773"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Infusionslösung"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="500"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Etoposid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="180"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="NaCl 0,9 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="ad 500 ml"/> + </extension> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"/> + </extension> + </family> + <given value="Friëdrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus Betriebskrankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db/output.json new file mode 100644 index 00000000..b7cca165 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db/output.json @@ -0,0 +1,293 @@ +{ + "resourceType": "Parameters", + "id": "672366b8-e3c1-4e43-a3ff-aa37e643f092", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0ba9bfdb-a521-4ccb-ac3e-676bae585628", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c3f2f40c-874f-4e1e-b321-570d758a0c32" + }, + "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": "c3f2f40c-874f-4e1e-b321-570d758a0c32", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "a74baa8f-fcbd-4b48-811b-d4f8204d77f9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4504b54f-3afe-408c-badb-3b3094387117", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dae573db_dae573db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db/output.xml new file mode 100644 index 00000000..b9ae7eeb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_dae573db_dae573db/output.xml @@ -0,0 +1,287 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="672366b8-e3c1-4e43-a3ff-aa37e643f092"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-24"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0ba9bfdb-a521-4ccb-ac3e-676bae585628"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c3f2f40c-874f-4e1e-b321-570d758a0c32"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-24"/> + <dosageInstruction> + <patientInstruction value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c3f2f40c-874f-4e1e-b321-570d758a0c32"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Infusionslösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="500"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Etoposid"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="180"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="NaCl 0,9 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="ad 500 ml"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a74baa8f-fcbd-4b48-811b-d4f8204d77f9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4504b54f-3afe-408c-badb-3b3094387117"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.json index 0f62070d..4b3941c8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "3fd9445b-7dd4-4e76-b182-cf96e1c34be1", + "id": "493d77bb-d11f-40bb-972e-31f182c0ced7", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "a9a676b7-42fc-4b53-b493-028791429eff", + "id": "1987df94-4947-47ab-9ba6-a3b1a2c9b44e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/39508e9d-ac24-496e-b7f6-49f1223a62b7" + "reference": "Medication/ee27aa3c-1fdb-454e-9588-9624bafa8975" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/d69fcc9f-66bf-4f83-ad8b-d218c79ac238" + "reference": "Organization/808d56ad-13a2-4601-891d-b0b875c6dac8" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "39508e9d-ac24-496e-b7f6-49f1223a62b7", + "id": "ee27aa3c-1fdb-454e-9588-9624bafa8975", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d69fcc9f-66bf-4f83-ad8b-d218c79ac238", + "id": "808d56ad-13a2-4601-891d-b0b875c6dac8", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Val Lay" + "name": "Kandi Apple" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.xml index 797ee792..02b9b87a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="3fd9445b-7dd4-4e76-b182-cf96e1c34be1"/> + <id value="493d77bb-d11f-40bb-972e-31f182c0ced7"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a9a676b7-42fc-4b53-b493-028791429eff"/> + <id value="1987df94-4947-47ab-9ba6-a3b1a2c9b44e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/39508e9d-ac24-496e-b7f6-49f1223a62b7"/> + <reference value="Medication/ee27aa3c-1fdb-454e-9588-9624bafa8975"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/d69fcc9f-66bf-4f83-ad8b-d218c79ac238"/> + <reference value="Organization/808d56ad-13a2-4601-891d-b0b875c6dac8"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="39508e9d-ac24-496e-b7f6-49f1223a62b7"/> + <id value="ee27aa3c-1fdb-454e-9588-9624bafa8975"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d69fcc9f-66bf-4f83-ad8b-d218c79ac238"/> + <id value="808d56ad-13a2-4601-891d-b0b875c6dac8"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Val Lay"/> + <name value="Kandi Apple"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05_0474ec05/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05_0474ec05/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05_0474ec05/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05_0474ec05/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05_0474ec05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05_0474ec05/output.json new file mode 100644 index 00000000..99198f9c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05_0474ec05/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "09456f5f-9d94-4aca-b77a-bab0bd181e40", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "d71827df-3f3f-4c13-958f-4798d09df0be", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "0474ec05-ba5a-4e15-91d2-4e28a0729785_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/9e11dd70-cf8a-4446-965c-762014f54f5a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d9494450-d0eb-4b7b-a7e5-fdb8b3e6ce65" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "9e11dd70-cf8a-4446-965c-762014f54f5a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d9494450-d0eb-4b7b-a7e5-fdb8b3e6ce65", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/008_Request_MedicationDispense_0474ec05_0474ec05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05_0474ec05/output.xml new file mode 100644 index 00000000..370fd354 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_0474ec05_0474ec05/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="09456f5f-9d94-4aca-b77a-bab0bd181e40"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.769.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="d71827df-3f3f-4c13-958f-4798d09df0be"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="0474ec05-ba5a-4e15-91d2-4e28a0729785_160.000.226.119.769.65"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/9e11dd70-cf8a-4446-965c-762014f54f5a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d9494450-d0eb-4b7b-a7e5-fdb8b3e6ce65"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9e11dd70-cf8a-4446-965c-762014f54f5a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d9494450-d0eb-4b7b-a7e5-fdb8b3e6ce65"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Harry Pitts"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.json index ba7c8a07..10bdf9c4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "64e6b37d-169a-436c-b3e2-b9b6b2564e28", + "id": "d68358ab-58bc-4f30-85b4-7a9c167476ba", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "691e6938-75cf-4dea-bdd3-2286a52d4f51", + "id": "a080d066-05cc-49fe-875f-82d81873146e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/527b557e-4655-4d9b-877d-17fe7df75819" + "reference": "Medication/9044381c-3612-4a18-bc07-17f4c23c170e" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/532cc854-892e-491d-b993-004199ed2187" + "reference": "Organization/51cf2c07-e4b2-464f-9f15-fd8dcee15c79" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "527b557e-4655-4d9b-877d-17fe7df75819", + "id": "9044381c-3612-4a18-bc07-17f4c23c170e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "532cc854-892e-491d-b993-004199ed2187", + "id": "51cf2c07-e4b2-464f-9f15-fd8dcee15c79", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Morgan U. Canhandle" + "name": "Rusty Blades" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.xml index f194c677..75cf4473 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="64e6b37d-169a-436c-b3e2-b9b6b2564e28"/> + <id value="d68358ab-58bc-4f30-85b4-7a9c167476ba"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="691e6938-75cf-4dea-bdd3-2286a52d4f51"/> + <id value="a080d066-05cc-49fe-875f-82d81873146e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/527b557e-4655-4d9b-877d-17fe7df75819"/> + <reference value="Medication/9044381c-3612-4a18-bc07-17f4c23c170e"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/532cc854-892e-491d-b993-004199ed2187"/> + <reference value="Organization/51cf2c07-e4b2-464f-9f15-fd8dcee15c79"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="527b557e-4655-4d9b-877d-17fe7df75819"/> + <id value="9044381c-3612-4a18-bc07-17f4c23c170e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="532cc854-892e-491d-b993-004199ed2187"/> + <id value="51cf2c07-e4b2-464f-9f15-fd8dcee15c79"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Morgan U. Canhandle"/> + <name value="Rusty Blades"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c_076ea66c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c_076ea66c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c_076ea66c/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c_076ea66c/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c_076ea66c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c_076ea66c/output.json new file mode 100644 index 00000000..7bcc7167 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c_076ea66c/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "3b1b5fe2-0039-4931-8e3b-d23422947acd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4506efe1-8587-4ca7-b469-c5ed871e70da", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "076ea66c-f833-4598-bb3f-b6e047da396d_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/cb99af45-e08e-4526-b459-c88b687a747b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a2d78f11-dff6-4228-9361-be228d64a2d0" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "cb99af45-e08e-4526-b459-c88b687a747b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a2d78f11-dff6-4228-9361-be228d64a2d0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Oscar Ruitt" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c_076ea66c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c_076ea66c/output.xml new file mode 100644 index 00000000..13068f9a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_076ea66c_076ea66c/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3b1b5fe2-0039-4931-8e3b-d23422947acd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4506efe1-8587-4ca7-b469-c5ed871e70da"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="076ea66c-f833-4598-bb3f-b6e047da396d_160.000.226.119.765.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/cb99af45-e08e-4526-b459-c88b687a747b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a2d78f11-dff6-4228-9361-be228d64a2d0"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cb99af45-e08e-4526-b459-c88b687a747b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a2d78f11-dff6-4228-9361-be228d64a2d0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Oscar Ruitt"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.json deleted file mode 100644 index c846a8a2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "b282aa23-abdc-4acc-a097-235d2bd40329", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "66d29395-822d-4365-91a2-79134d368b6e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "c9011d4b-4d85-47b4-b89b-cef22a0d647a_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/055e8699-a6c7-47e2-85d2-76f62a92e60a" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/8dd09926-8150-4a50-a209-cf60342cc8ba" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "055e8699-a6c7-47e2-85d2-76f62a92e60a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8dd09926-8150-4a50-a209-cf60342cc8ba", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Abe Rudder" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.xml deleted file mode 100644 index 73bc4f66..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b282aa23-abdc-4acc-a097-235d2bd40329"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.784.20"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="66d29395-822d-4365-91a2-79134d368b6e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="c9011d4b-4d85-47b4-b89b-cef22a0d647a_160.000.226.119.784.20"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/055e8699-a6c7-47e2-85d2-76f62a92e60a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8dd09926-8150-4a50-a209-cf60342cc8ba"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="055e8699-a6c7-47e2-85d2-76f62a92e60a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="42938335"/> - </coding> - <text value="Fexvomilzol"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8dd09926-8150-4a50-a209-cf60342cc8ba"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Abe Rudder"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b/output.json new file mode 100644 index 00000000..a7238433 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "349be6a7-6042-4672-8dfd-405ffffb7e9f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9f68fcf2-ea6a-408f-9461-0f82809783a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c9011d4b-4d85-47b4-b89b-cef22a0d647a_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/78f16468-4823-49c3-942a-8d4a329f2ea1" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c313af5c-7a8c-43b3-bd4d-aac7b2d1bd6c" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "78f16468-4823-49c3-942a-8d4a329f2ea1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c313af5c-7a8c-43b3-bd4d-aac7b2d1bd6c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Frank N. Stein" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b/output.xml new file mode 100644 index 00000000..8599f621 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226_c9011d4b_c9011d4b/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="349be6a7-6042-4672-8dfd-405ffffb7e9f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.784.20"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9f68fcf2-ea6a-408f-9461-0f82809783a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c9011d4b-4d85-47b4-b89b-cef22a0d647a_160.000.226.119.784.20"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/78f16468-4823-49c3-942a-8d4a329f2ea1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c313af5c-7a8c-43b3-bd4d-aac7b2d1bd6c"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="78f16468-4823-49c3-942a-8d4a329f2ea1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="42938335"/> + </coding> + <text value="Fexvomilzol"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c313af5c-7a8c-43b3-bd4d-aac7b2d1bd6c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Frank N. Stein"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.json index 0cd23fab..ab2dc7af 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "836b3fd9-6cd2-4e66-b20e-2641c21cea76", + "id": "5922e9e0-6514-42ed-ae49-0015a94b03dd", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "358e0ff8-9b2e-43fc-b840-372f2e30e4ae", + "id": "1e9ca7fb-5e65-4d76-ade6-7b1e464c63dd", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/a9efb0ea-38a9-46b4-872c-17c9a89fadfa" + "reference": "Medication/6daa5ca4-0c1e-4e0a-b726-b24a4bb37bda" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/135f1dc3-d948-4870-9bed-63b99780057a" + "reference": "Organization/b00c6852-98fa-4d44-b2d0-fa301a2790be" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a9efb0ea-38a9-46b4-872c-17c9a89fadfa", + "id": "6daa5ca4-0c1e-4e0a-b726-b24a4bb37bda", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "135f1dc3-d948-4870-9bed-63b99780057a", + "id": "b00c6852-98fa-4d44-b2d0-fa301a2790be", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Cole Kutz" + "name": "Rose Bush" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.xml index 685db829..792d572a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="836b3fd9-6cd2-4e66-b20e-2641c21cea76"/> + <id value="5922e9e0-6514-42ed-ae49-0015a94b03dd"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="358e0ff8-9b2e-43fc-b840-372f2e30e4ae"/> + <id value="1e9ca7fb-5e65-4d76-ade6-7b1e464c63dd"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/a9efb0ea-38a9-46b4-872c-17c9a89fadfa"/> + <reference value="Medication/6daa5ca4-0c1e-4e0a-b726-b24a4bb37bda"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/135f1dc3-d948-4870-9bed-63b99780057a"/> + <reference value="Organization/b00c6852-98fa-4d44-b2d0-fa301a2790be"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a9efb0ea-38a9-46b4-872c-17c9a89fadfa"/> + <id value="6daa5ca4-0c1e-4e0a-b726-b24a4bb37bda"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="135f1dc3-d948-4870-9bed-63b99780057a"/> + <id value="b00c6852-98fa-4d44-b2d0-fa301a2790be"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Cole Kutz"/> + <name value="Rose Bush"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937_15850937/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937_15850937/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937_15850937/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937_15850937/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937_15850937/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937_15850937/output.json new file mode 100644 index 00000000..1f215542 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937_15850937/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "922f5b3f-38f0-45a0-a637-f0a8f38c3f86", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "27fcc3a7-b290-4ef7-984a-3e9915b214d0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "15850937-431a-4ddd-a704-f3dc368e8043_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/7487e9a8-0f3c-4532-9093-908197acd45b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/1e9e7b2c-9c11-4706-ad3f-4931df5ccc97" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7487e9a8-0f3c-4532-9093-908197acd45b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1e9e7b2c-9c11-4706-ad3f-4931df5ccc97", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Marsha Mellow" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937_15850937/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937_15850937/output.xml new file mode 100644 index 00000000..5912a21e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15850937_15850937/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="922f5b3f-38f0-45a0-a637-f0a8f38c3f86"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="27fcc3a7-b290-4ef7-984a-3e9915b214d0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="15850937-431a-4ddd-a704-f3dc368e8043_160.000.226.119.766.74"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7487e9a8-0f3c-4532-9093-908197acd45b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/1e9e7b2c-9c11-4706-ad3f-4931df5ccc97"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7487e9a8-0f3c-4532-9093-908197acd45b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1e9e7b2c-9c11-4706-ad3f-4931df5ccc97"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Marsha Mellow"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.json deleted file mode 100644 index d8bb8b0e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "25ae8fc7-4f1b-4f30-8315-d018681ccee6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "46f797a1-f7bb-4c11-a23a-cadabd1039ab", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "de72e8de-ad97-4453-be83-0f83ef948b89_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/a1353050-a7c4-46af-939f-09260a5698c6" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110499478" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/c34001a1-092d-4ff4-b850-06570f4f340c" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "a1353050-a7c4-46af-939f-09260a5698c6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "c34001a1-092d-4ff4-b850-06570f4f340c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Corey Ander" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.xml deleted file mode 100644 index 4517b470..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="25ae8fc7-4f1b-4f30-8315-d018681ccee6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.695.62"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="46f797a1-f7bb-4c11-a23a-cadabd1039ab"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="de72e8de-ad97-4453-be83-0f83ef948b89_169.000.011.203.695.62"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/a1353050-a7c4-46af-939f-09260a5698c6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110499478"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c34001a1-092d-4ff4-b850-06570f4f340c"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a1353050-a7c4-46af-939f-09260a5698c6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="14659553"/> - </coding> - <text value="Abaamisure"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c34001a1-092d-4ff4-b850-06570f4f340c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Corey Ander"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de/output.json new file mode 100644 index 00000000..4cbf2194 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "5ccc8a4a-bd30-4e10-9f14-27fe0d3aa662", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0ad42cfa-9a64-4563-b112-ec6e08b9342f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "de72e8de-ad97-4453-be83-0f83ef948b89_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/1c3f9ee1-fe47-4951-8838-d32d5dd28a73" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110499478" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3c771a4a-8507-4189-bd25-dd4277130f7f" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "1c3f9ee1-fe47-4951-8838-d32d5dd28a73", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "3c771a4a-8507-4189-bd25-dd4277130f7f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Liz Onnia" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de/output.xml new file mode 100644 index 00000000..862a71f8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b_de72e8de_de72e8de/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5ccc8a4a-bd30-4e10-9f14-27fe0d3aa662"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.695.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0ad42cfa-9a64-4563-b112-ec6e08b9342f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="de72e8de-ad97-4453-be83-0f83ef948b89_169.000.011.203.695.62"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1c3f9ee1-fe47-4951-8838-d32d5dd28a73"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110499478"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3c771a4a-8507-4189-bd25-dd4277130f7f"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1c3f9ee1-fe47-4951-8838-d32d5dd28a73"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="14659553"/> + </coding> + <text value="Abaamisure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3c771a4a-8507-4189-bd25-dd4277130f7f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Liz Onnia"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.json deleted file mode 100644 index 12a5bd05..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "856bc21f-f42b-4e78-acf3-c31f3864565d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "0bfa6484-d3d5-472b-884f-1df931056232", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "076ea66c-f833-4598-bb3f-b6e047da396d_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/c4c50d02-714c-41ba-a1ec-416d6d27702d" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/192b2bd6-bef8-4906-b20b-3c4df210af5a" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "c4c50d02-714c-41ba-a1ec-416d6d27702d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "192b2bd6-bef8-4906-b20b-3c4df210af5a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Jed I. Knight" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.xml deleted file mode 100644 index 5030489f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="856bc21f-f42b-4e78-acf3-c31f3864565d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.765.77"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="0bfa6484-d3d5-472b-884f-1df931056232"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="076ea66c-f833-4598-bb3f-b6e047da396d_160.000.226.119.765.77"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/c4c50d02-714c-41ba-a1ec-416d6d27702d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/192b2bd6-bef8-4906-b20b-3c4df210af5a"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c4c50d02-714c-41ba-a1ec-416d6d27702d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="192b2bd6-bef8-4906-b20b-3c4df210af5a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Jed I. Knight"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c/input.xml new file mode 100644 index 00000000..29283b0b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="076ea66c-f833-4598-bb3f-b6e047da396d"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8e061f5f-d969-4642-b6fc-1fd835f0e282"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#8e061f5f-d969-4642-b6fc-1fd835f0e282"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c/output.json new file mode 100644 index 00000000..73dc5ac3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "5321d651-a836-48e7-b5f7-b774c47e31f5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c3aa4902-9599-41aa-8f78-af6bac1c8092", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "076ea66c-f833-4598-bb3f-b6e047da396d_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/f92c7870-d86c-4c85-9a83-24e7707d4ea0" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/dfcd8a70-6b67-4fa4-a307-ee4ce81abc53" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f92c7870-d86c-4c85-9a83-24e7707d4ea0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dfcd8a70-6b67-4fa4-a307-ee4ce81abc53", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Neil B. Formy" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c/output.xml new file mode 100644 index 00000000..6b4fa880 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce_076ea66c_076ea66c/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5321d651-a836-48e7-b5f7-b774c47e31f5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c3aa4902-9599-41aa-8f78-af6bac1c8092"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="076ea66c-f833-4598-bb3f-b6e047da396d_160.000.226.119.765.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f92c7870-d86c-4c85-9a83-24e7707d4ea0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/dfcd8a70-6b67-4fa4-a307-ee4ce81abc53"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f92c7870-d86c-4c85-9a83-24e7707d4ea0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dfcd8a70-6b67-4fa4-a307-ee4ce81abc53"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Neil B. Formy"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.json index 14da57d5..4f3f5576 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "f6689274-a6e1-4f2b-b335-4e16e6535d53", + "id": "977a21b6-47aa-4290-991e-307ae36afc5f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "3af1926f-7c61-4248-b129-6cf8bcfa1698", + "id": "8d2d0ae7-c776-497c-b515-a3ef58aa9e2f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/a499b810-bd98-400e-a6ab-c98e9b636e7f" + "reference": "Medication/e1758e2b-d756-4641-bc5b-d9c7376eb9c1" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/4e9fa7d3-58e1-4415-ae8e-69296f272cc2" + "reference": "Organization/f7377b81-7a11-4a5e-8669-af7b8922854b" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a499b810-bd98-400e-a6ab-c98e9b636e7f", + "id": "e1758e2b-d756-4641-bc5b-d9c7376eb9c1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "4e9fa7d3-58e1-4415-ae8e-69296f272cc2", + "id": "f7377b81-7a11-4a5e-8669-af7b8922854b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Bruce Easley" + "name": "Lucy Fer" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.xml index 614c9493..c2da453e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="f6689274-a6e1-4f2b-b335-4e16e6535d53"/> + <id value="977a21b6-47aa-4290-991e-307ae36afc5f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="3af1926f-7c61-4248-b129-6cf8bcfa1698"/> + <id value="8d2d0ae7-c776-497c-b515-a3ef58aa9e2f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/a499b810-bd98-400e-a6ab-c98e9b636e7f"/> + <reference value="Medication/e1758e2b-d756-4641-bc5b-d9c7376eb9c1"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/4e9fa7d3-58e1-4415-ae8e-69296f272cc2"/> + <reference value="Organization/f7377b81-7a11-4a5e-8669-af7b8922854b"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a499b810-bd98-400e-a6ab-c98e9b636e7f"/> + <id value="e1758e2b-d756-4641-bc5b-d9c7376eb9c1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="4e9fa7d3-58e1-4415-ae8e-69296f272cc2"/> + <id value="f7377b81-7a11-4a5e-8669-af7b8922854b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Bruce Easley"/> + <name value="Lucy Fer"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c_2f0c013c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c_2f0c013c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c_2f0c013c/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c_2f0c013c/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c_2f0c013c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c_2f0c013c/output.json new file mode 100644 index 00000000..d4299843 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c_2f0c013c/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "5cba4cbb-b53e-4b67-aa94-45f8b8cb614d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8208a3cf-236e-4987-b53f-2dcbf338d816", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "2f0c013c-9dc0-4980-bb8d-3409a7209212_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/bd901472-8b34-4dfa-930b-9db05dbafcf2" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3fe96412-51aa-42de-96b0-5454e012e64f" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bd901472-8b34-4dfa-930b-9db05dbafcf2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3fe96412-51aa-42de-96b0-5454e012e64f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Shirley U. Jest" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c_2f0c013c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c_2f0c013c/output.xml new file mode 100644 index 00000000..12815c42 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2f0c013c_2f0c013c/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5cba4cbb-b53e-4b67-aa94-45f8b8cb614d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.757.04"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8208a3cf-236e-4987-b53f-2dcbf338d816"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="2f0c013c-9dc0-4980-bb8d-3409a7209212_160.000.226.119.757.04"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bd901472-8b34-4dfa-930b-9db05dbafcf2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3fe96412-51aa-42de-96b0-5454e012e64f"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bd901472-8b34-4dfa-930b-9db05dbafcf2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3fe96412-51aa-42de-96b0-5454e012e64f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Shirley U. Jest"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.json index 4da1c0a1..c1796379 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "95e72782-5112-42fa-b27c-a9d2765e0634", + "id": "35579095-b72d-4252-be2c-56bfcc18e16a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "d50017d7-4509-4fa2-b5e0-b1323a453f68", + "id": "f2b54db2-a2d6-4c32-9511-61cdf9616377", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/365a70ca-d6bc-4dc5-97e2-1587785b783c" + "reference": "Medication/5764d792-1765-4777-8799-8a34e176abd8" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/a8f83c6a-f4c3-48b6-b10b-893949b263dd" + "reference": "Organization/4cd3516e-c307-42f3-8a43-8129db7c2165" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "365a70ca-d6bc-4dc5-97e2-1587785b783c", + "id": "5764d792-1765-4777-8799-8a34e176abd8", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "a8f83c6a-f4c3-48b6-b10b-893949b263dd", + "id": "4cd3516e-c307-42f3-8a43-8129db7c2165", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Anita Bathe" + "name": "Phillip D. Bagg" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.xml index b0903b07..2ed449ab 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="95e72782-5112-42fa-b27c-a9d2765e0634"/> + <id value="35579095-b72d-4252-be2c-56bfcc18e16a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="d50017d7-4509-4fa2-b5e0-b1323a453f68"/> + <id value="f2b54db2-a2d6-4c32-9511-61cdf9616377"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/365a70ca-d6bc-4dc5-97e2-1587785b783c"/> + <reference value="Medication/5764d792-1765-4777-8799-8a34e176abd8"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/a8f83c6a-f4c3-48b6-b10b-893949b263dd"/> + <reference value="Organization/4cd3516e-c307-42f3-8a43-8129db7c2165"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="365a70ca-d6bc-4dc5-97e2-1587785b783c"/> + <id value="5764d792-1765-4777-8799-8a34e176abd8"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="a8f83c6a-f4c3-48b6-b10b-893949b263dd"/> + <id value="4cd3516e-c307-42f3-8a43-8129db7c2165"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Anita Bathe"/> + <name value="Phillip D. Bagg"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680_357fb680/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680_357fb680/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680_357fb680/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680_357fb680/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680_357fb680/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680_357fb680/output.json new file mode 100644 index 00000000..e572e0a3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680_357fb680/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "9f376100-7cb4-4bba-8882-db5670d4fe84", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e4aced41-c080-487b-8c22-cbbcf3dafe84", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "357fb680-6876-4e7f-b25d-d2c4c028441c_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/f84f9e76-ab69-48a2-8370-55c3a0c8be52" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e25b8c0e-58fe-407a-9847-7ff95e7c4550" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f84f9e76-ab69-48a2-8370-55c3a0c8be52", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e25b8c0e-58fe-407a-9847-7ff95e7c4550", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dinah Soares" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680_357fb680/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680_357fb680/output.xml new file mode 100644 index 00000000..43faa887 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_357fb680_357fb680/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9f376100-7cb4-4bba-8882-db5670d4fe84"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.525.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e4aced41-c080-487b-8c22-cbbcf3dafe84"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="357fb680-6876-4e7f-b25d-d2c4c028441c_200.000.002.096.525.73"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f84f9e76-ab69-48a2-8370-55c3a0c8be52"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e25b8c0e-58fe-407a-9847-7ff95e7c4550"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f84f9e76-ab69-48a2-8370-55c3a0c8be52"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e25b8c0e-58fe-407a-9847-7ff95e7c4550"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dinah Soares"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.json index 15c484c3..2cdeab80 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "b85d035b-0b86-4576-8478-6bea956a58dc", + "id": "9cb52f1d-f0ff-490e-98b3-211e9af5769a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "6df1e114-d2f7-4602-9bad-237064aa93c8", + "id": "2945f3d0-25b7-4914-a8aa-c47dc854170e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/b86bb016-46b4-4e33-90a6-a26885ff48a9" + "reference": "Medication/a6870cef-f472-4cab-ab26-b722dbd0f751" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/7ed00c06-b33b-4b17-bb59-4e1f343909fc" + "reference": "Organization/6bbb8830-94b8-45f3-a205-04edc494befc" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "b86bb016-46b4-4e33-90a6-a26885ff48a9", + "id": "a6870cef-f472-4cab-ab26-b722dbd0f751", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "7ed00c06-b33b-4b17-bb59-4e1f343909fc", + "id": "6bbb8830-94b8-45f3-a205-04edc494befc", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "X. Benedict" + "name": "Ida Whana" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.xml index ff51b4d0..596609f9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="b85d035b-0b86-4576-8478-6bea956a58dc"/> + <id value="9cb52f1d-f0ff-490e-98b3-211e9af5769a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="6df1e114-d2f7-4602-9bad-237064aa93c8"/> + <id value="2945f3d0-25b7-4914-a8aa-c47dc854170e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/b86bb016-46b4-4e33-90a6-a26885ff48a9"/> + <reference value="Medication/a6870cef-f472-4cab-ab26-b722dbd0f751"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/7ed00c06-b33b-4b17-bb59-4e1f343909fc"/> + <reference value="Organization/6bbb8830-94b8-45f3-a205-04edc494befc"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="b86bb016-46b4-4e33-90a6-a26885ff48a9"/> + <id value="a6870cef-f472-4cab-ab26-b722dbd0f751"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="7ed00c06-b33b-4b17-bb59-4e1f343909fc"/> + <id value="6bbb8830-94b8-45f3-a205-04edc494befc"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="X. Benedict"/> + <name value="Ida Whana"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6_466b70a6/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6_466b70a6/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6_466b70a6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6_466b70a6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6_466b70a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6_466b70a6/output.json new file mode 100644 index 00000000..17675c25 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6_466b70a6/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "4b2c7c3f-d286-4595-a992-a1ea4ad86987", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "7c2e7593-49a2-4543-afc8-7a6ce0272064", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "466b70a6-4479-4838-8370-3cd38a78a451_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/5e01fcd3-d654-40ef-959c-5ad95adc51cc" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f1d3829c-7ab7-4303-96a4-0070eee75935" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5e01fcd3-d654-40ef-959c-5ad95adc51cc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f1d3829c-7ab7-4303-96a4-0070eee75935", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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. Gates" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6_466b70a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6_466b70a6/output.xml new file mode 100644 index 00000000..be20b6d2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_466b70a6_466b70a6/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4b2c7c3f-d286-4595-a992-a1ea4ad86987"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.687.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7c2e7593-49a2-4543-afc8-7a6ce0272064"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="466b70a6-4479-4838-8370-3cd38a78a451_169.000.011.203.687.86"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5e01fcd3-d654-40ef-959c-5ad95adc51cc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f1d3829c-7ab7-4303-96a4-0070eee75935"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5e01fcd3-d654-40ef-959c-5ad95adc51cc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60537835"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f1d3829c-7ab7-4303-96a4-0070eee75935"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Pearl E. Gates"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.json deleted file mode 100644 index 55c4fddc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e91b65c8-588e-475b-87d4-7d62370d1eed", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "1de2a85b-a62e-4104-b3de-77a1ee747053", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "f9a262d7-26a7-4ad6-a2ea-0d509dee7e89_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/273f6764-2ce6-4bb7-93b3-16220dd35bca" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/5e6fca92-5ab5-48b9-970d-82fb3105671f" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "273f6764-2ce6-4bb7-93b3-16220dd35bca", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5e6fca92-5ab5-48b9-970d-82fb3105671f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Anita Bath" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.xml deleted file mode 100644 index 2e4c8d0c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e91b65c8-588e-475b-87d4-7d62370d1eed"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.690.77"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1de2a85b-a62e-4104-b3de-77a1ee747053"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="f9a262d7-26a7-4ad6-a2ea-0d509dee7e89_169.000.011.203.690.77"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/273f6764-2ce6-4bb7-93b3-16220dd35bca"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/5e6fca92-5ab5-48b9-970d-82fb3105671f"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="273f6764-2ce6-4bb7-93b3-16220dd35bca"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="47126688"/> - </coding> - <text value="Zytostatika"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5e6fca92-5ab5-48b9-970d-82fb3105671f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Anita Bath"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7/output.json new file mode 100644 index 00000000..b177e510 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "0870b35e-b867-43cd-901f-00d50044fa5e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ee05d6e7-dede-4e8b-9660-7426dca24702", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f9a262d7-26a7-4ad6-a2ea-0d509dee7e89_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/2ca7a513-ba80-4bc6-bff3-26f1601513a1" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d433053d-d1cc-401a-b71b-b4d575bdfa1d" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2ca7a513-ba80-4bc6-bff3-26f1601513a1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d433053d-d1cc-401a-b71b-b4d575bdfa1d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ron A. Muck" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7/output.xml new file mode 100644 index 00000000..412075ba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae_f9a262d7_f9a262d7/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0870b35e-b867-43cd-901f-00d50044fa5e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.690.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ee05d6e7-dede-4e8b-9660-7426dca24702"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f9a262d7-26a7-4ad6-a2ea-0d509dee7e89_169.000.011.203.690.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2ca7a513-ba80-4bc6-bff3-26f1601513a1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d433053d-d1cc-401a-b71b-b4d575bdfa1d"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2ca7a513-ba80-4bc6-bff3-26f1601513a1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="47126688"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d433053d-d1cc-401a-b71b-b4d575bdfa1d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ron A. Muck"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.json deleted file mode 100644 index e9b2c6c0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "faccb863-bff7-4ed7-a3ae-35894612e903", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "4682603a-e7fd-407e-a1f6-5b2e9196fe6c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "c8f501a7-fd86-4026-b888-9ef7e77e28af_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/4b43a094-7cfd-4294-8c61-1ea09ddc4ef7" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/2ac554bd-6a07-40e2-94eb-36ff7751492b" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "4b43a094-7cfd-4294-8c61-1ea09ddc4ef7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2ac554bd-6a07-40e2-94eb-36ff7751492b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Homan Provement" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.xml deleted file mode 100644 index c29085b7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="faccb863-bff7-4ed7-a3ae-35894612e903"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.999.22"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="4682603a-e7fd-407e-a1f6-5b2e9196fe6c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="c8f501a7-fd86-4026-b888-9ef7e77e28af_209.000.000.032.999.22"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/4b43a094-7cfd-4294-8c61-1ea09ddc4ef7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/2ac554bd-6a07-40e2-94eb-36ff7751492b"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4b43a094-7cfd-4294-8c61-1ea09ddc4ef7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="27318836"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2ac554bd-6a07-40e2-94eb-36ff7751492b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Homan Provement"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7/output.json new file mode 100644 index 00000000..a0f929ff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "0c989cfc-f087-483e-9176-f032b66bc7f3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1cd51577-97c2-4fb8-bbca-168fdb188578", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c8f501a7-fd86-4026-b888-9ef7e77e28af_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/0b9d6f1a-c965-43c5-898d-16c7d0295f36" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/88128c9b-c7de-4ccd-965c-364e1542f240" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "0b9d6f1a-c965-43c5-898d-16c7d0295f36", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "88128c9b-c7de-4ccd-965c-364e1542f240", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Jade Stone" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7/output.xml new file mode 100644 index 00000000..88ce0d79 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209_c8f501a7_c8f501a7/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0c989cfc-f087-483e-9176-f032b66bc7f3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.999.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1cd51577-97c2-4fb8-bbca-168fdb188578"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c8f501a7-fd86-4026-b888-9ef7e77e28af_209.000.000.032.999.22"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/0b9d6f1a-c965-43c5-898d-16c7d0295f36"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/88128c9b-c7de-4ccd-965c-364e1542f240"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0b9d6f1a-c965-43c5-898d-16c7d0295f36"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27318836"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="88128c9b-c7de-4ccd-965c-364e1542f240"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jade Stone"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.json deleted file mode 100644 index 49235f92..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "5ede9884-eb13-42f6-9a09-a7e8a68af5f4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "8764f78e-0dba-477e-9bb7-d149a422e224", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "ddedee4f-897f-463b-a31a-363336c4d2ae_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/34508041-6b5f-4e69-8ace-6ebef88b69c0" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/a806eead-a9ad-4ba5-80e7-7575e7eeeaf0" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "34508041-6b5f-4e69-8ace-6ebef88b69c0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a806eead-a9ad-4ba5-80e7-7575e7eeeaf0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Daisy Chain" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.xml deleted file mode 100644 index 351f1696..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5ede9884-eb13-42f6-9a09-a7e8a68af5f4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.753.16"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="8764f78e-0dba-477e-9bb7-d149a422e224"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="ddedee4f-897f-463b-a31a-363336c4d2ae_160.000.226.119.753.16"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/34508041-6b5f-4e69-8ace-6ebef88b69c0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/a806eead-a9ad-4ba5-80e7-7575e7eeeaf0"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="34508041-6b5f-4e69-8ace-6ebef88b69c0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a806eead-a9ad-4ba5-80e7-7575e7eeeaf0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Daisy Chain"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f/output.json new file mode 100644 index 00000000..5f0f658c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "9a43db2b-4985-433a-a251-e627c9cfecba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1696b839-708c-4853-a2d9-cefedb3ae5dd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ddedee4f-897f-463b-a31a-363336c4d2ae_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/1c607efa-4c89-46ae-a686-083d7c631cb7" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d56e9658-ddc1-4095-afe9-efc719e4c916" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "1c607efa-4c89-46ae-a686-083d7c631cb7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d56e9658-ddc1-4095-afe9-efc719e4c916", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Mark Mywords" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f/output.xml new file mode 100644 index 00000000..09d16674 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf_ddedee4f_ddedee4f/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9a43db2b-4985-433a-a251-e627c9cfecba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.753.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1696b839-708c-4853-a2d9-cefedb3ae5dd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ddedee4f-897f-463b-a31a-363336c4d2ae_160.000.226.119.753.16"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1c607efa-4c89-46ae-a686-083d7c631cb7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d56e9658-ddc1-4095-afe9-efc719e4c916"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1c607efa-4c89-46ae-a686-083d7c631cb7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d56e9658-ddc1-4095-afe9-efc719e4c916"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Mark Mywords"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.json deleted file mode 100644 index 9deb2dbf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "4ed469e0-c5bb-4386-b240-2600fc90dfd3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "f3a45326-dff5-46e0-ab94-73ceae1186f5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "357fb680-6876-4e7f-b25d-d2c4c028441c_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/82980002-e347-4bf0-afe6-635acb3b64a6" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/8a1b247c-1bf9-47a7-a5a6-8b081b4c11a0" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "82980002-e347-4bf0-afe6-635acb3b64a6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8a1b247c-1bf9-47a7-a5a6-8b081b4c11a0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Eve O'Lution" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.xml deleted file mode 100644 index 18492769..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4ed469e0-c5bb-4386-b240-2600fc90dfd3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.525.73"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="f3a45326-dff5-46e0-ab94-73ceae1186f5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="357fb680-6876-4e7f-b25d-d2c4c028441c_200.000.002.096.525.73"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/82980002-e347-4bf0-afe6-635acb3b64a6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8a1b247c-1bf9-47a7-a5a6-8b081b4c11a0"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="82980002-e347-4bf0-afe6-635acb3b64a6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8a1b247c-1bf9-47a7-a5a6-8b081b4c11a0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Eve O'Lution"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680/input.xml new file mode 100644 index 00000000..e90c9a7a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="357fb680-6876-4e7f-b25d-d2c4c028441c"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f5b4d81a-1800-4c6c-8771-3e39d16c2c30"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.525.73"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#f5b4d81a-1800-4c6c-8771-3e39d16c2c30"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680/output.json new file mode 100644 index 00000000..4040fab4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "65a8211c-66ca-4c4b-9a4c-a7e02f9b327c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0aaba533-b415-45ff-bc7b-67315a5bebc4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "357fb680-6876-4e7f-b25d-d2c4c028441c_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/39c82bbb-bbf3-4f6f-93ed-bd6392444ffa" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/81bcf353-ab76-4cef-91cc-7ea5dea7c12e" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "39c82bbb-bbf3-4f6f-93ed-bd6392444ffa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "81bcf353-ab76-4cef-91cc-7ea5dea7c12e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bonnie Ann Clyde" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680/output.xml new file mode 100644 index 00000000..4308fe5b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca_357fb680_357fb680/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="65a8211c-66ca-4c4b-9a4c-a7e02f9b327c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.525.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0aaba533-b415-45ff-bc7b-67315a5bebc4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="357fb680-6876-4e7f-b25d-d2c4c028441c_200.000.002.096.525.73"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/39c82bbb-bbf3-4f6f-93ed-bd6392444ffa"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/81bcf353-ab76-4cef-91cc-7ea5dea7c12e"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="39c82bbb-bbf3-4f6f-93ed-bd6392444ffa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="81bcf353-ab76-4cef-91cc-7ea5dea7c12e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bonnie Ann Clyde"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.json deleted file mode 100644 index 27d2461b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "f48fc3df-c81a-4eca-ac16-db1eec9669c1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "b5451497-8226-4c7f-bdb7-d520dd1b4e6d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "466b70a6-4479-4838-8370-3cd38a78a451_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/699ffd5d-f464-425f-97d4-4c3e0480b5a3" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/ab469479-0b89-4365-b305-c53d1a0647f4" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "699ffd5d-f464-425f-97d4-4c3e0480b5a3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ab469479-0b89-4365-b305-c53d1a0647f4", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Howe D. Pardner" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.xml deleted file mode 100644 index ebd34c1c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f48fc3df-c81a-4eca-ac16-db1eec9669c1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.687.86"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b5451497-8226-4c7f-bdb7-d520dd1b4e6d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="466b70a6-4479-4838-8370-3cd38a78a451_169.000.011.203.687.86"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/699ffd5d-f464-425f-97d4-4c3e0480b5a3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/ab469479-0b89-4365-b305-c53d1a0647f4"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="699ffd5d-f464-425f-97d4-4c3e0480b5a3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="60537835"/> - </coding> - <text value="Zytostatika"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ab469479-0b89-4365-b305-c53d1a0647f4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Howe D. Pardner"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6/input.xml new file mode 100644 index 00000000..b2a927f6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="466b70a6-4479-4838-8370-3cd38a78a451"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f9adf34b-54b3-4136-8227-bbb52adb4a81"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60537835"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.687.86"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#f9adf34b-54b3-4136-8227-bbb52adb4a81"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6/output.json new file mode 100644 index 00000000..b6429cd3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "aec563c1-8f2b-468c-a65c-33cac1b4e3ee", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "7722c6f5-cee5-4048-9508-70088ca2ef79", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "466b70a6-4479-4838-8370-3cd38a78a451_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/9b7a862a-739a-4e81-a8a7-53d7ab2b2033" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/23507b1b-cc58-491f-82aa-d64042a5f567" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "9b7a862a-739a-4e81-a8a7-53d7ab2b2033", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "23507b1b-cc58-491f-82aa-d64042a5f567", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bill Ding" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6/output.xml new file mode 100644 index 00000000..65408873 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02_466b70a6_466b70a6/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="aec563c1-8f2b-468c-a65c-33cac1b4e3ee"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.687.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7722c6f5-cee5-4048-9508-70088ca2ef79"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="466b70a6-4479-4838-8370-3cd38a78a451_169.000.011.203.687.86"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/9b7a862a-739a-4e81-a8a7-53d7ab2b2033"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/23507b1b-cc58-491f-82aa-d64042a5f567"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9b7a862a-739a-4e81-a8a7-53d7ab2b2033"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60537835"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="23507b1b-cc58-491f-82aa-d64042a5f567"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bill Ding"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.json deleted file mode 100644 index 35c63a92..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "8ef6141f-2da7-4c77-b767-8803be35a678", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "081e16de-f596-4438-8ae1-8f28bfbed9f6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "cb5b4379-3542-4ab4-96cb-1f557a8a25d8_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/5be14f59-ecf1-4dc3-b491-620044a2f0d6" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/d205838b-a1ab-4aac-85ec-58e183285044" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "5be14f59-ecf1-4dc3-b491-620044a2f0d6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d205838b-a1ab-4aac-85ec-58e183285044", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "George Washington Sleptier" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.xml deleted file mode 100644 index 9a74a3b3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="8ef6141f-2da7-4c77-b767-8803be35a678"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.764.80"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="081e16de-f596-4438-8ae1-8f28bfbed9f6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="cb5b4379-3542-4ab4-96cb-1f557a8a25d8_160.000.226.119.764.80"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/5be14f59-ecf1-4dc3-b491-620044a2f0d6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/d205838b-a1ab-4aac-85ec-58e183285044"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5be14f59-ecf1-4dc3-b491-620044a2f0d6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d205838b-a1ab-4aac-85ec-58e183285044"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="George Washington Sleptier"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379/output.json new file mode 100644 index 00000000..89f9556b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "9ed5abe8-6a81-4f0f-a4f9-5a173971b3ba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "23d5c193-b37a-4d97-a909-3acfdc844518", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "cb5b4379-3542-4ab4-96cb-1f557a8a25d8_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/7163a35a-2460-480e-9e86-67893cb20c3f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/190c3c86-69c7-42be-9b42-c959dae6f24f" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7163a35a-2460-480e-9e86-67893cb20c3f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "190c3c86-69c7-42be-9b42-c959dae6f24f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Milly Graham" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379/output.xml new file mode 100644 index 00000000..04be81bf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01_cb5b4379_cb5b4379/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9ed5abe8-6a81-4f0f-a4f9-5a173971b3ba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.764.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="23d5c193-b37a-4d97-a909-3acfdc844518"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="cb5b4379-3542-4ab4-96cb-1f557a8a25d8_160.000.226.119.764.80"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7163a35a-2460-480e-9e86-67893cb20c3f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/190c3c86-69c7-42be-9b42-c959dae6f24f"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7163a35a-2460-480e-9e86-67893cb20c3f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="190c3c86-69c7-42be-9b42-c959dae6f24f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Milly Graham"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.json index 35c5fd48..56f386c1 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "4a647369-3566-40cc-a789-842fd390d997", + "id": "a5f8d34d-eb2d-44ef-9497-5f0651c19023", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "20d568c3-c654-4cc5-9eca-bf373b46e5a9", + "id": "513376c5-0a2e-4801-bbbf-8b48a3ef0c22", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/b6ff86fc-0491-43ca-bccd-717b8b1190f1" + "reference": "Medication/7e90da96-58a6-4dc6-a2d7-7ad73f518543" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/ca282dce-3de2-47d4-bd3f-16f98564bde7" + "reference": "Organization/c324e3e6-cbda-4cfd-8baf-db022236ecc2" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "b6ff86fc-0491-43ca-bccd-717b8b1190f1", + "id": "7e90da96-58a6-4dc6-a2d7-7ad73f518543", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "ca282dce-3de2-47d4-bd3f-16f98564bde7", + "id": "c324e3e6-cbda-4cfd-8baf-db022236ecc2", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Candice B. DePlace" + "name": "Pat Pending" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.xml index e5eb0303..a6235705 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="4a647369-3566-40cc-a789-842fd390d997"/> + <id value="a5f8d34d-eb2d-44ef-9497-5f0651c19023"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="20d568c3-c654-4cc5-9eca-bf373b46e5a9"/> + <id value="513376c5-0a2e-4801-bbbf-8b48a3ef0c22"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/b6ff86fc-0491-43ca-bccd-717b8b1190f1"/> + <reference value="Medication/7e90da96-58a6-4dc6-a2d7-7ad73f518543"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/ca282dce-3de2-47d4-bd3f-16f98564bde7"/> + <reference value="Organization/c324e3e6-cbda-4cfd-8baf-db022236ecc2"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="b6ff86fc-0491-43ca-bccd-717b8b1190f1"/> + <id value="7e90da96-58a6-4dc6-a2d7-7ad73f518543"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="ca282dce-3de2-47d4-bd3f-16f98564bde7"/> + <id value="c324e3e6-cbda-4cfd-8baf-db022236ecc2"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Candice B. DePlace"/> + <name value="Pat Pending"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32_70a68a32/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32_70a68a32/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32_70a68a32/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32_70a68a32/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32_70a68a32/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32_70a68a32/output.json new file mode 100644 index 00000000..c27ae618 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32_70a68a32/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "60508ccf-d43a-4d48-8fa4-62da2ff69101", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0ba0c5f6-1b76-4b3b-956d-d6f7a190c65f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "70a68a32-8a1a-405a-9f01-f6da6fc9d8ff_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/bf21c75f-64f0-48cf-af38-3e4f16acbdc4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/69ddd515-d637-4e73-8953-f2c8164916e1" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bf21c75f-64f0-48cf-af38-3e4f16acbdc4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "69ddd515-d637-4e73-8953-f2c8164916e1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bea Lowe" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32_70a68a32/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32_70a68a32/output.xml new file mode 100644 index 00000000..7913aca4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_70a68a32_70a68a32/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="60508ccf-d43a-4d48-8fa4-62da2ff69101"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.752.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0ba0c5f6-1b76-4b3b-956d-d6f7a190c65f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="70a68a32-8a1a-405a-9f01-f6da6fc9d8ff_160.000.226.119.752.19"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bf21c75f-64f0-48cf-af38-3e4f16acbdc4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/69ddd515-d637-4e73-8953-f2c8164916e1"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bf21c75f-64f0-48cf-af38-3e4f16acbdc4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="69ddd515-d637-4e73-8953-f2c8164916e1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bea Lowe"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.json index 3fedb21d..d749e5a7 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c45ed946-53bc-4f7c-9141-bc57bff9ad10", + "id": "52466c9d-9277-472e-9a17-6aef03b63770", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "9e667198-43d4-4312-acc5-64ad0257cb03", + "id": "e26e2a60-5e5b-44d8-b241-578c43a55aad", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/de9f404f-8a2e-4f8a-b0c8-9dd7318c473a" + "reference": "Medication/06c4680f-64f6-4de8-9ff9-c540526e5d3a" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/192fa6cc-914f-41d0-9cfa-599496bb5816" + "reference": "Organization/3fe17d1d-c443-417e-acc3-4084a03b8a65" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "de9f404f-8a2e-4f8a-b0c8-9dd7318c473a", + "id": "06c4680f-64f6-4de8-9ff9-c540526e5d3a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "192fa6cc-914f-41d0-9cfa-599496bb5816", + "id": "3fe17d1d-c443-417e-acc3-4084a03b8a65", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Moe Skeeto" + "name": "Rusty Dorr" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.xml index c2763827..bd294d1b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c45ed946-53bc-4f7c-9141-bc57bff9ad10"/> + <id value="52466c9d-9277-472e-9a17-6aef03b63770"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="9e667198-43d4-4312-acc5-64ad0257cb03"/> + <id value="e26e2a60-5e5b-44d8-b241-578c43a55aad"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/de9f404f-8a2e-4f8a-b0c8-9dd7318c473a"/> + <reference value="Medication/06c4680f-64f6-4de8-9ff9-c540526e5d3a"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/192fa6cc-914f-41d0-9cfa-599496bb5816"/> + <reference value="Organization/3fe17d1d-c443-417e-acc3-4084a03b8a65"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="de9f404f-8a2e-4f8a-b0c8-9dd7318c473a"/> + <id value="06c4680f-64f6-4de8-9ff9-c540526e5d3a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="192fa6cc-914f-41d0-9cfa-599496bb5816"/> + <id value="3fe17d1d-c443-417e-acc3-4084a03b8a65"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Moe Skeeto"/> + <name value="Rusty Dorr"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253_7757f253/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253_7757f253/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253_7757f253/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253_7757f253/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253_7757f253/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253_7757f253/output.json new file mode 100644 index 00000000..5454a4e0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253_7757f253/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "df5191c5-551b-4c87-be03-4f26ad413dc5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1da43ef0-07c5-4a80-a8d7-49616313123f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "7757f253-f86d-4bc3-81a9-c85aef58ead6_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/fe84ab32-861d-4aad-ab4e-f5e31c462826" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/1d976c44-c96a-43d0-9954-652d97e71f1d" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "fe84ab32-861d-4aad-ab4e-f5e31c462826", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1d976c44-c96a-43d0-9954-652d97e71f1d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "M. T. Toombe" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253_7757f253/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253_7757f253/output.xml new file mode 100644 index 00000000..e5365180 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7757f253_7757f253/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="df5191c5-551b-4c87-be03-4f26ad413dc5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.994.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1da43ef0-07c5-4a80-a8d7-49616313123f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="7757f253-f86d-4bc3-81a9-c85aef58ead6_209.000.000.032.994.37"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/fe84ab32-861d-4aad-ab4e-f5e31c462826"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/1d976c44-c96a-43d0-9954-652d97e71f1d"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fe84ab32-861d-4aad-ab4e-f5e31c462826"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="93081505"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1d976c44-c96a-43d0-9954-652d97e71f1d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="M. T. Toombe"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.json deleted file mode 100644 index 2e9ab040..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "7652a03f-63e3-4259-94a0-52a2bb001e3c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "7781cf3b-08cd-4b54-aa9e-05d66206b818", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "fe8a28dd-4a9d-4df7-b8a8-8f0434f8526a_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/049afc79-5545-4851-8314-44a7a8b160a4" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/9dc837ba-c197-4e53-934e-cb2a83748d7d" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "049afc79-5545-4851-8314-44a7a8b160a4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9dc837ba-c197-4e53-934e-cb2a83748d7d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Jo King" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.xml deleted file mode 100644 index aec339bd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="7652a03f-63e3-4259-94a0-52a2bb001e3c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.807.48"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="7781cf3b-08cd-4b54-aa9e-05d66206b818"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="fe8a28dd-4a9d-4df7-b8a8-8f0434f8526a_160.000.226.119.807.48"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/049afc79-5545-4851-8314-44a7a8b160a4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/9dc837ba-c197-4e53-934e-cb2a83748d7d"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="049afc79-5545-4851-8314-44a7a8b160a4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9dc837ba-c197-4e53-934e-cb2a83748d7d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Jo King"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd/output.json new file mode 100644 index 00000000..b6a5efcd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "ea1c6a36-fae4-42a4-ae7c-fd570a3a22a1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f910fef3-1347-40f0-a551-c8ab1d9ab213", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "fe8a28dd-4a9d-4df7-b8a8-8f0434f8526a_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/dddb6dec-cac9-4d6e-a9ad-933b1b9848ed" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/78f24ffd-0341-48db-a99b-0c8fcacda07f" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "dddb6dec-cac9-4d6e-a9ad-933b1b9848ed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "78f24ffd-0341-48db-a99b-0c8fcacda07f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dee Sember" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd/output.xml new file mode 100644 index 00000000..d4f8a7d1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28_fe8a28dd_fe8a28dd/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ea1c6a36-fae4-42a4-ae7c-fd570a3a22a1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.807.48"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f910fef3-1347-40f0-a551-c8ab1d9ab213"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="fe8a28dd-4a9d-4df7-b8a8-8f0434f8526a_160.000.226.119.807.48"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/dddb6dec-cac9-4d6e-a9ad-933b1b9848ed"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/78f24ffd-0341-48db-a99b-0c8fcacda07f"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dddb6dec-cac9-4d6e-a9ad-933b1b9848ed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="78f24ffd-0341-48db-a99b-0c8fcacda07f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dee Sember"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.json deleted file mode 100644 index 611bd58c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e6b2c558-6db6-48bb-9d04-d5c5644e93e5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "207a5faa-5509-4f8e-b9e5-26c4024f013f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "a21e7dbb-db33-4723-b6aa-0d2ea59e7e1a_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/2de0d2c5-946b-4a16-bdaa-5ff9f21ba6fe" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/b4399273-cd0d-48a3-9a64-034d6c20e61e" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "2de0d2c5-946b-4a16-bdaa-5ff9f21ba6fe", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b4399273-cd0d-48a3-9a64-034d6c20e61e", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Shandy Lear" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.xml deleted file mode 100644 index 132933d1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e6b2c558-6db6-48bb-9d04-d5c5644e93e5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.758.98"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="207a5faa-5509-4f8e-b9e5-26c4024f013f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="a21e7dbb-db33-4723-b6aa-0d2ea59e7e1a_160.000.226.119.758.98"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/2de0d2c5-946b-4a16-bdaa-5ff9f21ba6fe"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/b4399273-cd0d-48a3-9a64-034d6c20e61e"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2de0d2c5-946b-4a16-bdaa-5ff9f21ba6fe"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b4399273-cd0d-48a3-9a64-034d6c20e61e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Shandy Lear"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb/output.json new file mode 100644 index 00000000..95df5d90 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "907fb5b6-1780-49a2-85f8-f93f379705b6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b887c761-d921-4174-8a01-de5ae3b58961", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a21e7dbb-db33-4723-b6aa-0d2ea59e7e1a_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/5614f505-2957-4fc5-84d2-af521c03def4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a7f9087f-9a0a-4f02-81b0-d0aab2a39c45" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5614f505-2957-4fc5-84d2-af521c03def4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a7f9087f-9a0a-4f02-81b0-d0aab2a39c45", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Lou Stooth" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb/output.xml new file mode 100644 index 00000000..1bf375a9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb_a21e7dbb_a21e7dbb/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="907fb5b6-1780-49a2-85f8-f93f379705b6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.758.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b887c761-d921-4174-8a01-de5ae3b58961"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a21e7dbb-db33-4723-b6aa-0d2ea59e7e1a_160.000.226.119.758.98"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5614f505-2957-4fc5-84d2-af521c03def4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a7f9087f-9a0a-4f02-81b0-d0aab2a39c45"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5614f505-2957-4fc5-84d2-af521c03def4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a7f9087f-9a0a-4f02-81b0-d0aab2a39c45"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lou Stooth"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.json deleted file mode 100644 index 6c55e769..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "9844bf03-c65d-4e78-a347-1577b5f88c42", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "a8c3b6b1-0ca7-4dd6-8db7-599539ff4d5e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "70a68a32-8a1a-405a-9f01-f6da6fc9d8ff_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/b0f343e3-9846-43cf-befd-42d180be4a63" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/9a2a0ed5-5349-40d8-b3cb-86ed73f5f5be" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "b0f343e3-9846-43cf-befd-42d180be4a63", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9a2a0ed5-5349-40d8-b3cb-86ed73f5f5be", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Elmer Sklue" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.xml deleted file mode 100644 index 141f10a7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9844bf03-c65d-4e78-a347-1577b5f88c42"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.752.19"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a8c3b6b1-0ca7-4dd6-8db7-599539ff4d5e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="70a68a32-8a1a-405a-9f01-f6da6fc9d8ff_160.000.226.119.752.19"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/b0f343e3-9846-43cf-befd-42d180be4a63"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/9a2a0ed5-5349-40d8-b3cb-86ed73f5f5be"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b0f343e3-9846-43cf-befd-42d180be4a63"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9a2a0ed5-5349-40d8-b3cb-86ed73f5f5be"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Elmer Sklue"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32/input.xml new file mode 100644 index 00000000..449f350a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="70a68a32-8a1a-405a-9f01-f6da6fc9d8ff"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="80dcfd04-c4d9-4c31-bc4a-08253d86f10f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.752.19"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#80dcfd04-c4d9-4c31-bc4a-08253d86f10f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32/output.json new file mode 100644 index 00000000..dc85e010 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "e120b024-faf6-4d4f-a9b4-c894a19ee461", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "cb20c24d-55b9-4f62-97fd-0ac5df717d96", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "70a68a32-8a1a-405a-9f01-f6da6fc9d8ff_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/c109cc7e-87a9-48ac-b06b-d6ca0a5b7e87" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/b14f81b0-ee27-4a90-8451-a4a5dfd17756" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "c109cc7e-87a9-48ac-b06b-d6ca0a5b7e87", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b14f81b0-ee27-4a90-8451-a4a5dfd17756", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32/output.xml new file mode 100644 index 00000000..7be809c8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd_70a68a32_70a68a32/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e120b024-faf6-4d4f-a9b4-c894a19ee461"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.752.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="cb20c24d-55b9-4f62-97fd-0ac5df717d96"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="70a68a32-8a1a-405a-9f01-f6da6fc9d8ff_160.000.226.119.752.19"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/c109cc7e-87a9-48ac-b06b-d6ca0a5b7e87"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/b14f81b0-ee27-4a90-8451-a4a5dfd17756"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c109cc7e-87a9-48ac-b06b-d6ca0a5b7e87"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b14f81b0-ee27-4a90-8451-a4a5dfd17756"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Harry Pitts"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.json index d089b241..13233369 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c34a90be-f56b-4368-8033-d72ca59835eb", + "id": "87b2ec00-0a12-4dd2-b459-89f905e89383", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "ccc803f7-2a7d-4fff-b64b-33b542e6db98", + "id": "66bd5317-2041-40d9-979b-8d9d591549f4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/f32d4b7b-a6e3-49b4-b828-53036214ccab" + "reference": "Medication/2f4760cf-359e-42c5-85dd-1e11fda918a5" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/e1505c2e-3fa5-4218-be1d-79115558fa3c" + "reference": "Organization/467b3145-3961-4682-b6bc-c196627f6fd7" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "f32d4b7b-a6e3-49b4-b828-53036214ccab", + "id": "2f4760cf-359e-42c5-85dd-1e11fda918a5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e1505c2e-3fa5-4218-be1d-79115558fa3c", + "id": "467b3145-3961-4682-b6bc-c196627f6fd7", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Nick O'Teen" + "name": "Ty Tass" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.xml index afa15714..47cd261a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c34a90be-f56b-4368-8033-d72ca59835eb"/> + <id value="87b2ec00-0a12-4dd2-b459-89f905e89383"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ccc803f7-2a7d-4fff-b64b-33b542e6db98"/> + <id value="66bd5317-2041-40d9-979b-8d9d591549f4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/f32d4b7b-a6e3-49b4-b828-53036214ccab"/> + <reference value="Medication/2f4760cf-359e-42c5-85dd-1e11fda918a5"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/e1505c2e-3fa5-4218-be1d-79115558fa3c"/> + <reference value="Organization/467b3145-3961-4682-b6bc-c196627f6fd7"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="f32d4b7b-a6e3-49b4-b828-53036214ccab"/> + <id value="2f4760cf-359e-42c5-85dd-1e11fda918a5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e1505c2e-3fa5-4218-be1d-79115558fa3c"/> + <id value="467b3145-3961-4682-b6bc-c196627f6fd7"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Nick O'Teen"/> + <name value="Ty Tass"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373_948d7373/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373_948d7373/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373_948d7373/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373_948d7373/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373_948d7373/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373_948d7373/output.json new file mode 100644 index 00000000..094d1b05 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373_948d7373/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "34b09dbb-8f0a-43b5-9112-149e78248dab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "20ba5a1f-c548-4b9c-b1c4-65b7d1fe2807", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "948d7373-be34-40f7-a1de-a4407bc4ccf3_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/37ed323b-481d-4596-8c11-eb8a80babea1" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/40b075c6-2905-46a9-bc2d-454ebf62529c" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "37ed323b-481d-4596-8c11-eb8a80babea1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "40b075c6-2905-46a9-bc2d-454ebf62529c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Jimmy DeLocke" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373_948d7373/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373_948d7373/output.xml new file mode 100644 index 00000000..e3e8cd73 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_948d7373_948d7373/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="34b09dbb-8f0a-43b5-9112-149e78248dab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.743.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="20ba5a1f-c548-4b9c-b1c4-65b7d1fe2807"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="948d7373-be34-40f7-a1de-a4407bc4ccf3_160.000.226.119.743.46"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/37ed323b-481d-4596-8c11-eb8a80babea1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/40b075c6-2905-46a9-bc2d-454ebf62529c"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="37ed323b-481d-4596-8c11-eb8a80babea1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="40b075c6-2905-46a9-bc2d-454ebf62529c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jimmy DeLocke"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.json index 854b636e..7296ee59 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "b19c78f7-5f39-49d4-abcb-3c6f7c4da96f", + "id": "cde0e454-3ec9-4e6e-ba0d-e933ab78b086", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "5d617862-b920-47bc-969e-f9167cb25cb2", + "id": "0f67788d-ba56-4139-8c58-d0aa9a8839a1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/1d664335-0763-4e07-9fb3-6826e63db349" + "reference": "Medication/59d4c9ea-23fd-436b-82aa-5dab64618917" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/35124683-e255-4df2-a90d-f85a51e9fc62" + "reference": "Organization/4f332b79-c6d3-4ef9-8740-97c233a27d2e" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "1d664335-0763-4e07-9fb3-6826e63db349", + "id": "59d4c9ea-23fd-436b-82aa-5dab64618917", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "35124683-e255-4df2-a90d-f85a51e9fc62", + "id": "4f332b79-c6d3-4ef9-8740-97c233a27d2e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Olive Hoyl" + "name": "Lou Zar" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.xml index f5064212..c602a745 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="b19c78f7-5f39-49d4-abcb-3c6f7c4da96f"/> + <id value="cde0e454-3ec9-4e6e-ba0d-e933ab78b086"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5d617862-b920-47bc-969e-f9167cb25cb2"/> + <id value="0f67788d-ba56-4139-8c58-d0aa9a8839a1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/1d664335-0763-4e07-9fb3-6826e63db349"/> + <reference value="Medication/59d4c9ea-23fd-436b-82aa-5dab64618917"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/35124683-e255-4df2-a90d-f85a51e9fc62"/> + <reference value="Organization/4f332b79-c6d3-4ef9-8740-97c233a27d2e"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="1d664335-0763-4e07-9fb3-6826e63db349"/> + <id value="59d4c9ea-23fd-436b-82aa-5dab64618917"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="35124683-e255-4df2-a90d-f85a51e9fc62"/> + <id value="4f332b79-c6d3-4ef9-8740-97c233a27d2e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Olive Hoyl"/> + <name value="Lou Zar"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49_9e291e49/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49_9e291e49/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49_9e291e49/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49_9e291e49/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49_9e291e49/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49_9e291e49/output.json new file mode 100644 index 00000000..72c9abfb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49_9e291e49/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "a1c721b0-39e9-4e00-bdec-ecf41576e246", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "cef4083c-2e2e-4aaa-96c8-bc5e4389b4ae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "9e291e49-64ce-42ae-8fed-ea765c9b3f9a_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/b62c2b0c-a828-4fac-84b6-7c2c47e5c626" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8fe6d07c-38e2-4bee-91b9-2fe7c9fc5355" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b62c2b0c-a828-4fac-84b6-7c2c47e5c626", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8fe6d07c-38e2-4bee-91b9-2fe7c9fc5355", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ryan Carnation" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49_9e291e49/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49_9e291e49/output.xml new file mode 100644 index 00000000..e4eca5c3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_9e291e49_9e291e49/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a1c721b0-39e9-4e00-bdec-ecf41576e246"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.751.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="cef4083c-2e2e-4aaa-96c8-bc5e4389b4ae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="9e291e49-64ce-42ae-8fed-ea765c9b3f9a_160.000.226.119.751.22"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b62c2b0c-a828-4fac-84b6-7c2c47e5c626"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8fe6d07c-38e2-4bee-91b9-2fe7c9fc5355"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b62c2b0c-a828-4fac-84b6-7c2c47e5c626"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8fe6d07c-38e2-4bee-91b9-2fe7c9fc5355"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ryan Carnation"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.json index f0c123f1..e4c0d42a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "f0e60857-1d87-4d7e-9251-3054855b7b57", + "id": "9d7d77fd-3816-46e9-bbd2-7d5863c84d39", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "e93e0bdd-a9bd-467e-9602-9718ecef3123", + "id": "bfce6e3f-f0a4-4467-b32c-46d0ab35c411", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/051869c8-c987-413f-9355-01d06b0b2d91" + "reference": "Medication/eca8ae61-5f55-4f45-843f-f7c30d852ff9" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/45d68336-9c78-42fc-8cc4-d595e21e075a" + "reference": "Organization/df6f8ab7-8302-4513-9537-491ec6bce0b3" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "051869c8-c987-413f-9355-01d06b0b2d91", + "id": "eca8ae61-5f55-4f45-843f-f7c30d852ff9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "45d68336-9c78-42fc-8cc4-d595e21e075a", + "id": "df6f8ab7-8302-4513-9537-491ec6bce0b3", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Cal Efornia" + "name": "Owen Moore" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.xml index df46b548..b158a50c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="f0e60857-1d87-4d7e-9251-3054855b7b57"/> + <id value="9d7d77fd-3816-46e9-bbd2-7d5863c84d39"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="e93e0bdd-a9bd-467e-9602-9718ecef3123"/> + <id value="bfce6e3f-f0a4-4467-b32c-46d0ab35c411"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/051869c8-c987-413f-9355-01d06b0b2d91"/> + <reference value="Medication/eca8ae61-5f55-4f45-843f-f7c30d852ff9"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/45d68336-9c78-42fc-8cc4-d595e21e075a"/> + <reference value="Organization/df6f8ab7-8302-4513-9537-491ec6bce0b3"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="051869c8-c987-413f-9355-01d06b0b2d91"/> + <id value="eca8ae61-5f55-4f45-843f-f7c30d852ff9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="45d68336-9c78-42fc-8cc4-d595e21e075a"/> + <id value="df6f8ab7-8302-4513-9537-491ec6bce0b3"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Cal Efornia"/> + <name value="Owen Moore"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb/input.xml new file mode 100644 index 00000000..d6ba8009 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a21e7dbb-db33-4723-b6aa-0d2ea59e7e1a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="31854a03-ec93-4ff2-ad12-b2e7fab74099"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.758.98"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#31854a03-ec93-4ff2-ad12-b2e7fab74099"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb/output.json new file mode 100644 index 00000000..2cc997ee --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "75ef7119-3461-49c0-a6cc-ad02093996b7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "935b8c3f-ed09-4e0d-86a9-fe15fc977508", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a21e7dbb-db33-4723-b6aa-0d2ea59e7e1a_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/dd1a1649-0a87-4ea0-b3cc-d1e30d40619f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f73c6b85-d2d5-4798-86ba-996e2e4e720f" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "dd1a1649-0a87-4ea0-b3cc-d1e30d40619f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f73c6b85-d2d5-4798-86ba-996e2e4e720f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Nick O'Teen" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb/output.xml new file mode 100644 index 00000000..07229033 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a21e7dbb_a21e7dbb/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="75ef7119-3461-49c0-a6cc-ad02093996b7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.758.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="935b8c3f-ed09-4e0d-86a9-fe15fc977508"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a21e7dbb-db33-4723-b6aa-0d2ea59e7e1a_160.000.226.119.758.98"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/dd1a1649-0a87-4ea0-b3cc-d1e30d40619f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f73c6b85-d2d5-4798-86ba-996e2e4e720f"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dd1a1649-0a87-4ea0-b3cc-d1e30d40619f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f73c6b85-d2d5-4798-86ba-996e2e4e720f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Nick O'Teen"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.json deleted file mode 100644 index 7c5126a1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "71f58b6c-9a66-49df-ba46-b67d765f1b57", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "49fb79cc-cd04-4955-a72a-c92a0f095fb4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "0474ec05-ba5a-4e15-91d2-4e28a0729785_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/4a294487-072d-4b1f-8891-d6a863f449c7" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/ab5926ea-119d-403f-8c4c-9e3be5ef92d8" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "4a294487-072d-4b1f-8891-d6a863f449c7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ab5926ea-119d-403f-8c4c-9e3be5ef92d8", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Mel Practiss" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.xml deleted file mode 100644 index 677a1627..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="71f58b6c-9a66-49df-ba46-b67d765f1b57"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.769.65"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="49fb79cc-cd04-4955-a72a-c92a0f095fb4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="0474ec05-ba5a-4e15-91d2-4e28a0729785_160.000.226.119.769.65"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/4a294487-072d-4b1f-8891-d6a863f449c7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/ab5926ea-119d-403f-8c4c-9e3be5ef92d8"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4a294487-072d-4b1f-8891-d6a863f449c7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ab5926ea-119d-403f-8c4c-9e3be5ef92d8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Mel Practiss"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05/input.xml new file mode 100644 index 00000000..8e97c969 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0474ec05-ba5a-4e15-91d2-4e28a0729785"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0df78f1b-8930-4f2f-8c92-3a8659f694ff"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.769.65"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#0df78f1b-8930-4f2f-8c92-3a8659f694ff"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05/output.json new file mode 100644 index 00000000..701c4a99 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "2051ed75-f1c9-4248-a03f-207c78389550", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c8e3ed5d-d2f4-49eb-b592-922698ac11ce", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "0474ec05-ba5a-4e15-91d2-4e28a0729785_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/e0ac498d-13c2-480b-9128-71ac08186faf" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e5339dc3-b53f-4144-bd9b-97fbd0e1bacb" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e0ac498d-13c2-480b-9128-71ac08186faf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e5339dc3-b53f-4144-bd9b-97fbd0e1bacb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Hammond Eggs" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05/output.xml new file mode 100644 index 00000000..e98ab6a8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089_0474ec05_0474ec05/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2051ed75-f1c9-4248-a03f-207c78389550"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.769.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c8e3ed5d-d2f4-49eb-b592-922698ac11ce"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="0474ec05-ba5a-4e15-91d2-4e28a0729785_160.000.226.119.769.65"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e0ac498d-13c2-480b-9128-71ac08186faf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e5339dc3-b53f-4144-bd9b-97fbd0e1bacb"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e0ac498d-13c2-480b-9128-71ac08186faf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e5339dc3-b53f-4144-bd9b-97fbd0e1bacb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hammond Eggs"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.json index f6b86e1f..83187f66 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "1cc9b6fd-4778-48ff-86fb-eb887953080c", + "id": "44a6a500-89e4-433c-9ac3-14a54b7f9f8b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "35a5b17a-37d7-49c8-be11-d87bcfbcb574", + "id": "7349f017-5c9e-40f7-98de-3f472ba9c7f3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/82e08c45-902b-4616-a686-97e7bb310d44" + "reference": "Medication/3a8379aa-2b06-4291-93dd-19781d0bbae9" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/2a66b880-05da-40d9-89f0-2c9e86066371" + "reference": "Organization/9217428b-3629-4169-8df0-51db2b843568" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "82e08c45-902b-4616-a686-97e7bb310d44", + "id": "3a8379aa-2b06-4291-93dd-19781d0bbae9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "2a66b880-05da-40d9-89f0-2c9e86066371", + "id": "9217428b-3629-4169-8df0-51db2b843568", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Ilene South" + "name": "Dusty Rhodes" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.xml index 1fcd8016..cba7294b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="1cc9b6fd-4778-48ff-86fb-eb887953080c"/> + <id value="44a6a500-89e4-433c-9ac3-14a54b7f9f8b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="35a5b17a-37d7-49c8-be11-d87bcfbcb574"/> + <id value="7349f017-5c9e-40f7-98de-3f472ba9c7f3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/82e08c45-902b-4616-a686-97e7bb310d44"/> + <reference value="Medication/3a8379aa-2b06-4291-93dd-19781d0bbae9"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/2a66b880-05da-40d9-89f0-2c9e86066371"/> + <reference value="Organization/9217428b-3629-4169-8df0-51db2b843568"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="82e08c45-902b-4616-a686-97e7bb310d44"/> + <id value="3a8379aa-2b06-4291-93dd-19781d0bbae9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="2a66b880-05da-40d9-89f0-2c9e86066371"/> + <id value="9217428b-3629-4169-8df0-51db2b843568"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Ilene South"/> + <name value="Dusty Rhodes"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7/input.xml new file mode 100644 index 00000000..fb97c062 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c8f501a7-fd86-4026-b888-9ef7e77e28af"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="44a2f90f-39d2-407b-9ff6-d85f733885de"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27318836"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.999.22"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#44a2f90f-39d2-407b-9ff6-d85f733885de"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7/output.json new file mode 100644 index 00000000..e92a1e0d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "f9fb0d80-caff-4390-aada-33b0dcfe21a9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "51907177-24a2-43e8-9426-71f0b2f10600", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c8f501a7-fd86-4026-b888-9ef7e77e28af_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/e39ed60e-9158-4fae-9f77-335ab0da6600" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/63472634-fa49-4ae6-b297-5fc6267074bb" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e39ed60e-9158-4fae-9f77-335ab0da6600", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "63472634-fa49-4ae6-b297-5fc6267074bb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Thor Luther" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7/output.xml new file mode 100644 index 00000000..eecacb6b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c8f501a7_c8f501a7/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f9fb0d80-caff-4390-aada-33b0dcfe21a9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.999.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="51907177-24a2-43e8-9426-71f0b2f10600"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c8f501a7-fd86-4026-b888-9ef7e77e28af_209.000.000.032.999.22"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e39ed60e-9158-4fae-9f77-335ab0da6600"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/63472634-fa49-4ae6-b297-5fc6267074bb"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e39ed60e-9158-4fae-9f77-335ab0da6600"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27318836"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="63472634-fa49-4ae6-b297-5fc6267074bb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Thor Luther"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.json index 120a38a1..6ccc084a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "3a440dac-7d10-4f2a-86ff-3e77762da664", + "id": "0a2f55d3-acd5-4bc5-9789-047032629729", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "2987556b-f28a-4db4-9c52-ecfc77d20bd3", + "id": "ef9b3669-63c9-4b84-ac95-bdbb83a5c60c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/cc0e19f1-c892-4997-8a4a-12ca35244477" + "reference": "Medication/b043c23f-dade-4b4b-b4ca-dc663d517117" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/083f5d21-f3ac-4891-8eb9-a15c13f49360" + "reference": "Organization/f9858355-bd32-4fb9-b9d0-bfa6a7005aa2" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "cc0e19f1-c892-4997-8a4a-12ca35244477", + "id": "b043c23f-dade-4b4b-b4ca-dc663d517117", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "083f5d21-f3ac-4891-8eb9-a15c13f49360", + "id": "f9858355-bd32-4fb9-b9d0-bfa6a7005aa2", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Barry D. Hatchett" + "name": "Bud Weiser" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.xml index b1a630ba..5881f777 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="3a440dac-7d10-4f2a-86ff-3e77762da664"/> + <id value="0a2f55d3-acd5-4bc5-9789-047032629729"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="2987556b-f28a-4db4-9c52-ecfc77d20bd3"/> + <id value="ef9b3669-63c9-4b84-ac95-bdbb83a5c60c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/cc0e19f1-c892-4997-8a4a-12ca35244477"/> + <reference value="Medication/b043c23f-dade-4b4b-b4ca-dc663d517117"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/083f5d21-f3ac-4891-8eb9-a15c13f49360"/> + <reference value="Organization/f9858355-bd32-4fb9-b9d0-bfa6a7005aa2"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="cc0e19f1-c892-4997-8a4a-12ca35244477"/> + <id value="b043c23f-dade-4b4b-b4ca-dc663d517117"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="083f5d21-f3ac-4891-8eb9-a15c13f49360"/> + <id value="f9858355-bd32-4fb9-b9d0-bfa6a7005aa2"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Barry D. Hatchett"/> + <name value="Bud Weiser"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b/input.xml new file mode 100644 index 00000000..67cfb7bf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c9011d4b-4d85-47b4-b89b-cef22a0d647a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6f068ff5-f3e7-470f-9899-91f804ce3944"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="42938335"/> + </coding> + <text value="Fexvomilzol"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.784.20"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#6f068ff5-f3e7-470f-9899-91f804ce3944"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b/output.json new file mode 100644 index 00000000..419ca422 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "a13664a4-d1fe-43e4-b338-57295db9683b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "92a21482-ddb7-4a70-8fcc-24b0cd97e716", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c9011d4b-4d85-47b4-b89b-cef22a0d647a_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/6f48a755-3291-4297-874a-b25007ae1d09" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/bb23c953-4c85-41ee-a86a-1609491a39e3" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "6f48a755-3291-4297-874a-b25007ae1d09", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bb23c953-4c85-41ee-a86a-1609491a39e3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Winsom Cash" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b/output.xml new file mode 100644 index 00000000..c4e99395 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_c9011d4b_c9011d4b/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a13664a4-d1fe-43e4-b338-57295db9683b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.784.20"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="92a21482-ddb7-4a70-8fcc-24b0cd97e716"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c9011d4b-4d85-47b4-b89b-cef22a0d647a_160.000.226.119.784.20"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/6f48a755-3291-4297-874a-b25007ae1d09"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/bb23c953-4c85-41ee-a86a-1609491a39e3"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6f48a755-3291-4297-874a-b25007ae1d09"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="42938335"/> + </coding> + <text value="Fexvomilzol"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bb23c953-4c85-41ee-a86a-1609491a39e3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Winsom Cash"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.json index c2c5be81..bbece997 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "d4c91b89-922d-48aa-9bc0-3ad95ed22bad", + "id": "ac99aaeb-9e5c-45db-81dc-f75288aaca7a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "8fc97b7d-b718-46a0-a3dc-f7608a652168", + "id": "1d4eb71b-1248-47f2-a94b-15e8ac320aa1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/2ff3663a-3d2c-4202-acd9-b94459d6865c" + "reference": "Medication/30b97237-c4c9-4ae4-b2ac-7e1ff293dbd0" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/1d0e17bf-27bc-40fa-a9f0-d9d08ab8ce39" + "reference": "Organization/55593d19-1c01-443a-bd5e-8fc64f0a7fd2" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "2ff3663a-3d2c-4202-acd9-b94459d6865c", + "id": "30b97237-c4c9-4ae4-b2ac-7e1ff293dbd0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "1d0e17bf-27bc-40fa-a9f0-d9d08ab8ce39", + "id": "55593d19-1c01-443a-bd5e-8fc64f0a7fd2", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Brook Lynn Bridge" + "name": "M. T. Toombe" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.xml index 9d95fd60..ab1f68bd 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="d4c91b89-922d-48aa-9bc0-3ad95ed22bad"/> + <id value="ac99aaeb-9e5c-45db-81dc-f75288aaca7a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="8fc97b7d-b718-46a0-a3dc-f7608a652168"/> + <id value="1d4eb71b-1248-47f2-a94b-15e8ac320aa1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/2ff3663a-3d2c-4202-acd9-b94459d6865c"/> + <reference value="Medication/30b97237-c4c9-4ae4-b2ac-7e1ff293dbd0"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/1d0e17bf-27bc-40fa-a9f0-d9d08ab8ce39"/> + <reference value="Organization/55593d19-1c01-443a-bd5e-8fc64f0a7fd2"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="2ff3663a-3d2c-4202-acd9-b94459d6865c"/> + <id value="30b97237-c4c9-4ae4-b2ac-7e1ff293dbd0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="1d0e17bf-27bc-40fa-a9f0-d9d08ab8ce39"/> + <id value="55593d19-1c01-443a-bd5e-8fc64f0a7fd2"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Brook Lynn Bridge"/> + <name value="M. T. Toombe"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379/input.xml new file mode 100644 index 00000000..94007fff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="cb5b4379-3542-4ab4-96cb-1f557a8a25d8"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="59321cad-29d5-4873-9f7e-d4e9460578fa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.764.80"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#59321cad-29d5-4873-9f7e-d4e9460578fa"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379/output.json new file mode 100644 index 00000000..05867ae0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "fa625340-96d7-42b1-8b8b-9a54eea53776", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "3395929b-55a3-481c-b700-8d92ad587df9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "cb5b4379-3542-4ab4-96cb-1f557a8a25d8_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/10e5e9ad-7b63-4b35-ade5-93dc2821eebd" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/2abb18dc-2458-458b-b4d5-44b5b99bc58b" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "10e5e9ad-7b63-4b35-ade5-93dc2821eebd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2abb18dc-2458-458b-b4d5-44b5b99bc58b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Igor Beaver" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379/output.xml new file mode 100644 index 00000000..f6013d6d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_cb5b4379_cb5b4379/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fa625340-96d7-42b1-8b8b-9a54eea53776"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.764.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="3395929b-55a3-481c-b700-8d92ad587df9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="cb5b4379-3542-4ab4-96cb-1f557a8a25d8_160.000.226.119.764.80"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/10e5e9ad-7b63-4b35-ade5-93dc2821eebd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/2abb18dc-2458-458b-b4d5-44b5b99bc58b"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="10e5e9ad-7b63-4b35-ade5-93dc2821eebd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2abb18dc-2458-458b-b4d5-44b5b99bc58b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Igor Beaver"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.json deleted file mode 100644 index ba07a2e0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "dbfecf25-44ef-49bc-a290-14de135bf30e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "5759adbc-b57a-47d8-ac4f-65de6169a52e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "948d7373-be34-40f7-a1de-a4407bc4ccf3_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/17d5979c-da8d-4805-8432-4edf0870e34e" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/a80d5834-24ef-4676-84ef-65cc06fe4ea9" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "17d5979c-da8d-4805-8432-4edf0870e34e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a80d5834-24ef-4676-84ef-65cc06fe4ea9", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Harmon Ikka" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.xml deleted file mode 100644 index ca3dea04..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="dbfecf25-44ef-49bc-a290-14de135bf30e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.743.46"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5759adbc-b57a-47d8-ac4f-65de6169a52e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="948d7373-be34-40f7-a1de-a4407bc4ccf3_160.000.226.119.743.46"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/17d5979c-da8d-4805-8432-4edf0870e34e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/a80d5834-24ef-4676-84ef-65cc06fe4ea9"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="17d5979c-da8d-4805-8432-4edf0870e34e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a80d5834-24ef-4676-84ef-65cc06fe4ea9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Harmon Ikka"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373/input.xml new file mode 100644 index 00000000..5e60cdc0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="948d7373-be34-40f7-a1de-a4407bc4ccf3"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="98670442-3d6e-4199-a1a7-45011daa2d53"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.743.46"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#98670442-3d6e-4199-a1a7-45011daa2d53"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373/output.json new file mode 100644 index 00000000..cf9b93bf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "35c473b0-c535-4247-ae07-4bc8929653ae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "50825c08-faf7-435d-ab91-3f0f098b3616", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "948d7373-be34-40f7-a1de-a4407bc4ccf3_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/8f1e3342-2ad4-44f7-92dc-fd24a4810e13" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ea5f874d-9144-4948-8aeb-d703ef739572" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "8f1e3342-2ad4-44f7-92dc-fd24a4810e13", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ea5f874d-9144-4948-8aeb-d703ef739572", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Lisa Ford" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373/output.xml new file mode 100644 index 00000000..6014ca41 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b_948d7373_948d7373/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="35c473b0-c535-4247-ae07-4bc8929653ae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.743.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="50825c08-faf7-435d-ab91-3f0f098b3616"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="948d7373-be34-40f7-a1de-a4407bc4ccf3_160.000.226.119.743.46"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/8f1e3342-2ad4-44f7-92dc-fd24a4810e13"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ea5f874d-9144-4948-8aeb-d703ef739572"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8f1e3342-2ad4-44f7-92dc-fd24a4810e13"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ea5f874d-9144-4948-8aeb-d703ef739572"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lisa Ford"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.json deleted file mode 100644 index 211dbe25..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "7f1b504f-748e-47a9-8814-7acccbd2bf52", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "6424cbd8-166e-4cf2-9f2e-ab5f81f48ced", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "7757f253-f86d-4bc3-81a9-c85aef58ead6_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/920cfc72-86ca-42f2-b94c-b2f6a199e2fc" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/01af8bf2-7f20-44a3-8af3-f9ab1fecf72c" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "920cfc72-86ca-42f2-b94c-b2f6a199e2fc", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "01af8bf2-7f20-44a3-8af3-f9ab1fecf72c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Billy Rubin" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.xml deleted file mode 100644 index eb0fd9c5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="7f1b504f-748e-47a9-8814-7acccbd2bf52"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.994.37"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="6424cbd8-166e-4cf2-9f2e-ab5f81f48ced"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="7757f253-f86d-4bc3-81a9-c85aef58ead6_209.000.000.032.994.37"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/920cfc72-86ca-42f2-b94c-b2f6a199e2fc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/01af8bf2-7f20-44a3-8af3-f9ab1fecf72c"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="920cfc72-86ca-42f2-b94c-b2f6a199e2fc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="93081505"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="01af8bf2-7f20-44a3-8af3-f9ab1fecf72c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Billy Rubin"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253/input.xml new file mode 100644 index 00000000..1ce4c23c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7757f253-f86d-4bc3-81a9-c85aef58ead6"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86ea5ae2-bb11-4e5d-827e-f2ca5dcb291b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="93081505"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.994.37"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#86ea5ae2-bb11-4e5d-827e-f2ca5dcb291b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253/output.json new file mode 100644 index 00000000..f7efe0b3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "262cad20-303e-4a4c-b979-f5c8984b5c34", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f38d42ed-3175-4aa1-b1c8-9f2b84a8d8e9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "7757f253-f86d-4bc3-81a9-c85aef58ead6_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/cb8ad7ca-2eff-44f7-8f5f-e7b9933d2702" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/2dc0990a-be6d-4400-aa4e-1b0f940618e4" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "cb8ad7ca-2eff-44f7-8f5f-e7b9933d2702", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2dc0990a-be6d-4400-aa4e-1b0f940618e4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "E. Ville" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253/output.xml new file mode 100644 index 00000000..f030e9ad --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee_7757f253_7757f253/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="262cad20-303e-4a4c-b979-f5c8984b5c34"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.994.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f38d42ed-3175-4aa1-b1c8-9f2b84a8d8e9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="7757f253-f86d-4bc3-81a9-c85aef58ead6_209.000.000.032.994.37"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/cb8ad7ca-2eff-44f7-8f5f-e7b9933d2702"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/2dc0990a-be6d-4400-aa4e-1b0f940618e4"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cb8ad7ca-2eff-44f7-8f5f-e7b9933d2702"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="93081505"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2dc0990a-be6d-4400-aa4e-1b0f940618e4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="E. Ville"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.json index 890ef52c..38481d42 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "1652ca8e-295a-46da-87ec-3e4cf43a20ca", + "id": "6479498e-fd4e-43ca-8418-ec4fc29cdb3f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "38dbeb74-6579-4e82-a2dd-274176742ded", + "id": "b858e6da-4c73-421d-acd4-c4ed9c84b530", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/eb4cd47b-887b-4be2-a06d-2dd100500fe1" + "reference": "Medication/ea3a5b9a-130d-42bb-9759-fbd9ed66f321" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/c8d9f007-feb4-49fe-9568-64a573f84159" + "reference": "Organization/4637f947-913c-4dce-a453-fbdc05f92fe4" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "eb4cd47b-887b-4be2-a06d-2dd100500fe1", + "id": "ea3a5b9a-130d-42bb-9759-fbd9ed66f321", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "c8d9f007-feb4-49fe-9568-64a573f84159", + "id": "4637f947-913c-4dce-a453-fbdc05f92fe4", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Cal Efornia" + "name": "Adam Baum" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.xml index 369202bc..384045cb 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="1652ca8e-295a-46da-87ec-3e4cf43a20ca"/> + <id value="6479498e-fd4e-43ca-8418-ec4fc29cdb3f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="38dbeb74-6579-4e82-a2dd-274176742ded"/> + <id value="b858e6da-4c73-421d-acd4-c4ed9c84b530"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/eb4cd47b-887b-4be2-a06d-2dd100500fe1"/> + <reference value="Medication/ea3a5b9a-130d-42bb-9759-fbd9ed66f321"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/c8d9f007-feb4-49fe-9568-64a573f84159"/> + <reference value="Organization/4637f947-913c-4dce-a453-fbdc05f92fe4"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="eb4cd47b-887b-4be2-a06d-2dd100500fe1"/> + <id value="ea3a5b9a-130d-42bb-9759-fbd9ed66f321"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="c8d9f007-feb4-49fe-9568-64a573f84159"/> + <id value="4637f947-913c-4dce-a453-fbdc05f92fe4"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Cal Efornia"/> + <name value="Adam Baum"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f/input.xml new file mode 100644 index 00000000..ec300962 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ddedee4f-897f-463b-a31a-363336c4d2ae"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8b58a971-50ea-412e-b5d0-5fc7a314e626"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.753.16"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#8b58a971-50ea-412e-b5d0-5fc7a314e626"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f/output.json new file mode 100644 index 00000000..6b74cf45 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "b40109af-2fff-4973-bd90-8916d62eeee7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e9667f8d-0568-4216-b1d9-570f7a6f4c3a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ddedee4f-897f-463b-a31a-363336c4d2ae_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/44aeb184-3989-4004-8d7f-ac4029aa1740" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/75e3ea89-fc59-4815-b880-22a92aaa0bbf" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "44aeb184-3989-4004-8d7f-ac4029aa1740", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "75e3ea89-fc59-4815-b880-22a92aaa0bbf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bill Foldes" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f/output.xml new file mode 100644 index 00000000..98e1bc3a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_ddedee4f_ddedee4f/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b40109af-2fff-4973-bd90-8916d62eeee7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.753.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e9667f8d-0568-4216-b1d9-570f7a6f4c3a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ddedee4f-897f-463b-a31a-363336c4d2ae_160.000.226.119.753.16"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/44aeb184-3989-4004-8d7f-ac4029aa1740"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/75e3ea89-fc59-4815-b880-22a92aaa0bbf"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="44aeb184-3989-4004-8d7f-ac4029aa1740"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="75e3ea89-fc59-4815-b880-22a92aaa0bbf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bill Foldes"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.json index 8ee497a7..b1f0a216 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "15a61648-383f-4448-8d6f-21794345dcf7", + "id": "aa3c08a3-3118-4270-bc01-baef39e21dd8", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "cfc3e24b-2c8d-48a6-a828-513db24ecdad", + "id": "ea5113ec-1b45-4c54-bdf4-47f496e5d1e9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/5e00036e-ced7-4c19-ab61-966e4bac2f20" + "reference": "Medication/8c974e2f-473b-4e9d-9fbd-08d47a9fd76d" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/37be50b5-9a29-4f55-b840-6e087e23c9ab" + "reference": "Organization/4db09685-b8b6-400d-8fb4-f7bb83d2c0ce" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5e00036e-ced7-4c19-ab61-966e4bac2f20", + "id": "8c974e2f-473b-4e9d-9fbd-08d47a9fd76d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "37be50b5-9a29-4f55-b840-6e087e23c9ab", + "id": "4db09685-b8b6-400d-8fb4-f7bb83d2c0ce", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Candy Barr" + "name": "Rex Easley" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.xml index f93e23c7..298453a9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="15a61648-383f-4448-8d6f-21794345dcf7"/> + <id value="aa3c08a3-3118-4270-bc01-baef39e21dd8"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="cfc3e24b-2c8d-48a6-a828-513db24ecdad"/> + <id value="ea5113ec-1b45-4c54-bdf4-47f496e5d1e9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/5e00036e-ced7-4c19-ab61-966e4bac2f20"/> + <reference value="Medication/8c974e2f-473b-4e9d-9fbd-08d47a9fd76d"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/37be50b5-9a29-4f55-b840-6e087e23c9ab"/> + <reference value="Organization/4db09685-b8b6-400d-8fb4-f7bb83d2c0ce"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5e00036e-ced7-4c19-ab61-966e4bac2f20"/> + <id value="8c974e2f-473b-4e9d-9fbd-08d47a9fd76d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="37be50b5-9a29-4f55-b840-6e087e23c9ab"/> + <id value="4db09685-b8b6-400d-8fb4-f7bb83d2c0ce"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Candy Barr"/> + <name value="Rex Easley"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de/input.xml new file mode 100644 index 00000000..f84cee95 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="de72e8de-ad97-4453-be83-0f83ef948b89"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9adfbfc4-7b3c-49d1-9f6e-34f02761782e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="14659553"/> + </coding> + <text value="Abaamisure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.695.62"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#9adfbfc4-7b3c-49d1-9f6e-34f02761782e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110499478"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de/output.json new file mode 100644 index 00000000..a2ba5992 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "e30ea221-a61b-44ec-aca2-21e01f2ac668", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "da165d5e-7f4d-4d25-9245-5336dc6dddf6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "de72e8de-ad97-4453-be83-0f83ef948b89_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/bf907fa0-cc7a-4453-ab5c-0321189856e5" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110499478" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5563dcc0-41a5-4037-ab9a-cea883e8fc21" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bf907fa0-cc7a-4453-ab5c-0321189856e5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "5563dcc0-41a5-4037-ab9a-cea883e8fc21", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ilene Wright" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de/output.xml new file mode 100644 index 00000000..41cc046f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_de72e8de_de72e8de/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e30ea221-a61b-44ec-aca2-21e01f2ac668"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.695.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="da165d5e-7f4d-4d25-9245-5336dc6dddf6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="de72e8de-ad97-4453-be83-0f83ef948b89_169.000.011.203.695.62"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bf907fa0-cc7a-4453-ab5c-0321189856e5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110499478"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5563dcc0-41a5-4037-ab9a-cea883e8fc21"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bf907fa0-cc7a-4453-ab5c-0321189856e5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="14659553"/> + </coding> + <text value="Abaamisure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5563dcc0-41a5-4037-ab9a-cea883e8fc21"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ilene Wright"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.json deleted file mode 100644 index 0adf8e8a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e2db0e2a-9600-45fa-bd94-491e0818e2e4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "7cc8f46f-03ef-4ac2-a7b5-947ef7af9567", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "15850937-431a-4ddd-a704-f3dc368e8043_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/6335f2cd-f406-4d6b-bac9-89d6811bb923" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/776b0895-3c01-44ea-aa92-4ae5e7d4f315" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "6335f2cd-f406-4d6b-bac9-89d6811bb923", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "776b0895-3c01-44ea-aa92-4ae5e7d4f315", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "April Schauer" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.xml deleted file mode 100644 index 40cf5260..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e2db0e2a-9600-45fa-bd94-491e0818e2e4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.766.74"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="7cc8f46f-03ef-4ac2-a7b5-947ef7af9567"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="15850937-431a-4ddd-a704-f3dc368e8043_160.000.226.119.766.74"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/6335f2cd-f406-4d6b-bac9-89d6811bb923"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/776b0895-3c01-44ea-aa92-4ae5e7d4f315"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6335f2cd-f406-4d6b-bac9-89d6811bb923"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="776b0895-3c01-44ea-aa92-4ae5e7d4f315"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="April Schauer"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937_15850937/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937_15850937/input.xml new file mode 100644 index 00000000..2edf3102 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937_15850937/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="15850937-431a-4ddd-a704-f3dc368e8043"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5390eeb6-cf71-4d6d-bf2a-179bdd86773b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5390eeb6-cf71-4d6d-bf2a-179bdd86773b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937_15850937/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937_15850937/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937_15850937/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937_15850937/output.json new file mode 100644 index 00000000..4a4e94f0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937_15850937/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "0b2c7b9a-cc8f-47be-8db1-35eda4ca59de", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "40817e1d-fb90-473c-96f8-84e7a2e37145", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "15850937-431a-4ddd-a704-f3dc368e8043_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/3573eff5-a17f-410b-a6cc-29fb3874b1e0" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3767954f-5c3c-4772-aaf5-2e60e5a361ed" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3573eff5-a17f-410b-a6cc-29fb3874b1e0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3767954f-5c3c-4772-aaf5-2e60e5a361ed", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/008_Request_MedicationDispense_e3418508_15850937_15850937/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937_15850937/output.xml new file mode 100644 index 00000000..e4427eae --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508_15850937_15850937/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0b2c7b9a-cc8f-47be-8db1-35eda4ca59de"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="40817e1d-fb90-473c-96f8-84e7a2e37145"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="15850937-431a-4ddd-a704-f3dc368e8043_160.000.226.119.766.74"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3573eff5-a17f-410b-a6cc-29fb3874b1e0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3767954f-5c3c-4772-aaf5-2e60e5a361ed"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3573eff5-a17f-410b-a6cc-29fb3874b1e0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3767954f-5c3c-4772-aaf5-2e60e5a361ed"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Harry Pitts"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.json deleted file mode 100644 index db38d516..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "36cba343-0c40-424c-b8b4-88c8997ef9f5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "b389d386-482a-4de6-9f43-d9ae70f5fa0e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "2f0c013c-9dc0-4980-bb8d-3409a7209212_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/ea613e40-0e54-4b76-af4c-016e9629e58e" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/8d106b2a-c9bc-4e25-a1f4-fdf8a7bcfc1a" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "ea613e40-0e54-4b76-af4c-016e9629e58e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8d106b2a-c9bc-4e25-a1f4-fdf8a7bcfc1a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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 Katt" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.xml deleted file mode 100644 index f5693a41..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="36cba343-0c40-424c-b8b4-88c8997ef9f5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.757.04"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b389d386-482a-4de6-9f43-d9ae70f5fa0e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="2f0c013c-9dc0-4980-bb8d-3409a7209212_160.000.226.119.757.04"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/ea613e40-0e54-4b76-af4c-016e9629e58e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8d106b2a-c9bc-4e25-a1f4-fdf8a7bcfc1a"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ea613e40-0e54-4b76-af4c-016e9629e58e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8d106b2a-c9bc-4e25-a1f4-fdf8a7bcfc1a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Tom Katt"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c/input.xml new file mode 100644 index 00000000..44b64ccc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2f0c013c-9dc0-4980-bb8d-3409a7209212"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="61fbee44-f40d-4d40-a5a1-d7f50ef7bade"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.757.04"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#61fbee44-f40d-4d40-a5a1-d7f50ef7bade"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c/output.json new file mode 100644 index 00000000..f09fcc18 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "f72957d1-6215-49b1-8e61-676a6ee1d7db", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8baeb631-c946-492f-b425-6766724b70d3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "2f0c013c-9dc0-4980-bb8d-3409a7209212_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/a49efe3e-1f6f-4ced-aaca-f8b36c0a3310" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d6b36287-51b0-4f55-b532-8218f9957db2" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a49efe3e-1f6f-4ced-aaca-f8b36c0a3310", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d6b36287-51b0-4f55-b532-8218f9957db2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ty Knotts" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c/output.xml new file mode 100644 index 00000000..6c26dc3a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7_2f0c013c_2f0c013c/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f72957d1-6215-49b1-8e61-676a6ee1d7db"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.757.04"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8baeb631-c946-492f-b425-6766724b70d3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="2f0c013c-9dc0-4980-bb8d-3409a7209212_160.000.226.119.757.04"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a49efe3e-1f6f-4ced-aaca-f8b36c0a3310"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d6b36287-51b0-4f55-b532-8218f9957db2"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a49efe3e-1f6f-4ced-aaca-f8b36c0a3310"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d6b36287-51b0-4f55-b532-8218f9957db2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ty Knotts"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.json index 8f25e2b5..58082cf9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "d6eeb18c-4446-40cf-9643-f94707bc30f3", + "id": "89054e45-7011-462b-b3ec-5d14c1a9f043", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "ed8bfbf2-a26b-413b-864d-7aee4ab7b6d6", + "id": "175545b2-9019-447f-bae3-1b7fbcc4bcb5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/d1f231e4-0ed0-41fe-a7ad-95abdae7e346" + "reference": "Medication/24d62192-2b00-482c-a20c-c06d7e4fd07c" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/824dda3a-97f0-46db-bba8-da4af9d7c984" + "reference": "Organization/7d658158-a754-4727-a412-9aa821bde47e" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "d1f231e4-0ed0-41fe-a7ad-95abdae7e346", + "id": "24d62192-2b00-482c-a20c-c06d7e4fd07c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "824dda3a-97f0-46db-bba8-da4af9d7c984", + "id": "7d658158-a754-4727-a412-9aa821bde47e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Terry Bull" + "name": "Royal Payne" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.xml index 20014004..1c0e8eb4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="d6eeb18c-4446-40cf-9643-f94707bc30f3"/> + <id value="89054e45-7011-462b-b3ec-5d14c1a9f043"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ed8bfbf2-a26b-413b-864d-7aee4ab7b6d6"/> + <id value="175545b2-9019-447f-bae3-1b7fbcc4bcb5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/d1f231e4-0ed0-41fe-a7ad-95abdae7e346"/> + <reference value="Medication/24d62192-2b00-482c-a20c-c06d7e4fd07c"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/824dda3a-97f0-46db-bba8-da4af9d7c984"/> + <reference value="Organization/7d658158-a754-4727-a412-9aa821bde47e"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="d1f231e4-0ed0-41fe-a7ad-95abdae7e346"/> + <id value="24d62192-2b00-482c-a20c-c06d7e4fd07c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="824dda3a-97f0-46db-bba8-da4af9d7c984"/> + <id value="7d658158-a754-4727-a412-9aa821bde47e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Terry Bull"/> + <name value="Royal Payne"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7/input.xml new file mode 100644 index 00000000..9fe7a8a9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f9a262d7-26a7-4ad6-a2ea-0d509dee7e89"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5d524fd1-9f6f-4a89-b14e-7c2b14bc0c24"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="47126688"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.690.77"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5d524fd1-9f6f-4a89-b14e-7c2b14bc0c24"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7/output.json new file mode 100644 index 00000000..27ffdda7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "20bfc9c9-2cbf-41fb-851c-9b5b4b926fae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9712de69-02fb-4716-9a72-ea07466e263c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f9a262d7-26a7-4ad6-a2ea-0d509dee7e89_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/8b46885c-d094-4bf6-a6db-ccf0c2adf929" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f25c72a6-6c0e-48b6-8d08-03fa4c3ae210" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "8b46885c-d094-4bf6-a6db-ccf0c2adf929", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f25c72a6-6c0e-48b6-8d08-03fa4c3ae210", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Rob Banks" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7/output.xml new file mode 100644 index 00000000..5982c0a5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f9a262d7_f9a262d7/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="20bfc9c9-2cbf-41fb-851c-9b5b4b926fae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.690.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9712de69-02fb-4716-9a72-ea07466e263c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f9a262d7-26a7-4ad6-a2ea-0d509dee7e89_169.000.011.203.690.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/8b46885c-d094-4bf6-a6db-ccf0c2adf929"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f25c72a6-6c0e-48b6-8d08-03fa4c3ae210"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8b46885c-d094-4bf6-a6db-ccf0c2adf929"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="47126688"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f25c72a6-6c0e-48b6-8d08-03fa4c3ae210"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rob Banks"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.json deleted file mode 100644 index 56364e16..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "d0dd36d0-e56b-4289-8974-2e9215463930", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "6bdb702d-6303-470a-aab2-8fa7b28ce47e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "9e291e49-64ce-42ae-8fed-ea765c9b3f9a_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/e846c940-1708-4bf0-aebd-9e0cd204946e" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/a4545ea9-d4b9-42b8-b1b1-20c12ae97b58" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "e846c940-1708-4bf0-aebd-9e0cd204946e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a4545ea9-d4b9-42b8-b1b1-20c12ae97b58", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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 Tupp" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.xml deleted file mode 100644 index bab74e4a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d0dd36d0-e56b-4289-8974-2e9215463930"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.751.22"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="6bdb702d-6303-470a-aab2-8fa7b28ce47e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="9e291e49-64ce-42ae-8fed-ea765c9b3f9a_160.000.226.119.751.22"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/e846c940-1708-4bf0-aebd-9e0cd204946e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/a4545ea9-d4b9-42b8-b1b1-20c12ae97b58"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e846c940-1708-4bf0-aebd-9e0cd204946e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a4545ea9-d4b9-42b8-b1b1-20c12ae97b58"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Jack Tupp"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49/input.xml new file mode 100644 index 00000000..b9114e7e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9e291e49-64ce-42ae-8fed-ea765c9b3f9a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5088d1cf-46f8-4c89-b3c7-1fbda757aadb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.751.22"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5088d1cf-46f8-4c89-b3c7-1fbda757aadb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49/output.json new file mode 100644 index 00000000..f84b011c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "93f6ea07-5b1d-4bd9-b1e5-bba318189730", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "cbfcc3d8-1129-446f-9de5-0cab517731b0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "9e291e49-64ce-42ae-8fed-ea765c9b3f9a_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/948f9c70-5c15-45f2-aa85-51fa4afa3c15" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0401ffa9-c93e-429b-a70a-2f180fdea082" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "948f9c70-5c15-45f2-aa85-51fa4afa3c15", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0401ffa9-c93e-429b-a70a-2f180fdea082", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Barb E. Dahl" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49/output.xml new file mode 100644 index 00000000..5fb5e3ab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74_9e291e49_9e291e49/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="93f6ea07-5b1d-4bd9-b1e5-bba318189730"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.751.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="cbfcc3d8-1129-446f-9de5-0cab517731b0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="9e291e49-64ce-42ae-8fed-ea765c9b3f9a_160.000.226.119.751.22"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/948f9c70-5c15-45f2-aa85-51fa4afa3c15"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0401ffa9-c93e-429b-a70a-2f180fdea082"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="948f9c70-5c15-45f2-aa85-51fa4afa3c15"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0401ffa9-c93e-429b-a70a-2f180fdea082"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Barb E. Dahl"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.json index 15b78db8..9e33a2c2 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "a0e6b988-a2be-420d-8ad6-0c9175259f23", + "id": "59e3bc9d-8d09-40d1-95d6-4b80a8d99126", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "caeaa47e-0e93-4f25-a290-196121996dd6", + "id": "99c773b6-0e83-4426-8f16-3a964584d2fe", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/08d4f4a7-5cb8-40f3-b3b9-0a0fdcc7302b" + "reference": "Medication/6fe1f7f6-4859-4a47-8ced-f89df9f25910" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/cae50ab6-033f-4aec-98c1-242dba03abc5" + "reference": "Organization/c9a0a8ad-23d4-40dc-b03b-66c493358027" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "08d4f4a7-5cb8-40f3-b3b9-0a0fdcc7302b", + "id": "6fe1f7f6-4859-4a47-8ced-f89df9f25910", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "cae50ab6-033f-4aec-98c1-242dba03abc5", + "id": "c9a0a8ad-23d4-40dc-b03b-66c493358027", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Ken Oppenner" + "name": "Bo Nessround" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.xml index 5e0c39b2..d4461281 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="a0e6b988-a2be-420d-8ad6-0c9175259f23"/> + <id value="59e3bc9d-8d09-40d1-95d6-4b80a8d99126"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="caeaa47e-0e93-4f25-a290-196121996dd6"/> + <id value="99c773b6-0e83-4426-8f16-3a964584d2fe"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/08d4f4a7-5cb8-40f3-b3b9-0a0fdcc7302b"/> + <reference value="Medication/6fe1f7f6-4859-4a47-8ced-f89df9f25910"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/cae50ab6-033f-4aec-98c1-242dba03abc5"/> + <reference value="Organization/c9a0a8ad-23d4-40dc-b03b-66c493358027"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="08d4f4a7-5cb8-40f3-b3b9-0a0fdcc7302b"/> + <id value="6fe1f7f6-4859-4a47-8ced-f89df9f25910"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="cae50ab6-033f-4aec-98c1-242dba03abc5"/> + <id value="c9a0a8ad-23d4-40dc-b03b-66c493358027"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Ken Oppenner"/> + <name value="Bo Nessround"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd/input.xml new file mode 100644 index 00000000..fb947824 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="fe8a28dd-4a9d-4df7-b8a8-8f0434f8526a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="05e937fd-3b04-4422-acb5-ec31f39109c9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.807.48"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#05e937fd-3b04-4422-acb5-ec31f39109c9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd/output.json new file mode 100644 index 00000000..0b2e9a51 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "056a9282-4342-4ba6-9bfb-5c51f445f3a0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4d812ad2-4a54-430b-9e8e-70e2c14804d6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "fe8a28dd-4a9d-4df7-b8a8-8f0434f8526a_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/ffe988b3-886d-4fbd-b52e-28f6dd09a7d3" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f8ec416d-497c-4698-b42f-3ff0a3f318c6" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ffe988b3-886d-4fbd-b52e-28f6dd09a7d3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f8ec416d-497c-4698-b42f-3ff0a3f318c6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Eve Hill" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd/output.xml new file mode 100644 index 00000000..fa5c7de6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fe8a28dd_fe8a28dd/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="056a9282-4342-4ba6-9bfb-5c51f445f3a0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.807.48"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4d812ad2-4a54-430b-9e8e-70e2c14804d6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="fe8a28dd-4a9d-4df7-b8a8-8f0434f8526a_160.000.226.119.807.48"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ffe988b3-886d-4fbd-b52e-28f6dd09a7d3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f8ec416d-497c-4698-b42f-3ff0a3f318c6"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ffe988b3-886d-4fbd-b52e-28f6dd09a7d3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f8ec416d-497c-4698-b42f-3ff0a3f318c6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Eve Hill"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/output.json deleted file mode 100644 index d076e005..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "1ec5b740-047b-4b83-a835-c324183a2007", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "3aaadd25-44cb-4359-a413-2693f5885061", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "5b32c036-6168-437f-b44c-4b0dbd12a9d9_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/23b80075-5470-432b-8bda-f621f561af24" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/59fb0cef-bf4f-4037-b870-b39cffe18925" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "23b80075-5470-432b-8bda-f621f561af24", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "59fb0cef-bf4f-4037-b870-b39cffe18925", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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/009_Request_MedicationDispense_0159fb4f_5b32c036/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/output.xml deleted file mode 100644 index 21a8e98f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1ec5b740-047b-4b83-a835-c324183a2007"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.760.92"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="3aaadd25-44cb-4359-a413-2693f5885061"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="5b32c036-6168-437f-b44c-4b0dbd12a9d9_160.000.226.119.760.92"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/23b80075-5470-432b-8bda-f621f561af24"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/59fb0cef-bf4f-4037-b870-b39cffe18925"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="23b80075-5470-432b-8bda-f621f561af24"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="59fb0cef-bf4f-4037-b870-b39cffe18925"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Darren Deeds"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036/output.json new file mode 100644 index 00000000..84addf13 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "235de436-f4db-4211-841e-279d8a91499f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "7f9e5a2f-2ad7-4f9d-9105-23c8b8ab0449", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b32c036-6168-437f-b44c-4b0dbd12a9d9_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/b3f02209-9d8c-4724-8e34-4121146293aa" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3c1672a9-88d4-4959-ba89-e64fe79355cb" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b3f02209-9d8c-4724-8e34-4121146293aa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3c1672a9-88d4-4959-ba89-e64fe79355cb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dee Zaster" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036/output.xml new file mode 100644 index 00000000..e71b6421 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f_5b32c036_5b32c036/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="235de436-f4db-4211-841e-279d8a91499f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.760.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7f9e5a2f-2ad7-4f9d-9105-23c8b8ab0449"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b32c036-6168-437f-b44c-4b0dbd12a9d9_160.000.226.119.760.92"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b3f02209-9d8c-4724-8e34-4121146293aa"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3c1672a9-88d4-4959-ba89-e64fe79355cb"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b3f02209-9d8c-4724-8e34-4121146293aa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3c1672a9-88d4-4959-ba89-e64fe79355cb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dee Zaster"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.json index 0fdc6acc..0cf61922 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "8b19d55e-0bf3-4096-9c54-419b1ca25adc", + "id": "93bd5cfa-20b6-4e55-a16e-ac21ad135d9c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "a0e5e438-3d4f-4996-b654-abf43d28dc53", + "id": "670e13e1-d499-4f56-aff5-eafe8c196570", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/1fe6fb99-3c28-490c-b02a-4bf2f01ecd48" + "reference": "Medication/ff285053-bbd7-41b9-a661-99d741b316b9" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/cc4b8823-a74c-4c5f-91c5-1bbd2827fd06" + "reference": "Organization/d351bdc6-c820-44e2-bf4a-d7f746babe30" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "1fe6fb99-3c28-490c-b02a-4bf2f01ecd48", + "id": "ff285053-bbd7-41b9-a661-99d741b316b9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "cc4b8823-a74c-4c5f-91c5-1bbd2827fd06", + "id": "d351bdc6-c820-44e2-bf4a-d7f746babe30", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Phillip D. Bagg" + "name": "Rich Guy" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.xml index 30de1240..67516ef5 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="8b19d55e-0bf3-4096-9c54-419b1ca25adc"/> + <id value="93bd5cfa-20b6-4e55-a16e-ac21ad135d9c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a0e5e438-3d4f-4996-b654-abf43d28dc53"/> + <id value="670e13e1-d499-4f56-aff5-eafe8c196570"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/1fe6fb99-3c28-490c-b02a-4bf2f01ecd48"/> + <reference value="Medication/ff285053-bbd7-41b9-a661-99d741b316b9"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/cc4b8823-a74c-4c5f-91c5-1bbd2827fd06"/> + <reference value="Organization/d351bdc6-c820-44e2-bf4a-d7f746babe30"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="1fe6fb99-3c28-490c-b02a-4bf2f01ecd48"/> + <id value="ff285053-bbd7-41b9-a661-99d741b316b9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="cc4b8823-a74c-4c5f-91c5-1bbd2827fd06"/> + <id value="d351bdc6-c820-44e2-bf4a-d7f746babe30"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Phillip D. Bagg"/> + <name value="Rich Guy"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590_11863590/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590_11863590/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590_11863590/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590_11863590/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590_11863590/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590_11863590/output.json new file mode 100644 index 00000000..391bddf9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590_11863590/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "87e7c158-af22-4ad9-8dfa-92b78381c9c4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "68ee54a8-9eae-4f01-bae6-35262e7efcd5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "11863590-3c0b-403c-85fb-5ec91ac10bd9_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/e8ffb9e6-de1c-47d6-98dc-72673a5d49a4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e0782f5c-4606-45e3-ae28-055113513691" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e8ffb9e6-de1c-47d6-98dc-72673a5d49a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e0782f5c-4606-45e3-ae28-055113513691", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Faye Slift" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590_11863590/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590_11863590/output.xml new file mode 100644 index 00000000..c6a36a4d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_11863590_11863590/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="87e7c158-af22-4ad9-8dfa-92b78381c9c4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.541.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="68ee54a8-9eae-4f01-bae6-35262e7efcd5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="11863590-3c0b-403c-85fb-5ec91ac10bd9_200.000.002.096.541.25"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e8ffb9e6-de1c-47d6-98dc-72673a5d49a4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e0782f5c-4606-45e3-ae28-055113513691"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e8ffb9e6-de1c-47d6-98dc-72673a5d49a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25582871"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e0782f5c-4606-45e3-ae28-055113513691"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Faye Slift"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.json deleted file mode 100644 index 010f26b6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "fc08a459-daae-457e-ad31-97596e89a25c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "5049de6b-98fc-4d1c-9298-4882c6a69f5a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "f9f80ea9-6ae4-4916-877e-1707094b808a_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/333e0592-288f-4e0a-ab5f-29b29fff6fcb" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/8d99d095-b27d-46cf-94cb-eb6a52e2f874" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "333e0592-288f-4e0a-ab5f-29b29fff6fcb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8d99d095-b27d-46cf-94cb-eb6a52e2f874", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Chris Mass" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.xml deleted file mode 100644 index 3d2759eb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="fc08a459-daae-457e-ad31-97596e89a25c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.768.68"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5049de6b-98fc-4d1c-9298-4882c6a69f5a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="f9f80ea9-6ae4-4916-877e-1707094b808a_160.000.226.119.768.68"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/333e0592-288f-4e0a-ab5f-29b29fff6fcb"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8d99d095-b27d-46cf-94cb-eb6a52e2f874"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="333e0592-288f-4e0a-ab5f-29b29fff6fcb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8d99d095-b27d-46cf-94cb-eb6a52e2f874"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Chris Mass"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9/output.json new file mode 100644 index 00000000..f910a27b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "9636624b-3f9b-4c8f-84ad-e47a489ab9e8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a089cc16-4ecf-44b5-8ea6-23507d9e3faf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f9f80ea9-6ae4-4916-877e-1707094b808a_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/426cedb5-cdbe-4b84-bc08-92dce3e0e5d5" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0ac6a8cf-e56f-4ba3-98ab-4401b7f985c8" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "426cedb5-cdbe-4b84-bc08-92dce3e0e5d5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0ac6a8cf-e56f-4ba3-98ab-4401b7f985c8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dee Zaster" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9/output.xml new file mode 100644 index 00000000..c95040a5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940_f9f80ea9_f9f80ea9/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9636624b-3f9b-4c8f-84ad-e47a489ab9e8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.768.68"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a089cc16-4ecf-44b5-8ea6-23507d9e3faf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f9f80ea9-6ae4-4916-877e-1707094b808a_160.000.226.119.768.68"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/426cedb5-cdbe-4b84-bc08-92dce3e0e5d5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0ac6a8cf-e56f-4ba3-98ab-4401b7f985c8"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="426cedb5-cdbe-4b84-bc08-92dce3e0e5d5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0ac6a8cf-e56f-4ba3-98ab-4401b7f985c8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dee Zaster"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.json deleted file mode 100644 index f1ac4687..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "ff07303c-d32c-4593-9a49-0d7439879fc4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.006.463.677.05" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "f41759df-2280-43a7-9977-c0682401c324", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "8f932795-0cfc-4720-ac9b-7bfca4c1a280_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/38969080-a8c5-43db-84b7-66ef9bf394a0" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "T046142499" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/f79ebdff-ed15-4002-92e8-0209f38ca10e" - } - } ], - "whenHandedOver": "2024-02-13" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "38969080-a8c5-43db-84b7-66ef9bf394a0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f79ebdff-ed15-4002-92e8-0209f38ca10e", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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 Irons" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.xml deleted file mode 100644 index 5b643835..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ff07303c-d32c-4593-9a49-0d7439879fc4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.463.677.05"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="f41759df-2280-43a7-9977-c0682401c324"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="8f932795-0cfc-4720-ac9b-7bfca4c1a280_160.000.006.463.677.05"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/38969080-a8c5-43db-84b7-66ef9bf394a0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="T046142499"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/f79ebdff-ed15-4002-92e8-0209f38ca10e"/> - </actor> - </performer> - <whenHandedOver value="2024-02-13"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="38969080-a8c5-43db-84b7-66ef9bf394a0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f79ebdff-ed15-4002-92e8-0209f38ca10e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Rusty Irons"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795/output.json new file mode 100644 index 00000000..baa0c4be --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "7076853e-8b6c-4d38-b49a-ba9216e9ae22", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.006.463.677.05" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0a649f65-c08c-4bfd-8208-52ec79a38436", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "8f932795-0cfc-4720-ac9b-7bfca4c1a280_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/d10f591a-7e40-441a-bbd4-48075544f236" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "T046142499" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/69df74f1-a890-4557-842f-83ea110421e3" + } + } ], + "whenHandedOver": "2024-02-13" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "d10f591a-7e40-441a-bbd4-48075544f236", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "69df74f1-a890-4557-842f-83ea110421e3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Sid Down" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795/output.xml new file mode 100644 index 00000000..5b448b41 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7_8f932795_8f932795/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7076853e-8b6c-4d38-b49a-ba9216e9ae22"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.463.677.05"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0a649f65-c08c-4bfd-8208-52ec79a38436"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="8f932795-0cfc-4720-ac9b-7bfca4c1a280_160.000.006.463.677.05"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/d10f591a-7e40-441a-bbd4-48075544f236"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/69df74f1-a890-4557-842f-83ea110421e3"/> + </actor> + </performer> + <whenHandedOver value="2024-02-13"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d10f591a-7e40-441a-bbd4-48075544f236"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="69df74f1-a890-4557-842f-83ea110421e3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sid Down"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.json deleted file mode 100644 index 0b04e062..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "b7d728eb-4a51-4e9d-95cd-6d567825bf37", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "08452f8f-4d33-462d-b3ea-d17488d46d8a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "efe8874f-6c9f-487c-b820-d8100209f56a_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/70f4c3de-f5d1-44ff-9a7f-a926abee2cb0" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/52b0a60d-3583-4733-8ba2-128000709bf0" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "70f4c3de-f5d1-44ff-9a7f-a926abee2cb0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "52b0a60d-3583-4733-8ba2-128000709bf0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "I. Pullem" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.xml deleted file mode 100644 index a8465537..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b7d728eb-4a51-4e9d-95cd-6d567825bf37"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.549.98"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="08452f8f-4d33-462d-b3ea-d17488d46d8a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="efe8874f-6c9f-487c-b820-d8100209f56a_200.000.002.096.549.98"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/70f4c3de-f5d1-44ff-9a7f-a926abee2cb0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/52b0a60d-3583-4733-8ba2-128000709bf0"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="70f4c3de-f5d1-44ff-9a7f-a926abee2cb0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10642981"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="52b0a60d-3583-4733-8ba2-128000709bf0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="I. Pullem"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f/output.json new file mode 100644 index 00000000..e64e3e41 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "7b01522c-c907-4a30-8461-1f54b61d15e7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ede42af5-4fb7-4b9e-8ef4-0064807232a3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "efe8874f-6c9f-487c-b820-d8100209f56a_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/9920b98f-2869-4539-b210-09ae83828b1f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/2afbde05-71e7-4b1a-8704-179b39f16e14" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "9920b98f-2869-4539-b210-09ae83828b1f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2afbde05-71e7-4b1a-8704-179b39f16e14", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Reid Enright" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f/output.xml new file mode 100644 index 00000000..94480675 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b_efe8874f_efe8874f/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7b01522c-c907-4a30-8461-1f54b61d15e7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.549.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ede42af5-4fb7-4b9e-8ef4-0064807232a3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="efe8874f-6c9f-487c-b820-d8100209f56a_200.000.002.096.549.98"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/9920b98f-2869-4539-b210-09ae83828b1f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/2afbde05-71e7-4b1a-8704-179b39f16e14"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9920b98f-2869-4539-b210-09ae83828b1f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10642981"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2afbde05-71e7-4b1a-8704-179b39f16e14"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Reid Enright"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.json index b1c5bccb..fd32c584 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "272468f4-c8eb-4b99-8f73-e45b69fd1a21", + "id": "e5ae4ba8-3298-460c-9622-74c8a62aee8f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "ddf3fa2f-3b1c-43a9-a31b-2a94f796f131", + "id": "27a82b9a-022a-4163-9d19-42bc9de20f77", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/ea3bc262-bf74-424a-ba2e-329070b795ff" + "reference": "Medication/329ad32b-1cc8-4010-a212-6774ede70287" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/f3ef757b-912c-4e64-b3e1-de1a95b24d7e" + "reference": "Organization/1f7f8c0b-2fa9-4ce1-9e4b-71244e36851a" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "ea3bc262-bf74-424a-ba2e-329070b795ff", + "id": "329ad32b-1cc8-4010-a212-6774ede70287", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f3ef757b-912c-4e64-b3e1-de1a95b24d7e", + "id": "1f7f8c0b-2fa9-4ce1-9e4b-71244e36851a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Ulee Daway" + "name": "Ben Dover" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.xml index 47f85a08..13c78317 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="272468f4-c8eb-4b99-8f73-e45b69fd1a21"/> + <id value="e5ae4ba8-3298-460c-9622-74c8a62aee8f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ddf3fa2f-3b1c-43a9-a31b-2a94f796f131"/> + <id value="27a82b9a-022a-4163-9d19-42bc9de20f77"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/ea3bc262-bf74-424a-ba2e-329070b795ff"/> + <reference value="Medication/329ad32b-1cc8-4010-a212-6774ede70287"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/f3ef757b-912c-4e64-b3e1-de1a95b24d7e"/> + <reference value="Organization/1f7f8c0b-2fa9-4ce1-9e4b-71244e36851a"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="ea3bc262-bf74-424a-ba2e-329070b795ff"/> + <id value="329ad32b-1cc8-4010-a212-6774ede70287"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f3ef757b-912c-4e64-b3e1-de1a95b24d7e"/> + <id value="1f7f8c0b-2fa9-4ce1-9e4b-71244e36851a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Ulee Daway"/> + <name value="Ben Dover"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf_2bd690cf/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf_2bd690cf/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf_2bd690cf/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf_2bd690cf/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf_2bd690cf/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf_2bd690cf/output.json new file mode 100644 index 00000000..bd515e13 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf_2bd690cf/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "207b825c-f8ca-4f0b-85d3-46e05b366b40", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "fe27d4a1-7a93-49be-a609-6cf51e522bc8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "2bd690cf-cf36-4086-8778-39ba9ef7813a_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/e3bf8077-f739-44ea-9c6a-692827c24030" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/4b838aad-17bd-4df1-8fca-dd9c48f875df" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e3bf8077-f739-44ea-9c6a-692827c24030", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4b838aad-17bd-4df1-8fca-dd9c48f875df", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Gore Rythim" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf_2bd690cf/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf_2bd690cf/output.xml new file mode 100644 index 00000000..53d2eb27 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2bd690cf_2bd690cf/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="207b825c-f8ca-4f0b-85d3-46e05b366b40"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.532.52"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="fe27d4a1-7a93-49be-a609-6cf51e522bc8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="2bd690cf-cf36-4086-8778-39ba9ef7813a_200.000.002.096.532.52"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e3bf8077-f739-44ea-9c6a-692827c24030"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/4b838aad-17bd-4df1-8fca-dd9c48f875df"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e3bf8077-f739-44ea-9c6a-692827c24030"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="22477205"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4b838aad-17bd-4df1-8fca-dd9c48f875df"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Al Gore Rythim"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.json deleted file mode 100644 index f5e9283e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "bbd383b9-175f-4d26-b985-ccbe52af0bc3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "fef49c87-41b5-4a27-b420-dd00f25376f3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "c916d235-c3b9-46e1-bdae-d14c3ac1df92_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/3db3eec2-974d-4d6d-9c12-8542bc82f885" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/3df096c0-1233-4d8a-94e2-3877bf273686" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "3db3eec2-974d-4d6d-9c12-8542bc82f885", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3df096c0-1233-4d8a-94e2-3877bf273686", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Lance Lyde" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.xml deleted file mode 100644 index dc038917..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bbd383b9-175f-4d26-b985-ccbe52af0bc3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.759.95"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="fef49c87-41b5-4a27-b420-dd00f25376f3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="c916d235-c3b9-46e1-bdae-d14c3ac1df92_160.000.226.119.759.95"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/3db3eec2-974d-4d6d-9c12-8542bc82f885"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/3df096c0-1233-4d8a-94e2-3877bf273686"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3db3eec2-974d-4d6d-9c12-8542bc82f885"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3df096c0-1233-4d8a-94e2-3877bf273686"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Lance Lyde"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235_c916d235/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235_c916d235/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235_c916d235/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235_c916d235/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235_c916d235/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235_c916d235/output.json new file mode 100644 index 00000000..5e8fe461 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235_c916d235/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "4a1e8976-406a-4aff-9225-93dcbc7d5e54", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "6e156cb7-b3d1-44dc-9587-a8e88fa7d562", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c916d235-c3b9-46e1-bdae-d14c3ac1df92_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/a7527e1f-51c5-43dc-9024-dabf2a6094c4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/08afe912-184e-4bea-adbd-bd9c1cb2fe10" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a7527e1f-51c5-43dc-9024-dabf2a6094c4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "08afe912-184e-4bea-adbd-bd9c1cb2fe10", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Cy Burns" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235_c916d235/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235_c916d235/output.xml new file mode 100644 index 00000000..f893ca74 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9_c916d235_c916d235/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4a1e8976-406a-4aff-9225-93dcbc7d5e54"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.759.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6e156cb7-b3d1-44dc-9587-a8e88fa7d562"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c916d235-c3b9-46e1-bdae-d14c3ac1df92_160.000.226.119.759.95"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a7527e1f-51c5-43dc-9024-dabf2a6094c4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/08afe912-184e-4bea-adbd-bd9c1cb2fe10"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a7527e1f-51c5-43dc-9024-dabf2a6094c4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="08afe912-184e-4bea-adbd-bd9c1cb2fe10"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Cy Burns"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.json index f56e008f..220b076a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "f89eef90-a141-4634-bad8-df479da9ea5d", + "id": "0f55c0cc-2248-47e8-ae8b-e7c965e9d3bb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "89b6914f-b27b-4b86-8bb0-45e4aabeddda", + "id": "b9348b3f-3133-4234-8630-2c3be40f6611", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/909643a4-31a8-4cd2-a15a-5955621faf0e" + "reference": "Medication/6d312dbd-bab4-4815-8e0c-8f92aaea93c5" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/c5eb03ff-20ef-491f-a562-17b9871166b6" + "reference": "Organization/d9193f0f-5bda-4017-9de4-8aa5fb5ca122" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "909643a4-31a8-4cd2-a15a-5955621faf0e", + "id": "6d312dbd-bab4-4815-8e0c-8f92aaea93c5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "c5eb03ff-20ef-491f-a562-17b9871166b6", + "id": "d9193f0f-5bda-4017-9de4-8aa5fb5ca122", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Aretha Holly" + "name": "Ida Whana" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.xml index 34e124e6..da75505c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="f89eef90-a141-4634-bad8-df479da9ea5d"/> + <id value="0f55c0cc-2248-47e8-ae8b-e7c965e9d3bb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="89b6914f-b27b-4b86-8bb0-45e4aabeddda"/> + <id value="b9348b3f-3133-4234-8630-2c3be40f6611"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/909643a4-31a8-4cd2-a15a-5955621faf0e"/> + <reference value="Medication/6d312dbd-bab4-4815-8e0c-8f92aaea93c5"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/c5eb03ff-20ef-491f-a562-17b9871166b6"/> + <reference value="Organization/d9193f0f-5bda-4017-9de4-8aa5fb5ca122"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="909643a4-31a8-4cd2-a15a-5955621faf0e"/> + <id value="6d312dbd-bab4-4815-8e0c-8f92aaea93c5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="c5eb03ff-20ef-491f-a562-17b9871166b6"/> + <id value="d9193f0f-5bda-4017-9de4-8aa5fb5ca122"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Aretha Holly"/> + <name value="Ida Whana"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb_30b0bdfb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb_30b0bdfb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb_30b0bdfb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb_30b0bdfb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb_30b0bdfb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb_30b0bdfb/output.json new file mode 100644 index 00000000..aaf96795 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb_30b0bdfb/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "4da385ac-6d48-4eac-846b-48c7babb7462", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "afe75e7f-7cbb-44c0-b559-331874bc3ce1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "30b0bdfb-b7dc-43d2-9fd0-bd420deaf651_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/bb2e905a-8415-4e4d-949c-4dee03b1542e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/cfd9f620-de03-48ec-a425-08d5cb2f70d4" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bb2e905a-8415-4e4d-949c-4dee03b1542e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cfd9f620-de03-48ec-a425-08d5cb2f70d4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Andy Friese" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb_30b0bdfb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb_30b0bdfb/output.xml new file mode 100644 index 00000000..8e64845a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_30b0bdfb_30b0bdfb/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4da385ac-6d48-4eac-846b-48c7babb7462"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.534.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="afe75e7f-7cbb-44c0-b559-331874bc3ce1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="30b0bdfb-b7dc-43d2-9fd0-bd420deaf651_200.000.002.096.534.46"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bb2e905a-8415-4e4d-949c-4dee03b1542e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/cfd9f620-de03-48ec-a425-08d5cb2f70d4"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bb2e905a-8415-4e4d-949c-4dee03b1542e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="24025068"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cfd9f620-de03-48ec-a425-08d5cb2f70d4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Andy Friese"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.json deleted file mode 100644 index c8333bb5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "427beab7-e129-483d-abe6-954c7b22bf5c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "1b51ccf8-bf33-4692-ab49-a77725d4b615", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "11863590-3c0b-403c-85fb-5ec91ac10bd9_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/2c153d37-b566-4f7b-a8c0-45d4fa44fa16" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/384f445c-e21e-4103-81a7-e4a94e6e0eaf" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "2c153d37-b566-4f7b-a8c0-45d4fa44fa16", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "384f445c-e21e-4103-81a7-e4a94e6e0eaf", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Earl E. Byrd" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.xml deleted file mode 100644 index a9874f8c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="427beab7-e129-483d-abe6-954c7b22bf5c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.541.25"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1b51ccf8-bf33-4692-ab49-a77725d4b615"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="11863590-3c0b-403c-85fb-5ec91ac10bd9_200.000.002.096.541.25"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/2c153d37-b566-4f7b-a8c0-45d4fa44fa16"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/384f445c-e21e-4103-81a7-e4a94e6e0eaf"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2c153d37-b566-4f7b-a8c0-45d4fa44fa16"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="25582871"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="384f445c-e21e-4103-81a7-e4a94e6e0eaf"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Earl E. Byrd"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590/input.xml new file mode 100644 index 00000000..618ca5e1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="11863590-3c0b-403c-85fb-5ec91ac10bd9"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="15a37998-7cf6-43ed-8d6f-80c931464059"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25582871"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.541.25"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#15a37998-7cf6-43ed-8d6f-80c931464059"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590/output.json new file mode 100644 index 00000000..f9c8b042 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "65046423-357d-402d-b8d7-6fac02c44b80", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4111e3cf-c932-4b43-aeec-7fca1a77d41c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "11863590-3c0b-403c-85fb-5ec91ac10bd9_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/bfedee5f-f7cc-4182-9c94-13ef8d650470" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/86ac4cd7-ec92-4926-b8b8-da0fbffc6dbc" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bfedee5f-f7cc-4182-9c94-13ef8d650470", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "86ac4cd7-ec92-4926-b8b8-da0fbffc6dbc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Leigh King" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590/output.xml new file mode 100644 index 00000000..98591e43 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335_11863590_11863590/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="65046423-357d-402d-b8d7-6fac02c44b80"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.541.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4111e3cf-c932-4b43-aeec-7fca1a77d41c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="11863590-3c0b-403c-85fb-5ec91ac10bd9_200.000.002.096.541.25"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bfedee5f-f7cc-4182-9c94-13ef8d650470"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/86ac4cd7-ec92-4926-b8b8-da0fbffc6dbc"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bfedee5f-f7cc-4182-9c94-13ef8d650470"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25582871"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="86ac4cd7-ec92-4926-b8b8-da0fbffc6dbc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Leigh King"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.json deleted file mode 100644 index 9a788ebf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "33fa321f-679f-4fc2-a6ec-a2debca2946e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "23a58eec-fd88-46f5-ba96-f626073fd4ee", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "30b0bdfb-b7dc-43d2-9fd0-bd420deaf651_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/3b2130bc-0f7b-480a-8db0-b604a7967b1c" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/f6a2a958-04fd-4780-be86-a59b231b9519" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "3b2130bc-0f7b-480a-8db0-b604a7967b1c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f6a2a958-04fd-4780-be86-a59b231b9519", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Bill Ng" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.xml deleted file mode 100644 index 16fc06b8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="33fa321f-679f-4fc2-a6ec-a2debca2946e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.534.46"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="23a58eec-fd88-46f5-ba96-f626073fd4ee"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="30b0bdfb-b7dc-43d2-9fd0-bd420deaf651_200.000.002.096.534.46"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/3b2130bc-0f7b-480a-8db0-b604a7967b1c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/f6a2a958-04fd-4780-be86-a59b231b9519"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3b2130bc-0f7b-480a-8db0-b604a7967b1c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="24025068"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f6a2a958-04fd-4780-be86-a59b231b9519"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Bill Ng"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb/input.xml new file mode 100644 index 00000000..cc9c9f54 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="30b0bdfb-b7dc-43d2-9fd0-bd420deaf651"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="59b53a09-4763-4725-84a9-481f0a2cdb00"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="24025068"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.534.46"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#59b53a09-4763-4725-84a9-481f0a2cdb00"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ 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_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb/output.json new file mode 100644 index 00000000..b8441afb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "5750ceff-e5c5-4e1b-a5dc-799ee9a42684", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4e987b62-fb7b-4525-a9fb-c18426d1a235", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "30b0bdfb-b7dc-43d2-9fd0-bd420deaf651_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/cc51b74b-ef36-4a96-8b16-93ab578a9c5b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/22e3adb9-81c2-469e-99ec-535cc79e9fc3" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "cc51b74b-ef36-4a96-8b16-93ab578a9c5b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "22e3adb9-81c2-469e-99ec-535cc79e9fc3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dwayne Pipe" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb/output.xml new file mode 100644 index 00000000..6c3fe733 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295_30b0bdfb_30b0bdfb/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5750ceff-e5c5-4e1b-a5dc-799ee9a42684"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.534.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4e987b62-fb7b-4525-a9fb-c18426d1a235"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="30b0bdfb-b7dc-43d2-9fd0-bd420deaf651_200.000.002.096.534.46"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/cc51b74b-ef36-4a96-8b16-93ab578a9c5b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/22e3adb9-81c2-469e-99ec-535cc79e9fc3"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cc51b74b-ef36-4a96-8b16-93ab578a9c5b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="24025068"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="22e3adb9-81c2-469e-99ec-535cc79e9fc3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dwayne Pipe"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.json deleted file mode 100644 index 4f8f0feb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "650eee7b-eef9-4bda-91cf-6a1eecc5178f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "b215cee7-5bf7-4ea3-b258-c6b9d91ca94b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "f671e4a6-2cb5-4d18-b04a-226202ae8eb1_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/48e1f069-486e-4721-987f-9f471265baa9" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/80cf7298-acc2-489a-89eb-2a94a8dad85b" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "48e1f069-486e-4721-987f-9f471265baa9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "80cf7298-acc2-489a-89eb-2a94a8dad85b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Kristie Hannity" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.xml deleted file mode 100644 index d1b7e738..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="650eee7b-eef9-4bda-91cf-6a1eecc5178f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.996.31"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b215cee7-5bf7-4ea3-b258-c6b9d91ca94b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="f671e4a6-2cb5-4d18-b04a-226202ae8eb1_209.000.000.032.996.31"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/48e1f069-486e-4721-987f-9f471265baa9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/80cf7298-acc2-489a-89eb-2a94a8dad85b"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="48e1f069-486e-4721-987f-9f471265baa9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="48094708"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="80cf7298-acc2-489a-89eb-2a94a8dad85b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Kristie Hannity"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6/output.json new file mode 100644 index 00000000..a831b3be --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "434761ac-cbf8-456c-a922-84e8231af4d2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e4f5db6a-3d16-47da-beb4-792e73a710a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f671e4a6-2cb5-4d18-b04a-226202ae8eb1_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/7b6ea366-f8be-435f-87c3-4179a929fa9a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d96710e3-b013-4fc1-941e-2cd353d5c0e8" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7b6ea366-f8be-435f-87c3-4179a929fa9a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d96710e3-b013-4fc1-941e-2cd353d5c0e8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Sasha Klotz" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6/output.xml new file mode 100644 index 00000000..eb9bd1d6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7_f671e4a6_f671e4a6/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="434761ac-cbf8-456c-a922-84e8231af4d2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.996.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e4f5db6a-3d16-47da-beb4-792e73a710a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f671e4a6-2cb5-4d18-b04a-226202ae8eb1_209.000.000.032.996.31"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7b6ea366-f8be-435f-87c3-4179a929fa9a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d96710e3-b013-4fc1-941e-2cd353d5c0e8"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7b6ea366-f8be-435f-87c3-4179a929fa9a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="48094708"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d96710e3-b013-4fc1-941e-2cd353d5c0e8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sasha Klotz"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.json index 3c619419..dec267c9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "f34d7970-b231-4b04-b50a-4bdbcb1565cb", + "id": "302fe2b7-c23e-4af0-9409-e2056bb539df", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "34b56643-6c0c-42d4-8928-52102f1c9930", + "id": "fa24b3a9-94c4-4242-8446-662ca0611f65", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/ce73ee2c-e946-4874-ae95-7c961fe3f214" + "reference": "Medication/987b47f8-5767-4fc1-96fa-b3801d60f14c" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/6d9bb8d4-ccd9-4953-9a83-02240ad41921" + "reference": "Organization/83344b6f-abad-48c3-a144-b653fb8b92b8" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "ce73ee2c-e946-4874-ae95-7c961fe3f214", + "id": "987b47f8-5767-4fc1-96fa-b3801d60f14c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "6d9bb8d4-ccd9-4953-9a83-02240ad41921", + "id": "83344b6f-abad-48c3-a144-b653fb8b92b8", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Gene Poole" + "name": "Lon Moore" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.xml index 1f5bd3ae..56169481 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="f34d7970-b231-4b04-b50a-4bdbcb1565cb"/> + <id value="302fe2b7-c23e-4af0-9409-e2056bb539df"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="34b56643-6c0c-42d4-8928-52102f1c9930"/> + <id value="fa24b3a9-94c4-4242-8446-662ca0611f65"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/ce73ee2c-e946-4874-ae95-7c961fe3f214"/> + <reference value="Medication/987b47f8-5767-4fc1-96fa-b3801d60f14c"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/6d9bb8d4-ccd9-4953-9a83-02240ad41921"/> + <reference value="Organization/83344b6f-abad-48c3-a144-b653fb8b92b8"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="ce73ee2c-e946-4874-ae95-7c961fe3f214"/> + <id value="987b47f8-5767-4fc1-96fa-b3801d60f14c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="6d9bb8d4-ccd9-4953-9a83-02240ad41921"/> + <id value="83344b6f-abad-48c3-a144-b653fb8b92b8"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Gene Poole"/> + <name value="Lon Moore"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0_4a30f8e0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0_4a30f8e0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0_4a30f8e0/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0_4a30f8e0/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0_4a30f8e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0_4a30f8e0/output.json new file mode 100644 index 00000000..af2147ef --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0_4a30f8e0/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "6ba878f7-ccfe-4ba0-86f0-ca8f835a29cb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "052d190a-4313-436f-b16a-c7ba191367c0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "4a30f8e0-83f4-43ea-9d87-2eaa288b4bb9_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/9de3fe55-6dc3-4d00-ae82-97249794674a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/4fdb86a3-cc0b-442b-aa6c-807e79f2095e" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "9de3fe55-6dc3-4d00-ae82-97249794674a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4fdb86a3-cc0b-442b-aa6c-807e79f2095e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "May Day" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0_4a30f8e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0_4a30f8e0/output.xml new file mode 100644 index 00000000..fe2493f1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4a30f8e0_4a30f8e0/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6ba878f7-ccfe-4ba0-86f0-ca8f835a29cb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.554.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="052d190a-4313-436f-b16a-c7ba191367c0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="4a30f8e0-83f4-43ea-9d87-2eaa288b4bb9_200.000.002.096.554.83"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/9de3fe55-6dc3-4d00-ae82-97249794674a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/4fdb86a3-cc0b-442b-aa6c-807e79f2095e"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9de3fe55-6dc3-4d00-ae82-97249794674a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="89414303"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4fdb86a3-cc0b-442b-aa6c-807e79f2095e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="May Day"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.json index 2aa8e63b..561e8967 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c8afde43-9d40-468e-bfd4-30085f3eb63c", + "id": "0a3452d0-1e87-4c88-bae4-0bfde246d0d4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "37bda0a2-9677-4905-9aef-3bc17c93e41e", + "id": "9dd9d3fc-9945-4171-90f0-f35d7bc8d071", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/e80c3f9c-ed40-4148-882d-95eda13d4a92" + "reference": "Medication/3728e00c-6252-4810-aca7-75df24d1b4f4" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/9c39776f-a32e-40bb-a0eb-aee85128a465" + "reference": "Organization/61566d40-14a9-4be2-943d-5b169d9b51c7" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "e80c3f9c-ed40-4148-882d-95eda13d4a92", + "id": "3728e00c-6252-4810-aca7-75df24d1b4f4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "9c39776f-a32e-40bb-a0eb-aee85128a465", + "id": "61566d40-14a9-4be2-943d-5b169d9b51c7", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Earl E. Byrd" + "name": "Frank N. Stein" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.xml index 473f423c..75c63ff4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c8afde43-9d40-468e-bfd4-30085f3eb63c"/> + <id value="0a3452d0-1e87-4c88-bae4-0bfde246d0d4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="37bda0a2-9677-4905-9aef-3bc17c93e41e"/> + <id value="9dd9d3fc-9945-4171-90f0-f35d7bc8d071"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/e80c3f9c-ed40-4148-882d-95eda13d4a92"/> + <reference value="Medication/3728e00c-6252-4810-aca7-75df24d1b4f4"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/9c39776f-a32e-40bb-a0eb-aee85128a465"/> + <reference value="Organization/61566d40-14a9-4be2-943d-5b169d9b51c7"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="e80c3f9c-ed40-4148-882d-95eda13d4a92"/> + <id value="3728e00c-6252-4810-aca7-75df24d1b4f4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="9c39776f-a32e-40bb-a0eb-aee85128a465"/> + <id value="61566d40-14a9-4be2-943d-5b169d9b51c7"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Earl E. Byrd"/> + <name value="Frank N. Stein"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be_4dbd54be/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be_4dbd54be/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be_4dbd54be/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be_4dbd54be/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be_4dbd54be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be_4dbd54be/output.json new file mode 100644 index 00000000..aa7ce7c3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be_4dbd54be/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "38ffc8a4-6eb1-4a22-9db6-bfe88294b4a2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b67da960-e7c8-4957-a290-ca71b29e6c91", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "4dbd54be-687b-4aca-bd75-ea37ab3ad225_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/d25dacb4-9332-49b2-b042-ca55ff9d54de" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ea269b71-b4cd-4a17-91e0-26473f4d0832" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "d25dacb4-9332-49b2-b042-ca55ff9d54de", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ea269b71-b4cd-4a17-91e0-26473f4d0832", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/009_Request_MedicationDispense_4dbd54be_4dbd54be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be_4dbd54be/output.xml new file mode 100644 index 00000000..27abc4d2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_4dbd54be_4dbd54be/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="38ffc8a4-6eb1-4a22-9db6-bfe88294b4a2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.767.71"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b67da960-e7c8-4957-a290-ca71b29e6c91"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="4dbd54be-687b-4aca-bd75-ea37ab3ad225_160.000.226.119.767.71"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/d25dacb4-9332-49b2-b042-ca55ff9d54de"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ea269b71-b4cd-4a17-91e0-26473f4d0832"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d25dacb4-9332-49b2-b042-ca55ff9d54de"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ea269b71-b4cd-4a17-91e0-26473f4d0832"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="U. O. Money"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.json deleted file mode 100644 index f5d7488a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "18e93b1a-a207-4ab5-8b5a-1c50b7ec6dee", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "8fb69d42-6f8d-4e94-b226-b9b7a7d11ea4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "efd6ebf9-5c9a-4877-ac42-8cb984d94a39_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/f1d36617-fc19-4272-9df4-c29742b555ce" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/b9845e0c-6120-480c-8548-7cc068e6330d" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "f1d36617-fc19-4272-9df4-c29742b555ce", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b9845e0c-6120-480c-8548-7cc068e6330d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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 Lee Arps" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.xml deleted file mode 100644 index 384239b9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="18e93b1a-a207-4ab5-8b5a-1c50b7ec6dee"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.527.67"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="8fb69d42-6f8d-4e94-b226-b9b7a7d11ea4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="efd6ebf9-5c9a-4877-ac42-8cb984d94a39_200.000.002.096.527.67"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f1d36617-fc19-4272-9df4-c29742b555ce"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/b9845e0c-6120-480c-8548-7cc068e6330d"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f1d36617-fc19-4272-9df4-c29742b555ce"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="64184374"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b9845e0c-6120-480c-8548-7cc068e6330d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Evan Lee Arps"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9/output.json new file mode 100644 index 00000000..5afedac8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "9888d626-b00b-48ce-bbf3-2c3545a665c9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5590a273-275a-4c71-87c6-9781c39adbd1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "efd6ebf9-5c9a-4877-ac42-8cb984d94a39_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/5d3a864f-c7e3-4c88-b2c4-f7d681ed4eae" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/92dea820-3217-4bd8-804c-25da207d9395" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5d3a864f-c7e3-4c88-b2c4-f7d681ed4eae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "92dea820-3217-4bd8-804c-25da207d9395", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Laura Norder" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9/output.xml new file mode 100644 index 00000000..25cc9385 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f_efd6ebf9_efd6ebf9/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9888d626-b00b-48ce-bbf3-2c3545a665c9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.527.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5590a273-275a-4c71-87c6-9781c39adbd1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="efd6ebf9-5c9a-4877-ac42-8cb984d94a39_200.000.002.096.527.67"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5d3a864f-c7e3-4c88-b2c4-f7d681ed4eae"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/92dea820-3217-4bd8-804c-25da207d9395"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5d3a864f-c7e3-4c88-b2c4-f7d681ed4eae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64184374"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="92dea820-3217-4bd8-804c-25da207d9395"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Laura Norder"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.json deleted file mode 100644 index bdc27f58..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "c69fb123-757b-4e8e-86da-dccc27cabc62", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "ef4fcb68-bf30-4352-abef-e70db75aab42", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "cc07c2ac-204c-480e-ba03-09268cab4c22_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/25a85e51-1e61-4ce9-8735-eee3f5d25ef4" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/79af2b34-ec6c-4b51-9659-59ec3a513821" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "25a85e51-1e61-4ce9-8735-eee3f5d25ef4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "79af2b34-ec6c-4b51-9659-59ec3a513821", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Rod N. Reel" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.xml deleted file mode 100644 index fcb3eae5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c69fb123-757b-4e8e-86da-dccc27cabc62"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.531.55"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ef4fcb68-bf30-4352-abef-e70db75aab42"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="cc07c2ac-204c-480e-ba03-09268cab4c22_200.000.002.096.531.55"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/25a85e51-1e61-4ce9-8735-eee3f5d25ef4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/79af2b34-ec6c-4b51-9659-59ec3a513821"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="25a85e51-1e61-4ce9-8735-eee3f5d25ef4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="74302188"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="79af2b34-ec6c-4b51-9659-59ec3a513821"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Rod N. Reel"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac/output.json new file mode 100644 index 00000000..00070db9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "653a64b3-07b2-4fd3-9721-0dddab9c3c8b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "bdce62d4-19f5-450e-9815-868c9486716a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "cc07c2ac-204c-480e-ba03-09268cab4c22_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/534260da-c700-4445-a40a-7c7dbcc09b4e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/25a9ac1f-0f55-4cd8-94d4-c97feb647d8e" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "534260da-c700-4445-a40a-7c7dbcc09b4e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "25a9ac1f-0f55-4cd8-94d4-c97feb647d8e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Luna Tick" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac/output.xml new file mode 100644 index 00000000..de1b4ffb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6_cc07c2ac_cc07c2ac/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="653a64b3-07b2-4fd3-9721-0dddab9c3c8b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.531.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="bdce62d4-19f5-450e-9815-868c9486716a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="cc07c2ac-204c-480e-ba03-09268cab4c22_200.000.002.096.531.55"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/534260da-c700-4445-a40a-7c7dbcc09b4e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/25a9ac1f-0f55-4cd8-94d4-c97feb647d8e"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="534260da-c700-4445-a40a-7c7dbcc09b4e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="74302188"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="25a9ac1f-0f55-4cd8-94d4-c97feb647d8e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Luna Tick"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.json index 3964661a..393d566e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "493af27d-52f5-4304-8beb-c6ac84890568", + "id": "2ff7a157-7f7b-4ec5-9719-0151811b38dd", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "786fc573-d7e4-4bd6-ba08-89b201a355e4", + "id": "aa1b532f-2c0a-4732-80b9-f2d42efa42b4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/312233b0-586b-4a42-82a8-2383ed29c740" + "reference": "Medication/268f32ee-5019-443a-b048-375ed552c6bc" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/6749ec98-d3b7-47df-a18d-9b59a4c97430" + "reference": "Organization/c247b016-ac10-4548-821c-0695404f5391" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "312233b0-586b-4a42-82a8-2383ed29c740", + "id": "268f32ee-5019-443a-b048-375ed552c6bc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "6749ec98-d3b7-47df-a18d-9b59a4c97430", + "id": "c247b016-ac10-4548-821c-0695404f5391", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Lily Livard" + "name": "Lou Pole" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.xml index b760bba4..1c19d6b8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="493af27d-52f5-4304-8beb-c6ac84890568"/> + <id value="2ff7a157-7f7b-4ec5-9719-0151811b38dd"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="786fc573-d7e4-4bd6-ba08-89b201a355e4"/> + <id value="aa1b532f-2c0a-4732-80b9-f2d42efa42b4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/312233b0-586b-4a42-82a8-2383ed29c740"/> + <reference value="Medication/268f32ee-5019-443a-b048-375ed552c6bc"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/6749ec98-d3b7-47df-a18d-9b59a4c97430"/> + <reference value="Organization/c247b016-ac10-4548-821c-0695404f5391"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="312233b0-586b-4a42-82a8-2383ed29c740"/> + <id value="268f32ee-5019-443a-b048-375ed552c6bc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="6749ec98-d3b7-47df-a18d-9b59a4c97430"/> + <id value="c247b016-ac10-4548-821c-0695404f5391"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Lily Livard"/> + <name value="Lou Pole"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036_5b32c036/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036_5b32c036/input.xml new file mode 100644 index 00000000..e1af2c1b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036_5b32c036/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5b32c036-6168-437f-b44c-4b0dbd12a9d9"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a6c17c6c-f17b-4c17-bd92-9db6b49a9848"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.760.92"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#a6c17c6c-f17b-4c17-bd92-9db6b49a9848"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036_5b32c036/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036_5b32c036/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036_5b32c036/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036_5b32c036/output.json new file mode 100644 index 00000000..0e9a027a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036_5b32c036/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "96f24e99-3545-495a-a406-5d01ab64b09a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9d08f480-5234-48e2-b417-b559c1ada631", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b32c036-6168-437f-b44c-4b0dbd12a9d9_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/99f56992-cac5-46eb-ba0a-7193236e72d2" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/84b23bdd-bba7-483e-aba8-f47037ac00c5" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "99f56992-cac5-46eb-ba0a-7193236e72d2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "84b23bdd-bba7-483e-aba8-f47037ac00c5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/009_Request_MedicationDispense_5b32c036_5b32c036/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036_5b32c036/output.xml new file mode 100644 index 00000000..b44d8221 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5b32c036_5b32c036/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="96f24e99-3545-495a-a406-5d01ab64b09a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.760.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9d08f480-5234-48e2-b417-b559c1ada631"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b32c036-6168-437f-b44c-4b0dbd12a9d9_160.000.226.119.760.92"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/99f56992-cac5-46eb-ba0a-7193236e72d2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/84b23bdd-bba7-483e-aba8-f47037ac00c5"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="99f56992-cac5-46eb-ba0a-7193236e72d2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="84b23bdd-bba7-483e-aba8-f47037ac00c5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="U. O. Money"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/output.json deleted file mode 100644 index 7afe71c8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "ddbba509-c5cf-4377-a506-e39af76cd69e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "4811e50c-3f21-4c86-9d6a-2404a3925b73", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "800e0802-39d4-4874-9383-336c4fd98ae7_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/2e915c7e-0b26-4959-9ef3-361275c0708d" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/2ddee04e-51b9-4cb4-8f68-e8a98d77ddaa" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "2e915c7e-0b26-4959-9ef3-361275c0708d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2ddee04e-51b9-4cb4-8f68-e8a98d77ddaa", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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/009_Request_MedicationDispense_622316fe_800e0802/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/output.xml deleted file mode 100644 index a8df6389..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ddbba509-c5cf-4377-a506-e39af76cd69e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.995.34"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="4811e50c-3f21-4c86-9d6a-2404a3925b73"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="800e0802-39d4-4874-9383-336c4fd98ae7_209.000.000.032.995.34"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/2e915c7e-0b26-4959-9ef3-361275c0708d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/2ddee04e-51b9-4cb4-8f68-e8a98d77ddaa"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2e915c7e-0b26-4959-9ef3-361275c0708d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="46260462"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2ddee04e-51b9-4cb4-8f68-e8a98d77ddaa"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Lon Moore"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802_800e0802/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802_800e0802/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802_800e0802/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802_800e0802/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802_800e0802/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802_800e0802/output.json new file mode 100644 index 00000000..66425995 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802_800e0802/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "02742a53-6fcd-42c0-8b9d-7bb6f41086e6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "08bc8484-e387-4bbe-85d6-b2e426dba378", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "800e0802-39d4-4874-9383-336c4fd98ae7_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/5ce8c75c-df0a-49f0-beeb-07b12b838530" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/888be4d7-911f-4869-8431-7429df2c7a4f" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5ce8c75c-df0a-49f0-beeb-07b12b838530", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "888be4d7-911f-4869-8431-7429df2c7a4f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Sid Down" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802_800e0802/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802_800e0802/output.xml new file mode 100644 index 00000000..068a3cbb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe_800e0802_800e0802/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="02742a53-6fcd-42c0-8b9d-7bb6f41086e6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.995.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="08bc8484-e387-4bbe-85d6-b2e426dba378"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="800e0802-39d4-4874-9383-336c4fd98ae7_209.000.000.032.995.34"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5ce8c75c-df0a-49f0-beeb-07b12b838530"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/888be4d7-911f-4869-8431-7429df2c7a4f"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5ce8c75c-df0a-49f0-beeb-07b12b838530"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="46260462"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="888be4d7-911f-4869-8431-7429df2c7a4f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sid Down"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.json deleted file mode 100644 index f5851afb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "eacfa4b6-ec62-4d6a-bb3c-b15362d7e97e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "54706ed3-0563-40a3-9d58-a0241791f230", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "88ceb1e2-b288-490e-9ccc-30a88e12214c_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/b16b1722-7fa5-41d2-b638-1e1dc155997e" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/e5c67ef9-9294-4acd-b62d-b9a7d899e9a7" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "b16b1722-7fa5-41d2-b638-1e1dc155997e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e5c67ef9-9294-4acd-b62d-b9a7d899e9a7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Jo King" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.xml deleted file mode 100644 index a41eb827..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="eacfa4b6-ec62-4d6a-bb3c-b15362d7e97e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.763.83"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="54706ed3-0563-40a3-9d58-a0241791f230"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="88ceb1e2-b288-490e-9ccc-30a88e12214c_160.000.226.119.763.83"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/b16b1722-7fa5-41d2-b638-1e1dc155997e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/e5c67ef9-9294-4acd-b62d-b9a7d899e9a7"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b16b1722-7fa5-41d2-b638-1e1dc155997e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e5c67ef9-9294-4acd-b62d-b9a7d899e9a7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Jo King"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2/output.json new file mode 100644 index 00000000..53c37db8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "9dfb9f9e-d203-4375-a393-e60d94e0b9cf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c9cd0cf2-557b-434b-9580-1ce4a28064a3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "88ceb1e2-b288-490e-9ccc-30a88e12214c_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/cadf3d19-596d-441b-b4b2-37c7091be2aa" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0c303fe8-89c6-489f-a1b6-6a4c73839229" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "cadf3d19-596d-441b-b4b2-37c7091be2aa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0c303fe8-89c6-489f-a1b6-6a4c73839229", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Theresa Brown" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2/output.xml new file mode 100644 index 00000000..da1772e9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d_88ceb1e2_88ceb1e2/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9dfb9f9e-d203-4375-a393-e60d94e0b9cf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.763.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c9cd0cf2-557b-434b-9580-1ce4a28064a3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="88ceb1e2-b288-490e-9ccc-30a88e12214c_160.000.226.119.763.83"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/cadf3d19-596d-441b-b4b2-37c7091be2aa"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0c303fe8-89c6-489f-a1b6-6a4c73839229"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cadf3d19-596d-441b-b4b2-37c7091be2aa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0c303fe8-89c6-489f-a1b6-6a4c73839229"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Theresa Brown"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.json index e2f0edfd..b63c1650 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "cf3b8bac-631a-4dc6-bcc1-fdd8ec96c18c", + "id": "e5714dad-e623-4c1e-8d26-b63e0915f5ce", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "48d3bb08-d41c-4f65-ad65-0696cf52a358", + "id": "8be89492-910a-4ff6-80b4-2991a8e952aa", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/f65a231a-b664-45a0-90f7-681a555cc233" + "reference": "Medication/5d150ec7-07c8-43fc-ae22-ad1526a55246" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/d404980b-2f0c-4391-9ee4-e1b03c3d8395" + "reference": "Organization/b3406a7e-c30c-4a99-88e3-7e1130474429" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "f65a231a-b664-45a0-90f7-681a555cc233", + "id": "5d150ec7-07c8-43fc-ae22-ad1526a55246", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d404980b-2f0c-4391-9ee4-e1b03c3d8395", + "id": "b3406a7e-c30c-4a99-88e3-7e1130474429", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Phil A. Mignon" + "name": "Carl Arm" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.xml index 3db72f0e..347bc7dd 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="cf3b8bac-631a-4dc6-bcc1-fdd8ec96c18c"/> + <id value="e5714dad-e623-4c1e-8d26-b63e0915f5ce"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="48d3bb08-d41c-4f65-ad65-0696cf52a358"/> + <id value="8be89492-910a-4ff6-80b4-2991a8e952aa"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/f65a231a-b664-45a0-90f7-681a555cc233"/> + <reference value="Medication/5d150ec7-07c8-43fc-ae22-ad1526a55246"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/d404980b-2f0c-4391-9ee4-e1b03c3d8395"/> + <reference value="Organization/b3406a7e-c30c-4a99-88e3-7e1130474429"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="f65a231a-b664-45a0-90f7-681a555cc233"/> + <id value="5d150ec7-07c8-43fc-ae22-ad1526a55246"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d404980b-2f0c-4391-9ee4-e1b03c3d8395"/> + <id value="b3406a7e-c30c-4a99-88e3-7e1130474429"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Phil A. Mignon"/> + <name value="Carl Arm"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d_7fd8a33d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d_7fd8a33d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d_7fd8a33d/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d_7fd8a33d/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d_7fd8a33d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d_7fd8a33d/output.json new file mode 100644 index 00000000..78e3009d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d_7fd8a33d/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "67a41ad1-e3e6-4ad2-85e1-4112f2d0c680", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c8c65bbf-6a7c-4f9c-90fd-f0a6eda2d173", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "7fd8a33d-d329-4918-8a44-b0ec7194eee0_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/e3b3ae93-d7f1-4b00-8060-5b1d2fcfbbe2" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/567a1d1c-aafc-47a1-89c6-ee7d01cbb80e" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e3b3ae93-d7f1-4b00-8060-5b1d2fcfbbe2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "567a1d1c-aafc-47a1-89c6-ee7d01cbb80e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Jay Bird" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d_7fd8a33d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d_7fd8a33d/output.xml new file mode 100644 index 00000000..70f8c43d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_7fd8a33d_7fd8a33d/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="67a41ad1-e3e6-4ad2-85e1-4112f2d0c680"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.552.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c8c65bbf-6a7c-4f9c-90fd-f0a6eda2d173"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="7fd8a33d-d329-4918-8a44-b0ec7194eee0_200.000.002.096.552.89"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e3b3ae93-d7f1-4b00-8060-5b1d2fcfbbe2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/567a1d1c-aafc-47a1-89c6-ee7d01cbb80e"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e3b3ae93-d7f1-4b00-8060-5b1d2fcfbbe2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="72828845"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="567a1d1c-aafc-47a1-89c6-ee7d01cbb80e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jay Bird"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.json index 5f6bd605..ce124d85 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "1f1a4b0f-fa8e-4521-bee8-a046cd5761dc", + "id": "fc5687a1-cd52-4fd9-99ea-0ea5aaf48232", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "4346c135-cc64-4af8-b4e7-eb2340de7cad", + "id": "d17e1abd-a88c-43b6-9203-e11d5429bfa9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/5a063649-5fc3-40fd-b290-916fa0cc99dd" + "reference": "Medication/74d41541-33f3-401b-a8a6-e28d6496dac7" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/ae1ff0ca-6610-47ed-8414-35e09afd3b45" + "reference": "Organization/da543f9a-9424-47a2-b7cd-83d208f900b2" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5a063649-5fc3-40fd-b290-916fa0cc99dd", + "id": "74d41541-33f3-401b-a8a6-e28d6496dac7", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "ae1ff0ca-6610-47ed-8414-35e09afd3b45", + "id": "da543f9a-9424-47a2-b7cd-83d208f900b2", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Minnie Skurt" + "name": "Art Exhibit" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.xml index b91ed0a0..88ad982d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="1f1a4b0f-fa8e-4521-bee8-a046cd5761dc"/> + <id value="fc5687a1-cd52-4fd9-99ea-0ea5aaf48232"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="4346c135-cc64-4af8-b4e7-eb2340de7cad"/> + <id value="d17e1abd-a88c-43b6-9203-e11d5429bfa9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/5a063649-5fc3-40fd-b290-916fa0cc99dd"/> + <reference value="Medication/74d41541-33f3-401b-a8a6-e28d6496dac7"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/ae1ff0ca-6610-47ed-8414-35e09afd3b45"/> + <reference value="Organization/da543f9a-9424-47a2-b7cd-83d208f900b2"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5a063649-5fc3-40fd-b290-916fa0cc99dd"/> + <id value="74d41541-33f3-401b-a8a6-e28d6496dac7"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="ae1ff0ca-6610-47ed-8414-35e09afd3b45"/> + <id value="da543f9a-9424-47a2-b7cd-83d208f900b2"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Minnie Skurt"/> + <name value="Art Exhibit"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802/input.xml new file mode 100644 index 00000000..cf0cd819 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="800e0802-39d4-4874-9383-336c4fd98ae7"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1f16baef-810f-43e9-91e9-546c4dc027b6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="46260462"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.995.34"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#1f16baef-810f-43e9-91e9-546c4dc027b6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802/output.json new file mode 100644 index 00000000..0a2c6959 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "32911cb0-e576-45a7-9957-0b728e1d0b57", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "76ea44fb-466a-4534-9a3c-b2bd5d51103c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "800e0802-39d4-4874-9383-336c4fd98ae7_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/33820ec3-bea7-42ea-901d-11d537ef2304" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e1edc4e6-952b-4d09-9dc7-f7d64422f03d" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "33820ec3-bea7-42ea-901d-11d537ef2304", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e1edc4e6-952b-4d09-9dc7-f7d64422f03d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Kristie Hannity" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802/output.xml new file mode 100644 index 00000000..c55ba17f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_800e0802_800e0802/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="32911cb0-e576-45a7-9957-0b728e1d0b57"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.995.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="76ea44fb-466a-4534-9a3c-b2bd5d51103c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="800e0802-39d4-4874-9383-336c4fd98ae7_209.000.000.032.995.34"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/33820ec3-bea7-42ea-901d-11d537ef2304"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e1edc4e6-952b-4d09-9dc7-f7d64422f03d"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="33820ec3-bea7-42ea-901d-11d537ef2304"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="46260462"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e1edc4e6-952b-4d09-9dc7-f7d64422f03d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kristie Hannity"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.json deleted file mode 100644 index 69576ace..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "2e5107c0-621f-4d5c-9105-460a6656a0bc", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "90b42247-5636-4d51-850d-25e193fe2445", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "89b0bda6-537d-4770-a30b-df7c80487c62_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/9309f2c2-5625-40d8-a240-c6223061e99f" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/344a5867-8403-4045-8b19-838685c8a5cc" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "9309f2c2-5625-40d8-a240-c6223061e99f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "344a5867-8403-4045-8b19-838685c8a5cc", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Gil T. Azell" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.xml deleted file mode 100644 index 940d3917..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2e5107c0-621f-4d5c-9105-460a6656a0bc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.553.86"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="90b42247-5636-4d51-850d-25e193fe2445"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="89b0bda6-537d-4770-a30b-df7c80487c62_200.000.002.096.553.86"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/9309f2c2-5625-40d8-a240-c6223061e99f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/344a5867-8403-4045-8b19-838685c8a5cc"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9309f2c2-5625-40d8-a240-c6223061e99f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09921210"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="344a5867-8403-4045-8b19-838685c8a5cc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Gil T. Azell"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6/output.json new file mode 100644 index 00000000..385f0645 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "92dcb324-5b04-46b3-a336-2fb7aec275a6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9dbd954a-d4ec-4dc8-82cd-069d8adf5f87", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "89b0bda6-537d-4770-a30b-df7c80487c62_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/788c9c64-34d2-4aad-910a-e9dd51adfd3e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c02fdce5-5f67-49ed-88e6-46af1a385957" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "788c9c64-34d2-4aad-910a-e9dd51adfd3e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c02fdce5-5f67-49ed-88e6-46af1a385957", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Douglas S. Halfempty" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6/output.xml new file mode 100644 index 00000000..2e2e4c27 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e_89b0bda6_89b0bda6/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="92dcb324-5b04-46b3-a336-2fb7aec275a6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.553.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9dbd954a-d4ec-4dc8-82cd-069d8adf5f87"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="89b0bda6-537d-4770-a30b-df7c80487c62_200.000.002.096.553.86"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/788c9c64-34d2-4aad-910a-e9dd51adfd3e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c02fdce5-5f67-49ed-88e6-46af1a385957"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="788c9c64-34d2-4aad-910a-e9dd51adfd3e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09921210"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c02fdce5-5f67-49ed-88e6-46af1a385957"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Douglas S. Halfempty"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.json index e740f0ba..8d94a417 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "1ae12748-50ca-4d46-8de2-0f010b08cbab", + "id": "ef75e9d7-52cc-459f-a1e5-4a95bde28e21", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "9ea0a528-75f7-4ddd-af1e-1802b0faee90", + "id": "19d74956-a100-4ede-b13c-4b39f91cbc6a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/d9b667ef-ed3b-4f05-bf6d-3c7ec9b047fc" + "reference": "Medication/54e81b67-b226-46c1-a2ad-b19eb0084b00" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/cfe69103-17fe-4070-a9a5-d1f92ce4bc31" + "reference": "Organization/545ea780-071a-4a00-b980-2fd6ce6b0b8c" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "d9b667ef-ed3b-4f05-bf6d-3c7ec9b047fc", + "id": "54e81b67-b226-46c1-a2ad-b19eb0084b00", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "cfe69103-17fe-4070-a9a5-d1f92ce4bc31", + "id": "545ea780-071a-4a00-b980-2fd6ce6b0b8c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Milly Meter" + "name": "Trina Woods" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.xml index cb30e4b5..6ed2267d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="1ae12748-50ca-4d46-8de2-0f010b08cbab"/> + <id value="ef75e9d7-52cc-459f-a1e5-4a95bde28e21"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="9ea0a528-75f7-4ddd-af1e-1802b0faee90"/> + <id value="19d74956-a100-4ede-b13c-4b39f91cbc6a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/d9b667ef-ed3b-4f05-bf6d-3c7ec9b047fc"/> + <reference value="Medication/54e81b67-b226-46c1-a2ad-b19eb0084b00"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/cfe69103-17fe-4070-a9a5-d1f92ce4bc31"/> + <reference value="Organization/545ea780-071a-4a00-b980-2fd6ce6b0b8c"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="d9b667ef-ed3b-4f05-bf6d-3c7ec9b047fc"/> + <id value="54e81b67-b226-46c1-a2ad-b19eb0084b00"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="cfe69103-17fe-4070-a9a5-d1f92ce4bc31"/> + <id value="545ea780-071a-4a00-b980-2fd6ce6b0b8c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Milly Meter"/> + <name value="Trina Woods"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2/input.xml new file mode 100644 index 00000000..7afd51d9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="88ceb1e2-b288-490e-9ccc-30a88e12214c"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4e2900dc-cee2-4343-84cd-a07347018b68"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.763.83"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#4e2900dc-cee2-4343-84cd-a07347018b68"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2/output.json new file mode 100644 index 00000000..3452315f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "17e63de4-966a-43c9-91cb-4a8670d09b1e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8e3e8d53-f80c-4a5d-ac0d-4264e9555a1e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "88ceb1e2-b288-490e-9ccc-30a88e12214c_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/b66b632b-4fca-4fc2-ab39-bae46c452fde" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5e654448-9b14-4a5a-be3f-0fa259f2edbb" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b66b632b-4fca-4fc2-ab39-bae46c452fde", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5e654448-9b14-4a5a-be3f-0fa259f2edbb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Lou Pole" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2/output.xml new file mode 100644 index 00000000..1f08d0b1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_88ceb1e2_88ceb1e2/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="17e63de4-966a-43c9-91cb-4a8670d09b1e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.763.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8e3e8d53-f80c-4a5d-ac0d-4264e9555a1e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="88ceb1e2-b288-490e-9ccc-30a88e12214c_160.000.226.119.763.83"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b66b632b-4fca-4fc2-ab39-bae46c452fde"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5e654448-9b14-4a5a-be3f-0fa259f2edbb"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b66b632b-4fca-4fc2-ab39-bae46c452fde"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5e654448-9b14-4a5a-be3f-0fa259f2edbb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lou Pole"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.json index 7721bb54..3688d42c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "8e38651c-1fc0-4402-8199-eea4245802e3", + "id": "9ed7ef44-c6a4-4bbb-af37-6e8a8d6a28f4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "b9248c87-33ae-463f-8199-80ad7868cf30", + "id": "230a3fdd-b0e3-4c79-95d8-582c261eef2b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/cbd887bd-176e-4f3d-83e5-4c6bf493fb21" + "reference": "Medication/f181f4ff-017f-46fe-8c6f-6c7eb68a91bc" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/5c7f73d7-81b4-494c-b6e0-12afe197f147" + "reference": "Organization/9faae64f-6537-42d4-9b7c-03f3b5564ce9" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "cbd887bd-176e-4f3d-83e5-4c6bf493fb21", + "id": "f181f4ff-017f-46fe-8c6f-6c7eb68a91bc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "5c7f73d7-81b4-494c-b6e0-12afe197f147", + "id": "9faae64f-6537-42d4-9b7c-03f3b5564ce9", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Rusty Carr" + "name": "Ben Crobbery" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.xml index 0913af9d..436c4e18 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="8e38651c-1fc0-4402-8199-eea4245802e3"/> + <id value="9ed7ef44-c6a4-4bbb-af37-6e8a8d6a28f4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b9248c87-33ae-463f-8199-80ad7868cf30"/> + <id value="230a3fdd-b0e3-4c79-95d8-582c261eef2b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/cbd887bd-176e-4f3d-83e5-4c6bf493fb21"/> + <reference value="Medication/f181f4ff-017f-46fe-8c6f-6c7eb68a91bc"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/5c7f73d7-81b4-494c-b6e0-12afe197f147"/> + <reference value="Organization/9faae64f-6537-42d4-9b7c-03f3b5564ce9"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="cbd887bd-176e-4f3d-83e5-4c6bf493fb21"/> + <id value="f181f4ff-017f-46fe-8c6f-6c7eb68a91bc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="5c7f73d7-81b4-494c-b6e0-12afe197f147"/> + <id value="9faae64f-6537-42d4-9b7c-03f3b5564ce9"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Rusty Carr"/> + <name value="Ben Crobbery"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6/input.xml new file mode 100644 index 00000000..197d98fa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="89b0bda6-537d-4770-a30b-df7c80487c62"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7570cb81-1f77-482a-9e97-e370734ae496"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09921210"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.553.86"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#7570cb81-1f77-482a-9e97-e370734ae496"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6/output.json new file mode 100644 index 00000000..f09e202a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "3a9e1265-7fe0-4675-8cf4-0faa30fbfd7b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b96478ac-61bf-41cf-8169-3ec4a7b25017", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "89b0bda6-537d-4770-a30b-df7c80487c62_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/abf36777-eba8-435e-8873-bf2aa4395a62" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/23b9c54a-bb8a-45b1-9169-1be09e71d1e2" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "abf36777-eba8-435e-8873-bf2aa4395a62", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "23b9c54a-bb8a-45b1-9169-1be09e71d1e2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Roman Holiday" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6/output.xml new file mode 100644 index 00000000..ab775be4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_89b0bda6_89b0bda6/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3a9e1265-7fe0-4675-8cf4-0faa30fbfd7b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.553.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b96478ac-61bf-41cf-8169-3ec4a7b25017"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="89b0bda6-537d-4770-a30b-df7c80487c62_200.000.002.096.553.86"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/abf36777-eba8-435e-8873-bf2aa4395a62"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/23b9c54a-bb8a-45b1-9169-1be09e71d1e2"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="abf36777-eba8-435e-8873-bf2aa4395a62"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09921210"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="23b9c54a-bb8a-45b1-9169-1be09e71d1e2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Roman Holiday"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.json deleted file mode 100644 index e61fcece..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "45087860-c4ed-4902-b189-bfa3315e8b3a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.006.467.748.14" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "ab370861-4eda-4b92-9805-58f986cc5e10", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "e8fc0f90-951e-4686-823e-85a862cf9457_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/ca2b6459-8a1c-41d5-8e1a-f286c740a4ba" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "C020222113" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/89880f5a-0c78-44df-85cd-2da664e9154f" - } - } ], - "whenHandedOver": "2024-02-13" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "ca2b6459-8a1c-41d5-8e1a-f286c740a4ba", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "89880f5a-0c78-44df-85cd-2da664e9154f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.xml deleted file mode 100644 index d49677f8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="45087860-c4ed-4902-b189-bfa3315e8b3a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.467.748.14"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ab370861-4eda-4b92-9805-58f986cc5e10"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="e8fc0f90-951e-4686-823e-85a862cf9457_160.000.006.467.748.14"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/ca2b6459-8a1c-41d5-8e1a-f286c740a4ba"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="C020222113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/89880f5a-0c78-44df-85cd-2da664e9154f"/> - </actor> - </performer> - <whenHandedOver value="2024-02-13"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ca2b6459-8a1c-41d5-8e1a-f286c740a4ba"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="89880f5a-0c78-44df-85cd-2da664e9154f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Lina Ginster"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90/output.json new file mode 100644 index 00000000..43b5dcac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "7e208915-0995-4596-b4f2-825865db29d5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.006.467.748.14" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "737c2e3a-c0b9-4af1-b656-a3c5eef25397", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "e8fc0f90-951e-4686-823e-85a862cf9457_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/e6b87295-82d1-4788-8287-b11c804be97f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "C020222113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/052d4804-1c01-43fc-8f97-f2f9ef450d59" + } + } ], + "whenHandedOver": "2024-02-13" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e6b87295-82d1-4788-8287-b11c804be97f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "052d4804-1c01-43fc-8f97-f2f9ef450d59", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Melba Crisp" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90/output.xml new file mode 100644 index 00000000..9444ae63 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9_e8fc0f90_e8fc0f90/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7e208915-0995-4596-b4f2-825865db29d5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.467.748.14"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="737c2e3a-c0b9-4af1-b656-a3c5eef25397"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="e8fc0f90-951e-4686-823e-85a862cf9457_160.000.006.467.748.14"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e6b87295-82d1-4788-8287-b11c804be97f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="C020222113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/052d4804-1c01-43fc-8f97-f2f9ef450d59"/> + </actor> + </performer> + <whenHandedOver value="2024-02-13"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e6b87295-82d1-4788-8287-b11c804be97f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="052d4804-1c01-43fc-8f97-f2f9ef450d59"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Melba Crisp"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.json index 111a2f1c..7690e91d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "d80ddb06-0013-4435-bfc0-4e41cea0b8f7", + "id": "39677db1-e21e-4c24-9b32-4053cb0b00e3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "da111c19-f83b-4684-a424-a5ae1164f97f", + "id": "30193542-462a-48bd-a9f5-ae28c10c3627", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/da293c9a-d25c-49c4-803f-2cd48b69208a" + "reference": "Medication/9d95c18d-3100-449c-9c9d-f89170f3a4ef" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/afea3148-e70b-490c-895f-669afcaff7d8" + "reference": "Organization/5ef0c41b-275b-4c56-ae07-653120c1e94c" } } ], "whenHandedOver": "2024-02-13" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "da293c9a-d25c-49c4-803f-2cd48b69208a", + "id": "9d95c18d-3100-449c-9c9d-f89170f3a4ef", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "afea3148-e70b-490c-895f-669afcaff7d8", + "id": "5ef0c41b-275b-4c56-ae07-653120c1e94c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Bill Ding" + "name": "Sue Render" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.xml index 6e32df0f..8ffec6bb 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="d80ddb06-0013-4435-bfc0-4e41cea0b8f7"/> + <id value="39677db1-e21e-4c24-9b32-4053cb0b00e3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="da111c19-f83b-4684-a424-a5ae1164f97f"/> + <id value="30193542-462a-48bd-a9f5-ae28c10c3627"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/da293c9a-d25c-49c4-803f-2cd48b69208a"/> + <reference value="Medication/9d95c18d-3100-449c-9c9d-f89170f3a4ef"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/afea3148-e70b-490c-895f-669afcaff7d8"/> + <reference value="Organization/5ef0c41b-275b-4c56-ae07-653120c1e94c"/> </actor> </performer> <whenHandedOver value="2024-02-13"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="da293c9a-d25c-49c4-803f-2cd48b69208a"/> + <id value="9d95c18d-3100-449c-9c9d-f89170f3a4ef"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="afea3148-e70b-490c-895f-669afcaff7d8"/> + <id value="5ef0c41b-275b-4c56-ae07-653120c1e94c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Bill Ding"/> + <name value="Sue Render"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795/input.xml new file mode 100644 index 00000000..4bcccf12 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8f932795-0cfc-4720-ac9b-7bfca4c1a280"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5e8317e7-deaf-4d42-bb68-76fdd13709ab"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.463.677.05"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5e8317e7-deaf-4d42-bb68-76fdd13709ab"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-13"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795/output.json new file mode 100644 index 00000000..ccd8fd06 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "7f56004a-aef3-4797-921c-db74900665fa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.006.463.677.05" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "804be40b-54fb-4332-b091-4ca848db345e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "8f932795-0cfc-4720-ac9b-7bfca4c1a280_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/7b30e39e-abaa-4b30-b914-60c4695af2f1" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "T046142499" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/fc8086e1-9fbc-41f6-bffa-e678eacfc86b" + } + } ], + "whenHandedOver": "2024-02-13" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7b30e39e-abaa-4b30-b914-60c4695af2f1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fc8086e1-9fbc-41f6-bffa-e678eacfc86b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ilene South" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795/output.xml new file mode 100644 index 00000000..8b5b0cfa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8f932795_8f932795/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7f56004a-aef3-4797-921c-db74900665fa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.463.677.05"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="804be40b-54fb-4332-b091-4ca848db345e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="8f932795-0cfc-4720-ac9b-7bfca4c1a280_160.000.006.463.677.05"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7b30e39e-abaa-4b30-b914-60c4695af2f1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/fc8086e1-9fbc-41f6-bffa-e678eacfc86b"/> + </actor> + </performer> + <whenHandedOver value="2024-02-13"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7b30e39e-abaa-4b30-b914-60c4695af2f1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fc8086e1-9fbc-41f6-bffa-e678eacfc86b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ilene South"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.json index cbf5b255..3165def7 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c9e036b0-94de-483e-8fe5-33545fa8cfd8", + "id": "473ea0b9-92ca-4298-8f32-dd29090ea83e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "bd63dd0c-fe07-4659-914f-a16f21df64c1", + "id": "cf1f95d4-781c-42fd-bede-0ebfcacf32f1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/b74b108c-2aa9-41f8-8882-ed2e5ce96bd4" + "reference": "Medication/024e33f2-dd07-4249-bfbb-b5c97694cb5c" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/6cdcb8ab-ed6d-4707-847e-a95118f6feb1" + "reference": "Organization/6071e8c4-7d5e-4403-8efd-22e8b3d82fbc" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "b74b108c-2aa9-41f8-8882-ed2e5ce96bd4", + "id": "024e33f2-dd07-4249-bfbb-b5c97694cb5c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "6cdcb8ab-ed6d-4707-847e-a95118f6feb1", + "id": "6071e8c4-7d5e-4403-8efd-22e8b3d82fbc", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Lina Ginster" + "name": "Dee Kay" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.xml index 281c98bf..2c1a0ad6 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c9e036b0-94de-483e-8fe5-33545fa8cfd8"/> + <id value="473ea0b9-92ca-4298-8f32-dd29090ea83e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="bd63dd0c-fe07-4659-914f-a16f21df64c1"/> + <id value="cf1f95d4-781c-42fd-bede-0ebfcacf32f1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/b74b108c-2aa9-41f8-8882-ed2e5ce96bd4"/> + <reference value="Medication/024e33f2-dd07-4249-bfbb-b5c97694cb5c"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/6cdcb8ab-ed6d-4707-847e-a95118f6feb1"/> + <reference value="Organization/6071e8c4-7d5e-4403-8efd-22e8b3d82fbc"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="b74b108c-2aa9-41f8-8882-ed2e5ce96bd4"/> + <id value="024e33f2-dd07-4249-bfbb-b5c97694cb5c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="6cdcb8ab-ed6d-4707-847e-a95118f6feb1"/> + <id value="6071e8c4-7d5e-4403-8efd-22e8b3d82fbc"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Lina Ginster"/> + <name value="Dee Kay"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db_91e812db/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db_91e812db/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db_91e812db/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db_91e812db/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db_91e812db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db_91e812db/output.json new file mode 100644 index 00000000..685f711a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db_91e812db/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "c5233f00-e5e4-417b-a47e-faaae50567f3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c613af2c-b3b5-4737-88d2-7f4df1199d90", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "91e812db-fdad-44f8-88e0-2d63004455c7_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/7b48871b-3253-4e2b-bc9e-3af07521ddbe" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/4f993457-bc61-469c-aab6-e3dc5317f42c" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7b48871b-3253-4e2b-bc9e-3af07521ddbe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4f993457-bc61-469c-aab6-e3dc5317f42c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Misty Waters" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db_91e812db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db_91e812db/output.xml new file mode 100644 index 00000000..6e7ad32a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_91e812db_91e812db/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c5233f00-e5e4-417b-a47e-faaae50567f3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.529.61"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c613af2c-b3b5-4737-88d2-7f4df1199d90"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="91e812db-fdad-44f8-88e0-2d63004455c7_200.000.002.096.529.61"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7b48871b-3253-4e2b-bc9e-3af07521ddbe"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/4f993457-bc61-469c-aab6-e3dc5317f42c"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7b48871b-3253-4e2b-bc9e-3af07521ddbe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="94890460"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4f993457-bc61-469c-aab6-e3dc5317f42c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Misty Waters"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.json index d8d81924..6ef8e3cc 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "fdb8d2fe-a030-4eaa-a80b-4cf18b46ac1e", + "id": "7eb6d3d4-d33a-4dcd-b049-96d6ceffe32b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "e41434d0-866d-42d4-8551-6de21e0ac4ce", + "id": "b409c271-da8d-4934-b7e0-52fe995bc1c3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/e25a0217-35b2-4ca0-8c12-3e2756d170e3" + "reference": "Medication/42ec8f6d-c866-4bda-a7b0-15784f317e92" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/8e4ee772-ba89-4933-be97-752eb713a085" + "reference": "Organization/baeaeeee-a535-485b-9ef4-1f6ac2788991" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "e25a0217-35b2-4ca0-8c12-3e2756d170e3", + "id": "42ec8f6d-c866-4bda-a7b0-15784f317e92", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "8e4ee772-ba89-4933-be97-752eb713a085", + "id": "baeaeeee-a535-485b-9ef4-1f6ac2788991", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Mike Raffone" + "name": "Helena Hanbaskett" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.xml index 318ddfcd..e27fc326 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="fdb8d2fe-a030-4eaa-a80b-4cf18b46ac1e"/> + <id value="7eb6d3d4-d33a-4dcd-b049-96d6ceffe32b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="e41434d0-866d-42d4-8551-6de21e0ac4ce"/> + <id value="b409c271-da8d-4934-b7e0-52fe995bc1c3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/e25a0217-35b2-4ca0-8c12-3e2756d170e3"/> + <reference value="Medication/42ec8f6d-c866-4bda-a7b0-15784f317e92"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/8e4ee772-ba89-4933-be97-752eb713a085"/> + <reference value="Organization/baeaeeee-a535-485b-9ef4-1f6ac2788991"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="e25a0217-35b2-4ca0-8c12-3e2756d170e3"/> + <id value="42ec8f6d-c866-4bda-a7b0-15784f317e92"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="8e4ee772-ba89-4933-be97-752eb713a085"/> + <id value="baeaeeee-a535-485b-9ef4-1f6ac2788991"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Mike Raffone"/> + <name value="Helena Hanbaskett"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68_95b01d68/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68_95b01d68/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68_95b01d68/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68_95b01d68/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68_95b01d68/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68_95b01d68/output.json new file mode 100644 index 00000000..e6f708cd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68_95b01d68/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "cc4a5145-7a72-459c-9066-bb6f796df82f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "aaf8aa1c-3ff4-4a57-a550-1ba4bd476e64", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "95b01d68-59fe-4648-a17e-03bb0e033718_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/6fb645a1-efdd-402b-b4fb-14134c7aa0e4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5f7eb637-3bce-4699-bfa9-2f83c0b79086" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "6fb645a1-efdd-402b-b4fb-14134c7aa0e4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5f7eb637-3bce-4699-bfa9-2f83c0b79086", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Sy Burnette" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68_95b01d68/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68_95b01d68/output.xml new file mode 100644 index 00000000..cb42c46d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_95b01d68_95b01d68/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="cc4a5145-7a72-459c-9066-bb6f796df82f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.550.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="aaf8aa1c-3ff4-4a57-a550-1ba4bd476e64"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="95b01d68-59fe-4648-a17e-03bb0e033718_200.000.002.096.550.95"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/6fb645a1-efdd-402b-b4fb-14134c7aa0e4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5f7eb637-3bce-4699-bfa9-2f83c0b79086"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6fb645a1-efdd-402b-b4fb-14134c7aa0e4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16833239"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5f7eb637-3bce-4699-bfa9-2f83c0b79086"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sy Burnette"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.json index 12bb8c02..2f883086 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "e707d5e6-6c9b-453d-a5ec-df4392d29414", + "id": "d22b8ac6-9d6d-4b51-a7a3-1aab91806a35", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "7d6aee89-9725-4aa2-9b2d-b71220fea3c1", + "id": "d374a9a7-a611-4b16-81e4-6cd7e8205789", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/7d9bc54a-e7d4-4423-b60e-ba154adaf099" + "reference": "Medication/4db69061-ae68-4102-b5a1-8330abd4ada4" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/94dda3fc-a00e-4d58-b4fe-7ace6ad2a022" + "reference": "Organization/35dd9d3c-e58d-4a17-8e48-494564bd6006" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "7d9bc54a-e7d4-4423-b60e-ba154adaf099", + "id": "4db69061-ae68-4102-b5a1-8330abd4ada4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "94dda3fc-a00e-4d58-b4fe-7ace6ad2a022", + "id": "35dd9d3c-e58d-4a17-8e48-494564bd6006", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Manny Kinn" + "name": "Ben Thair" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.xml index 26023538..ad283cc7 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="e707d5e6-6c9b-453d-a5ec-df4392d29414"/> + <id value="d22b8ac6-9d6d-4b51-a7a3-1aab91806a35"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="7d6aee89-9725-4aa2-9b2d-b71220fea3c1"/> + <id value="d374a9a7-a611-4b16-81e4-6cd7e8205789"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/7d9bc54a-e7d4-4423-b60e-ba154adaf099"/> + <reference value="Medication/4db69061-ae68-4102-b5a1-8330abd4ada4"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/94dda3fc-a00e-4d58-b4fe-7ace6ad2a022"/> + <reference value="Organization/35dd9d3c-e58d-4a17-8e48-494564bd6006"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="7d9bc54a-e7d4-4423-b60e-ba154adaf099"/> + <id value="4db69061-ae68-4102-b5a1-8330abd4ada4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="94dda3fc-a00e-4d58-b4fe-7ace6ad2a022"/> + <id value="35dd9d3c-e58d-4a17-8e48-494564bd6006"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Manny Kinn"/> + <name value="Ben Thair"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560_9b046560/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560_9b046560/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560_9b046560/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560_9b046560/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560_9b046560/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560_9b046560/output.json new file mode 100644 index 00000000..90c8db8f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560_9b046560/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "0c6c0826-037a-45e3-9e34-25bdb694c8dd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "29f8b00d-9425-498a-89fa-9413d478f665", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "9b046560-7608-47ae-b91b-3a7c8b4779ca_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/9746b2c9-54ea-476f-9167-8a174f5da427" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a7266924-6d6c-471c-99f9-c01202a1152c" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "9746b2c9-54ea-476f-9167-8a174f5da427", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a7266924-6d6c-471c-99f9-c01202a1152c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 DeLawn" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560_9b046560/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560_9b046560/output.xml new file mode 100644 index 00000000..fab587fe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_9b046560_9b046560/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0c6c0826-037a-45e3-9e34-25bdb694c8dd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.551.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="29f8b00d-9425-498a-89fa-9413d478f665"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="9b046560-7608-47ae-b91b-3a7c8b4779ca_200.000.002.096.551.92"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/9746b2c9-54ea-476f-9167-8a174f5da427"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a7266924-6d6c-471c-99f9-c01202a1152c"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9746b2c9-54ea-476f-9167-8a174f5da427"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="30978281"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a7266924-6d6c-471c-99f9-c01202a1152c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Moe DeLawn"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.json deleted file mode 100644 index 522560ee..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "2daeefde-dd14-425f-98b2-4ab2e91d0c65", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "a318b9c7-230b-4316-affc-67e9260dfaca", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "95b01d68-59fe-4648-a17e-03bb0e033718_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/d95e2c2a-5f3c-4a28-8024-0d20de271753" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/bcbf2045-6cf2-4977-976b-71e105892b2d" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "d95e2c2a-5f3c-4a28-8024-0d20de271753", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bcbf2045-6cf2-4977-976b-71e105892b2d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Lou Pole" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.xml deleted file mode 100644 index 11ffca04..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2daeefde-dd14-425f-98b2-4ab2e91d0c65"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.550.95"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a318b9c7-230b-4316-affc-67e9260dfaca"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="95b01d68-59fe-4648-a17e-03bb0e033718_200.000.002.096.550.95"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/d95e2c2a-5f3c-4a28-8024-0d20de271753"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/bcbf2045-6cf2-4977-976b-71e105892b2d"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="d95e2c2a-5f3c-4a28-8024-0d20de271753"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16833239"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bcbf2045-6cf2-4977-976b-71e105892b2d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Lou Pole"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68/input.xml new file mode 100644 index 00000000..3bbc626d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="95b01d68-59fe-4648-a17e-03bb0e033718"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="623d572c-765b-4bf1-bcd4-6169a20a0a87"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16833239"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.550.95"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#623d572c-765b-4bf1-bcd4-6169a20a0a87"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68/output.json new file mode 100644 index 00000000..61b801bb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "7be166a6-83e9-4727-852a-9f4cd97d75b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4eb5615d-72de-4a1a-925f-422fd6e75aca", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "95b01d68-59fe-4648-a17e-03bb0e033718_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/319a25f4-e0c9-44dc-9b4b-393464748aa4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0355ab15-3b39-42e1-920d-1ed21cb2ca12" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "319a25f4-e0c9-44dc-9b4b-393464748aa4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0355ab15-3b39-42e1-920d-1ed21cb2ca12", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "May Furst" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68/output.xml new file mode 100644 index 00000000..e995e964 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec_95b01d68_95b01d68/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7be166a6-83e9-4727-852a-9f4cd97d75b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.550.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4eb5615d-72de-4a1a-925f-422fd6e75aca"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="95b01d68-59fe-4648-a17e-03bb0e033718_200.000.002.096.550.95"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/319a25f4-e0c9-44dc-9b4b-393464748aa4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0355ab15-3b39-42e1-920d-1ed21cb2ca12"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="319a25f4-e0c9-44dc-9b4b-393464748aa4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16833239"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0355ab15-3b39-42e1-920d-1ed21cb2ca12"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="May Furst"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.json deleted file mode 100644 index 4f847a47..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "24f1fa6b-26b9-46df-8b3e-35cbe7dc2e95", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "0298d742-d53c-4ec6-885b-fd9f37a6ce23", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "2bd690cf-cf36-4086-8778-39ba9ef7813a_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/7d401487-28f8-423e-ae09-ad1e89b1cd59" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/6ac0a33c-d680-4fa2-82ee-9a2a30e4f156" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "7d401487-28f8-423e-ae09-ad1e89b1cd59", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6ac0a33c-d680-4fa2-82ee-9a2a30e4f156", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Don Key" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.xml deleted file mode 100644 index cffa2f49..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="24f1fa6b-26b9-46df-8b3e-35cbe7dc2e95"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.532.52"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="0298d742-d53c-4ec6-885b-fd9f37a6ce23"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="2bd690cf-cf36-4086-8778-39ba9ef7813a_200.000.002.096.532.52"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/7d401487-28f8-423e-ae09-ad1e89b1cd59"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/6ac0a33c-d680-4fa2-82ee-9a2a30e4f156"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7d401487-28f8-423e-ae09-ad1e89b1cd59"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="22477205"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6ac0a33c-d680-4fa2-82ee-9a2a30e4f156"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Don Key"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf/input.xml new file mode 100644 index 00000000..4d9d9f1c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2bd690cf-cf36-4086-8778-39ba9ef7813a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4c7680d4-c589-4ca4-b6d6-bf1a7e1310a9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="22477205"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.532.52"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#4c7680d4-c589-4ca4-b6d6-bf1a7e1310a9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf/output.json new file mode 100644 index 00000000..d8f4e53a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "4cef80e3-a015-43b6-863d-59d8c201059d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e2624469-e622-4c9c-8df7-2e39602fb354", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "2bd690cf-cf36-4086-8778-39ba9ef7813a_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/d897f071-fa96-4f90-854a-570dc8797754" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0762e184-bd2b-4ed0-ab5f-0efd1eb8cece" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "d897f071-fa96-4f90-854a-570dc8797754", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0762e184-bd2b-4ed0-ab5f-0efd1eb8cece", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dustin D. Furniture" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf/output.xml new file mode 100644 index 00000000..72ad81f3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701_2bd690cf_2bd690cf/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4cef80e3-a015-43b6-863d-59d8c201059d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.532.52"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e2624469-e622-4c9c-8df7-2e39602fb354"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="2bd690cf-cf36-4086-8778-39ba9ef7813a_200.000.002.096.532.52"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/d897f071-fa96-4f90-854a-570dc8797754"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0762e184-bd2b-4ed0-ab5f-0efd1eb8cece"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d897f071-fa96-4f90-854a-570dc8797754"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="22477205"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0762e184-bd2b-4ed0-ab5f-0efd1eb8cece"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dustin D. Furniture"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.json deleted file mode 100644 index 78eec637..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "654db377-a0f6-4510-92b5-d5dfd9de05c0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "15f5702f-8d70-4e5c-9179-50e4e288fe3e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "4dbd54be-687b-4aca-bd75-ea37ab3ad225_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/ace52357-796e-4657-8512-c79b25cce019" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/6010b4db-45b3-4b53-b6af-18feb20695b0" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "ace52357-796e-4657-8512-c79b25cce019", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6010b4db-45b3-4b53-b6af-18feb20695b0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Bo D. Satva" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.xml deleted file mode 100644 index d7c21629..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="654db377-a0f6-4510-92b5-d5dfd9de05c0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.767.71"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="15f5702f-8d70-4e5c-9179-50e4e288fe3e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="4dbd54be-687b-4aca-bd75-ea37ab3ad225_160.000.226.119.767.71"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/ace52357-796e-4657-8512-c79b25cce019"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/6010b4db-45b3-4b53-b6af-18feb20695b0"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ace52357-796e-4657-8512-c79b25cce019"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6010b4db-45b3-4b53-b6af-18feb20695b0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Bo D. Satva"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be/input.xml new file mode 100644 index 00000000..8acadf67 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4dbd54be-687b-4aca-bd75-ea37ab3ad225"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="17218abd-f3d7-4770-82e6-0d2a65c1463f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.767.71"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#17218abd-f3d7-4770-82e6-0d2a65c1463f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be/output.json new file mode 100644 index 00000000..f664695f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "633fbbe1-0722-4cb9-931a-0ccfd54f524c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "6bbb66a4-0cc6-4c3b-8064-30bb4fdf9118", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "4dbd54be-687b-4aca-bd75-ea37ab3ad225_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/825cea6b-4fac-47fd-9e61-0221504081d7" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/65569d0b-c02f-4801-a0d8-fbbaaaf0783d" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "825cea6b-4fac-47fd-9e61-0221504081d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "65569d0b-c02f-4801-a0d8-fbbaaaf0783d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Herb E. Side" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be/output.xml new file mode 100644 index 00000000..edd8ef44 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754_4dbd54be_4dbd54be/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="633fbbe1-0722-4cb9-931a-0ccfd54f524c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.767.71"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6bbb66a4-0cc6-4c3b-8064-30bb4fdf9118"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="4dbd54be-687b-4aca-bd75-ea37ab3ad225_160.000.226.119.767.71"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/825cea6b-4fac-47fd-9e61-0221504081d7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/65569d0b-c02f-4801-a0d8-fbbaaaf0783d"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="825cea6b-4fac-47fd-9e61-0221504081d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="65569d0b-c02f-4801-a0d8-fbbaaaf0783d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Herb E. Side"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.json deleted file mode 100644 index 744903a1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "d540f458-1210-4adb-8cb3-f33f1e331945", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "cadcb78c-4bca-4811-bd91-aa13d6eee410", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "f64fd7b4-8720-4986-a3c3-11892afa2267_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/dedb24f7-8c97-4d48-b0b2-75385a095466" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/bcf34f74-4cc1-4e24-a41f-9637c0b1b7ec" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "dedb24f7-8c97-4d48-b0b2-75385a095466", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bcf34f74-4cc1-4e24-a41f-9637c0b1b7ec", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Liv Long" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.xml deleted file mode 100644 index 25744099..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d540f458-1210-4adb-8cb3-f33f1e331945"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.533.49"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="cadcb78c-4bca-4811-bd91-aa13d6eee410"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="f64fd7b4-8720-4986-a3c3-11892afa2267_200.000.002.096.533.49"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/dedb24f7-8c97-4d48-b0b2-75385a095466"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/bcf34f74-4cc1-4e24-a41f-9637c0b1b7ec"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="dedb24f7-8c97-4d48-b0b2-75385a095466"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="84264572"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bcf34f74-4cc1-4e24-a41f-9637c0b1b7ec"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Liv Long"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4/output.json new file mode 100644 index 00000000..520a8deb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "5720de5f-051a-4e52-8cc1-ad99da21a744", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c065f7c3-e178-498c-b0d5-a7f199959a8f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f64fd7b4-8720-4986-a3c3-11892afa2267_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/c30a739a-e9cd-48b2-804c-9eef5768fbfe" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3107b103-1ed9-436d-82f8-6faa285ef687" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "c30a739a-e9cd-48b2-804c-9eef5768fbfe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3107b103-1ed9-436d-82f8-6faa285ef687", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ty Tannick" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4/output.xml new file mode 100644 index 00000000..47bf66e0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331_f64fd7b4_f64fd7b4/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5720de5f-051a-4e52-8cc1-ad99da21a744"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c065f7c3-e178-498c-b0d5-a7f199959a8f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f64fd7b4-8720-4986-a3c3-11892afa2267_200.000.002.096.533.49"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/c30a739a-e9cd-48b2-804c-9eef5768fbfe"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3107b103-1ed9-436d-82f8-6faa285ef687"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c30a739a-e9cd-48b2-804c-9eef5768fbfe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3107b103-1ed9-436d-82f8-6faa285ef687"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ty Tannick"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/output.json deleted file mode 100644 index b64e2f28..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "a193463c-67cc-43a3-afb5-b332bb3784bf", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "15fe0a8d-93bd-4f12-b57e-592590e8bfbc", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "7fd8a33d-d329-4918-8a44-b0ec7194eee0_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/24b120c5-5b1f-4892-89d2-168d7689cb01" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/107f46eb-ca7e-45e8-87fa-03d37a6384dd" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "24b120c5-5b1f-4892-89d2-168d7689cb01", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "107f46eb-ca7e-45e8-87fa-03d37a6384dd", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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_c591a1e2_7fd8a33d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/output.xml deleted file mode 100644 index 22133d17..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a193463c-67cc-43a3-afb5-b332bb3784bf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.552.89"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="15fe0a8d-93bd-4f12-b57e-592590e8bfbc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="7fd8a33d-d329-4918-8a44-b0ec7194eee0_200.000.002.096.552.89"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/24b120c5-5b1f-4892-89d2-168d7689cb01"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/107f46eb-ca7e-45e8-87fa-03d37a6384dd"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="24b120c5-5b1f-4892-89d2-168d7689cb01"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="72828845"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="107f46eb-ca7e-45e8-87fa-03d37a6384dd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Rusty Carr"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d/input.xml new file mode 100644 index 00000000..f16af8bc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7fd8a33d-d329-4918-8a44-b0ec7194eee0"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b6498800-1520-41a1-9444-5a12077bae9f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="72828845"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.552.89"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#b6498800-1520-41a1-9444-5a12077bae9f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d/output.json new file mode 100644 index 00000000..892adc71 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "93ce0abe-5520-4e6e-b8dd-cf117542b97a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "73c07dee-8f57-45ba-a0cb-626b7edaba9a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "7fd8a33d-d329-4918-8a44-b0ec7194eee0_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/a7ff855f-a92e-4ead-85be-6adf11e12aa4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/932868a4-f1da-4180-bab1-7a609d797d03" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a7ff855f-a92e-4ead-85be-6adf11e12aa4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "932868a4-f1da-4180-bab1-7a609d797d03", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Jimmy DeLocke" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d/output.xml new file mode 100644 index 00000000..218059ff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2_7fd8a33d_7fd8a33d/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="93ce0abe-5520-4e6e-b8dd-cf117542b97a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.552.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="73c07dee-8f57-45ba-a0cb-626b7edaba9a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="7fd8a33d-d329-4918-8a44-b0ec7194eee0_200.000.002.096.552.89"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a7ff855f-a92e-4ead-85be-6adf11e12aa4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/932868a4-f1da-4180-bab1-7a609d797d03"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a7ff855f-a92e-4ead-85be-6adf11e12aa4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="72828845"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="932868a4-f1da-4180-bab1-7a609d797d03"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jimmy DeLocke"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.json index 1c5d26ba..ece9d5d4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "41b0569c-3fa0-406a-a703-dfa2aaa6b6b7", + "id": "91e3d176-446e-4ba2-8280-2a0e18a4b767", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "7698295d-62d3-46c5-ac5d-b973df6b09d2", + "id": "870aedf8-1e48-4290-91b5-6cc83ceb6b08", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/62a75a82-00f1-4416-92f9-7c74d1ff56aa" + "reference": "Medication/3c5f4b98-e4bb-4e4b-80dd-797a029f4c9a" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/b5e85f48-c477-4dac-8102-8a193fe81ce0" + "reference": "Organization/aa69340a-8f74-498a-a637-ef13f69fb7bc" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "62a75a82-00f1-4416-92f9-7c74d1ff56aa", + "id": "3c5f4b98-e4bb-4e4b-80dd-797a029f4c9a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "b5e85f48-c477-4dac-8102-8a193fe81ce0", + "id": "aa69340a-8f74-498a-a637-ef13f69fb7bc", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Jed Dye" + "name": "Bob Sledd" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.xml index fc0f11a9..7e6190b8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="41b0569c-3fa0-406a-a703-dfa2aaa6b6b7"/> + <id value="91e3d176-446e-4ba2-8280-2a0e18a4b767"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="7698295d-62d3-46c5-ac5d-b973df6b09d2"/> + <id value="870aedf8-1e48-4290-91b5-6cc83ceb6b08"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/62a75a82-00f1-4416-92f9-7c74d1ff56aa"/> + <reference value="Medication/3c5f4b98-e4bb-4e4b-80dd-797a029f4c9a"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/b5e85f48-c477-4dac-8102-8a193fe81ce0"/> + <reference value="Organization/aa69340a-8f74-498a-a637-ef13f69fb7bc"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="62a75a82-00f1-4416-92f9-7c74d1ff56aa"/> + <id value="3c5f4b98-e4bb-4e4b-80dd-797a029f4c9a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="b5e85f48-c477-4dac-8102-8a193fe81ce0"/> + <id value="aa69340a-8f74-498a-a637-ef13f69fb7bc"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Jed Dye"/> + <name value="Bob Sledd"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235/input.xml new file mode 100644 index 00000000..4410384c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c916d235-c3b9-46e1-bdae-d14c3ac1df92"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7a4edde1-5a03-4b1c-8b27-33effeca6295"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.759.95"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#7a4edde1-5a03-4b1c-8b27-33effeca6295"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235/output.json new file mode 100644 index 00000000..c8e8ca3d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "c2a3bd91-aead-4c17-8f32-d689000b9a34", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5dc858b2-e50c-41ff-a01c-0eebd95af8f7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c916d235-c3b9-46e1-bdae-d14c3ac1df92_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/48ffad08-9093-4c98-ae64-fb295f754fa8" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a75bc63d-6659-4087-8e08-08c8b597ef4b" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "48ffad08-9093-4c98-ae64-fb295f754fa8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a75bc63d-6659-4087-8e08-08c8b597ef4b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Harrison Fire" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235/output.xml new file mode 100644 index 00000000..791fdd4a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c916d235_c916d235/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c2a3bd91-aead-4c17-8f32-d689000b9a34"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.759.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5dc858b2-e50c-41ff-a01c-0eebd95af8f7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c916d235-c3b9-46e1-bdae-d14c3ac1df92_160.000.226.119.759.95"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/48ffad08-9093-4c98-ae64-fb295f754fa8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a75bc63d-6659-4087-8e08-08c8b597ef4b"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="48ffad08-9093-4c98-ae64-fb295f754fa8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a75bc63d-6659-4087-8e08-08c8b597ef4b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Harrison Fire"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.json deleted file mode 100644 index 9d457000..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "95bc1ad0-f054-4ac7-9598-4765cc1fde4c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "d9818d58-b0df-46d4-b636-52ca2bdbe007", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "4a30f8e0-83f4-43ea-9d87-2eaa288b4bb9_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/efd946a7-bf2e-4e40-97b5-a12c87d4a606" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/3553b995-4ca7-475b-afd7-86a1d15222c1" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "efd946a7-bf2e-4e40-97b5-a12c87d4a606", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3553b995-4ca7-475b-afd7-86a1d15222c1", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Kent Cook" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.xml deleted file mode 100644 index 2496bd4a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="95bc1ad0-f054-4ac7-9598-4765cc1fde4c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.554.83"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="d9818d58-b0df-46d4-b636-52ca2bdbe007"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="4a30f8e0-83f4-43ea-9d87-2eaa288b4bb9_200.000.002.096.554.83"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/efd946a7-bf2e-4e40-97b5-a12c87d4a606"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/3553b995-4ca7-475b-afd7-86a1d15222c1"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="efd946a7-bf2e-4e40-97b5-a12c87d4a606"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="89414303"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3553b995-4ca7-475b-afd7-86a1d15222c1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Kent Cook"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0/input.xml new file mode 100644 index 00000000..8175c677 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4a30f8e0-83f4-43ea-9d87-2eaa288b4bb9"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b153e444-f57a-4dc5-9ceb-f4518027accb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="89414303"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.554.83"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#b153e444-f57a-4dc5-9ceb-f4518027accb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0/output.json new file mode 100644 index 00000000..ddd9340c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "7eae2162-505f-46c2-a1c7-f4be0cace64c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4a5bcd77-1659-4395-a607-42de50690525", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "4a30f8e0-83f4-43ea-9d87-2eaa288b4bb9_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/3a03db2f-170e-4a91-a2c8-95cd3529749b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/49873e42-0dfc-4bc1-adbe-4369816d459a" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3a03db2f-170e-4a91-a2c8-95cd3529749b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "49873e42-0dfc-4bc1-adbe-4369816d459a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Mike Stand" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0/output.xml new file mode 100644 index 00000000..ed1d70b3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c_4a30f8e0_4a30f8e0/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7eae2162-505f-46c2-a1c7-f4be0cace64c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.554.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4a5bcd77-1659-4395-a607-42de50690525"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="4a30f8e0-83f4-43ea-9d87-2eaa288b4bb9_200.000.002.096.554.83"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3a03db2f-170e-4a91-a2c8-95cd3529749b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/49873e42-0dfc-4bc1-adbe-4369816d459a"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3a03db2f-170e-4a91-a2c8-95cd3529749b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="89414303"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="49873e42-0dfc-4bc1-adbe-4369816d459a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Mike Stand"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.json index 5f5241e5..5d526792 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "b0c9d07c-30fb-4a8f-acf8-d08737e9b324", + "id": "228ec0f7-0a94-4f65-b2ec-7813ab86c071", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "6ae435b9-4b51-4bad-a4bf-4ef5e38ad5b9", + "id": "4f55a8d9-1e5d-4f55-a709-0a284fcad57d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/3c0c627a-ef10-4e35-8c03-aa90f7efa87b" + "reference": "Medication/61feb973-83e3-48cd-8e33-0cb7b87c9c71" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/70dc0f1f-f631-4ecd-868d-45ddc04f5934" + "reference": "Organization/1f0da96a-da4e-4290-933d-ec44883d85f2" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "3c0c627a-ef10-4e35-8c03-aa90f7efa87b", + "id": "61feb973-83e3-48cd-8e33-0cb7b87c9c71", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "70dc0f1f-f631-4ecd-868d-45ddc04f5934", + "id": "1f0da96a-da4e-4290-933d-ec44883d85f2", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Colin Allcars" + "name": "Bea Lowe" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.xml index 2db2171b..b2d992cb 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="b0c9d07c-30fb-4a8f-acf8-d08737e9b324"/> + <id value="228ec0f7-0a94-4f65-b2ec-7813ab86c071"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="6ae435b9-4b51-4bad-a4bf-4ef5e38ad5b9"/> + <id value="4f55a8d9-1e5d-4f55-a709-0a284fcad57d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/3c0c627a-ef10-4e35-8c03-aa90f7efa87b"/> + <reference value="Medication/61feb973-83e3-48cd-8e33-0cb7b87c9c71"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/70dc0f1f-f631-4ecd-868d-45ddc04f5934"/> + <reference value="Organization/1f0da96a-da4e-4290-933d-ec44883d85f2"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="3c0c627a-ef10-4e35-8c03-aa90f7efa87b"/> + <id value="61feb973-83e3-48cd-8e33-0cb7b87c9c71"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="70dc0f1f-f631-4ecd-868d-45ddc04f5934"/> + <id value="1f0da96a-da4e-4290-933d-ec44883d85f2"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Colin Allcars"/> + <name value="Bea Lowe"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac/input.xml new file mode 100644 index 00000000..f15ad6aa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="cc07c2ac-204c-480e-ba03-09268cab4c22"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="72e068f7-731f-4930-8f3f-60d36e210a64"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="74302188"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.531.55"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#72e068f7-731f-4930-8f3f-60d36e210a64"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac/output.json new file mode 100644 index 00000000..e0e15b04 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "551b90e1-2b48-4e5f-b52c-4f85848faccd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f2cc9a57-c699-4ac1-abd2-a360516f3bd9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "cc07c2ac-204c-480e-ba03-09268cab4c22_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/ac8b16b3-ec93-4fcb-9d9d-9d93db3b4f70" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/edf48eaa-e639-48bc-937a-df1937a4cfcf" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ac8b16b3-ec93-4fcb-9d9d-9d93db3b4f70", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "edf48eaa-e639-48bc-937a-df1937a4cfcf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Marshall Law" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac/output.xml new file mode 100644 index 00000000..49d8a2ab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cc07c2ac_cc07c2ac/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="551b90e1-2b48-4e5f-b52c-4f85848faccd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.531.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f2cc9a57-c699-4ac1-abd2-a360516f3bd9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="cc07c2ac-204c-480e-ba03-09268cab4c22_200.000.002.096.531.55"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ac8b16b3-ec93-4fcb-9d9d-9d93db3b4f70"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/edf48eaa-e639-48bc-937a-df1937a4cfcf"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ac8b16b3-ec93-4fcb-9d9d-9d93db3b4f70"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="74302188"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="edf48eaa-e639-48bc-937a-df1937a4cfcf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Marshall Law"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.json deleted file mode 100644 index cba00b8d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "398c3e3d-1214-4e36-bcc5-dcfb534f0f13", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "782e0d4d-76a0-4670-a9ea-50a6d6ddbe5d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "91e812db-fdad-44f8-88e0-2d63004455c7_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/54f327ad-e213-40ce-8563-186482ba5b7f" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/78b96b95-149a-4f4f-b595-3dd3d0e6eac9" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "54f327ad-e213-40ce-8563-186482ba5b7f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "78b96b95-149a-4f4f-b595-3dd3d0e6eac9", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Doug Graves" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.xml deleted file mode 100644 index 8e4510f0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="398c3e3d-1214-4e36-bcc5-dcfb534f0f13"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.529.61"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="782e0d4d-76a0-4670-a9ea-50a6d6ddbe5d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="91e812db-fdad-44f8-88e0-2d63004455c7_200.000.002.096.529.61"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/54f327ad-e213-40ce-8563-186482ba5b7f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/78b96b95-149a-4f4f-b595-3dd3d0e6eac9"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="54f327ad-e213-40ce-8563-186482ba5b7f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="94890460"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="78b96b95-149a-4f4f-b595-3dd3d0e6eac9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Doug Graves"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db/input.xml new file mode 100644 index 00000000..b28f68f9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="91e812db-fdad-44f8-88e0-2d63004455c7"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a656e1d6-a37c-4753-9b26-b90bb0eddd30"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="94890460"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.529.61"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#a656e1d6-a37c-4753-9b26-b90bb0eddd30"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db/output.json new file mode 100644 index 00000000..95d3822e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "eb772bd3-2586-42e7-adc7-3bf1f576539e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "796f00ab-d35c-4906-b85c-1487f1828650", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "91e812db-fdad-44f8-88e0-2d63004455c7_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/415e0535-5eb2-453d-bbfd-fb90028a3d8c" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/2fde2b6a-9ec5-46ff-9c4d-9767f5c7bceb" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "415e0535-5eb2-453d-bbfd-fb90028a3d8c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2fde2b6a-9ec5-46ff-9c4d-9767f5c7bceb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Skip Stone" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db/output.xml new file mode 100644 index 00000000..cbac3728 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359_91e812db_91e812db/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="eb772bd3-2586-42e7-adc7-3bf1f576539e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.529.61"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="796f00ab-d35c-4906-b85c-1487f1828650"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="91e812db-fdad-44f8-88e0-2d63004455c7_200.000.002.096.529.61"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/415e0535-5eb2-453d-bbfd-fb90028a3d8c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/2fde2b6a-9ec5-46ff-9c4d-9767f5c7bceb"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="415e0535-5eb2-453d-bbfd-fb90028a3d8c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="94890460"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2fde2b6a-9ec5-46ff-9c4d-9767f5c7bceb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Skip Stone"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.json deleted file mode 100644 index 0579ef0f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "2967bca5-7c04-4b56-9fbd-74feaf946dad", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "247a5263-5c65-4895-92d2-b152c349b478", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "9b046560-7608-47ae-b91b-3a7c8b4779ca_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/f235b224-b283-4969-a678-b5c6891c765e" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/f0d35c10-2bae-4472-956e-1ba4f181309c" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "f235b224-b283-4969-a678-b5c6891c765e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f0d35c10-2bae-4472-956e-1ba4f181309c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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 Render" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.xml deleted file mode 100644 index 38f3f4c4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2967bca5-7c04-4b56-9fbd-74feaf946dad"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.551.92"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="247a5263-5c65-4895-92d2-b152c349b478"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="9b046560-7608-47ae-b91b-3a7c8b4779ca_200.000.002.096.551.92"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f235b224-b283-4969-a678-b5c6891c765e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/f0d35c10-2bae-4472-956e-1ba4f181309c"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f235b224-b283-4969-a678-b5c6891c765e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="30978281"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f0d35c10-2bae-4472-956e-1ba4f181309c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Sue Render"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560/input.xml new file mode 100644 index 00000000..3d92adac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9b046560-7608-47ae-b91b-3a7c8b4779ca"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6f39c3e2-e2c8-41d1-ba0b-165f8eb2d72b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="30978281"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.551.92"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#6f39c3e2-e2c8-41d1-ba0b-165f8eb2d72b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560/output.json new file mode 100644 index 00000000..d79ff387 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "af8b1925-5639-40ca-8fb7-79787730cadf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2a0533c7-dc4c-4b26-8b1f-f6ea9661cf18", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "9b046560-7608-47ae-b91b-3a7c8b4779ca_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/d74390df-7575-4a94-992a-8f1f76816b2e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/2f0e1f31-552e-46ae-91fb-50d2280ba6c1" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "d74390df-7575-4a94-992a-8f1f76816b2e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2f0e1f31-552e-46ae-91fb-50d2280ba6c1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Will Power" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560/output.xml new file mode 100644 index 00000000..e6441f23 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4_9b046560_9b046560/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="af8b1925-5639-40ca-8fb7-79787730cadf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.551.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2a0533c7-dc4c-4b26-8b1f-f6ea9661cf18"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="9b046560-7608-47ae-b91b-3a7c8b4779ca_200.000.002.096.551.92"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/d74390df-7575-4a94-992a-8f1f76816b2e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/2f0e1f31-552e-46ae-91fb-50d2280ba6c1"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d74390df-7575-4a94-992a-8f1f76816b2e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="30978281"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2f0e1f31-552e-46ae-91fb-50d2280ba6c1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Will Power"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.json index d29cefe2..32986982 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "128faac0-f1cd-430f-81ab-dc91ef238210", + "id": "ac875360-7a9e-48e3-8779-3045e6240832", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "8f01ad7f-cb2b-40f5-a91c-708a4f392ffe", + "id": "8322cc06-64df-4d6c-9e07-9386450b9a90", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/a3dd4efb-f69e-4da8-9248-d3d09cf50637" + "reference": "Medication/9a331c3e-5e10-4a85-b519-5dc460976ab1" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/cec45bfb-055a-4b39-b903-5ce56c448cac" + "reference": "Organization/33ea35be-738f-42a0-adb7-bd5eed3e6527" } } ], "whenHandedOver": "2024-02-13" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a3dd4efb-f69e-4da8-9248-d3d09cf50637", + "id": "9a331c3e-5e10-4a85-b519-5dc460976ab1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "cec45bfb-055a-4b39-b903-5ce56c448cac", + "id": "33ea35be-738f-42a0-adb7-bd5eed3e6527", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Willie Maykit" + "name": "I. Ball" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.xml index d5f35059..bdc54efe 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="128faac0-f1cd-430f-81ab-dc91ef238210"/> + <id value="ac875360-7a9e-48e3-8779-3045e6240832"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="8f01ad7f-cb2b-40f5-a91c-708a4f392ffe"/> + <id value="8322cc06-64df-4d6c-9e07-9386450b9a90"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/a3dd4efb-f69e-4da8-9248-d3d09cf50637"/> + <reference value="Medication/9a331c3e-5e10-4a85-b519-5dc460976ab1"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/cec45bfb-055a-4b39-b903-5ce56c448cac"/> + <reference value="Organization/33ea35be-738f-42a0-adb7-bd5eed3e6527"/> </actor> </performer> <whenHandedOver value="2024-02-13"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a3dd4efb-f69e-4da8-9248-d3d09cf50637"/> + <id value="9a331c3e-5e10-4a85-b519-5dc460976ab1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="cec45bfb-055a-4b39-b903-5ce56c448cac"/> + <id value="33ea35be-738f-42a0-adb7-bd5eed3e6527"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Willie Maykit"/> + <name value="I. Ball"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90/input.xml new file mode 100644 index 00000000..b479b462 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e8fc0f90-951e-4686-823e-85a862cf9457"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fb62fc7a-3396-4951-9a81-a3cb854b4492"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.467.748.14"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#fb62fc7a-3396-4951-9a81-a3cb854b4492"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="C020222113"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-13"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90/output.json new file mode 100644 index 00000000..fe335d62 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "8decef2d-7561-42ca-8f70-f7d91837060b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.006.467.748.14" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8f8c146b-2ff4-420f-af64-94ed6328a714", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "e8fc0f90-951e-4686-823e-85a862cf9457_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/c7cafa16-5159-4982-b063-48d1d0756ffa" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "C020222113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5c05b99e-d290-44c9-8a00-334e03a0192f" + } + } ], + "whenHandedOver": "2024-02-13" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "c7cafa16-5159-4982-b063-48d1d0756ffa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5c05b99e-d290-44c9-8a00-334e03a0192f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ron A. Muck" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90/output.xml new file mode 100644 index 00000000..c7159d00 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8fc0f90_e8fc0f90/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8decef2d-7561-42ca-8f70-f7d91837060b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.467.748.14"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8f8c146b-2ff4-420f-af64-94ed6328a714"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="e8fc0f90-951e-4686-823e-85a862cf9457_160.000.006.467.748.14"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/c7cafa16-5159-4982-b063-48d1d0756ffa"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="C020222113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5c05b99e-d290-44c9-8a00-334e03a0192f"/> + </actor> + </performer> + <whenHandedOver value="2024-02-13"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c7cafa16-5159-4982-b063-48d1d0756ffa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5c05b99e-d290-44c9-8a00-334e03a0192f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ron A. Muck"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.json index f373f027..32ee3f69 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "2c1afafe-8475-4229-9e78-5e68e8c6b292", + "id": "d1ac4437-7250-4b86-8ed8-6e54a07c2f7a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "67c02645-c930-4837-abfd-974bf34b0ff9", + "id": "8f6ffa35-6ab9-441f-97ae-fe15b12ccc8f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/501ce65b-e1b6-4c2b-88bb-84df89f657aa" + "reference": "Medication/d45a0e05-0f3b-4b18-b637-63f6b7dc3d65" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/fd9bd9a0-2934-4ded-98de-1336b6a3a1df" + "reference": "Organization/7ca27c5e-c8a6-4c35-a543-94add310b791" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "501ce65b-e1b6-4c2b-88bb-84df89f657aa", + "id": "d45a0e05-0f3b-4b18-b637-63f6b7dc3d65", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "fd9bd9a0-2934-4ded-98de-1336b6a3a1df", + "id": "7ca27c5e-c8a6-4c35-a543-94add310b791", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Rusty Steele" + "name": "Mark A. Roni" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.xml index c1eb17a5..85886e59 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="2c1afafe-8475-4229-9e78-5e68e8c6b292"/> + <id value="d1ac4437-7250-4b86-8ed8-6e54a07c2f7a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="67c02645-c930-4837-abfd-974bf34b0ff9"/> + <id value="8f6ffa35-6ab9-441f-97ae-fe15b12ccc8f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/501ce65b-e1b6-4c2b-88bb-84df89f657aa"/> + <reference value="Medication/d45a0e05-0f3b-4b18-b637-63f6b7dc3d65"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/fd9bd9a0-2934-4ded-98de-1336b6a3a1df"/> + <reference value="Organization/7ca27c5e-c8a6-4c35-a543-94add310b791"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="501ce65b-e1b6-4c2b-88bb-84df89f657aa"/> + <id value="d45a0e05-0f3b-4b18-b637-63f6b7dc3d65"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="fd9bd9a0-2934-4ded-98de-1336b6a3a1df"/> + <id value="7ca27c5e-c8a6-4c35-a543-94add310b791"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Rusty Steele"/> + <name value="Mark A. Roni"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9/input.xml new file mode 100644 index 00000000..6e5c0fa2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="efd6ebf9-5c9a-4877-ac42-8cb984d94a39"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="06e192d7-a295-4572-8824-2270041cd3d0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64184374"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.527.67"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#06e192d7-a295-4572-8824-2270041cd3d0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9/output.json new file mode 100644 index 00000000..f51ff279 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "da1d9625-fafe-4fea-9b47-2c5a0706c935", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "969d6011-5c4b-43be-a423-7cda6b1a41d8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "efd6ebf9-5c9a-4877-ac42-8cb984d94a39_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/f30aaa58-4f64-480b-bec1-395a7a3cc17e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c6732403-ae51-435f-8c5d-79f13435b0da" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f30aaa58-4f64-480b-bec1-395a7a3cc17e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c6732403-ae51-435f-8c5d-79f13435b0da", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Luna Tick" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9/output.xml new file mode 100644 index 00000000..d7b7125b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efd6ebf9_efd6ebf9/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="da1d9625-fafe-4fea-9b47-2c5a0706c935"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.527.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="969d6011-5c4b-43be-a423-7cda6b1a41d8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="efd6ebf9-5c9a-4877-ac42-8cb984d94a39_200.000.002.096.527.67"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f30aaa58-4f64-480b-bec1-395a7a3cc17e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c6732403-ae51-435f-8c5d-79f13435b0da"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f30aaa58-4f64-480b-bec1-395a7a3cc17e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64184374"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c6732403-ae51-435f-8c5d-79f13435b0da"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Luna Tick"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.json index 95965a08..a22093b4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "a31d0c18-2ece-4b1f-b9c7-4ec93acfbc12", + "id": "ff9e0089-4ed3-4edd-80a7-f035cd062918", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "815b2259-7649-40a5-b02f-22349bbf3bd4", + "id": "6f2684cc-6815-4ea0-b45c-393487b37a19", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/32d1fdb6-d61f-4789-9830-be3a0e741c44" + "reference": "Medication/ae459ecc-6ed1-46b4-ba91-7ba629a8f76b" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/607080dc-884a-433f-934b-95339f670f06" + "reference": "Organization/72007d53-824b-4ec0-ac2f-7042302c95d5" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "32d1fdb6-d61f-4789-9830-be3a0e741c44", + "id": "ae459ecc-6ed1-46b4-ba91-7ba629a8f76b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "607080dc-884a-433f-934b-95339f670f06", + "id": "72007d53-824b-4ec0-ac2f-7042302c95d5", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Bea Lowe" + "name": "Milly Graham" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.xml index 2a67cc01..98d4eb4b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="a31d0c18-2ece-4b1f-b9c7-4ec93acfbc12"/> + <id value="ff9e0089-4ed3-4edd-80a7-f035cd062918"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="815b2259-7649-40a5-b02f-22349bbf3bd4"/> + <id value="6f2684cc-6815-4ea0-b45c-393487b37a19"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/32d1fdb6-d61f-4789-9830-be3a0e741c44"/> + <reference value="Medication/ae459ecc-6ed1-46b4-ba91-7ba629a8f76b"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/607080dc-884a-433f-934b-95339f670f06"/> + <reference value="Organization/72007d53-824b-4ec0-ac2f-7042302c95d5"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="32d1fdb6-d61f-4789-9830-be3a0e741c44"/> + <id value="ae459ecc-6ed1-46b4-ba91-7ba629a8f76b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="607080dc-884a-433f-934b-95339f670f06"/> + <id value="72007d53-824b-4ec0-ac2f-7042302c95d5"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Bea Lowe"/> + <name value="Milly Graham"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f/input.xml new file mode 100644 index 00000000..554d3af8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="efe8874f-6c9f-487c-b820-d8100209f56a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e4d32334-507c-4f9c-9111-c66d065c2cad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10642981"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.549.98"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#e4d32334-507c-4f9c-9111-c66d065c2cad"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f/output.json new file mode 100644 index 00000000..ff27d41c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "3a9ce5e7-b605-4244-be6f-8bd21fdf3e0f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "151a12a0-ab99-4d6e-961a-3d5c15497d30", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "efe8874f-6c9f-487c-b820-d8100209f56a_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/e5fa9969-db01-43eb-abc7-e13f58af2eab" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/45ae2f7c-f868-46c3-b957-10297605a030" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e5fa9969-db01-43eb-abc7-e13f58af2eab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "45ae2f7c-f868-46c3-b957-10297605a030", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Joe Czarfunee" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f/output.xml new file mode 100644 index 00000000..a8950bd6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_efe8874f_efe8874f/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3a9ce5e7-b605-4244-be6f-8bd21fdf3e0f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.549.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="151a12a0-ab99-4d6e-961a-3d5c15497d30"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="efe8874f-6c9f-487c-b820-d8100209f56a_200.000.002.096.549.98"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e5fa9969-db01-43eb-abc7-e13f58af2eab"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/45ae2f7c-f868-46c3-b957-10297605a030"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e5fa9969-db01-43eb-abc7-e13f58af2eab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10642981"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="45ae2f7c-f868-46c3-b957-10297605a030"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Joe Czarfunee"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.json index 2732002c..b2998db0 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "9219ee37-c772-4b34-a27b-48719411f8e2", + "id": "39d43403-cfe0-4299-8a8d-8f7a1191d660", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "c8cf12b1-eacf-4cf5-8236-b290079c86b7", + "id": "1c16b661-b812-4cec-add4-23b0bf22e289", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/408f9792-7771-44e8-8c3d-bd34304dffe9" + "reference": "Medication/737ae96a-76b4-45ac-afd1-53b173b09229" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/0c731340-ca3c-4e07-bf37-7511d343bdb7" + "reference": "Organization/47c0f2a3-8789-47ce-89ef-caf5e3e2f460" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "408f9792-7771-44e8-8c3d-bd34304dffe9", + "id": "737ae96a-76b4-45ac-afd1-53b173b09229", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "0c731340-ca3c-4e07-bf37-7511d343bdb7", + "id": "47c0f2a3-8789-47ce-89ef-caf5e3e2f460", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Otto Graf" + "name": "Mel Function" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.xml index 8a769877..054bbf3d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="9219ee37-c772-4b34-a27b-48719411f8e2"/> + <id value="39d43403-cfe0-4299-8a8d-8f7a1191d660"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="c8cf12b1-eacf-4cf5-8236-b290079c86b7"/> + <id value="1c16b661-b812-4cec-add4-23b0bf22e289"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/408f9792-7771-44e8-8c3d-bd34304dffe9"/> + <reference value="Medication/737ae96a-76b4-45ac-afd1-53b173b09229"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/0c731340-ca3c-4e07-bf37-7511d343bdb7"/> + <reference value="Organization/47c0f2a3-8789-47ce-89ef-caf5e3e2f460"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="408f9792-7771-44e8-8c3d-bd34304dffe9"/> + <id value="737ae96a-76b4-45ac-afd1-53b173b09229"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="0c731340-ca3c-4e07-bf37-7511d343bdb7"/> + <id value="47c0f2a3-8789-47ce-89ef-caf5e3e2f460"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Otto Graf"/> + <name value="Mel Function"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4_f64fd7b4/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4_f64fd7b4/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4_f64fd7b4/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4_f64fd7b4/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4_f64fd7b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4_f64fd7b4/output.json new file mode 100644 index 00000000..fbaac843 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4_f64fd7b4/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "d286a7aa-7810-4ddb-a02c-99da86a40603", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9deb45f1-735b-42c1-ad17-255b10516b74", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f64fd7b4-8720-4986-a3c3-11892afa2267_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/b191b141-d917-46c4-8c96-204e85aed9b1" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/761fbd20-833c-4724-b108-26f8536b4b64" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b191b141-d917-46c4-8c96-204e85aed9b1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "761fbd20-833c-4724-b108-26f8536b4b64", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Louise E. Anna" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4_f64fd7b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4_f64fd7b4/output.xml new file mode 100644 index 00000000..2fd54c76 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f64fd7b4_f64fd7b4/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d286a7aa-7810-4ddb-a02c-99da86a40603"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9deb45f1-735b-42c1-ad17-255b10516b74"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f64fd7b4-8720-4986-a3c3-11892afa2267_200.000.002.096.533.49"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b191b141-d917-46c4-8c96-204e85aed9b1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/761fbd20-833c-4724-b108-26f8536b4b64"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b191b141-d917-46c4-8c96-204e85aed9b1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="761fbd20-833c-4724-b108-26f8536b4b64"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Louise E. Anna"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.json index eed318f0..5fde5c3c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "fc85e5d4-b7f1-40c4-b9ed-352e0ca7ffb8", + "id": "8d43fcd0-62b0-4238-ba31-00c5bf2a264a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "77fb0867-3234-4a37-938e-8e9572837120", + "id": "7e91906e-138c-4573-9f37-b1b3632ae2a6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/65636b74-62dd-4036-8b8d-8311d0120bfd" + "reference": "Medication/e7b043a4-fe5b-4fc7-baf1-feb87480bc89" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/983b9f2c-aa3f-4653-80cd-f8b62a05d646" + "reference": "Organization/b7b6a32e-1f85-4e5e-aa72-2f5a7e05b127" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "65636b74-62dd-4036-8b8d-8311d0120bfd", + "id": "e7b043a4-fe5b-4fc7-baf1-feb87480bc89", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "983b9f2c-aa3f-4653-80cd-f8b62a05d646", + "id": "b7b6a32e-1f85-4e5e-aa72-2f5a7e05b127", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Lynn Meabuck" + "name": "Oren Jellow" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.xml index 1db49e09..410c3713 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="fc85e5d4-b7f1-40c4-b9ed-352e0ca7ffb8"/> + <id value="8d43fcd0-62b0-4238-ba31-00c5bf2a264a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="77fb0867-3234-4a37-938e-8e9572837120"/> + <id value="7e91906e-138c-4573-9f37-b1b3632ae2a6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/65636b74-62dd-4036-8b8d-8311d0120bfd"/> + <reference value="Medication/e7b043a4-fe5b-4fc7-baf1-feb87480bc89"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/983b9f2c-aa3f-4653-80cd-f8b62a05d646"/> + <reference value="Organization/b7b6a32e-1f85-4e5e-aa72-2f5a7e05b127"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="65636b74-62dd-4036-8b8d-8311d0120bfd"/> + <id value="e7b043a4-fe5b-4fc7-baf1-feb87480bc89"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="983b9f2c-aa3f-4653-80cd-f8b62a05d646"/> + <id value="b7b6a32e-1f85-4e5e-aa72-2f5a7e05b127"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Lynn Meabuck"/> + <name value="Oren Jellow"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6/input.xml new file mode 100644 index 00000000..0ccb27bc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f671e4a6-2cb5-4d18-b04a-226202ae8eb1"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="979f9f1b-d9d5-4784-9c1e-0b1abe22d2ea"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="48094708"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.996.31"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#979f9f1b-d9d5-4784-9c1e-0b1abe22d2ea"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6/output.json new file mode 100644 index 00000000..12c79a7a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "268e0ff5-6864-4277-91c2-322e6c8908d6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b1e3efb4-d0c9-4903-8a84-822b58d2e224", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f671e4a6-2cb5-4d18-b04a-226202ae8eb1_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/6e8f602e-d066-4e51-a324-808e19ed4613" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/1b9a861a-e54f-4d4c-833e-df30ac66dd9e" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "6e8f602e-d066-4e51-a324-808e19ed4613", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1b9a861a-e54f-4d4c-833e-df30ac66dd9e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Sid Down" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6/output.xml new file mode 100644 index 00000000..531f3695 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f671e4a6_f671e4a6/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="268e0ff5-6864-4277-91c2-322e6c8908d6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.996.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b1e3efb4-d0c9-4903-8a84-822b58d2e224"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f671e4a6-2cb5-4d18-b04a-226202ae8eb1_209.000.000.032.996.31"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/6e8f602e-d066-4e51-a324-808e19ed4613"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/1b9a861a-e54f-4d4c-833e-df30ac66dd9e"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6e8f602e-d066-4e51-a324-808e19ed4613"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="48094708"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1b9a861a-e54f-4d4c-833e-df30ac66dd9e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sid Down"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.json index a788dc0f..56ded847 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "903de24c-c886-4de9-bf3a-97b38d33074e", + "id": "df10d04b-c921-4b3c-81e9-d7a8d232a274", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "2d6bd93b-6402-47ab-9321-6a6ae074d67c", + "id": "f83e8a1b-dbcc-4a5f-a285-989b038c7760", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/71fe9274-398c-4c28-a147-322cf449a6fd" + "reference": "Medication/17793532-ed09-45bc-9ac3-c5437a60920c" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/709240de-e981-49e6-b52c-f079dc257f26" + "reference": "Organization/3c1b673c-6a98-4dc1-b9c5-b4ca909f0404" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "71fe9274-398c-4c28-a147-322cf449a6fd", + "id": "17793532-ed09-45bc-9ac3-c5437a60920c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "709240de-e981-49e6-b52c-f079dc257f26", + "id": "3c1b673c-6a98-4dc1-b9c5-b4ca909f0404", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Laura Norder" + "name": "Skip Roper" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.xml index 4d3c17f0..bdb15352 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="903de24c-c886-4de9-bf3a-97b38d33074e"/> + <id value="df10d04b-c921-4b3c-81e9-d7a8d232a274"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="2d6bd93b-6402-47ab-9321-6a6ae074d67c"/> + <id value="f83e8a1b-dbcc-4a5f-a285-989b038c7760"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/71fe9274-398c-4c28-a147-322cf449a6fd"/> + <reference value="Medication/17793532-ed09-45bc-9ac3-c5437a60920c"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/709240de-e981-49e6-b52c-f079dc257f26"/> + <reference value="Organization/3c1b673c-6a98-4dc1-b9c5-b4ca909f0404"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="71fe9274-398c-4c28-a147-322cf449a6fd"/> + <id value="17793532-ed09-45bc-9ac3-c5437a60920c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="709240de-e981-49e6-b52c-f079dc257f26"/> + <id value="3c1b673c-6a98-4dc1-b9c5-b4ca909f0404"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Laura Norder"/> + <name value="Skip Roper"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9/input.xml new file mode 100644 index 00000000..095fdf46 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f9f80ea9-6ae4-4916-877e-1707094b808a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="69edbee6-3e1f-451f-b960-53a10c879038"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.768.68"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#69edbee6-3e1f-451f-b960-53a10c879038"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9/output.json new file mode 100644 index 00000000..6fe4cdd5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "73dbb977-dece-40fd-9b5c-6c5ff814efe7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "781ffccc-4c32-4b9b-9c76-83430ece1599", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f9f80ea9-6ae4-4916-877e-1707094b808a_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/aa761966-bfc7-426c-bbd2-f89b169a7260" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/86b3d089-cf6b-411c-938a-64aafcd1427a" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "aa761966-bfc7-426c-bbd2-f89b169a7260", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "86b3d089-cf6b-411c-938a-64aafcd1427a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Sarah Bellum" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9/output.xml new file mode 100644 index 00000000..155c73d4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_f9f80ea9_f9f80ea9/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="73dbb977-dece-40fd-9b5c-6c5ff814efe7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.768.68"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="781ffccc-4c32-4b9b-9c76-83430ece1599"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f9f80ea9-6ae4-4916-877e-1707094b808a_160.000.226.119.768.68"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/aa761966-bfc7-426c-bbd2-f89b169a7260"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/86b3d089-cf6b-411c-938a-64aafcd1427a"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="aa761966-bfc7-426c-bbd2-f89b169a7260"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="86b3d089-cf6b-411c-938a-64aafcd1427a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sarah Bellum"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.json deleted file mode 100644 index 5abbfe68..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "8c81fb85-fe21-4c9c-9f0a-8ec63378eaea", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "011d5abc-c779-4b15-b266-a9f20447118f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "b7698c22-7c98-4023-84a1-2a76bee694de_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/14c7ab44-937d-4671-bf66-fcebb23fcaca" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/8f191b72-2056-41c8-b274-b751c74c252a" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "14c7ab44-937d-4671-bf66-fcebb23fcaca", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "8f191b72-2056-41c8-b274-b751c74c252a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Marv Ellis" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.xml deleted file mode 100644 index 6f1e7310..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="8c81fb85-fe21-4c9c-9f0a-8ec63378eaea"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.765.77"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="011d5abc-c779-4b15-b266-a9f20447118f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="b7698c22-7c98-4023-84a1-2a76bee694de_160.000.226.119.765.77"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/14c7ab44-937d-4671-bf66-fcebb23fcaca"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8f191b72-2056-41c8-b274-b751c74c252a"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="14c7ab44-937d-4671-bf66-fcebb23fcaca"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="07943704"/> - </coding> - <text value="Calglucoor"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="AMP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="3"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8f191b72-2056-41c8-b274-b751c74c252a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Marv Ellis"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22/output.json new file mode 100644 index 00000000..a7f1534d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "081ac8db-46f2-45bf-b450-9bbfee1e442d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9ec41c8d-03b2-4649-98f8-cffbfaaf5df9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b7698c22-7c98-4023-84a1-2a76bee694de_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/d1857666-b50b-4870-8eae-cf0b0c5495f6" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/9b819558-8def-44f7-9cbc-6535dc53d41f" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "d1857666-b50b-4870-8eae-cf0b0c5495f6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "9b819558-8def-44f7-9cbc-6535dc53d41f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bud Weiser" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22/output.xml new file mode 100644 index 00000000..1a3f90a6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82_b7698c22_b7698c22/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="081ac8db-46f2-45bf-b450-9bbfee1e442d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9ec41c8d-03b2-4649-98f8-cffbfaaf5df9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b7698c22-7c98-4023-84a1-2a76bee694de_160.000.226.119.765.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/d1857666-b50b-4870-8eae-cf0b0c5495f6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/9b819558-8def-44f7-9cbc-6535dc53d41f"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d1857666-b50b-4870-8eae-cf0b0c5495f6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07943704"/> + </coding> + <text value="Calglucoor"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="AMP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="3"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9b819558-8def-44f7-9cbc-6535dc53d41f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bud Weiser"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.json deleted file mode 100644 index 500d5f95..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "73d94afd-212c-4bfe-a116-1cc73da80b6a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "1d393340-f16f-4da5-ad0a-03f2937db2c1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "b5ff96d1-5f55-44d3-9b6f-92c00d7ab720_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/f0f3148f-c343-46c1-8a1c-5bf562000f09" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/53fd0554-03a8-4a35-8a54-c80c85258247" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "f0f3148f-c343-46c1-8a1c-5bf562000f09", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "53fd0554-03a8-4a35-8a54-c80c85258247", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Amanda B. Reckonwith" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.xml deleted file mode 100644 index 0d6f5e99..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="73d94afd-212c-4bfe-a116-1cc73da80b6a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.766.74"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1d393340-f16f-4da5-ad0a-03f2937db2c1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="b5ff96d1-5f55-44d3-9b6f-92c00d7ab720_160.000.226.119.766.74"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f0f3148f-c343-46c1-8a1c-5bf562000f09"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/53fd0554-03a8-4a35-8a54-c80c85258247"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f0f3148f-c343-46c1-8a1c-5bf562000f09"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="53fd0554-03a8-4a35-8a54-c80c85258247"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Amanda B. Reckonwith"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1/output.json new file mode 100644 index 00000000..0cc9cc9a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "57406379-09e7-4a4e-88f4-1469d1f9627b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "49c973a5-b1f8-4490-b738-a63de4384e53", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b5ff96d1-5f55-44d3-9b6f-92c00d7ab720_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/34b7f55a-ef95-4e9b-b37e-b375b4430a1d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/4a633665-73b4-4e4c-98b6-737fb6d1ce16" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "34b7f55a-ef95-4e9b-b37e-b375b4430a1d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4a633665-73b4-4e4c-98b6-737fb6d1ce16", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ed Venture" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1/output.xml new file mode 100644 index 00000000..b18045b7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916_b5ff96d1_b5ff96d1/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="57406379-09e7-4a4e-88f4-1469d1f9627b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="49c973a5-b1f8-4490-b738-a63de4384e53"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b5ff96d1-5f55-44d3-9b6f-92c00d7ab720_160.000.226.119.766.74"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/34b7f55a-ef95-4e9b-b37e-b375b4430a1d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/4a633665-73b4-4e4c-98b6-737fb6d1ce16"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="34b7f55a-ef95-4e9b-b37e-b375b4430a1d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4a633665-73b4-4e4c-98b6-737fb6d1ce16"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ed Venture"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/output.json deleted file mode 100644 index 2b6e3288..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "321f3295-d2f8-4c7f-8b0f-80ba6724a340", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "9df5cfb3-f2e7-4a81-b082-c49e8db76755", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "f08aa035-21c6-4dcf-a24d-bf5575ab995d_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/283e2d20-4350-43ab-b92c-bfe2373547c7" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/f38f8d1a-3e22-4676-8f46-ee114238318a" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "283e2d20-4350-43ab-b92c-bfe2373547c7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f38f8d1a-3e22-4676-8f46-ee114238318a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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/010_Request_MedicationDispense_a8177c29_f08aa035/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/output.xml deleted file mode 100644 index 4440e4fc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="321f3295-d2f8-4c7f-8b0f-80ba6724a340"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.756.07"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="9df5cfb3-f2e7-4a81-b082-c49e8db76755"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="f08aa035-21c6-4dcf-a24d-bf5575ab995d_160.000.226.119.756.07"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/283e2d20-4350-43ab-b92c-bfe2373547c7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/f38f8d1a-3e22-4676-8f46-ee114238318a"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="283e2d20-4350-43ab-b92c-bfe2373547c7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f38f8d1a-3e22-4676-8f46-ee114238318a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Marlon Fisher"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035/output.json new file mode 100644 index 00000000..57585f4a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "dcf24e94-0606-4f4b-9151-94a8418c5f57", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1d66890a-97dd-4bbf-ba34-36220785e880", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f08aa035-21c6-4dcf-a24d-bf5575ab995d_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/5d99d6e8-9e99-47f8-ba2b-800b5df62145" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/1113ba99-0438-4cc0-aae2-fd5fc1278af7" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5d99d6e8-9e99-47f8-ba2b-800b5df62145", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1113ba99-0438-4cc0-aae2-fd5fc1278af7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ferris Wheeler" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035/output.xml new file mode 100644 index 00000000..b2a20eb4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29_f08aa035_f08aa035/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dcf24e94-0606-4f4b-9151-94a8418c5f57"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.756.07"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1d66890a-97dd-4bbf-ba34-36220785e880"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f08aa035-21c6-4dcf-a24d-bf5575ab995d_160.000.226.119.756.07"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5d99d6e8-9e99-47f8-ba2b-800b5df62145"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/1113ba99-0438-4cc0-aae2-fd5fc1278af7"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5d99d6e8-9e99-47f8-ba2b-800b5df62145"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1113ba99-0438-4cc0-aae2-fd5fc1278af7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ferris Wheeler"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.json index a8845c19..72594692 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "3a0b291b-d58e-4116-9c13-f98d5fc079a8", + "id": "a8b0903e-d7ea-4e2a-b8ba-04926a609b57", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "d51a68c7-3d13-458c-b380-b870f1c907ec", + "id": "675be5d2-f1a9-449d-8b18-0f80a6208198", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/19076484-b2f0-48ae-a318-875c0119098d" + "reference": "Medication/005f45eb-e85e-4fee-992e-97e9864b8e64" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/d176678f-a3d0-4995-bda6-d63823b5dca5" + "reference": "Organization/56c0e8f1-d751-473e-afe6-9e8a2f80d950" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "19076484-b2f0-48ae-a318-875c0119098d", + "id": "005f45eb-e85e-4fee-992e-97e9864b8e64", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d176678f-a3d0-4995-bda6-d63823b5dca5", + "id": "56c0e8f1-d751-473e-afe6-9e8a2f80d950", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Ty Malone" + "name": "Mel Loewe" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.xml index c5832d0c..d6f14a7e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="3a0b291b-d58e-4116-9c13-f98d5fc079a8"/> + <id value="a8b0903e-d7ea-4e2a-b8ba-04926a609b57"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="d51a68c7-3d13-458c-b380-b870f1c907ec"/> + <id value="675be5d2-f1a9-449d-8b18-0f80a6208198"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/19076484-b2f0-48ae-a318-875c0119098d"/> + <reference value="Medication/005f45eb-e85e-4fee-992e-97e9864b8e64"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/d176678f-a3d0-4995-bda6-d63823b5dca5"/> + <reference value="Organization/56c0e8f1-d751-473e-afe6-9e8a2f80d950"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="19076484-b2f0-48ae-a318-875c0119098d"/> + <id value="005f45eb-e85e-4fee-992e-97e9864b8e64"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d176678f-a3d0-4995-bda6-d63823b5dca5"/> + <id value="56c0e8f1-d751-473e-afe6-9e8a2f80d950"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Ty Malone"/> + <name value="Mel Loewe"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1/input.xml new file mode 100644 index 00000000..f7af900a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b5ff96d1-5f55-44d3-9b6f-92c00d7ab720"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5390eeb6-cf71-4d6d-bf2a-179bdd86773b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5390eeb6-cf71-4d6d-bf2a-179bdd86773b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1/output.json new file mode 100644 index 00000000..e62857a8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "b7a744bb-54ae-4f5b-ad06-8898921d233c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "578f5eef-9a7d-4622-9950-611bc025b315", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b5ff96d1-5f55-44d3-9b6f-92c00d7ab720_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/ff331c00-8f6c-470c-954a-57ddb06dcca8" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/9658fe7c-fa68-42d6-8940-eba1d9cd9526" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ff331c00-8f6c-470c-954a-57ddb06dcca8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9658fe7c-fa68-42d6-8940-eba1d9cd9526", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dwayne Pipe" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1/output.xml new file mode 100644 index 00000000..640675a4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b5ff96d1_b5ff96d1/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b7a744bb-54ae-4f5b-ad06-8898921d233c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="578f5eef-9a7d-4622-9950-611bc025b315"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b5ff96d1-5f55-44d3-9b6f-92c00d7ab720_160.000.226.119.766.74"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ff331c00-8f6c-470c-954a-57ddb06dcca8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/9658fe7c-fa68-42d6-8940-eba1d9cd9526"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ff331c00-8f6c-470c-954a-57ddb06dcca8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9658fe7c-fa68-42d6-8940-eba1d9cd9526"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dwayne Pipe"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.json index abda4942..3a953cd6 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ecbad490-89d8-46a8-8eba-0804516d6f7a", + "id": "57fbcc2e-7082-4b78-9149-8070671507a9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "9569abb9-a9e5-4d13-9ba1-a0a60965ec6b", + "id": "10cf653e-afca-4532-92b0-a1a02454e3b0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/352288de-ea6a-43e0-bdef-ac5cab2ca869" + "reference": "Medication/fb3549bc-de35-4bca-8cba-ee6c0d499a44" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/f64a4747-2923-4cf4-8ffa-e799bbf68bf0" + "reference": "Organization/2671b5c3-0325-4b53-a237-f4ef4706ed02" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "352288de-ea6a-43e0-bdef-ac5cab2ca869", + "id": "fb3549bc-de35-4bca-8cba-ee6c0d499a44", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f64a4747-2923-4cf4-8ffa-e799bbf68bf0", + "id": "2671b5c3-0325-4b53-a237-f4ef4706ed02", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Liv Good" + "name": "Dee Kay" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.xml index 578632b7..e501a888 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="ecbad490-89d8-46a8-8eba-0804516d6f7a"/> + <id value="57fbcc2e-7082-4b78-9149-8070671507a9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="9569abb9-a9e5-4d13-9ba1-a0a60965ec6b"/> + <id value="10cf653e-afca-4532-92b0-a1a02454e3b0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/352288de-ea6a-43e0-bdef-ac5cab2ca869"/> + <reference value="Medication/fb3549bc-de35-4bca-8cba-ee6c0d499a44"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/f64a4747-2923-4cf4-8ffa-e799bbf68bf0"/> + <reference value="Organization/2671b5c3-0325-4b53-a237-f4ef4706ed02"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="352288de-ea6a-43e0-bdef-ac5cab2ca869"/> + <id value="fb3549bc-de35-4bca-8cba-ee6c0d499a44"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f64a4747-2923-4cf4-8ffa-e799bbf68bf0"/> + <id value="2671b5c3-0325-4b53-a237-f4ef4706ed02"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Liv Good"/> + <name value="Dee Kay"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22/input.xml new file mode 100644 index 00000000..465aba8c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b7698c22-7c98-4023-84a1-2a76bee694de"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9d4211d1-66d1-40e3-8a24-ea80887c92f1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07943704"/> + </coding> + <text value="Calglucoor"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="AMP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="3"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#9d4211d1-66d1-40e3-8a24-ea80887c92f1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22/output.json new file mode 100644 index 00000000..c6fb779f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "df58060d-b73b-4c91-82ab-8c966515f5f2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a31815f7-e440-40b8-aaec-4d9563e73209", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b7698c22-7c98-4023-84a1-2a76bee694de_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/e303167e-4b95-4526-866e-c41d6c37fd51" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/33cabee2-8f3c-4d50-b426-77cc74889748" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e303167e-4b95-4526-866e-c41d6c37fd51", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "33cabee2-8f3c-4d50-b426-77cc74889748", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Marshall Law" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22/output.xml new file mode 100644 index 00000000..6ccb5e80 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_b7698c22_b7698c22/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="df58060d-b73b-4c91-82ab-8c966515f5f2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a31815f7-e440-40b8-aaec-4d9563e73209"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b7698c22-7c98-4023-84a1-2a76bee694de_160.000.226.119.765.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e303167e-4b95-4526-866e-c41d6c37fd51"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/33cabee2-8f3c-4d50-b426-77cc74889748"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e303167e-4b95-4526-866e-c41d6c37fd51"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07943704"/> + </coding> + <text value="Calglucoor"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="AMP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="3"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="33cabee2-8f3c-4d50-b426-77cc74889748"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Marshall Law"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.json index 75687931..78e637f8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "8b69628b-7ff5-4d4c-9fc3-1dac6513dfe5", + "id": "f334709e-1110-4407-98f1-21182c68eef3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "0889be97-b9f6-469f-974c-a6bab37e0915", + "id": "8c06148c-130c-4aca-863a-cd7a52be0259", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/a0e11c69-3328-4d84-bd86-669ecf462231" + "reference": "Medication/371120ed-5d24-477a-bd8c-03c6a14965a9" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/858e0891-e7fd-48c0-bbbf-7b6fee1e5484" + "reference": "Organization/b337b90c-aa03-42c6-a29a-3fa722a19024" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a0e11c69-3328-4d84-bd86-669ecf462231", + "id": "371120ed-5d24-477a-bd8c-03c6a14965a9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "858e0891-e7fd-48c0-bbbf-7b6fee1e5484", + "id": "b337b90c-aa03-42c6-a29a-3fa722a19024", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Al B. Zienya" + "name": "Art Painter" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.xml index d1326e30..89d09ae1 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="8b69628b-7ff5-4d4c-9fc3-1dac6513dfe5"/> + <id value="f334709e-1110-4407-98f1-21182c68eef3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="0889be97-b9f6-469f-974c-a6bab37e0915"/> + <id value="8c06148c-130c-4aca-863a-cd7a52be0259"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/a0e11c69-3328-4d84-bd86-669ecf462231"/> + <reference value="Medication/371120ed-5d24-477a-bd8c-03c6a14965a9"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/858e0891-e7fd-48c0-bbbf-7b6fee1e5484"/> + <reference value="Organization/b337b90c-aa03-42c6-a29a-3fa722a19024"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a0e11c69-3328-4d84-bd86-669ecf462231"/> + <id value="371120ed-5d24-477a-bd8c-03c6a14965a9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="858e0891-e7fd-48c0-bbbf-7b6fee1e5484"/> + <id value="b337b90c-aa03-42c6-a29a-3fa722a19024"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Al B. Zienya"/> + <name value="Art Painter"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035/input.xml new file mode 100644 index 00000000..d71a4f4e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f08aa035-21c6-4dcf-a24d-bf5575ab995d"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5a09919f-802b-43e9-b62a-329150214fa4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.756.07"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5a09919f-802b-43e9-b62a-329150214fa4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035/output.json new file mode 100644 index 00000000..b2120dbc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "b0a46a2e-4c10-43e4-944b-edae2b6aab8e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a2297aca-a839-440d-b919-2861b88fad7d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f08aa035-21c6-4dcf-a24d-bf5575ab995d_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/bc2bf010-14c2-42e5-8074-5f5fb27c80db" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0a3f7ef8-b9e7-4a0f-8e9a-4d6e5c0fdcc2" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bc2bf010-14c2-42e5-8074-5f5fb27c80db", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0a3f7ef8-b9e7-4a0f-8e9a-4d6e5c0fdcc2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Otto B. Kilt" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035/output.xml new file mode 100644 index 00000000..a40d8444 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_f08aa035_f08aa035/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b0a46a2e-4c10-43e4-944b-edae2b6aab8e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.756.07"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a2297aca-a839-440d-b919-2861b88fad7d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f08aa035-21c6-4dcf-a24d-bf5575ab995d_160.000.226.119.756.07"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bc2bf010-14c2-42e5-8074-5f5fb27c80db"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0a3f7ef8-b9e7-4a0f-8e9a-4d6e5c0fdcc2"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bc2bf010-14c2-42e5-8074-5f5fb27c80db"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0a3f7ef8-b9e7-4a0f-8e9a-4d6e5c0fdcc2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Otto B. Kilt"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.json index 23292610..87a6e0f1 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "33db8454-6acc-4185-b4e8-f0fc73c625a5", + "id": "7b01861b-ac7d-47fb-b1eb-af6cc607afe2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "d7131f54-fd76-4083-95ae-8e53ea5a7bd3", + "id": "680229a1-9061-4338-ae41-033f3149ad12", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/717dec7c-95b8-4910-9864-7433c4f51c3d" + "reference": "Medication/31140638-890b-4057-9e56-fc30db9c1c5b" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/4f62c828-404d-46bb-babb-b4a2eec0b1e1" + "reference": "Organization/2baaa608-5f6f-4b97-b69a-551090cac2c9" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "717dec7c-95b8-4910-9864-7433c4f51c3d", + "id": "31140638-890b-4057-9e56-fc30db9c1c5b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "4f62c828-404d-46bb-babb-b4a2eec0b1e1", + "id": "2baaa608-5f6f-4b97-b69a-551090cac2c9", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Iona Corolla" + "name": "Sid Down" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.xml index fed2aa36..54dd2b4f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="33db8454-6acc-4185-b4e8-f0fc73c625a5"/> + <id value="7b01861b-ac7d-47fb-b1eb-af6cc607afe2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="d7131f54-fd76-4083-95ae-8e53ea5a7bd3"/> + <id value="680229a1-9061-4338-ae41-033f3149ad12"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/717dec7c-95b8-4910-9864-7433c4f51c3d"/> + <reference value="Medication/31140638-890b-4057-9e56-fc30db9c1c5b"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/4f62c828-404d-46bb-babb-b4a2eec0b1e1"/> + <reference value="Organization/2baaa608-5f6f-4b97-b69a-551090cac2c9"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="717dec7c-95b8-4910-9864-7433c4f51c3d"/> + <id value="31140638-890b-4057-9e56-fc30db9c1c5b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="4f62c828-404d-46bb-babb-b4a2eec0b1e1"/> + <id value="2baaa608-5f6f-4b97-b69a-551090cac2c9"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Iona Corolla"/> + <name value="Sid Down"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19_03b61c19/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19_03b61c19/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19_03b61c19/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19_03b61c19/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19_03b61c19/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19_03b61c19/output.json new file mode 100644 index 00000000..ff6a52e5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19_03b61c19/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "2f2332ac-1210-4dd7-ae6e-45ae288def3f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "7b821e97-5721-4e50-b6b7-cf51703e7aa1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "03b61c19-acab-4cff-901c-48b2226684a9_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/67199676-18b4-4589-ab2b-a78969849d35" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/87ef1a8c-9fcd-4c72-b01f-e58c8bf5a68b" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "67199676-18b4-4589-ab2b-a78969849d35", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "87ef1a8c-9fcd-4c72-b01f-e58c8bf5a68b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Chris P. Nugget" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19_03b61c19/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19_03b61c19/output.xml new file mode 100644 index 00000000..b74da057 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_03b61c19_03b61c19/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2f2332ac-1210-4dd7-ae6e-45ae288def3f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.526.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7b821e97-5721-4e50-b6b7-cf51703e7aa1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="03b61c19-acab-4cff-901c-48b2226684a9_200.000.002.096.526.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/67199676-18b4-4589-ab2b-a78969849d35"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/87ef1a8c-9fcd-4c72-b01f-e58c8bf5a68b"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="67199676-18b4-4589-ab2b-a78969849d35"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10256692"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="87ef1a8c-9fcd-4c72-b01f-e58c8bf5a68b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Chris P. Nugget"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.json index bdda3045..a0f43cf5 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "d8fb8806-246a-4904-89fb-d5b373f516d9", + "id": "6ed0039e-5afd-4712-8ce8-8734fb7ffee1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "90e1b462-cdcb-4f49-b6f6-eddf0b90fc16", + "id": "f7941e7a-2bff-49e1-af5c-4870add55447", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/e9df3126-a78e-4620-8fad-900c43348e72" + "reference": "Medication/ad2b6c39-eaee-401f-a7bd-e1a1a522b260" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/3eb2e1e6-1082-4dba-9e97-5586b74dc10f" + "reference": "Organization/a9d1b9ad-201d-4809-a70e-32b654c571ef" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "e9df3126-a78e-4620-8fad-900c43348e72", + "id": "ad2b6c39-eaee-401f-a7bd-e1a1a522b260", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "3eb2e1e6-1082-4dba-9e97-5586b74dc10f", + "id": "a9d1b9ad-201d-4809-a70e-32b654c571ef", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Bonnie Ann Clyde" + "name": "Rowan Boatman" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.xml index f52ac1fe..5225db26 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="d8fb8806-246a-4904-89fb-d5b373f516d9"/> + <id value="6ed0039e-5afd-4712-8ce8-8734fb7ffee1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="90e1b462-cdcb-4f49-b6f6-eddf0b90fc16"/> + <id value="f7941e7a-2bff-49e1-af5c-4870add55447"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/e9df3126-a78e-4620-8fad-900c43348e72"/> + <reference value="Medication/ad2b6c39-eaee-401f-a7bd-e1a1a522b260"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/3eb2e1e6-1082-4dba-9e97-5586b74dc10f"/> + <reference value="Organization/a9d1b9ad-201d-4809-a70e-32b654c571ef"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="e9df3126-a78e-4620-8fad-900c43348e72"/> + <id value="ad2b6c39-eaee-401f-a7bd-e1a1a522b260"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="3eb2e1e6-1082-4dba-9e97-5586b74dc10f"/> + <id value="a9d1b9ad-201d-4809-a70e-32b654c571ef"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Bonnie Ann Clyde"/> + <name value="Rowan Boatman"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea_251c9cea/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea_251c9cea/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea_251c9cea/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea_251c9cea/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea_251c9cea/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea_251c9cea/output.json new file mode 100644 index 00000000..6c0e7f76 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea_251c9cea/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "929088ba-5033-42b1-b422-14f4c8afa8d9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "73d673c4-6ec6-4013-b5a8-45a6c90e0a46", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "251c9cea-ae9b-4975-822e-4c87d29f161a_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/8ce8fa92-e9ba-423d-8db9-6579e66b78fb" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/b7c71259-bb8b-433e-9379-32f36cc51b67" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "8ce8fa92-e9ba-423d-8db9-6579e66b78fb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b7c71259-bb8b-433e-9379-32f36cc51b67", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/011_Request_MedicationDispense_251c9cea_251c9cea/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea_251c9cea/output.xml new file mode 100644 index 00000000..b066c17d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_251c9cea_251c9cea/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="929088ba-5033-42b1-b422-14f4c8afa8d9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.535.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="73d673c4-6ec6-4013-b5a8-45a6c90e0a46"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="251c9cea-ae9b-4975-822e-4c87d29f161a_200.000.002.096.535.43"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/8ce8fa92-e9ba-423d-8db9-6579e66b78fb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/b7c71259-bb8b-433e-9379-32f36cc51b67"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8ce8fa92-e9ba-423d-8db9-6579e66b78fb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87382645"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b7c71259-bb8b-433e-9379-32f36cc51b67"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Harry Pitts"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.json deleted file mode 100644 index ac8f16da..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "2cab91e4-7be9-4724-9be0-0fe9a5de7e61", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "7a2ecf91-8d7b-47c7-b062-301f1c3f5e42", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "8f3ff291-01d9-4daf-9e12-69b9e5d41b30_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/a4fb65db-2ca5-457f-b409-11154978a660" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/0af7e20e-7fcf-41d0-bfad-8666d6ef5807" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "a4fb65db-2ca5-457f-b409-11154978a660", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0af7e20e-7fcf-41d0-bfad-8666d6ef5807", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Arch N. Emmy" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.xml deleted file mode 100644 index 30e3b28f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2cab91e4-7be9-4724-9be0-0fe9a5de7e61"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.528.64"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="7a2ecf91-8d7b-47c7-b062-301f1c3f5e42"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="8f3ff291-01d9-4daf-9e12-69b9e5d41b30_200.000.002.096.528.64"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/a4fb65db-2ca5-457f-b409-11154978a660"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/0af7e20e-7fcf-41d0-bfad-8666d6ef5807"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a4fb65db-2ca5-457f-b409-11154978a660"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="87002772"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0af7e20e-7fcf-41d0-bfad-8666d6ef5807"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arch N. Emmy"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291/output.json new file mode 100644 index 00000000..1738fc9a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "13252fbd-c733-45b0-b2ea-29f910b08c43", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9e16cb26-61cc-4465-bef5-53dae19898b2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "8f3ff291-01d9-4daf-9e12-69b9e5d41b30_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/201fda2d-562c-41d7-bcf2-39569f0ef1c6" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ec2d48bb-dc42-422d-87f4-dc6d3ea4ba61" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "201fda2d-562c-41d7-bcf2-39569f0ef1c6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ec2d48bb-dc42-422d-87f4-dc6d3ea4ba61", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Rob Banks" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291/output.xml new file mode 100644 index 00000000..73c49230 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195_8f3ff291_8f3ff291/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="13252fbd-c733-45b0-b2ea-29f910b08c43"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.528.64"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9e16cb26-61cc-4465-bef5-53dae19898b2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="8f3ff291-01d9-4daf-9e12-69b9e5d41b30_200.000.002.096.528.64"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/201fda2d-562c-41d7-bcf2-39569f0ef1c6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ec2d48bb-dc42-422d-87f4-dc6d3ea4ba61"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="201fda2d-562c-41d7-bcf2-39569f0ef1c6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87002772"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ec2d48bb-dc42-422d-87f4-dc6d3ea4ba61"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rob Banks"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.json deleted file mode 100644 index 1e3147de..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "d214a3a1-ab12-4226-8035-b45b31d40228", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "fe29dec3-936a-4a5d-9947-ca043dea5c12", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "f976d60f-6a94-43be-acc2-1f02f7fe75b7_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/601862e1-388a-47de-904e-2104a81c81ed" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/d5e19b63-b411-4d26-a313-47ae16dde5ef" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "601862e1-388a-47de-904e-2104a81c81ed", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d5e19b63-b411-4d26-a313-47ae16dde5ef", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Hayden Seek" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.xml deleted file mode 100644 index 49d5f83c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d214a3a1-ab12-4226-8035-b45b31d40228"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.530.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="fe29dec3-936a-4a5d-9947-ca043dea5c12"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="f976d60f-6a94-43be-acc2-1f02f7fe75b7_200.000.002.096.530.58"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/601862e1-388a-47de-904e-2104a81c81ed"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/d5e19b63-b411-4d26-a313-47ae16dde5ef"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="601862e1-388a-47de-904e-2104a81c81ed"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="78632037"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d5e19b63-b411-4d26-a313-47ae16dde5ef"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hayden Seek"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f/output.json new file mode 100644 index 00000000..2f54877f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "5faee49c-7eea-4a0f-9f47-05e01edbd141", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4ab1c541-1ba8-420a-886f-553c3975acdf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f976d60f-6a94-43be-acc2-1f02f7fe75b7_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/5b838186-6091-4986-9274-6403d8ab5629" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/84d16a28-5cfd-470d-9121-c4260164e68c" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5b838186-6091-4986-9274-6403d8ab5629", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "84d16a28-5cfd-470d-9121-c4260164e68c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Winsom Cash" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f/output.xml new file mode 100644 index 00000000..af05776b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82_f976d60f_f976d60f/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5faee49c-7eea-4a0f-9f47-05e01edbd141"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.530.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4ab1c541-1ba8-420a-886f-553c3975acdf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f976d60f-6a94-43be-acc2-1f02f7fe75b7_200.000.002.096.530.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5b838186-6091-4986-9274-6403d8ab5629"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/84d16a28-5cfd-470d-9121-c4260164e68c"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5b838186-6091-4986-9274-6403d8ab5629"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="78632037"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="84d16a28-5cfd-470d-9121-c4260164e68c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Winsom Cash"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.json deleted file mode 100644 index 3379cc29..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "18d01254-de24-40f9-b0eb-3a005b43181f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "23e387d7-be80-4826-bb19-e2b257f5b2fc", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "251c9cea-ae9b-4975-822e-4c87d29f161a_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/cb4cd625-4f85-4c8d-9589-9806b3e3fe84" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/b768216e-8edc-4a0f-9205-53de35cd8508" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "cb4cd625-4f85-4c8d-9589-9806b3e3fe84", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b768216e-8edc-4a0f-9205-53de35cd8508", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Chris P. Wheatzenraisins" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.xml deleted file mode 100644 index 6f1320fe..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="18d01254-de24-40f9-b0eb-3a005b43181f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.535.43"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="23e387d7-be80-4826-bb19-e2b257f5b2fc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="251c9cea-ae9b-4975-822e-4c87d29f161a_200.000.002.096.535.43"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/cb4cd625-4f85-4c8d-9589-9806b3e3fe84"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/b768216e-8edc-4a0f-9205-53de35cd8508"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="cb4cd625-4f85-4c8d-9589-9806b3e3fe84"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="87382645"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b768216e-8edc-4a0f-9205-53de35cd8508"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Chris P. Wheatzenraisins"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea/input.xml new file mode 100644 index 00000000..0d5ea6ac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="251c9cea-ae9b-4975-822e-4c87d29f161a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bc1c6f86-2c26-4ed2-b717-fd73022e6f53"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87382645"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.535.43"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#bc1c6f86-2c26-4ed2-b717-fd73022e6f53"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea/output.json new file mode 100644 index 00000000..93962ab1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "7699ba43-b084-46c3-8169-4e4123fa6a38", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1d3ec771-20f3-4fca-8f9d-89744fa0cff4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "251c9cea-ae9b-4975-822e-4c87d29f161a_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/4e0d0006-3340-4d65-b277-cf6f526aa728" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ec7f3847-6e26-4036-a57b-968e114ad5ea" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "4e0d0006-3340-4d65-b277-cf6f526aa728", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ec7f3847-6e26-4036-a57b-968e114ad5ea", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Otto Graf" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea/output.xml new file mode 100644 index 00000000..d524cff3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b_251c9cea_251c9cea/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7699ba43-b084-46c3-8169-4e4123fa6a38"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.535.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1d3ec771-20f3-4fca-8f9d-89744fa0cff4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="251c9cea-ae9b-4975-822e-4c87d29f161a_200.000.002.096.535.43"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/4e0d0006-3340-4d65-b277-cf6f526aa728"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ec7f3847-6e26-4036-a57b-968e114ad5ea"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4e0d0006-3340-4d65-b277-cf6f526aa728"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87382645"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ec7f3847-6e26-4036-a57b-968e114ad5ea"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Otto Graf"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.json index b9df3286..50d2076c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ce661dac-478d-434c-a30a-f6acdf119c9c", + "id": "0bbcab05-9f34-4321-8489-25e0ddbef219", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "a4ba03e8-45e6-4731-9fa8-c4ea3419721d", + "id": "a5c05813-0bac-42a5-88ea-788b00f303d5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/10086912-9dfc-4de2-9a16-a99482d21ccc" + "reference": "Medication/e141c074-1288-4f31-b695-2fe2725bd696" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/65196b02-ae09-4eab-9f3b-38912da7a07a" + "reference": "Organization/cd1fac0b-ddfd-4d8a-b1c9-aaff3f3bf229" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "10086912-9dfc-4de2-9a16-a99482d21ccc", + "id": "e141c074-1288-4f31-b695-2fe2725bd696", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "65196b02-ae09-4eab-9f3b-38912da7a07a", + "id": "cd1fac0b-ddfd-4d8a-b1c9-aaff3f3bf229", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Chris Cross" + "name": "Evan Keel" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.xml index 0181bb73..11ac594e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="ce661dac-478d-434c-a30a-f6acdf119c9c"/> + <id value="0bbcab05-9f34-4321-8489-25e0ddbef219"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a4ba03e8-45e6-4731-9fa8-c4ea3419721d"/> + <id value="a5c05813-0bac-42a5-88ea-788b00f303d5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/10086912-9dfc-4de2-9a16-a99482d21ccc"/> + <reference value="Medication/e141c074-1288-4f31-b695-2fe2725bd696"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/65196b02-ae09-4eab-9f3b-38912da7a07a"/> + <reference value="Organization/cd1fac0b-ddfd-4d8a-b1c9-aaff3f3bf229"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="10086912-9dfc-4de2-9a16-a99482d21ccc"/> + <id value="e141c074-1288-4f31-b695-2fe2725bd696"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="65196b02-ae09-4eab-9f3b-38912da7a07a"/> + <id value="cd1fac0b-ddfd-4d8a-b1c9-aaff3f3bf229"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Chris Cross"/> + <name value="Evan Keel"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291/input.xml new file mode 100644 index 00000000..ac813601 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8f3ff291-01d9-4daf-9e12-69b9e5d41b30"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fd02588d-b2f9-4d37-a188-6b7c24382ead"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87002772"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.528.64"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#fd02588d-b2f9-4d37-a188-6b7c24382ead"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291/output.json new file mode 100644 index 00000000..6c59fe5e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "a22ee7f3-3aff-4773-8b8f-5536e72623b7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0ec1247f-efe8-4e13-bd98-099da57be55e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "8f3ff291-01d9-4daf-9e12-69b9e5d41b30_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/88bf34ee-595d-4bd2-9265-054f6f90788f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/58792c7e-cf78-4b4d-ab8f-512004f6b12a" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "88bf34ee-595d-4bd2-9265-054f6f90788f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "58792c7e-cf78-4b4d-ab8f-512004f6b12a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Doris Open" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291/output.xml new file mode 100644 index 00000000..cc08b681 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_8f3ff291_8f3ff291/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a22ee7f3-3aff-4773-8b8f-5536e72623b7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.528.64"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0ec1247f-efe8-4e13-bd98-099da57be55e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="8f3ff291-01d9-4daf-9e12-69b9e5d41b30_200.000.002.096.528.64"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/88bf34ee-595d-4bd2-9265-054f6f90788f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/58792c7e-cf78-4b4d-ab8f-512004f6b12a"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="88bf34ee-595d-4bd2-9265-054f6f90788f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87002772"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="58792c7e-cf78-4b4d-ab8f-512004f6b12a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Doris Open"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.json deleted file mode 100644 index 647df9bd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "05fe5777-54e7-4cf8-8cae-df9d966966a8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "3157fe1b-ed59-4638-9285-5102393ef5f1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "03b61c19-acab-4cff-901c-48b2226684a9_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/ca16a42b-2fa5-4f23-baa9-e1bb31465988" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/1c54706b-e698-4924-9ad0-0e7aa2e4c2e7" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "ca16a42b-2fa5-4f23-baa9-e1bb31465988", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1c54706b-e698-4924-9ad0-0e7aa2e4c2e7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Anne Teak" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.xml deleted file mode 100644 index eb6517f5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="05fe5777-54e7-4cf8-8cae-df9d966966a8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.526.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="3157fe1b-ed59-4638-9285-5102393ef5f1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="03b61c19-acab-4cff-901c-48b2226684a9_200.000.002.096.526.70"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/ca16a42b-2fa5-4f23-baa9-e1bb31465988"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/1c54706b-e698-4924-9ad0-0e7aa2e4c2e7"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ca16a42b-2fa5-4f23-baa9-e1bb31465988"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10256692"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1c54706b-e698-4924-9ad0-0e7aa2e4c2e7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Anne Teak"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19/input.xml new file mode 100644 index 00000000..ae753ab9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="03b61c19-acab-4cff-901c-48b2226684a9"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9c18ac42-2969-44aa-b951-c6bfa687b5bf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10256692"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.526.70"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#9c18ac42-2969-44aa-b951-c6bfa687b5bf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19/output.json new file mode 100644 index 00000000..c2aaec81 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "760efc4b-64f7-401b-8a6b-539783bfabd4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "7031680e-5325-42ed-8eff-1d0414393cdc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "03b61c19-acab-4cff-901c-48b2226684a9_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/560424ab-b2a7-4212-8343-12265768f72f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/00bc4b84-fea3-4226-864e-bae37680fc23" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "560424ab-b2a7-4212-8343-12265768f72f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "00bc4b84-fea3-4226-864e-bae37680fc23", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Sam Manilla" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19/output.xml new file mode 100644 index 00000000..6e218e25 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06_03b61c19_03b61c19/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="760efc4b-64f7-401b-8a6b-539783bfabd4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.526.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7031680e-5325-42ed-8eff-1d0414393cdc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="03b61c19-acab-4cff-901c-48b2226684a9_200.000.002.096.526.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/560424ab-b2a7-4212-8343-12265768f72f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/00bc4b84-fea3-4226-864e-bae37680fc23"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="560424ab-b2a7-4212-8343-12265768f72f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10256692"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="00bc4b84-fea3-4226-864e-bae37680fc23"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sam Manilla"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.json index 3236f885..34bfa120 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c3ff9504-434c-452a-a831-287e3a443045", + "id": "8833d4fe-afec-43a5-a124-83e4619cee5f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "16d8b8f0-f0ca-4870-8271-73f3e01f3df7", + "id": "255c36d1-9904-4e3a-a720-941ee699c27a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/a1f93056-4452-4c71-95a7-aa243002515e" + "reference": "Medication/3a8a3e29-a118-406d-a421-32e36dd464e4" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/0580d814-acae-4121-871f-7fb17a2668b8" + "reference": "Organization/6cae65c4-f30c-4591-a1f5-61d7f1dfca08" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a1f93056-4452-4c71-95a7-aa243002515e", + "id": "3a8a3e29-a118-406d-a421-32e36dd464e4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "0580d814-acae-4121-871f-7fb17a2668b8", + "id": "6cae65c4-f30c-4591-a1f5-61d7f1dfca08", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Ty Coon" + "name": "Ray Zenz" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.xml index 3592ec96..8fad6595 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c3ff9504-434c-452a-a831-287e3a443045"/> + <id value="8833d4fe-afec-43a5-a124-83e4619cee5f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="16d8b8f0-f0ca-4870-8271-73f3e01f3df7"/> + <id value="255c36d1-9904-4e3a-a720-941ee699c27a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/a1f93056-4452-4c71-95a7-aa243002515e"/> + <reference value="Medication/3a8a3e29-a118-406d-a421-32e36dd464e4"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/0580d814-acae-4121-871f-7fb17a2668b8"/> + <reference value="Organization/6cae65c4-f30c-4591-a1f5-61d7f1dfca08"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a1f93056-4452-4c71-95a7-aa243002515e"/> + <id value="3a8a3e29-a118-406d-a421-32e36dd464e4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="0580d814-acae-4121-871f-7fb17a2668b8"/> + <id value="6cae65c4-f30c-4591-a1f5-61d7f1dfca08"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Ty Coon"/> + <name value="Ray Zenz"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f/input.xml new file mode 100644 index 00000000..1838fc0c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f976d60f-6a94-43be-acc2-1f02f7fe75b7"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="935cf074-8360-466f-b82a-a0a912f333c6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="78632037"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.530.58"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#935cf074-8360-466f-b82a-a0a912f333c6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f/output.json new file mode 100644 index 00000000..dc21330a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "3aa25d50-e860-4eb4-899e-874abae5cbc3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "7026d44d-db54-4029-8ef6-1f6cfc2c4530", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f976d60f-6a94-43be-acc2-1f02f7fe75b7_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/47320a7e-7f28-447a-a0b9-d3da774804bd" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/14089412-f61d-49f9-9a5b-78fd7b8352a7" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "47320a7e-7f28-447a-a0b9-d3da774804bd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "14089412-f61d-49f9-9a5b-78fd7b8352a7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Pott" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f/output.xml new file mode 100644 index 00000000..1a4bc657 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_f976d60f_f976d60f/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3aa25d50-e860-4eb4-899e-874abae5cbc3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.530.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7026d44d-db54-4029-8ef6-1f6cfc2c4530"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f976d60f-6a94-43be-acc2-1f02f7fe75b7_200.000.002.096.530.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/47320a7e-7f28-447a-a0b9-d3da774804bd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/14089412-f61d-49f9-9a5b-78fd7b8352a7"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="47320a7e-7f28-447a-a0b9-d3da774804bd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="78632037"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="14089412-f61d-49f9-9a5b-78fd7b8352a7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jack Pott"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.json index 9ad14501..65c6dad5 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "e0b77b26-2e26-405e-97c2-557461e8e0b3", + "id": "7571c20b-8c84-47f9-a660-178de3204fbc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "a98f6de9-83c2-43e0-9966-07afdd3893c4", + "id": "4f0ff6d3-a48e-4640-9212-3c3690837a7f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/15be6cdf-955a-4145-825f-ec1c85c7fbba" + "reference": "Medication/93b1a1c1-33ed-4fa2-924f-a512361e45e9" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/861d0ee7-7efe-4174-8d2a-080ce2982519" + "reference": "Organization/7e76e8bd-95c2-4524-975c-27f3d56cdcc0" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "15be6cdf-955a-4145-825f-ec1c85c7fbba", + "id": "93b1a1c1-33ed-4fa2-924f-a512361e45e9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "861d0ee7-7efe-4174-8d2a-080ce2982519", + "id": "7e76e8bd-95c2-4524-975c-27f3d56cdcc0", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Val Lay" + "name": "Beau Vine" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.xml index b180e281..4c2c13b7 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="e0b77b26-2e26-405e-97c2-557461e8e0b3"/> + <id value="7571c20b-8c84-47f9-a660-178de3204fbc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a98f6de9-83c2-43e0-9966-07afdd3893c4"/> + <id value="4f0ff6d3-a48e-4640-9212-3c3690837a7f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/15be6cdf-955a-4145-825f-ec1c85c7fbba"/> + <reference value="Medication/93b1a1c1-33ed-4fa2-924f-a512361e45e9"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/861d0ee7-7efe-4174-8d2a-080ce2982519"/> + <reference value="Organization/7e76e8bd-95c2-4524-975c-27f3d56cdcc0"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="15be6cdf-955a-4145-825f-ec1c85c7fbba"/> + <id value="93b1a1c1-33ed-4fa2-924f-a512361e45e9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="861d0ee7-7efe-4174-8d2a-080ce2982519"/> + <id value="7e76e8bd-95c2-4524-975c-27f3d56cdcc0"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Val Lay"/> + <name value="Beau Vine"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94_27819d94/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94_27819d94/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94_27819d94/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94_27819d94/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94_27819d94/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94_27819d94/output.json new file mode 100644 index 00000000..01eca289 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94_27819d94/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "8e61d28d-cb38-40b4-bb52-235d9be837ad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "dbbd0754-920a-4d6a-847e-48ae53ea32dd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "27819d94-b175-489e-a051-b8ecc4b04433_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/6b559ef8-9406-48a7-9072-56c8b3d85eeb" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/94f1739a-35fe-401f-b30e-69ab92cb0041" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "6b559ef8-9406-48a7-9072-56c8b3d85eeb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "94f1739a-35fe-401f-b30e-69ab92cb0041", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Annie Buddyhome" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94_27819d94/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94_27819d94/output.xml new file mode 100644 index 00000000..d77230bd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_27819d94_27819d94/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8e61d28d-cb38-40b4-bb52-235d9be837ad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.742.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="dbbd0754-920a-4d6a-847e-48ae53ea32dd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="27819d94-b175-489e-a051-b8ecc4b04433_160.000.226.119.742.49"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/6b559ef8-9406-48a7-9072-56c8b3d85eeb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/94f1739a-35fe-401f-b30e-69ab92cb0041"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6b559ef8-9406-48a7-9072-56c8b3d85eeb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="94f1739a-35fe-401f-b30e-69ab92cb0041"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Annie Buddyhome"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.json deleted file mode 100644 index 5718d79b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "f2313b48-12e8-469b-85f6-7df6ec53598d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "f4df7bd7-7436-46ea-b3d1-c02c0d3e5d91", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "27819d94-b175-489e-a051-b8ecc4b04433_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/4979036a-2e93-4e48-b753-bf4fdf3fd880" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/4756d797-b1f0-4b7d-9335-4757b7648b79" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "4979036a-2e93-4e48-b753-bf4fdf3fd880", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4756d797-b1f0-4b7d-9335-4757b7648b79", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Dustin D. Furniture" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.xml deleted file mode 100644 index ffcb5edb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f2313b48-12e8-469b-85f6-7df6ec53598d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.742.49"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="f4df7bd7-7436-46ea-b3d1-c02c0d3e5d91"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="27819d94-b175-489e-a051-b8ecc4b04433_160.000.226.119.742.49"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/4979036a-2e93-4e48-b753-bf4fdf3fd880"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/4756d797-b1f0-4b7d-9335-4757b7648b79"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4979036a-2e93-4e48-b753-bf4fdf3fd880"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4756d797-b1f0-4b7d-9335-4757b7648b79"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Dustin D. Furniture"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94/input.xml new file mode 100644 index 00000000..f99a14a1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="27819d94-b175-489e-a051-b8ecc4b04433"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b8b6f343-e196-4bf1-87e4-482535ff8f0e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.742.49"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#b8b6f343-e196-4bf1-87e4-482535ff8f0e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94/output.json new file mode 100644 index 00000000..51aa829e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "b908083d-8cf4-467a-90df-87caada90586", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0a2290ba-7f39-47c2-8f1e-74d9853da669", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "27819d94-b175-489e-a051-b8ecc4b04433_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/7d0ae20a-ea6b-45fe-9f32-6bd90626c8c5" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ffaa40db-d752-4371-a7ac-3736880e7478" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7d0ae20a-ea6b-45fe-9f32-6bd90626c8c5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ffaa40db-d752-4371-a7ac-3736880e7478", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Barb Dwyer" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94/output.xml new file mode 100644 index 00000000..666a4f4a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70_27819d94_27819d94/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b908083d-8cf4-467a-90df-87caada90586"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.742.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0a2290ba-7f39-47c2-8f1e-74d9853da669"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="27819d94-b175-489e-a051-b8ecc4b04433_160.000.226.119.742.49"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7d0ae20a-ea6b-45fe-9f32-6bd90626c8c5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ffaa40db-d752-4371-a7ac-3736880e7478"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7d0ae20a-ea6b-45fe-9f32-6bd90626c8c5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ffaa40db-d752-4371-a7ac-3736880e7478"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Barb Dwyer"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.json index c95ffddf..18667bb9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "59d49b5a-3aed-4c91-8f86-cd027a5af473", + "id": "cd073d61-bd4e-455d-962c-844a2eca022c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "ab6813bc-2ca9-419b-a868-2b2666e6812c", + "id": "001ac821-b456-488e-b13e-9de6107f8220", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/46ba2183-2514-478c-b0e0-f83b21369b19" + "reference": "Medication/ea2131d6-7b7a-4335-a590-ce54b5aef25b" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/3317e362-43f9-4fde-b0be-75fe0782ba15" + "reference": "Organization/59194168-aeef-4268-8b8f-8f3190a0fbe8" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "46ba2183-2514-478c-b0e0-f83b21369b19", + "id": "ea2131d6-7b7a-4335-a590-ce54b5aef25b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "3317e362-43f9-4fde-b0be-75fe0782ba15", + "id": "59194168-aeef-4268-8b8f-8f3190a0fbe8", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Bruce Easley" + "name": "Sid Down" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.xml index 7bdf034f..d5842c63 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="59d49b5a-3aed-4c91-8f86-cd027a5af473"/> + <id value="cd073d61-bd4e-455d-962c-844a2eca022c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ab6813bc-2ca9-419b-a868-2b2666e6812c"/> + <id value="001ac821-b456-488e-b13e-9de6107f8220"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/46ba2183-2514-478c-b0e0-f83b21369b19"/> + <reference value="Medication/ea2131d6-7b7a-4335-a590-ce54b5aef25b"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/3317e362-43f9-4fde-b0be-75fe0782ba15"/> + <reference value="Organization/59194168-aeef-4268-8b8f-8f3190a0fbe8"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="46ba2183-2514-478c-b0e0-f83b21369b19"/> + <id value="ea2131d6-7b7a-4335-a590-ce54b5aef25b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="3317e362-43f9-4fde-b0be-75fe0782ba15"/> + <id value="59194168-aeef-4268-8b8f-8f3190a0fbe8"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Bruce Easley"/> + <name value="Sid Down"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff_0926ecff/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff_0926ecff/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff_0926ecff/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff_0926ecff/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff_0926ecff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff_0926ecff/output.json new file mode 100644 index 00000000..83397901 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff_0926ecff/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "bf78b084-404f-4d9e-bcb6-1a70b6241156", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b906d893-87a5-41a2-8d26-2ce085b6e069", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "0926ecff-d275-4e6f-a03c-ce5dbff6d87a_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/546f350b-d211-4b8a-9d76-bb86495736f4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5e21f9eb-f7ca-4d1a-8e14-507e77be302f" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "546f350b-d211-4b8a-9d76-bb86495736f4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5e21f9eb-f7ca-4d1a-8e14-507e77be302f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dan D. Lyon" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff_0926ecff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff_0926ecff/output.xml new file mode 100644 index 00000000..cd0503bd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_0926ecff_0926ecff/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bf78b084-404f-4d9e-bcb6-1a70b6241156"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.740.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b906d893-87a5-41a2-8d26-2ce085b6e069"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="0926ecff-d275-4e6f-a03c-ce5dbff6d87a_160.000.226.119.740.55"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/546f350b-d211-4b8a-9d76-bb86495736f4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5e21f9eb-f7ca-4d1a-8e14-507e77be302f"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="546f350b-d211-4b8a-9d76-bb86495736f4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5e21f9eb-f7ca-4d1a-8e14-507e77be302f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dan D. Lyon"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.json index cf604dbf..3c14fdb7 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "6adddbd5-c480-45c0-8bef-77f18e0ccb14", + "id": "098f7969-6faf-4607-8a88-5672181d4d4f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "9e399556-9ce2-47fd-959c-57574751fb34", + "id": "b5d6057f-e782-4a91-8468-5243436bd992", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/bb94d57a-8d93-464f-8eda-e5359bcff62a" + "reference": "Medication/f7d70a80-0d93-4c0c-b40f-3181687a8ad2" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/0f9abb78-9cf8-4a29-b11f-061c843ee9f2" + "reference": "Organization/c2e13ca6-b6c7-4ba6-8d98-db606b9c2f76" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "bb94d57a-8d93-464f-8eda-e5359bcff62a", + "id": "f7d70a80-0d93-4c0c-b40f-3181687a8ad2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "0f9abb78-9cf8-4a29-b11f-061c843ee9f2", + "id": "c2e13ca6-b6c7-4ba6-8d98-db606b9c2f76", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Kenya Dewit" + "name": "Tom A. Toe" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.xml index 66d3bde6..daec6881 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="6adddbd5-c480-45c0-8bef-77f18e0ccb14"/> + <id value="098f7969-6faf-4607-8a88-5672181d4d4f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="9e399556-9ce2-47fd-959c-57574751fb34"/> + <id value="b5d6057f-e782-4a91-8468-5243436bd992"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/bb94d57a-8d93-464f-8eda-e5359bcff62a"/> + <reference value="Medication/f7d70a80-0d93-4c0c-b40f-3181687a8ad2"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/0f9abb78-9cf8-4a29-b11f-061c843ee9f2"/> + <reference value="Organization/c2e13ca6-b6c7-4ba6-8d98-db606b9c2f76"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="bb94d57a-8d93-464f-8eda-e5359bcff62a"/> + <id value="f7d70a80-0d93-4c0c-b40f-3181687a8ad2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="0f9abb78-9cf8-4a29-b11f-061c843ee9f2"/> + <id value="c2e13ca6-b6c7-4ba6-8d98-db606b9c2f76"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Kenya Dewit"/> + <name value="Tom A. Toe"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a_227cd07a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a_227cd07a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a_227cd07a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a_227cd07a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a_227cd07a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a_227cd07a/output.json new file mode 100644 index 00000000..2e9b652a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a_227cd07a/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "f322a1d3-437a-4303-bec3-5a48d465c512", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2cec4b2d-5f6d-4f20-b4ea-f2bbf713e860", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "227cd07a-1fe5-44d6-99bf-748c42a34bda_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/be61b269-5290-4a04-a1a3-d361903637b9" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d97935e9-0c72-4c4b-abc1-bc89efeac171" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "be61b269-5290-4a04-a1a3-d361903637b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d97935e9-0c72-4c4b-abc1-bc89efeac171", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Luke Adam Go" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a_227cd07a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a_227cd07a/output.xml new file mode 100644 index 00000000..2a7e2d0d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_227cd07a_227cd07a/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f322a1d3-437a-4303-bec3-5a48d465c512"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.745.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2cec4b2d-5f6d-4f20-b4ea-f2bbf713e860"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="227cd07a-1fe5-44d6-99bf-748c42a34bda_160.000.226.119.745.40"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/be61b269-5290-4a04-a1a3-d361903637b9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d97935e9-0c72-4c4b-abc1-bc89efeac171"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="be61b269-5290-4a04-a1a3-d361903637b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d97935e9-0c72-4c4b-abc1-bc89efeac171"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Luke Adam Go"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.json deleted file mode 100644 index c77d4e3b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "9775eaf4-30ed-4e82-9224-2c29ad4cd2a3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "8eec122a-98fc-48e1-907e-7123143e5899", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "0926ecff-d275-4e6f-a03c-ce5dbff6d87a_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/c72b7468-9ecd-47da-9b2d-1e7dc76da8d9" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/5cb365ae-20e1-4c15-9212-bffd9c5d32e7" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "c72b7468-9ecd-47da-9b2d-1e7dc76da8d9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5cb365ae-20e1-4c15-9212-bffd9c5d32e7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Billy Rubin" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.xml deleted file mode 100644 index fd86d526..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9775eaf4-30ed-4e82-9224-2c29ad4cd2a3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.740.55"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="8eec122a-98fc-48e1-907e-7123143e5899"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="0926ecff-d275-4e6f-a03c-ce5dbff6d87a_160.000.226.119.740.55"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/c72b7468-9ecd-47da-9b2d-1e7dc76da8d9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/5cb365ae-20e1-4c15-9212-bffd9c5d32e7"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c72b7468-9ecd-47da-9b2d-1e7dc76da8d9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5cb365ae-20e1-4c15-9212-bffd9c5d32e7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Billy Rubin"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff/input.xml new file mode 100644 index 00000000..10094e85 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0926ecff-d275-4e6f-a03c-ce5dbff6d87a"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6cbfa774-2875-4c4e-a158-0b01299011fc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.740.55"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#6cbfa774-2875-4c4e-a158-0b01299011fc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff/output.json new file mode 100644 index 00000000..b1c5a0b0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "445432ca-fdc5-4dcb-bd81-258616fd958c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8cb57037-3bdd-472d-865f-484171e323ab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "0926ecff-d275-4e6f-a03c-ce5dbff6d87a_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/46e66df7-dda9-4784-b91d-8cea1b7dd83b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/6767cbb6-8f07-497b-9291-467453c2ca9c" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "46e66df7-dda9-4784-b91d-8cea1b7dd83b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6767cbb6-8f07-497b-9291-467453c2ca9c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Alf A. Romeo" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff/output.xml new file mode 100644 index 00000000..94c955e7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc_0926ecff_0926ecff/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="445432ca-fdc5-4dcb-bd81-258616fd958c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.740.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8cb57037-3bdd-472d-865f-484171e323ab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="0926ecff-d275-4e6f-a03c-ce5dbff6d87a_160.000.226.119.740.55"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/46e66df7-dda9-4784-b91d-8cea1b7dd83b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/6767cbb6-8f07-497b-9291-467453c2ca9c"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="46e66df7-dda9-4784-b91d-8cea1b7dd83b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6767cbb6-8f07-497b-9291-467453c2ca9c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Alf A. Romeo"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.json deleted file mode 100644 index 42c31ab4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "8dbc3db2-aa69-480d-873b-b76d0de3f9a5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "d43dc3ea-946d-4c66-987a-e41c491f9936", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "227cd07a-1fe5-44d6-99bf-748c42a34bda_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/acfcd306-c231-4a30-9cc8-615a4f7953d7" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110498565" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/66a41836-acf0-472a-bcf9-ee02371f8aac" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "acfcd306-c231-4a30-9cc8-615a4f7953d7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "66a41836-acf0-472a-bcf9-ee02371f8aac", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Oren Jellow" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.xml deleted file mode 100644 index 93c17277..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="8dbc3db2-aa69-480d-873b-b76d0de3f9a5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.745.40"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="d43dc3ea-946d-4c66-987a-e41c491f9936"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="227cd07a-1fe5-44d6-99bf-748c42a34bda_160.000.226.119.745.40"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/acfcd306-c231-4a30-9cc8-615a4f7953d7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110498565"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/66a41836-acf0-472a-bcf9-ee02371f8aac"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="acfcd306-c231-4a30-9cc8-615a4f7953d7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="66a41836-acf0-472a-bcf9-ee02371f8aac"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Oren Jellow"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a/input.xml new file mode 100644 index 00000000..1dbebf06 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="227cd07a-1fe5-44d6-99bf-748c42a34bda"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a69d5e37-404d-4491-b487-1eaf0def0842"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.745.40"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#a69d5e37-404d-4491-b487-1eaf0def0842"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a/output.json new file mode 100644 index 00000000..a746773d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "b57ec578-688b-439f-a144-6e07d07df1b3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "651a08e5-eb10-435d-b7fc-0c6e26974805", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "227cd07a-1fe5-44d6-99bf-748c42a34bda_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/3428d4b7-1ffb-45ed-ba42-1987bab54b8d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110498565" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/83f49bdc-5531-42eb-9ddc-c8f96bfcd50e" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3428d4b7-1ffb-45ed-ba42-1987bab54b8d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "83f49bdc-5531-42eb-9ddc-c8f96bfcd50e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Max E. Mumm" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a/output.xml new file mode 100644 index 00000000..41ffe99e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3_227cd07a_227cd07a/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b57ec578-688b-439f-a144-6e07d07df1b3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.745.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="651a08e5-eb10-435d-b7fc-0c6e26974805"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="227cd07a-1fe5-44d6-99bf-748c42a34bda_160.000.226.119.745.40"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3428d4b7-1ffb-45ed-ba42-1987bab54b8d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/83f49bdc-5531-42eb-9ddc-c8f96bfcd50e"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3428d4b7-1ffb-45ed-ba42-1987bab54b8d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="83f49bdc-5531-42eb-9ddc-c8f96bfcd50e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Max E. Mumm"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.json deleted file mode 100644 index 19c28283..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "99d6f05a-a179-4f55-b10e-46e91f5c23d5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.123.456.789.123.58" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "c76ca735-92b0-4c2b-b650-1960dec9e47a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/9fda399d-0a7a-4651-a451-de28824c4f25" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X123456789" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/daffd455-a7bc-4079-b2dd-908ea87ee4cb" - } - } ], - "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": "9fda399d-0a7a-4651-a451-de28824c4f25", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "organization", - "resource": { - "resourceType": "Organization", - "id": "daffd455-a7bc-4079-b2dd-908ea87ee4cb", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Misty C. Shore" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.xml deleted file mode 100644 index 7c7f8019..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="99d6f05a-a179-4f55-b10e-46e91f5c23d5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.123.456.789.123.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="c76ca735-92b0-4c2b-b650-1960dec9e47a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.123.456.789.123.58"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/9fda399d-0a7a-4651-a451-de28824c4f25"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X123456789"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/daffd455-a7bc-4079-b2dd-908ea87ee4cb"/> - </actor> - </performer> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - <whenHandedOver value="2020-03-20"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9fda399d-0a7a-4651-a451-de28824c4f25"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="daffd455-a7bc-4079-b2dd-908ea87ee4cb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000129070"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Misty C. Shore"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null_null/output.json new file mode 100644 index 00000000..fefbc441 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null_null/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "8e83fb83-05ab-4457-a033-70d87bce8300", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.123.456.789.123.58" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8689db9d-433f-42bb-977e-f773d715b229", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/fe2a08d9-4f30-4a11-8b4c-fd51d9f77f91" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/7d928dfc-eb8f-48ec-89f2-2a29d85e7542" + } + } ], + "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": "fe2a08d9-4f30-4a11-8b4c-fd51d9f77f91", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "7d928dfc-eb8f-48ec-89f2-2a29d85e7542", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "R. M. Pitt" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null_null/output.xml new file mode 100644 index 00000000..cded69f5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed_null_null/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8e83fb83-05ab-4457-a033-70d87bce8300"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8689db9d-433f-42bb-977e-f773d715b229"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/fe2a08d9-4f30-4a11-8b4c-fd51d9f77f91"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/7d928dfc-eb8f-48ec-89f2-2a29d85e7542"/> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fe2a08d9-4f30-4a11-8b4c-fd51d9f77f91"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7d928dfc-eb8f-48ec-89f2-2a29d85e7542"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="R. M. Pitt"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.json deleted file mode 100644 index 87607b29..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "c4ec3e8c-0611-44ac-a79f-bff5bfac6b67", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.123.456.789.123.58" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "89a7dcd4-3f79-4c13-b4e9-745354bb599b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/8ca5042a-0cbf-4ad9-8936-ae0277fe4eab" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X123456789" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/8566f240-28f9-405f-9364-51043551035e" - } - } ], - "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": "8ca5042a-0cbf-4ad9-8936-ae0277fe4eab", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "organization", - "resource": { - "resourceType": "Organization", - "id": "8566f240-28f9-405f-9364-51043551035e", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Pearl E. Gates" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.xml deleted file mode 100644 index 7189ca2f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c4ec3e8c-0611-44ac-a79f-bff5bfac6b67"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.123.456.789.123.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="89a7dcd4-3f79-4c13-b4e9-745354bb599b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.123.456.789.123.58"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/8ca5042a-0cbf-4ad9-8936-ae0277fe4eab"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X123456789"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8566f240-28f9-405f-9364-51043551035e"/> - </actor> - </performer> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - <whenHandedOver value="2020-03-20"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8ca5042a-0cbf-4ad9-8936-ae0277fe4eab"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8566f240-28f9-405f-9364-51043551035e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000129070"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Pearl E. Gates"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null_null/output.json new file mode 100644 index 00000000..d3d9fbd7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null_null/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "6112cb00-1932-4ebd-b996-bc4a5da2bd11", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.123.456.789.123.58" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "065fc871-0e4e-4e55-ac78-79b91fd1092c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/1b4fc11c-4d79-458d-8a6a-3b3e029f2723" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/2842680e-3830-4e67-a945-6354b23ebf91" + } + } ], + "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": "1b4fc11c-4d79-458d-8a6a-3b3e029f2723", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "2842680e-3830-4e67-a945-6354b23ebf91", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Tina See" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null_null/output.xml new file mode 100644 index 00000000..b67eb10a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8_null_null/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6112cb00-1932-4ebd-b996-bc4a5da2bd11"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="065fc871-0e4e-4e55-ac78-79b91fd1092c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1b4fc11c-4d79-458d-8a6a-3b3e029f2723"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/2842680e-3830-4e67-a945-6354b23ebf91"/> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1b4fc11c-4d79-458d-8a6a-3b3e029f2723"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2842680e-3830-4e67-a945-6354b23ebf91"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Tina See"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.json index 51c5a578..0e73a542 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "d644bd29-1f81-4aae-8bea-c07cbad0bc83", + "id": "f762d468-5f40-4404-9377-daaa26b0417b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "871c2e57-704d-46c1-a703-6c8bae1380f5", + "id": "c2350b42-701e-4544-88d9-1f726d460ec4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/f2a247db-0e93-4d4d-b50f-aae016e94a93" + "reference": "Medication/7dbec549-5b1a-48df-8791-c3337074403c" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/8fc79faa-4dc6-4ec5-8af8-5590756f2bc3" + "reference": "Organization/15344032-51cc-4ca7-977c-bfe404a9b11f" } } ], "quantity": { @@ -63,7 +63,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "f2a247db-0e93-4d4d-b50f-aae016e94a93", + "id": "7dbec549-5b1a-48df-8791-c3337074403c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "8fc79faa-4dc6-4ec5-8af8-5590756f2bc3", + "id": "15344032-51cc-4ca7-977c-bfe404a9b11f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -127,7 +127,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Ricky T. Ladder" + "name": "Herbie Voor" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.xml index 160e9f47..ab995fe5 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="d644bd29-1f81-4aae-8bea-c07cbad0bc83"/> + <id value="f762d468-5f40-4404-9377-daaa26b0417b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="871c2e57-704d-46c1-a703-6c8bae1380f5"/> + <id value="c2350b42-701e-4544-88d9-1f726d460ec4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/f2a247db-0e93-4d4d-b50f-aae016e94a93"/> + <reference value="Medication/7dbec549-5b1a-48df-8791-c3337074403c"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/8fc79faa-4dc6-4ec5-8af8-5590756f2bc3"/> + <reference value="Organization/15344032-51cc-4ca7-977c-bfe404a9b11f"/> </actor> </performer> <quantity> @@ -66,7 +66,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="f2a247db-0e93-4d4d-b50f-aae016e94a93"/> + <id value="7dbec549-5b1a-48df-8791-c3337074403c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -112,7 +112,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="8fc79faa-4dc6-4ec5-8af8-5590756f2bc3"/> + <id value="15344032-51cc-4ca7-977c-bfe404a9b11f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -130,7 +130,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Ricky T. Ladder"/> + <name value="Herbie Voor"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null_null/input.xml new file mode 100644 index 00000000..36962cd8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null_null/input.xml @@ -0,0 +1,90 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="med0314"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#med0314"/> + <display value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null_null/output.json new file mode 100644 index 00000000..34f557a1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null_null/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "dc7187cd-d9dd-4062-9771-6fd6f3a16aa4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.123.456.789.123.58" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a61f9c98-a195-4a44-b701-2e38fe3b5dbf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/b8738613-ecfc-4a60-9128-148e4666c9f8" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8e35f833-329d-4569-bb0b-dd722717f8e4" + } + } ], + "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": "b8738613-ecfc-4a60-9128-148e4666c9f8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "8e35f833-329d-4569-bb0b-dd722717f8e4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Rocky Shore" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null_null/output.xml new file mode 100644 index 00000000..6b981b63 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_null_null/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dc7187cd-d9dd-4062-9771-6fd6f3a16aa4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a61f9c98-a195-4a44-b701-2e38fe3b5dbf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b8738613-ecfc-4a60-9128-148e4666c9f8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8e35f833-329d-4569-bb0b-dd722717f8e4"/> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b8738613-ecfc-4a60-9128-148e4666c9f8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8e35f833-329d-4569-bb0b-dd722717f8e4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rocky Shore"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.json deleted file mode 100644 index 0708757a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "01b45b41-a82c-450e-a40a-52ce482f73df", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.123.456.789.123.58" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "27b2c07c-a302-4184-be8e-5a0562773baf", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "dffbfd6a-5712-4798-bdc8-07201eb77ab8_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/63f82d19-bd77-4e18-9997-c2d4fc2aebdd" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X123456789" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/bcf78ff9-685e-489e-b0c8-bd42c8b1f125" - } - } ], - "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": "63f82d19-bd77-4e18-9997-c2d4fc2aebdd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "organization", - "resource": { - "resourceType": "Organization", - "id": "bcf78ff9-685e-489e-b0c8-bd42c8b1f125", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Hope Ferterbest" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.xml deleted file mode 100644 index b2496a03..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="01b45b41-a82c-450e-a40a-52ce482f73df"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.123.456.789.123.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="27b2c07c-a302-4184-be8e-5a0562773baf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="dffbfd6a-5712-4798-bdc8-07201eb77ab8_160.123.456.789.123.58"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/63f82d19-bd77-4e18-9997-c2d4fc2aebdd"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X123456789"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/bcf78ff9-685e-489e-b0c8-bd42c8b1f125"/> - </actor> - </performer> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - <whenHandedOver value="2020-03-20"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="63f82d19-bd77-4e18-9997-c2d4fc2aebdd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bcf78ff9-685e-489e-b0c8-bd42c8b1f125"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000129070"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hope Ferterbest"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a/output.json new file mode 100644 index 00000000..17697f99 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "6a645d0b-d5f8-49e3-b508-a1938267beae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.123.456.789.123.58" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b90f0ffc-1e98-4606-afcd-b6b333913b98", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dffbfd6a-5712-4798-bdc8-07201eb77ab8_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/6f5cf96a-360c-4730-91de-2aaf101dcceb" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a8c5e285-2c6b-467a-8f36-555238079ba7" + } + } ], + "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": "6f5cf96a-360c-4730-91de-2aaf101dcceb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "a8c5e285-2c6b-467a-8f36-555238079ba7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Isadore Bell" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a/output.xml new file mode 100644 index 00000000..5698cc5c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80_dffbfd6a_dffbfd6a/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6a645d0b-d5f8-49e3-b508-a1938267beae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b90f0ffc-1e98-4606-afcd-b6b333913b98"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dffbfd6a-5712-4798-bdc8-07201eb77ab8_160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/6f5cf96a-360c-4730-91de-2aaf101dcceb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a8c5e285-2c6b-467a-8f36-555238079ba7"/> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6f5cf96a-360c-4730-91de-2aaf101dcceb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a8c5e285-2c6b-467a-8f36-555238079ba7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Isadore Bell"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.json deleted file mode 100644 index 2ccc7660..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "f84330bb-3465-4886-b965-854b07460dec", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.123.456.789.123.58" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "f7804d1b-9dee-4e17-947a-2189ded2292e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "dffbfd6a-5712-4798-bdc8-07201eb77ab8_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/cfd4862a-444b-445f-9472-1d3650ccc598" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X123456789" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/25145c20-2c47-46df-bd9a-7b8e0a67ff97" - } - } ], - "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": "cfd4862a-444b-445f-9472-1d3650ccc598", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "organization", - "resource": { - "resourceType": "Organization", - "id": "25145c20-2c47-46df-bd9a-7b8e0a67ff97", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Joy Kil" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.xml deleted file mode 100644 index 1dd237d3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f84330bb-3465-4886-b965-854b07460dec"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.123.456.789.123.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="f7804d1b-9dee-4e17-947a-2189ded2292e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="dffbfd6a-5712-4798-bdc8-07201eb77ab8_160.123.456.789.123.58"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/cfd4862a-444b-445f-9472-1d3650ccc598"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X123456789"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/25145c20-2c47-46df-bd9a-7b8e0a67ff97"/> - </actor> - </performer> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - <whenHandedOver value="2020-03-20"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="cfd4862a-444b-445f-9472-1d3650ccc598"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="25145c20-2c47-46df-bd9a-7b8e0a67ff97"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000129070"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Joy Kil"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a/output.json new file mode 100644 index 00000000..42a6f71f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "a91902b6-4c4c-49b6-aa7e-c8cb087b387a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.123.456.789.123.58" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0bea7813-6e8e-460c-9a6c-85352b1eec34", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dffbfd6a-5712-4798-bdc8-07201eb77ab8_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/46189962-13e0-4807-8bd0-a9d9eb28f0b8" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e266e099-0f17-4a9a-a30a-5013136213ef" + } + } ], + "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": "46189962-13e0-4807-8bd0-a9d9eb28f0b8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "e266e099-0f17-4a9a-a30a-5013136213ef", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Helen Highwater" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a/output.xml new file mode 100644 index 00000000..4356a4a3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2_dffbfd6a_dffbfd6a/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a91902b6-4c4c-49b6-aa7e-c8cb087b387a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0bea7813-6e8e-460c-9a6c-85352b1eec34"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dffbfd6a-5712-4798-bdc8-07201eb77ab8_160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/46189962-13e0-4807-8bd0-a9d9eb28f0b8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e266e099-0f17-4a9a-a30a-5013136213ef"/> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="46189962-13e0-4807-8bd0-a9d9eb28f0b8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e266e099-0f17-4a9a-a30a-5013136213ef"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Helen Highwater"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.json index 9fd6d5e2..24960f46 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "99978f76-8c80-488c-a281-b029b06b42ef", + "id": "5997ab1a-945f-4ffe-902b-9cbf4628e57e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "5d01a70a-7aa4-4d6f-965f-50d164ecc89c", + "id": "bfe305f1-e365-410b-8919-ebce76c67c70", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/79092378-91f5-4056-bd26-1c70ee0b8f17" + "reference": "Medication/cda54a0f-237a-4cc9-87a4-a1b004648de9" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/a77e0bdb-4483-4783-bcbf-4f2d59de39b1" + "reference": "Organization/57d32b20-9d23-4997-80b8-75c567dc22c8" } } ], "quantity": { @@ -63,7 +63,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "79092378-91f5-4056-bd26-1c70ee0b8f17", + "id": "cda54a0f-237a-4cc9-87a4-a1b004648de9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "a77e0bdb-4483-4783-bcbf-4f2d59de39b1", + "id": "57d32b20-9d23-4997-80b8-75c567dc22c8", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -127,7 +127,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Lily Pond" + "name": "Amanda B. Reckonwith" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.xml index 53fc781b..bc348170 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="99978f76-8c80-488c-a281-b029b06b42ef"/> + <id value="5997ab1a-945f-4ffe-902b-9cbf4628e57e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5d01a70a-7aa4-4d6f-965f-50d164ecc89c"/> + <id value="bfe305f1-e365-410b-8919-ebce76c67c70"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/79092378-91f5-4056-bd26-1c70ee0b8f17"/> + <reference value="Medication/cda54a0f-237a-4cc9-87a4-a1b004648de9"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/a77e0bdb-4483-4783-bcbf-4f2d59de39b1"/> + <reference value="Organization/57d32b20-9d23-4997-80b8-75c567dc22c8"/> </actor> </performer> <quantity> @@ -66,7 +66,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="79092378-91f5-4056-bd26-1c70ee0b8f17"/> + <id value="cda54a0f-237a-4cc9-87a4-a1b004648de9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -112,7 +112,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="a77e0bdb-4483-4783-bcbf-4f2d59de39b1"/> + <id value="57d32b20-9d23-4997-80b8-75c567dc22c8"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -130,7 +130,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Lily Pond"/> + <name value="Amanda B. Reckonwith"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a/input.xml new file mode 100644 index 00000000..f1daf1cf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="dffbfd6a-5712-4798-bdc8-07201eb77ab8"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="med0314"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#med0314"/> + <display value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a/output.json new file mode 100644 index 00000000..65138b46 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "6eec86ec-9814-4dc1-8bdf-e057a2abab05", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.123.456.789.123.58" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8b256564-9ce1-49dc-a9bc-6c68dcb8ce8c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dffbfd6a-5712-4798-bdc8-07201eb77ab8_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/4b4e844c-4ca2-442f-bc28-9b0b885f7c6e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/2e0ff0d1-b647-46b8-9eba-f14ac319dfd9" + } + } ], + "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": "4b4e844c-4ca2-442f-bc28-9b0b885f7c6e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "2e0ff0d1-b647-46b8-9eba-f14ac319dfd9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Claire Annette" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a/output.xml new file mode 100644 index 00000000..794eee09 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_dffbfd6a_dffbfd6a/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6eec86ec-9814-4dc1-8bdf-e057a2abab05"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.123.456.789.123.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8b256564-9ce1-49dc-a9bc-6c68dcb8ce8c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dffbfd6a-5712-4798-bdc8-07201eb77ab8_160.123.456.789.123.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/4b4e844c-4ca2-442f-bc28-9b0b885f7c6e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X123456789"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/2e0ff0d1-b647-46b8-9eba-f14ac319dfd9"/> + </actor> + </performer> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + <whenHandedOver value="2020-03-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4b4e844c-4ca2-442f-bc28-9b0b885f7c6e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2e0ff0d1-b647-46b8-9eba-f14ac319dfd9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000129070"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Claire Annette"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/output.json deleted file mode 100644 index 5a4056fd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/output.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "2b87238a-7a20-46f8-b25f-bb1e4557f31b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.226.436.204.02" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "c067cda5-3a90-4e86-bac8-36ee4c654d84", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/bfaf3298-ba16-4a47-be79-10095ccc3473" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "Z828875733" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/ddf27762-1612-48cb-b471-c2b3c29a5380" - } - } ], - "whenHandedOver": "2024-07-02T09:29:09+02:00", - "dosageInstruction": [ { - "text": "1-0-1-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "bfaf3298-ba16-4a47-be79-10095ccc3473", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "ddf27762-1612-48cb-b471-c2b3c29a5380", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Crystal Glass" - } - } ] - } ] -} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/output.xml deleted file mode 100644 index 831d4f65..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/output.xml +++ /dev/null @@ -1,134 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2b87238a-7a20-46f8-b25f-bb1e4557f31b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.204.02"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="c067cda5-3a90-4e86-bac8-36ee4c654d84"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.000.226.436.204.02"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/bfaf3298-ba16-4a47-be79-10095ccc3473"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="Z828875733"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/ddf27762-1612-48cb-b471-c2b3c29a5380"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T09:29:09+02:00"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bfaf3298-ba16-4a47-be79-10095ccc3473"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="04866280"/> - </coding> - <text value="Sumatriptan Dura 100mg"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="12"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ddf27762-1612-48cb-b471-c2b3c29a5380"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Crystal Glass"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null_null/output.json new file mode 100644 index 00000000..9963f90f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "02098235-ad94-4e4d-a24f-03e3f90320ff", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.204.02" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f68b78e5-a002-47b0-ac65-59c35f02b877", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/51dacef0-9bf7-4e30-98d8-86efd3f7d0be" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f0db565f-6e2c-440b-8512-ddbd8a37ad4a" + } + } ], + "whenHandedOver": "2024-07-02T09:29:09+02:00", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "51dacef0-9bf7-4e30-98d8-86efd3f7d0be", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f0db565f-6e2c-440b-8512-ddbd8a37ad4a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bob Sledd" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null_null/output.xml new file mode 100644 index 00000000..6f81e40f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="02098235-ad94-4e4d-a24f-03e3f90320ff"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.204.02"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f68b78e5-a002-47b0-ac65-59c35f02b877"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.204.02"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/51dacef0-9bf7-4e30-98d8-86efd3f7d0be"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f0db565f-6e2c-440b-8512-ddbd8a37ad4a"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:29:09+02:00"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="51dacef0-9bf7-4e30-98d8-86efd3f7d0be"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04866280"/> + </coding> + <text value="Sumatriptan Dura 100mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f0db565f-6e2c-440b-8512-ddbd8a37ad4a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bob Sledd"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.json index e7f0fa7d..94ee0ce0 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "4ce5c5ed-4fa8-445b-bda3-fc6a0d098544", + "id": "4d035520-b81d-4d54-825b-fa67b2317bed", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "74a221ca-8e93-4a77-8c4d-f2d416addcb3", + "id": "12e26ffd-47c2-44fb-962b-9b9d6cf8b92e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/b4c765a4-a3af-4ce2-94f0-917e3f13e743" + "reference": "Medication/0bcf8c4f-7a23-4b98-a329-08adb0528b38" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/0c549ece-2945-4d70-8be7-989531b806b0" + "reference": "Organization/8eee1f98-d735-4535-bc81-5faa9a62928b" } } ], "whenHandedOver": "2024-07-02T09:29:09+02:00", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "b4c765a4-a3af-4ce2-94f0-917e3f13e743", + "id": "0bcf8c4f-7a23-4b98-a329-08adb0528b38", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -105,7 +105,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "0c549ece-2945-4d70-8be7-989531b806b0", + "id": "8eee1f98-d735-4535-bc81-5faa9a62928b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -123,7 +123,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Skip Stone" + "name": "Homan Provement" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.xml index d24d7cc0..86a9233e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="4ce5c5ed-4fa8-445b-bda3-fc6a0d098544"/> + <id value="4d035520-b81d-4d54-825b-fa67b2317bed"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="74a221ca-8e93-4a77-8c4d-f2d416addcb3"/> + <id value="12e26ffd-47c2-44fb-962b-9b9d6cf8b92e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/b4c765a4-a3af-4ce2-94f0-917e3f13e743"/> + <reference value="Medication/0bcf8c4f-7a23-4b98-a329-08adb0528b38"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/0c549ece-2945-4d70-8be7-989531b806b0"/> + <reference value="Organization/8eee1f98-d735-4535-bc81-5faa9a62928b"/> </actor> </performer> <whenHandedOver value="2024-07-02T09:29:09+02:00"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="b4c765a4-a3af-4ce2-94f0-917e3f13e743"/> + <id value="0bcf8c4f-7a23-4b98-a329-08adb0528b38"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -108,7 +108,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="0c549ece-2945-4d70-8be7-989531b806b0"/> + <id value="8eee1f98-d735-4535-bc81-5faa9a62928b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -126,7 +126,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Skip Stone"/> + <name value="Homan Provement"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null/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_null_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1c5db392-40ee-481b-987f-f4bfa389abdd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04866280"/> + </coding> + <text value="Sumatriptan Dura 100mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="12"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.204.02"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#1c5db392-40ee-481b-987f-f4bfa389abdd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:29:09+02:00"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null/output.json new file mode 100644 index 00000000..9c1fcfbd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "1f049c2b-839d-4c97-b51f-ed283aade03c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.204.02" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "efc6323b-8cab-48a8-8546-95d2ff7d779d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/cbbfac81-6bd7-4979-8aea-796280fd105b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/62d2ee69-d3d9-48ce-b113-310d7f50b7f9" + } + } ], + "whenHandedOver": "2024-07-02T09:29:09+02:00", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "cbbfac81-6bd7-4979-8aea-796280fd105b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "62d2ee69-d3d9-48ce-b113-310d7f50b7f9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ed Jewcation" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null/output.xml new file mode 100644 index 00000000..4e89de87 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1f049c2b-839d-4c97-b51f-ed283aade03c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.204.02"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="efc6323b-8cab-48a8-8546-95d2ff7d779d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.204.02"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/cbbfac81-6bd7-4979-8aea-796280fd105b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/62d2ee69-d3d9-48ce-b113-310d7f50b7f9"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:29:09+02:00"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cbbfac81-6bd7-4979-8aea-796280fd105b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04866280"/> + </coding> + <text value="Sumatriptan Dura 100mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="62d2ee69-d3d9-48ce-b113-310d7f50b7f9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ed Jewcation"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/output.json deleted file mode 100644 index 16ed1d03..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/output.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e9e6fbdd-1dfd-4672-8622-be43d3e341c5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.226.436.206.93" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "1573394d-e35d-427d-ad50-ebb040b8149e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/464707a3-6d32-42de-8a97-45d238ab289a" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110474905" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/fbffb01b-05fa-4a2d-aecc-476962b42c41" - } - } ], - "whenHandedOver": "2024-07-02T09:34:04+02:00", - "dosageInstruction": [ { - "text": "1 Pflaster am Tag" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "464707a3-6d32-42de-8a97-45d238ab289a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "fbffb01b-05fa-4a2d-aecc-476962b42c41", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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 Green" - } - } ] - } ] -} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/output.xml deleted file mode 100644 index 6f29a7d4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/output.xml +++ /dev/null @@ -1,134 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e9e6fbdd-1dfd-4672-8622-be43d3e341c5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.206.93"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1573394d-e35d-427d-ad50-ebb040b8149e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.000.226.436.206.93"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/464707a3-6d32-42de-8a97-45d238ab289a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110474905"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/fbffb01b-05fa-4a2d-aecc-476962b42c41"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T09:34:04+02:00"/> - <dosageInstruction> - <text value="1 Pflaster am Tag"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="464707a3-6d32-42de-8a97-45d238ab289a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="18369912"/> - </coding> - <text value="Rotigotin Neurax 8mg/24H"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PFT"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="7"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="fbffb01b-05fa-4a2d-aecc-476962b42c41"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Olive Green"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null_null/output.json new file mode 100644 index 00000000..c952aff5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "cff34279-e1e5-4312-94c1-ad1e5eb5f3f9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.206.93" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2d8be911-0160-4f55-8d29-5c8160b0ec8e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/18c522af-9a70-464a-b2d7-f060673b350e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/fe7bf6ab-7672-4ad2-8188-675d18b0e249" + } + } ], + "whenHandedOver": "2024-07-02T09:34:04+02:00", + "dosageInstruction": [ { + "text": "1 Pflaster am Tag" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "18c522af-9a70-464a-b2d7-f060673b350e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "fe7bf6ab-7672-4ad2-8188-675d18b0e249", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Lance Lyde" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null_null/output.xml new file mode 100644 index 00000000..a49cfe8c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="cff34279-e1e5-4312-94c1-ad1e5eb5f3f9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.206.93"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2d8be911-0160-4f55-8d29-5c8160b0ec8e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.206.93"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/18c522af-9a70-464a-b2d7-f060673b350e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/fe7bf6ab-7672-4ad2-8188-675d18b0e249"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:34:04+02:00"/> + <dosageInstruction> + <text value="1 Pflaster am Tag"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="18c522af-9a70-464a-b2d7-f060673b350e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="18369912"/> + </coding> + <text value="Rotigotin Neurax 8mg/24H"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="7"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fe7bf6ab-7672-4ad2-8188-675d18b0e249"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lance Lyde"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.json index f5a47bbe..5c7969b9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "0eaac9da-86b2-462e-b808-e6518e72a7f9", + "id": "f0e6ca33-cb52-441c-8884-a115a501df11", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "ca089591-472f-4341-aff5-dfc57fd28433", + "id": "b568a4ca-86e9-4a58-be9d-8ac87074058a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/65def62b-5cbd-4a1d-86f1-85bdb917ebc9" + "reference": "Medication/39adf7d3-2ed2-4835-92e9-3f471840d88f" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/acdee23d-6390-4f12-9f77-a74e3a70c9c9" + "reference": "Organization/43d60d8e-7a60-4e95-9fb2-5dda994cbe4e" } } ], "whenHandedOver": "2024-07-02T09:34:04+02:00", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "65def62b-5cbd-4a1d-86f1-85bdb917ebc9", + "id": "39adf7d3-2ed2-4835-92e9-3f471840d88f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -105,7 +105,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "acdee23d-6390-4f12-9f77-a74e3a70c9c9", + "id": "43d60d8e-7a60-4e95-9fb2-5dda994cbe4e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -123,7 +123,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Kenney C. Strait" + "name": "Rusty Fender" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.xml index 957bae37..eaa7dda9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="0eaac9da-86b2-462e-b808-e6518e72a7f9"/> + <id value="f0e6ca33-cb52-441c-8884-a115a501df11"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ca089591-472f-4341-aff5-dfc57fd28433"/> + <id value="b568a4ca-86e9-4a58-be9d-8ac87074058a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/65def62b-5cbd-4a1d-86f1-85bdb917ebc9"/> + <reference value="Medication/39adf7d3-2ed2-4835-92e9-3f471840d88f"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/acdee23d-6390-4f12-9f77-a74e3a70c9c9"/> + <reference value="Organization/43d60d8e-7a60-4e95-9fb2-5dda994cbe4e"/> </actor> </performer> <whenHandedOver value="2024-07-02T09:34:04+02:00"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="65def62b-5cbd-4a1d-86f1-85bdb917ebc9"/> + <id value="39adf7d3-2ed2-4835-92e9-3f471840d88f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -108,7 +108,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="acdee23d-6390-4f12-9f77-a74e3a70c9c9"/> + <id value="43d60d8e-7a60-4e95-9fb2-5dda994cbe4e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -126,7 +126,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Kenney C. Strait"/> + <name value="Rusty Fender"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null/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_null_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2253116c-2a97-41ca-b7f9-6cda642982b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="18369912"/> + </coding> + <text value="Rotigotin Neurax 8mg/24H"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="7"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.206.93"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#2253116c-2a97-41ca-b7f9-6cda642982b7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:34:04+02:00"/> + <dosageInstruction> + <text value="1 Pflaster am Tag"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null/output.json new file mode 100644 index 00000000..6efc12f7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "75a585f0-d8e5-471f-a36c-1326549ed65d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.206.93" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4f76c260-63fe-4edd-a3b0-93e4d9cda943", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/899570fb-e2c2-431d-adf8-bd95eb4ade9d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/cb26d5e8-b65b-4d40-81ba-42a2045258eb" + } + } ], + "whenHandedOver": "2024-07-02T09:34:04+02:00", + "dosageInstruction": [ { + "text": "1 Pflaster am Tag" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "899570fb-e2c2-431d-adf8-bd95eb4ade9d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "cb26d5e8-b65b-4d40-81ba-42a2045258eb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Lee Nover" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null/output.xml new file mode 100644 index 00000000..00bc3730 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="75a585f0-d8e5-471f-a36c-1326549ed65d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.206.93"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4f76c260-63fe-4edd-a3b0-93e4d9cda943"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.206.93"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/899570fb-e2c2-431d-adf8-bd95eb4ade9d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/cb26d5e8-b65b-4d40-81ba-42a2045258eb"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:34:04+02:00"/> + <dosageInstruction> + <text value="1 Pflaster am Tag"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="899570fb-e2c2-431d-adf8-bd95eb4ade9d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="18369912"/> + </coding> + <text value="Rotigotin Neurax 8mg/24H"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="7"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cb26d5e8-b65b-4d40-81ba-42a2045258eb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lee Nover"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/output.json deleted file mode 100644 index 4c27450a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/output.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "19953791-a294-42b9-8693-a08c0d663cf8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.226.436.215.66" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "07959b87-909b-4d68-ab91-bc380c2eea56", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/1f7b880f-ad5a-43df-8aa7-a02e6b53ad73" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "Z828875733" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/8af7eb41-6876-4fde-9f99-53c0e18c7b3e" - } - } ], - "whenHandedOver": "2024-07-02T09:36:50+02:00", - "dosageInstruction": [ { - "text": "2mal tägl. 5ml" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "1f7b880f-ad5a-43df-8aa7-a02e6b53ad73", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "8af7eb41-6876-4fde-9f99-53c0e18c7b3e", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Mary Ott" - } - } ] - } ] -} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/output.xml deleted file mode 100644 index 4cc2505f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/output.xml +++ /dev/null @@ -1,134 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="19953791-a294-42b9-8693-a08c0d663cf8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.215.66"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="07959b87-909b-4d68-ab91-bc380c2eea56"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.000.226.436.215.66"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/1f7b880f-ad5a-43df-8aa7-a02e6b53ad73"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="Z828875733"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8af7eb41-6876-4fde-9f99-53c0e18c7b3e"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T09:36:50+02:00"/> - <dosageInstruction> - <text value="2mal tägl. 5ml"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1f7b880f-ad5a-43df-8aa7-a02e6b53ad73"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08585997"/> - </coding> - <text value="Prospan Hustensaft"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FLE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8af7eb41-6876-4fde-9f99-53c0e18c7b3e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Mary Ott"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null_null/output.json new file mode 100644 index 00000000..f03b9bcc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "27fdbf5c-ba8a-4cd5-9e2e-d5443bab9184", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.215.66" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e0e50de9-8930-4b21-98c2-9a35c6981d95", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/eb4f5ce8-6161-4da2-967a-9dd86c78be0d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/eb8580a7-71eb-4b5a-81c0-e1db3979b46f" + } + } ], + "whenHandedOver": "2024-07-02T09:36:50+02:00", + "dosageInstruction": [ { + "text": "2mal tägl. 5ml" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "eb4f5ce8-6161-4da2-967a-9dd86c78be0d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "eb8580a7-71eb-4b5a-81c0-e1db3979b46f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Constance Noring" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null_null/output.xml new file mode 100644 index 00000000..33a1bb7b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="27fdbf5c-ba8a-4cd5-9e2e-d5443bab9184"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.215.66"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e0e50de9-8930-4b21-98c2-9a35c6981d95"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.215.66"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/eb4f5ce8-6161-4da2-967a-9dd86c78be0d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/eb8580a7-71eb-4b5a-81c0-e1db3979b46f"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:36:50+02:00"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="eb4f5ce8-6161-4da2-967a-9dd86c78be0d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan Hustensaft"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="eb8580a7-71eb-4b5a-81c0-e1db3979b46f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Constance Noring"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.json index 59700339..ddfb040a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "8f217d41-d58d-4f8b-ae2f-a98921ce615b", + "id": "1b65d5b0-1eef-4c54-b63d-7d01d4ee3c23", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "5b462d6d-a259-4d1d-8e1c-ce53d184cb25", + "id": "cdf89690-ca1b-4df5-a0f7-cafad9a0105d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/28fef850-fd09-4b1a-afaa-44105659583e" + "reference": "Medication/2dafce2d-cb21-4876-8f76-f5c5fa3030dd" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/c50ef7eb-2ceb-4b7b-a779-59c2ca5ec777" + "reference": "Organization/2f4728fa-84c7-42f3-9398-e5c38ce71ba3" } } ], "whenHandedOver": "2024-07-02T09:36:50+02:00", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "28fef850-fd09-4b1a-afaa-44105659583e", + "id": "2dafce2d-cb21-4876-8f76-f5c5fa3030dd", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -105,7 +105,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "c50ef7eb-2ceb-4b7b-a779-59c2ca5ec777", + "id": "2f4728fa-84c7-42f3-9398-e5c38ce71ba3", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -123,7 +123,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Olive Green" + "name": "Hy Ball" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.xml index fd386766..0adff802 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="8f217d41-d58d-4f8b-ae2f-a98921ce615b"/> + <id value="1b65d5b0-1eef-4c54-b63d-7d01d4ee3c23"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5b462d6d-a259-4d1d-8e1c-ce53d184cb25"/> + <id value="cdf89690-ca1b-4df5-a0f7-cafad9a0105d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/28fef850-fd09-4b1a-afaa-44105659583e"/> + <reference value="Medication/2dafce2d-cb21-4876-8f76-f5c5fa3030dd"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/c50ef7eb-2ceb-4b7b-a779-59c2ca5ec777"/> + <reference value="Organization/2f4728fa-84c7-42f3-9398-e5c38ce71ba3"/> </actor> </performer> <whenHandedOver value="2024-07-02T09:36:50+02:00"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="28fef850-fd09-4b1a-afaa-44105659583e"/> + <id value="2dafce2d-cb21-4876-8f76-f5c5fa3030dd"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -108,7 +108,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="c50ef7eb-2ceb-4b7b-a779-59c2ca5ec777"/> + <id value="2f4728fa-84c7-42f3-9398-e5c38ce71ba3"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -126,7 +126,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Olive Green"/> + <name value="Hy Ball"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null/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_null_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b8cd5418-6196-4284-b38e-1dda2cb18c34"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan Hustensaft"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.215.66"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#b8cd5418-6196-4284-b38e-1dda2cb18c34"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:36:50+02:00"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null/output.json new file mode 100644 index 00000000..52e46b9a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "80c46f18-d955-45f0-83b5-50c004bc3692", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.215.66" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f6f9fd93-b591-4bb1-9ca8-496fac6c2ada", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/ee2475e1-e2f8-4d19-beab-6aa7d29ad36e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/7dafeecd-fd30-4d05-b5f3-ed7337aef31d" + } + } ], + "whenHandedOver": "2024-07-02T09:36:50+02:00", + "dosageInstruction": [ { + "text": "2mal tägl. 5ml" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ee2475e1-e2f8-4d19-beab-6aa7d29ad36e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "7dafeecd-fd30-4d05-b5f3-ed7337aef31d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Holly Wood" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null/output.xml new file mode 100644 index 00000000..afa4c735 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="80c46f18-d955-45f0-83b5-50c004bc3692"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.215.66"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f6f9fd93-b591-4bb1-9ca8-496fac6c2ada"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.215.66"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ee2475e1-e2f8-4d19-beab-6aa7d29ad36e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/7dafeecd-fd30-4d05-b5f3-ed7337aef31d"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:36:50+02:00"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ee2475e1-e2f8-4d19-beab-6aa7d29ad36e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan Hustensaft"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7dafeecd-fd30-4d05-b5f3-ed7337aef31d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Holly Wood"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/output.json deleted file mode 100644 index ebda2991..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "292ff966-00d2-41b4-96fa-4eafa102eebb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.226.436.241.85" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "3be8eafc-143f-48c1-af45-535bbc70328b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/d1b8ad55-8952-4d09-a705-eadafd968d5f" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "H064287850" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/3108710f-2adf-44bc-9fdf-3bf8524ed766" - } - } ], - "whenHandedOver": "2024-07-02T09:51:11+02:00" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "d1b8ad55-8952-4d09-a705-eadafd968d5f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "3108710f-2adf-44bc-9fdf-3bf8524ed766", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Midas Well" - } - } ] - } ] -} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/output.xml deleted file mode 100644 index 1f11e320..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="292ff966-00d2-41b4-96fa-4eafa102eebb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.241.85"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="3be8eafc-143f-48c1-af45-535bbc70328b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.000.226.436.241.85"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/d1b8ad55-8952-4d09-a705-eadafd968d5f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H064287850"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/3108710f-2adf-44bc-9fdf-3bf8524ed766"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T09:51:11+02:00"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="d1b8ad55-8952-4d09-a705-eadafd968d5f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16875114"/> - </coding> - <text value="Salmeterol/Flut AL50/250UG"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="IHP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="180"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3108710f-2adf-44bc-9fdf-3bf8524ed766"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Midas Well"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null_null/output.json new file mode 100644 index 00000000..4b70e8ab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "e6c7be4b-9d0e-4f06-9a2b-ee5e2acb36bd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.241.85" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c97e76ce-14b1-4dc9-8372-3cf913c717e2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/e0b35128-1bf4-4960-99a0-91775f1fb824" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H064287850" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/9ae59f91-a7d6-4ada-9073-7d7f278e9a82" + } + } ], + "whenHandedOver": "2024-07-02T09:51:11+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e0b35128-1bf4-4960-99a0-91775f1fb824", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "9ae59f91-a7d6-4ada-9073-7d7f278e9a82", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Mary Gold" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null_null/output.xml new file mode 100644 index 00000000..cca780cb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7_null_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e6c7be4b-9d0e-4f06-9a2b-ee5e2acb36bd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.241.85"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c97e76ce-14b1-4dc9-8372-3cf913c717e2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.241.85"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e0b35128-1bf4-4960-99a0-91775f1fb824"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H064287850"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/9ae59f91-a7d6-4ada-9073-7d7f278e9a82"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:51:11+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e0b35128-1bf4-4960-99a0-91775f1fb824"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16875114"/> + </coding> + <text value="Salmeterol/Flut AL50/250UG"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9ae59f91-a7d6-4ada-9073-7d7f278e9a82"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Mary Gold"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.json index 454390d5..6d800ee8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "03c2eeaf-aaa7-4c92-a7c9-bb0cf1212ac0", + "id": "bfac729d-0025-484d-b08c-d6dd4f455171", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "0d691f06-62bf-4b94-bd8c-d99e1c49d7a3", + "id": "6c9fda5b-47ab-418e-b6e8-5a0fef868ba6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/26047916-f079-40b5-89a0-60c55be081fb" + "reference": "Medication/8485201c-fa2d-4580-888b-0eb37981369c" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/2efff3e0-11d9-4c82-be0c-3830156a2030" + "reference": "Organization/e0926d0c-a613-4db6-8756-983dfb56cb09" } } ], "whenHandedOver": "2024-07-02T09:51:11+02:00" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "26047916-f079-40b5-89a0-60c55be081fb", + "id": "8485201c-fa2d-4580-888b-0eb37981369c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "2efff3e0-11d9-4c82-be0c-3830156a2030", + "id": "e0926d0c-a613-4db6-8756-983dfb56cb09", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Rick Shaw" + "name": "Pete Moss" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.xml index 71807a06..14ec823a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="03c2eeaf-aaa7-4c92-a7c9-bb0cf1212ac0"/> + <id value="bfac729d-0025-484d-b08c-d6dd4f455171"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="0d691f06-62bf-4b94-bd8c-d99e1c49d7a3"/> + <id value="6c9fda5b-47ab-418e-b6e8-5a0fef868ba6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/26047916-f079-40b5-89a0-60c55be081fb"/> + <reference value="Medication/8485201c-fa2d-4580-888b-0eb37981369c"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/2efff3e0-11d9-4c82-be0c-3830156a2030"/> + <reference value="Organization/e0926d0c-a613-4db6-8756-983dfb56cb09"/> </actor> </performer> <whenHandedOver value="2024-07-02T09:51:11+02:00"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="26047916-f079-40b5-89a0-60c55be081fb"/> + <id value="8485201c-fa2d-4580-888b-0eb37981369c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="2efff3e0-11d9-4c82-be0c-3830156a2030"/> + <id value="e0926d0c-a613-4db6-8756-983dfb56cb09"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Rick Shaw"/> + <name value="Pete Moss"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null/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_null_null/input.xml @@ -0,0 +1,82 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="daec989b-a2bd-4398-bb23-98b011cf2ba4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16875114"/> + </coding> + <text value="Salmeterol/Flut AL50/250UG"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="180"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.241.85"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#daec989b-a2bd-4398-bb23-98b011cf2ba4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H064287850"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:51:11+02:00"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null/output.json new file mode 100644 index 00000000..127e6c62 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "69b71572-4d1c-452a-9e99-09c8f6eb032d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.241.85" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "3a14d0f9-7868-4bb0-8418-9ba054cfcd70", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/0a82f3ce-73dc-4f0b-9578-8f0810802aa3" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H064287850" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/7c5ff6a8-38f2-426d-9144-400ae0da7f2a" + } + } ], + "whenHandedOver": "2024-07-02T09:51:11+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "0a82f3ce-73dc-4f0b-9578-8f0810802aa3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "7c5ff6a8-38f2-426d-9144-400ae0da7f2a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Annette Curtain" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null/output.xml new file mode 100644 index 00000000..fe08cfc9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_null_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="69b71572-4d1c-452a-9e99-09c8f6eb032d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.241.85"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="3a14d0f9-7868-4bb0-8418-9ba054cfcd70"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.241.85"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/0a82f3ce-73dc-4f0b-9578-8f0810802aa3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H064287850"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/7c5ff6a8-38f2-426d-9144-400ae0da7f2a"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T09:51:11+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0a82f3ce-73dc-4f0b-9578-8f0810802aa3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16875114"/> + </coding> + <text value="Salmeterol/Flut AL50/250UG"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7c5ff6a8-38f2-426d-9144-400ae0da7f2a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Annette Curtain"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/output.json deleted file mode 100644 index bc38b7f4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "1c604045-6a4f-4ce7-8c0a-8d4778ae5bba", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.226.436.373.77" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "101903c9-e722-4b4e-a347-a7d17a687176", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/229e6a72-6223-4e61-ba1f-4147d201cc44" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "Z828875733" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/db91e60e-8d09-4a8f-845c-7b72d25055b7" - } - } ], - "whenHandedOver": "2024-07-02T11:30:42+02:00" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "229e6a72-6223-4e61-ba1f-4147d201cc44", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "db91e60e-8d09-4a8f-845c-7b72d25055b7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Milly Graham" - } - } ] - } ] -} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/output.xml deleted file mode 100644 index 4bc6c787..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1c604045-6a4f-4ce7-8c0a-8d4778ae5bba"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.373.77"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="101903c9-e722-4b4e-a347-a7d17a687176"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.000.226.436.373.77"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/229e6a72-6223-4e61-ba1f-4147d201cc44"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="Z828875733"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/db91e60e-8d09-4a8f-845c-7b72d25055b7"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:30:42+02:00"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="229e6a72-6223-4e61-ba1f-4147d201cc44"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="17974137"/> - </coding> - <text value="Sitagliptin Glenmark 50mg"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="98"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="db91e60e-8d09-4a8f-845c-7b72d25055b7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Milly Graham"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null_null/output.json new file mode 100644 index 00000000..d9fec0f8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "447997c4-a93a-4613-a71b-24bb85a2182b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.373.77" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e4b98ef1-8b5b-4f97-b101-b54767cfa090", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/d21c9f86-f581-4979-9439-601c9ea89242" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0fa8728c-eb2c-4454-aca6-01f5eb9fbb01" + } + } ], + "whenHandedOver": "2024-07-02T11:30:42+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "d21c9f86-f581-4979-9439-601c9ea89242", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0fa8728c-eb2c-4454-aca6-01f5eb9fbb01", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Quint S. Henschel" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null_null/output.xml new file mode 100644 index 00000000..921dd81f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170_null_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="447997c4-a93a-4613-a71b-24bb85a2182b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.373.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e4b98ef1-8b5b-4f97-b101-b54767cfa090"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.373.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/d21c9f86-f581-4979-9439-601c9ea89242"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0fa8728c-eb2c-4454-aca6-01f5eb9fbb01"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:30:42+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d21c9f86-f581-4979-9439-601c9ea89242"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="17974137"/> + </coding> + <text value="Sitagliptin Glenmark 50mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0fa8728c-eb2c-4454-aca6-01f5eb9fbb01"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Quint S. Henschel"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.json index 6b94a55f..9cdf6b17 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "da8d96e3-9c86-4dc8-8d8b-bb3014194734", + "id": "98bbf1c7-a5d9-48f7-863d-baa31ca3c5fb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "380c508d-2331-4628-b0de-7d6b7c0fc60b", + "id": "b993ee31-0ed1-40e3-a189-fe8bc1dcd45f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/5478a358-99a6-45b8-9680-639e5b1f0a98" + "reference": "Medication/9a75cf85-2cca-45f2-8a8f-278a7a5645c1" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/a8d567ea-6404-400e-9fe6-a3ac74573d62" + "reference": "Organization/d38abb03-1bb1-4619-985a-1426c1c3535a" } } ], "whenHandedOver": "2024-07-02T11:30:42+02:00" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5478a358-99a6-45b8-9680-639e5b1f0a98", + "id": "9a75cf85-2cca-45f2-8a8f-278a7a5645c1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "a8d567ea-6404-400e-9fe6-a3ac74573d62", + "id": "d38abb03-1bb1-4619-985a-1426c1c3535a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Alec Tricity" + "name": "Chuck Roast" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.xml index 13ce11f4..42731afa 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="da8d96e3-9c86-4dc8-8d8b-bb3014194734"/> + <id value="98bbf1c7-a5d9-48f7-863d-baa31ca3c5fb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="380c508d-2331-4628-b0de-7d6b7c0fc60b"/> + <id value="b993ee31-0ed1-40e3-a189-fe8bc1dcd45f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/5478a358-99a6-45b8-9680-639e5b1f0a98"/> + <reference value="Medication/9a75cf85-2cca-45f2-8a8f-278a7a5645c1"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/a8d567ea-6404-400e-9fe6-a3ac74573d62"/> + <reference value="Organization/d38abb03-1bb1-4619-985a-1426c1c3535a"/> </actor> </performer> <whenHandedOver value="2024-07-02T11:30:42+02:00"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5478a358-99a6-45b8-9680-639e5b1f0a98"/> + <id value="9a75cf85-2cca-45f2-8a8f-278a7a5645c1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="a8d567ea-6404-400e-9fe6-a3ac74573d62"/> + <id value="d38abb03-1bb1-4619-985a-1426c1c3535a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Alec Tricity"/> + <name value="Chuck Roast"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null/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_null_null/input.xml @@ -0,0 +1,82 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ebdf3d02-f586-4f51-b40d-93604d23d7d0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="17974137"/> + </coding> + <text value="Sitagliptin Glenmark 50mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="98"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.373.77"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#ebdf3d02-f586-4f51-b40d-93604d23d7d0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:30:42+02:00"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null/output.json new file mode 100644 index 00000000..04ec7002 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "d91fcab4-39c7-48f1-ab7b-8a9f4a04441a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.373.77" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ed01074a-3dce-4c3a-a505-99a8d002dc7c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/4fe24563-d728-4438-9b53-bdbce7691e45" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5f663824-5661-4436-ab82-a2ea0ec58ee7" + } + } ], + "whenHandedOver": "2024-07-02T11:30:42+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "4fe24563-d728-4438-9b53-bdbce7691e45", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "5f663824-5661-4436-ab82-a2ea0ec58ee7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Harry Armand Bach" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null/output.xml new file mode 100644 index 00000000..62359d22 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_null_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d91fcab4-39c7-48f1-ab7b-8a9f4a04441a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.373.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ed01074a-3dce-4c3a-a505-99a8d002dc7c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.373.77"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/4fe24563-d728-4438-9b53-bdbce7691e45"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5f663824-5661-4436-ab82-a2ea0ec58ee7"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:30:42+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4fe24563-d728-4438-9b53-bdbce7691e45"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="17974137"/> + </coding> + <text value="Sitagliptin Glenmark 50mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5f663824-5661-4436-ab82-a2ea0ec58ee7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Harry Armand Bach"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/log.txt deleted file mode 100644 index 4000563a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/log.txt +++ /dev/null @@ -1,3 +0,0 @@ -Fhir Validation result: valid - -SingleValidationMessage[col=14,row=80,locationString=Parameters.parameter[0].part[3].resource/*Medication/4f9e1976-98ef-4b48-befd-b16b96e75532*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/4f9e1976-98ef-4b48-befd-b16b96e75532*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/4f9e1976-98ef-4b48-befd-b16b96e75532*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.json deleted file mode 100644 index fb921e94..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "9c9752b9-3b8f-4058-a9f4-0dbe93a9e44b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.226.436.549.34" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "5874ff8d-27ad-445d-bdf2-2df5c2b08c0f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/4f9e1976-98ef-4b48-befd-b16b96e75532" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "Z828875733" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/3ed7bdc8-0e5b-40cf-b955-a1e995003304" - } - } ], - "whenHandedOver": "2024-07-02T11:01:36+02:00", - "dosageInstruction": [ { - "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "4f9e1976-98ef-4b48-befd-b16b96e75532", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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-formulation-packaging-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "3ed7bdc8-0e5b-40cf-b955-a1e995003304", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Bud Weiser" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.xml deleted file mode 100644 index 8dc0b599..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/output.xml +++ /dev/null @@ -1,209 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9c9752b9-3b8f-4058-a9f4-0dbe93a9e44b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.549.34"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5874ff8d-27ad-445d-bdf2-2df5c2b08c0f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.000.226.436.549.34"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/4f9e1976-98ef-4b48-befd-b16b96e75532"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="Z828875733"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/3ed7bdc8-0e5b-40cf-b955-a1e995003304"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:01:36+02:00"/> - <dosageInstruction> - <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4f9e1976-98ef-4b48-befd-b16b96e75532"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Lösung"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <text value="Salicylsäure"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="5g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="2-propanol 70 %"/> - </itemCodeableConcept> - <strength> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> - <valueString value="Ad 100 g"/> - </extension> - <numerator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </value> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3ed7bdc8-0e5b-40cf-b955-a1e995003304"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Bud Weiser"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null/output.json new file mode 100644 index 00000000..49ce435d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "1bf56da6-430f-42ef-bef7-2d0df8df9226", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.549.34" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b01738d7-5d52-4d5b-b7c8-e1aee0f3e177", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/cb3b03b9-9e1d-48dc-969b-ded6aedcfcc3" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/72004258-d53c-464b-9901-17389041657c" + } + } ], + "whenHandedOver": "2024-07-02T11:01:36+02:00", + "dosageInstruction": [ { + "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "cb3b03b9-9e1d-48dc-969b-ded6aedcfcc3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "72004258-d53c-464b-9901-17389041657c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Hugo First" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null/output.xml new file mode 100644 index 00000000..9044267e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021_null_null/output.xml @@ -0,0 +1,209 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1bf56da6-430f-42ef-bef7-2d0df8df9226"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.549.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b01738d7-5d52-4d5b-b7c8-e1aee0f3e177"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.549.34"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/cb3b03b9-9e1d-48dc-969b-ded6aedcfcc3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/72004258-d53c-464b-9901-17389041657c"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:01:36+02:00"/> + <dosageInstruction> + <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cb3b03b9-9e1d-48dc-969b-ded6aedcfcc3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="5g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="72004258-d53c-464b-9901-17389041657c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hugo First"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/log.txt index 261a9145..a7d0a24f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/log.txt +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/log.txt @@ -1,3 +1,2 @@ Fhir Validation result: valid -SingleValidationMessage[col=14,row=80,locationString=Parameters.parameter[0].part[3].resource/*Medication/2980e4d4-9cff-4da3-aa33-2a7ae718075f*/.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/2980e4d4-9cff-4da3-aa33-2a7ae718075f*/.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Parameters.parameter[0].part[3].resource/*Medication/2980e4d4-9cff-4da3-aa33-2a7ae718075f*/.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.json index 89dc64b3..8db76974 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "6a08fc53-7aa5-482d-88fd-75a796f5ef62", + "id": "7e652d98-e57e-400f-86ff-aeffa3729e1c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "9aedfd59-54be-4ccd-b476-140ba3bfb0ca", + "id": "076ca5ae-b217-4eb4-86f6-0131c267362d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/2980e4d4-9cff-4da3-aa33-2a7ae718075f" + "reference": "Medication/e6b757fb-689a-4969-9b19-60113719e518" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/e94ade6e-0ed6-4df2-997e-b7d3fde45cbf" + "reference": "Organization/ae6bf637-4607-40a4-a476-0824cb1c350d" } } ], "whenHandedOver": "2024-07-02T11:01:36+02:00", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "2980e4d4-9cff-4da3-aa33-2a7ae718075f", + "id": "e6b757fb-689a-4969-9b19-60113719e518", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -78,7 +78,7 @@ "amount": { "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "100" } ], "unit": "ml" @@ -193,7 +193,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e94ade6e-0ed6-4df2-997e-b7d3fde45cbf", + "id": "ae6bf637-4607-40a4-a476-0824cb1c350d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -211,7 +211,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Claire Voyance" + "name": "Jack Pott" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.xml index 3b1b10ce..30ba3ea6 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="6a08fc53-7aa5-482d-88fd-75a796f5ef62"/> + <id value="7e652d98-e57e-400f-86ff-aeffa3729e1c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="9aedfd59-54be-4ccd-b476-140ba3bfb0ca"/> + <id value="076ca5ae-b217-4eb4-86f6-0131c267362d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/2980e4d4-9cff-4da3-aa33-2a7ae718075f"/> + <reference value="Medication/e6b757fb-689a-4969-9b19-60113719e518"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/e94ade6e-0ed6-4df2-997e-b7d3fde45cbf"/> + <reference value="Organization/ae6bf637-4607-40a4-a476-0824cb1c350d"/> </actor> </performer> <whenHandedOver value="2024-07-02T11:01:36+02:00"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="2980e4d4-9cff-4da3-aa33-2a7ae718075f"/> + <id value="e6b757fb-689a-4969-9b19-60113719e518"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -79,7 +79,7 @@ </form> <amount> <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> <valueString value="100"/> </extension> <unit value="ml"/> @@ -183,7 +183,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e94ade6e-0ed6-4df2-997e-b7d3fde45cbf"/> + <id value="ae6bf637-4607-40a4-a476-0824cb1c350d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -201,7 +201,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Claire Voyance"/> + <name value="Jack Pott"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null/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_null_null/input.xml @@ -0,0 +1,98 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="be05e244-a57b-4a64-9f4a-db8b1becba5b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="373873005:860781008=362943005"/> + <display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="rezeptur"/> + </coding> + </code> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="5g"/> + </extension> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount"> + <valueString value="Ad 100 g"/> + </extension> + </strength> + </ingredient> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.549.34"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#be05e244-a57b-4a64-9f4a-db8b1becba5b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:01:36+02:00"/> + <dosageInstruction> + <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null/output.json new file mode 100644 index 00000000..c4fe6fc1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "dd7390b6-e218-4473-926f-28144b6a246a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.549.34" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b989c7dd-af2b-46bc-9343-9b09f9e25573", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/99611613-1da7-4b3b-85e2-b6c2679e7cf8" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ee862384-6c1c-4929-a4c5-8206466bf8da" + } + } ], + "whenHandedOver": "2024-07-02T11:01:36+02:00", + "dosageInstruction": [ { + "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "99611613-1da7-4b3b-85e2-b6c2679e7cf8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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-total-quantity-formulation-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "ee862384-6c1c-4929-a4c5-8206466bf8da", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Rich Kidd" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null/output.xml new file mode 100644 index 00000000..18833cb2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_null_null/output.xml @@ -0,0 +1,209 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dd7390b6-e218-4473-926f-28144b6a246a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.549.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b989c7dd-af2b-46bc-9343-9b09f9e25573"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.549.34"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/99611613-1da7-4b3b-85e2-b6c2679e7cf8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ee862384-6c1c-4929-a4c5-8206466bf8da"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:01:36+02:00"/> + <dosageInstruction> + <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="99611613-1da7-4b3b-85e2-b6c2679e7cf8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Lösung"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <text value="Salicylsäure"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="5g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="2-propanol 70 %"/> + </itemCodeableConcept> + <strength> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"> + <valueString value="Ad 100 g"/> + </extension> + <numerator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </value> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ee862384-6c1c-4929-a4c5-8206466bf8da"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rich Kidd"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.json deleted file mode 100644 index e427b14d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "65c0764c-f832-4305-a25b-758ea5be14eb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.226.436.564.86" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "933fd0b0-31bb-4697-b35b-726ff7029702", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/b379a8fc-c1ff-4e8b-8998-948e93c1869e" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110474905" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/e814f9ed-f8a7-4044-aabe-c2be0108af31" - } - } ], - "whenHandedOver": "2024-07-02T11:15:00+02:00", - "dosageInstruction": [ { - "text": "Dj" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "b379a8fc-c1ff-4e8b-8998-948e93c1869e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "e814f9ed-f8a7-4044-aabe-c2be0108af31", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Cy Kosis" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.xml deleted file mode 100644 index 1fc5b2a6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/output.xml +++ /dev/null @@ -1,134 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="65c0764c-f832-4305-a25b-758ea5be14eb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.564.86"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="933fd0b0-31bb-4697-b35b-726ff7029702"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.000.226.436.564.86"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/b379a8fc-c1ff-4e8b-8998-948e93c1869e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110474905"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/e814f9ed-f8a7-4044-aabe-c2be0108af31"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:15:00+02:00"/> - <dosageInstruction> - <text value="Dj"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b379a8fc-c1ff-4e8b-8998-948e93c1869e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L Thyroxin 75 Henning"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e814f9ed-f8a7-4044-aabe-c2be0108af31"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Cy Kosis"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null/output.json new file mode 100644 index 00000000..65315522 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "aad6dca2-527f-4d0e-9758-e2c48854a37d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.564.86" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "80844d51-749b-4600-b107-186ad8dfb334", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/46f1d3d4-dd6b-4593-a6e5-74710252248c" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/6df14435-b3a9-4090-889a-141e08f6fac5" + } + } ], + "whenHandedOver": "2024-07-02T11:15:00+02:00", + "dosageInstruction": [ { + "text": "Dj" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "46f1d3d4-dd6b-4593-a6e5-74710252248c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "6df14435-b3a9-4090-889a-141e08f6fac5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Mel Practiss" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null/output.xml new file mode 100644 index 00000000..fda405e4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="aad6dca2-527f-4d0e-9758-e2c48854a37d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.564.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="80844d51-749b-4600-b107-186ad8dfb334"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.564.86"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/46f1d3d4-dd6b-4593-a6e5-74710252248c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/6df14435-b3a9-4090-889a-141e08f6fac5"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:15:00+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="46f1d3d4-dd6b-4593-a6e5-74710252248c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L Thyroxin 75 Henning"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6df14435-b3a9-4090-889a-141e08f6fac5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Mel Practiss"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.json index 7cf8f6ce..d98ce222 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "204fe3b0-3279-4d1e-bc91-bd504a58cf32", + "id": "7026df84-c8ef-47ff-b4d8-22139a63e1a6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "5854069a-64ea-4f28-9783-bfd7a7040c73", + "id": "140d8045-42c0-41f8-a2c7-4a79ed858743", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/b1fe66fc-1e97-4403-af68-393d0e146b6d" + "reference": "Medication/930435e4-3771-4cc0-b0d9-d3cc78c11254" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/9587c4cd-8c60-4dce-a698-a69e4f4ee423" + "reference": "Organization/6483415d-5172-4a3d-819e-0bfcf0556184" } } ], "whenHandedOver": "2024-07-02T11:15:00+02:00", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "b1fe66fc-1e97-4403-af68-393d0e146b6d", + "id": "930435e4-3771-4cc0-b0d9-d3cc78c11254", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -105,7 +105,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "9587c4cd-8c60-4dce-a698-a69e4f4ee423", + "id": "6483415d-5172-4a3d-819e-0bfcf0556184", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -123,7 +123,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Nick Ovtime" + "name": "Candice B. DePlace" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.xml index bf8c0c29..7ab5b8ef 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="204fe3b0-3279-4d1e-bc91-bd504a58cf32"/> + <id value="7026df84-c8ef-47ff-b4d8-22139a63e1a6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5854069a-64ea-4f28-9783-bfd7a7040c73"/> + <id value="140d8045-42c0-41f8-a2c7-4a79ed858743"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/b1fe66fc-1e97-4403-af68-393d0e146b6d"/> + <reference value="Medication/930435e4-3771-4cc0-b0d9-d3cc78c11254"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/9587c4cd-8c60-4dce-a698-a69e4f4ee423"/> + <reference value="Organization/6483415d-5172-4a3d-819e-0bfcf0556184"/> </actor> </performer> <whenHandedOver value="2024-07-02T11:15:00+02:00"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="b1fe66fc-1e97-4403-af68-393d0e146b6d"/> + <id value="930435e4-3771-4cc0-b0d9-d3cc78c11254"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -108,7 +108,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="9587c4cd-8c60-4dce-a698-a69e4f4ee423"/> + <id value="6483415d-5172-4a3d-819e-0bfcf0556184"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -126,7 +126,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Nick Ovtime"/> + <name value="Candice B. DePlace"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null/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_null_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="77f07338-e96f-4b86-a485-55f86967d8a0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L Thyroxin 75 Henning"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.564.86"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#77f07338-e96f-4b86-a485-55f86967d8a0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:15:00+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null/output.json new file mode 100644 index 00000000..b09c63d7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "2829e1c4-4001-40a8-93f4-ce9a3913f958", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.564.86" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "af668584-c511-414f-911b-841488c4ebb5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/566798f8-56a6-4d30-8e7f-077b05cca332" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/72418302-29b5-46f8-b44f-de8c23f2cc89" + } + } ], + "whenHandedOver": "2024-07-02T11:15:00+02:00", + "dosageInstruction": [ { + "text": "Dj" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "566798f8-56a6-4d30-8e7f-077b05cca332", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "72418302-29b5-46f8-b44f-de8c23f2cc89", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Buddy Booth" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null/output.xml new file mode 100644 index 00000000..f0491e09 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2829e1c4-4001-40a8-93f4-ce9a3913f958"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.564.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="af668584-c511-414f-911b-841488c4ebb5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.564.86"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/566798f8-56a6-4d30-8e7f-077b05cca332"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/72418302-29b5-46f8-b44f-de8c23f2cc89"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:15:00+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="566798f8-56a6-4d30-8e7f-077b05cca332"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L Thyroxin 75 Henning"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="72418302-29b5-46f8-b44f-de8c23f2cc89"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Buddy Booth"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/output.json deleted file mode 100644 index bf0347a5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/output.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "aded443d-e6c3-4c59-ae28-8d85beb09f8b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.226.436.593.96" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "b29da9c6-5207-4b48-8780-1e8bca84d9b1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/2a0f35a1-8a7b-422b-ab18-dc3f2cdb01f9" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "Z828875733" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/e0428b8e-9837-447c-b945-afe208fa7971" - } - } ], - "whenHandedOver": "2024-07-02T11:22:37+02:00", - "dosageInstruction": [ { - "text": "1-0-0-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "2a0f35a1-8a7b-422b-ab18-dc3f2cdb01f9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "e0428b8e-9837-447c-b945-afe208fa7971", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Justin Credible" - } - } ] - } ] -} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/output.xml deleted file mode 100644 index 9b439ae5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/output.xml +++ /dev/null @@ -1,134 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="aded443d-e6c3-4c59-ae28-8d85beb09f8b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.593.96"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b29da9c6-5207-4b48-8780-1e8bca84d9b1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.000.226.436.593.96"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/2a0f35a1-8a7b-422b-ab18-dc3f2cdb01f9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="Z828875733"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/e0428b8e-9837-447c-b945-afe208fa7971"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:22:37+02:00"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2a0f35a1-8a7b-422b-ab18-dc3f2cdb01f9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00476441"/> - </coding> - <text value="Lisinopril 10 Heumann"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e0428b8e-9837-447c-b945-afe208fa7971"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Justin Credible"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null_null/output.json new file mode 100644 index 00000000..5eb73b3b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "6aebfb4d-6c31-484d-b2ee-fc03fab35353", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.593.96" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e1aca326-33b2-4787-aa64-f34543a53757", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/3f6eac22-4c97-4f2c-bf8b-8fa61483ac9b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/bac3bf10-ba85-412a-99e3-121f9059783f" + } + } ], + "whenHandedOver": "2024-07-02T11:22:37+02:00", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3f6eac22-4c97-4f2c-bf8b-8fa61483ac9b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "bac3bf10-ba85-412a-99e3-121f9059783f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ellie Noise" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null_null/output.xml new file mode 100644 index 00000000..03f5878b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6aebfb4d-6c31-484d-b2ee-fc03fab35353"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.593.96"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e1aca326-33b2-4787-aa64-f34543a53757"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.593.96"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3f6eac22-4c97-4f2c-bf8b-8fa61483ac9b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/bac3bf10-ba85-412a-99e3-121f9059783f"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:22:37+02:00"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3f6eac22-4c97-4f2c-bf8b-8fa61483ac9b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00476441"/> + </coding> + <text value="Lisinopril 10 Heumann"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bac3bf10-ba85-412a-99e3-121f9059783f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ellie Noise"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/output.json index ccabd7f1..324e9b35 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c2840997-20c0-4049-b690-3d22f86fd856", + "id": "6c50ab62-2167-4a58-ba28-82f94d8ec81f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "b785a5ff-e23f-47f5-bb8b-a8b51087350e", + "id": "3c01280a-a81a-45f1-9beb-bd1346a25d06", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/bb6528e7-e831-445d-b031-7b8c52a40b06" + "reference": "Medication/5c9e1109-e1e3-4a05-b248-98e5a570d9fb" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/58cf230e-1ad5-494c-b7cc-dcf89811932c" + "reference": "Organization/bd6b6456-b3e0-4076-b537-8760eb61ba2d" } } ], "whenHandedOver": "2024-07-02T11:22:37+02:00", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "bb6528e7-e831-445d-b031-7b8c52a40b06", + "id": "5c9e1109-e1e3-4a05-b248-98e5a570d9fb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -105,7 +105,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "58cf230e-1ad5-494c-b7cc-dcf89811932c", + "id": "bd6b6456-b3e0-4076-b537-8760eb61ba2d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -123,7 +123,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Bob Inforapples" + "name": "Lance Lyde" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/output.xml index c908b6fa..33f002ad 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c2840997-20c0-4049-b690-3d22f86fd856"/> + <id value="6c50ab62-2167-4a58-ba28-82f94d8ec81f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b785a5ff-e23f-47f5-bb8b-a8b51087350e"/> + <id value="3c01280a-a81a-45f1-9beb-bd1346a25d06"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/bb6528e7-e831-445d-b031-7b8c52a40b06"/> + <reference value="Medication/5c9e1109-e1e3-4a05-b248-98e5a570d9fb"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/58cf230e-1ad5-494c-b7cc-dcf89811932c"/> + <reference value="Organization/bd6b6456-b3e0-4076-b537-8760eb61ba2d"/> </actor> </performer> <whenHandedOver value="2024-07-02T11:22:37+02:00"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="bb6528e7-e831-445d-b031-7b8c52a40b06"/> + <id value="5c9e1109-e1e3-4a05-b248-98e5a570d9fb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -108,7 +108,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="58cf230e-1ad5-494c-b7cc-dcf89811932c"/> + <id value="bd6b6456-b3e0-4076-b537-8760eb61ba2d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -126,7 +126,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Bob Inforapples"/> + <name value="Lance Lyde"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null_null/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_null_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="aba84b3f-b1fc-4a3a-bab4-9cc46f24783f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00476441"/> + </coding> + <text value="Lisinopril 10 Heumann"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.593.96"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#aba84b3f-b1fc-4a3a-bab4-9cc46f24783f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:22:37+02:00"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null_null/output.json new file mode 100644 index 00000000..ce7cf3ea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "38456405-f376-4003-a6c5-e7e1124d1f39", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.593.96" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "192c0c20-3e27-4b76-ad86-4b4b05a7cfaa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/363c4802-b5f0-4b53-8c73-573c40607120" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "Z828875733" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d27a1e27-2d40-46ba-9aab-e17cf63c41b5" + } + } ], + "whenHandedOver": "2024-07-02T11:22:37+02:00", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "363c4802-b5f0-4b53-8c73-573c40607120", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "d27a1e27-2d40-46ba-9aab-e17cf63c41b5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Carlotta Tendant" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null_null/output.xml new file mode 100644 index 00000000..093a9ba1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="38456405-f376-4003-a6c5-e7e1124d1f39"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.593.96"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="192c0c20-3e27-4b76-ad86-4b4b05a7cfaa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.593.96"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/363c4802-b5f0-4b53-8c73-573c40607120"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="Z828875733"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d27a1e27-2d40-46ba-9aab-e17cf63c41b5"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:22:37+02:00"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="363c4802-b5f0-4b53-8c73-573c40607120"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00476441"/> + </coding> + <text value="Lisinopril 10 Heumann"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d27a1e27-2d40-46ba-9aab-e17cf63c41b5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Carlotta Tendant"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.json deleted file mode 100644 index 79b7defb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "bb8ee6bb-773b-4cfc-8158-2d30a2da5577", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.226.436.627.91" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "3d0e2125-f48c-4769-8a2e-b7df65bd0213", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/7d08cf2c-9f7e-4e8c-94b7-e8fc13f93da5" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110450929" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/1f440118-97bb-4bf5-be76-ae5eca17c744" - } - } ], - "whenHandedOver": "2024-07-02T11:18:44+02:00", - "dosageInstruction": [ { - "text": "1-0-0-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "7d08cf2c-9f7e-4e8c-94b7-e8fc13f93da5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "1f440118-97bb-4bf5-be76-ae5eca17c744", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Cara Van" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.xml deleted file mode 100644 index f214fa6b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/output.xml +++ /dev/null @@ -1,134 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bb8ee6bb-773b-4cfc-8158-2d30a2da5577"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.627.91"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="3d0e2125-f48c-4769-8a2e-b7df65bd0213"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.000.226.436.627.91"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/7d08cf2c-9f7e-4e8c-94b7-e8fc13f93da5"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110450929"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/1f440118-97bb-4bf5-be76-ae5eca17c744"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:18:44+02:00"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7d08cf2c-9f7e-4e8c-94b7-e8fc13f93da5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00766759"/> - </coding> - <text value="Ramipril 1A Pharma 5 mg"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1f440118-97bb-4bf5-be76-ae5eca17c744"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Cara Van"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null/output.json new file mode 100644 index 00000000..caeb6fa6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "8e015176-d8a1-4a6f-a0f9-08e775e73938", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.627.91" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "af0229fa-541a-4ddc-a65e-8dfb80e0ad36", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/71bb2df6-2aaa-404d-8556-bc1b3484aa5c" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110450929" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f031c8a3-ff0b-41e6-869f-c8df4849c6d6" + } + } ], + "whenHandedOver": "2024-07-02T11:18:44+02:00", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "71bb2df6-2aaa-404d-8556-bc1b3484aa5c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f031c8a3-ff0b-41e6-869f-c8df4849c6d6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Hein Noon" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null/output.xml new file mode 100644 index 00000000..f6c0f744 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8e015176-d8a1-4a6f-a0f9-08e775e73938"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.627.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="af0229fa-541a-4ddc-a65e-8dfb80e0ad36"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.627.91"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/71bb2df6-2aaa-404d-8556-bc1b3484aa5c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110450929"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f031c8a3-ff0b-41e6-869f-c8df4849c6d6"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:18:44+02:00"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="71bb2df6-2aaa-404d-8556-bc1b3484aa5c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00766759"/> + </coding> + <text value="Ramipril 1A Pharma 5 mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f031c8a3-ff0b-41e6-869f-c8df4849c6d6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hein Noon"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.json index 4ec171ba..19c2fbb9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "df0cecad-6eaf-44a1-91fe-1419ea98db7f", + "id": "d2b079c5-3e1e-4eec-b423-0508c4bc4959", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "261660bf-6794-4abd-9099-3305ea43cdbc", + "id": "9a19c461-a3d5-4abe-8d69-f22063495877", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/64935d50-b76a-4896-bb62-4f39afc6d270" + "reference": "Medication/688e9aa9-dc35-4b99-9d95-d1fe70ddd16e" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/f8a8f8c6-beaf-4a55-abe7-7dcd2d99c56c" + "reference": "Organization/efd72fb4-ff8c-4707-8fef-589a3fed3d39" } } ], "whenHandedOver": "2024-07-02T11:18:44+02:00", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "64935d50-b76a-4896-bb62-4f39afc6d270", + "id": "688e9aa9-dc35-4b99-9d95-d1fe70ddd16e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -105,7 +105,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f8a8f8c6-beaf-4a55-abe7-7dcd2d99c56c", + "id": "efd72fb4-ff8c-4707-8fef-589a3fed3d39", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -123,7 +123,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Candy Kane" + "name": "Abbie Birthday" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.xml index 9a3d6fb9..cda32904 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="df0cecad-6eaf-44a1-91fe-1419ea98db7f"/> + <id value="d2b079c5-3e1e-4eec-b423-0508c4bc4959"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="261660bf-6794-4abd-9099-3305ea43cdbc"/> + <id value="9a19c461-a3d5-4abe-8d69-f22063495877"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/64935d50-b76a-4896-bb62-4f39afc6d270"/> + <reference value="Medication/688e9aa9-dc35-4b99-9d95-d1fe70ddd16e"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/f8a8f8c6-beaf-4a55-abe7-7dcd2d99c56c"/> + <reference value="Organization/efd72fb4-ff8c-4707-8fef-589a3fed3d39"/> </actor> </performer> <whenHandedOver value="2024-07-02T11:18:44+02:00"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="64935d50-b76a-4896-bb62-4f39afc6d270"/> + <id value="688e9aa9-dc35-4b99-9d95-d1fe70ddd16e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -108,7 +108,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f8a8f8c6-beaf-4a55-abe7-7dcd2d99c56c"/> + <id value="efd72fb4-ff8c-4707-8fef-589a3fed3d39"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -126,7 +126,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Candy Kane"/> + <name value="Abbie Birthday"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null/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_null_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="05317d83-14f7-4b7b-9bba-6fcfdeea3f57"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00766759"/> + </coding> + <text value="Ramipril 1A Pharma 5 mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.627.91"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#05317d83-14f7-4b7b-9bba-6fcfdeea3f57"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110450929"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:18:44+02:00"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null/output.json new file mode 100644 index 00000000..8dd42fbf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "144f6983-56a4-4f31-bc5a-b29d3bbb016d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.627.91" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "97c42ea9-8464-4255-b96a-62c9dc98f8f7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/54307353-3a5b-4c26-a56f-4a558b352982" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110450929" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/324bfa30-9ebf-45ee-8924-5f30bdc3ae74" + } + } ], + "whenHandedOver": "2024-07-02T11:18:44+02:00", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "54307353-3a5b-4c26-a56f-4a558b352982", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "324bfa30-9ebf-45ee-8924-5f30bdc3ae74", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Helena Hanbaskett" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null/output.xml new file mode 100644 index 00000000..f5bd0bfe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="144f6983-56a4-4f31-bc5a-b29d3bbb016d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.627.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="97c42ea9-8464-4255-b96a-62c9dc98f8f7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.627.91"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/54307353-3a5b-4c26-a56f-4a558b352982"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110450929"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/324bfa30-9ebf-45ee-8924-5f30bdc3ae74"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:18:44+02:00"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="54307353-3a5b-4c26-a56f-4a558b352982"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00766759"/> + </coding> + <text value="Ramipril 1A Pharma 5 mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="324bfa30-9ebf-45ee-8924-5f30bdc3ae74"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Helena Hanbaskett"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/output.json deleted file mode 100644 index e0f9de50..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "49cc343c-e4f1-4810-b8b0-79b1c08f5c00", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.226.436.697.75" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "dfc2b835-8af3-46be-a734-5d8a23a2364c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/2606f9a1-53e6-4517-a28a-d6db8f10b54f" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110474905" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/cd9cabd3-a111-46a3-a030-b3c9f2985d5c" - } - } ], - "whenHandedOver": "2024-07-02T12:01:22+02:00" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "2606f9a1-53e6-4517-a28a-d6db8f10b54f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "cd9cabd3-a111-46a3-a030-b3c9f2985d5c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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. Sense" - } - } ] - } ] -} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/output.xml deleted file mode 100644 index ec0873f6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="49cc343c-e4f1-4810-b8b0-79b1c08f5c00"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.697.75"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="dfc2b835-8af3-46be-a734-5d8a23a2364c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.000.226.436.697.75"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/2606f9a1-53e6-4517-a28a-d6db8f10b54f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110474905"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/cd9cabd3-a111-46a3-a030-b3c9f2985d5c"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T12:01:22+02:00"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2606f9a1-53e6-4517-a28a-d6db8f10b54f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01983625"/> - </coding> - <text value="Ramilich 5mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="cd9cabd3-a111-46a3-a030-b3c9f2985d5c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Frank N. Sense"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null_null/output.json new file mode 100644 index 00000000..dc326c78 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "4654ccf8-a6f7-449b-8054-2ce395f6df7d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.697.75" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0e4548ae-b5a1-432a-8611-7979275996d6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/4718c5f9-37f4-4543-8439-4e1ba1ff41a1" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/410842df-f595-4e8e-b155-aedfc92684c1" + } + } ], + "whenHandedOver": "2024-07-02T12:01:22+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "4718c5f9-37f4-4543-8439-4e1ba1ff41a1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "410842df-f595-4e8e-b155-aedfc92684c1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Leigh King" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null_null/output.xml new file mode 100644 index 00000000..ea7d2473 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551_null_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4654ccf8-a6f7-449b-8054-2ce395f6df7d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.697.75"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0e4548ae-b5a1-432a-8611-7979275996d6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.697.75"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/4718c5f9-37f4-4543-8439-4e1ba1ff41a1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/410842df-f595-4e8e-b155-aedfc92684c1"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T12:01:22+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4718c5f9-37f4-4543-8439-4e1ba1ff41a1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01983625"/> + </coding> + <text value="Ramilich 5mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="410842df-f595-4e8e-b155-aedfc92684c1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Leigh King"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/output.json index 9034d65a..72a069f3 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "3e715295-8a67-4258-8398-3a185810540c", + "id": "eb8e5aef-ad30-4d39-a7ec-7d6dd81951a0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "5f15384a-3d24-4a52-8270-2c862eb0b920", + "id": "ffe760d1-ffd8-47d4-9137-db407a6fc2a0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/1c99680a-ec0e-4d9b-962e-7be80248a95d" + "reference": "Medication/7d54f284-dd82-46c8-9da8-b3b1ab1d97a6" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/22367137-db0b-49b3-806b-2a4ea900cf7f" + "reference": "Organization/4df146e2-4cc2-467a-9a4e-4c8ba9e91e6d" } } ], "whenHandedOver": "2024-07-02T12:01:22+02:00" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "1c99680a-ec0e-4d9b-962e-7be80248a95d", + "id": "7d54f284-dd82-46c8-9da8-b3b1ab1d97a6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "22367137-db0b-49b3-806b-2a4ea900cf7f", + "id": "4df146e2-4cc2-467a-9a4e-4c8ba9e91e6d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Nida Lyte" + "name": "Nick O'Time" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/output.xml index 6c8ea6f9..6f44b081 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="3e715295-8a67-4258-8398-3a185810540c"/> + <id value="eb8e5aef-ad30-4d39-a7ec-7d6dd81951a0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5f15384a-3d24-4a52-8270-2c862eb0b920"/> + <id value="ffe760d1-ffd8-47d4-9137-db407a6fc2a0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/1c99680a-ec0e-4d9b-962e-7be80248a95d"/> + <reference value="Medication/7d54f284-dd82-46c8-9da8-b3b1ab1d97a6"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/22367137-db0b-49b3-806b-2a4ea900cf7f"/> + <reference value="Organization/4df146e2-4cc2-467a-9a4e-4c8ba9e91e6d"/> </actor> </performer> <whenHandedOver value="2024-07-02T12:01:22+02:00"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="1c99680a-ec0e-4d9b-962e-7be80248a95d"/> + <id value="7d54f284-dd82-46c8-9da8-b3b1ab1d97a6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="22367137-db0b-49b3-806b-2a4ea900cf7f"/> + <id value="4df146e2-4cc2-467a-9a4e-4c8ba9e91e6d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Nida Lyte"/> + <name value="Nick O'Time"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null_null/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_null_null/input.xml @@ -0,0 +1,82 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bddd9a9c-2171-4dbc-8d05-66bb619ed849"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01983625"/> + </coding> + <text value="Ramilich 5mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="20"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.697.75"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#bddd9a9c-2171-4dbc-8d05-66bb619ed849"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T12:01:22+02:00"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null_null/output.json new file mode 100644 index 00000000..ebb17956 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "cbf42e6d-8429-428f-b22b-2e3720660324", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.697.75" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b475df2b-827c-4141-8f2d-fbe5c7806821", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/fbf15825-7cc0-4e00-82d0-62accfbe6b17" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/bf55bd11-54e2-4fc1-be55-762117d189d4" + } + } ], + "whenHandedOver": "2024-07-02T12:01:22+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "fbf15825-7cc0-4e00-82d0-62accfbe6b17", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "bf55bd11-54e2-4fc1-be55-762117d189d4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bob Inforapples" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null_null/output.xml new file mode 100644 index 00000000..fa457dd5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_null_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="cbf42e6d-8429-428f-b22b-2e3720660324"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.697.75"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b475df2b-827c-4141-8f2d-fbe5c7806821"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.697.75"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/fbf15825-7cc0-4e00-82d0-62accfbe6b17"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/bf55bd11-54e2-4fc1-be55-762117d189d4"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T12:01:22+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fbf15825-7cc0-4e00-82d0-62accfbe6b17"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01983625"/> + </coding> + <text value="Ramilich 5mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bf55bd11-54e2-4fc1-be55-762117d189d4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bob Inforapples"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/output.json deleted file mode 100644 index 6654cb87..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/output.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "5ac1e540-be08-4efa-9cd4-bfc38a0cca5f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.226.436.713.27" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "fe11396f-24a7-4a6f-a9be-9272248062c9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/464d1589-64e0-4334-b651-1d4239c88ed5" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110450929" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/029cde20-5d1c-4672-a102-a5ce02839f88" - } - } ], - "whenHandedOver": "2024-07-02T11:36:22+02:00", - "dosageInstruction": [ { - "text": "Dj" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "464d1589-64e0-4334-b651-1d4239c88ed5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "029cde20-5d1c-4672-a102-a5ce02839f88", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Dinah Might" - } - } ] - } ] -} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/output.xml deleted file mode 100644 index e14bc81d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/output.xml +++ /dev/null @@ -1,134 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5ac1e540-be08-4efa-9cd4-bfc38a0cca5f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.713.27"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="fe11396f-24a7-4a6f-a9be-9272248062c9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.000.226.436.713.27"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/464d1589-64e0-4334-b651-1d4239c88ed5"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110450929"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/029cde20-5d1c-4672-a102-a5ce02839f88"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:36:22+02:00"/> - <dosageInstruction> - <text value="Dj"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="464d1589-64e0-4334-b651-1d4239c88ed5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09494280"/> - </coding> - <text value="Venlafaxin HEU 75mg Tabl"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="029cde20-5d1c-4672-a102-a5ce02839f88"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Dinah Might"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null_null/output.json new file mode 100644 index 00000000..af5ecb30 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "8a010dcb-3b9f-461b-a189-23ba5ca59a7c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.713.27" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "76ce1fe0-5f54-4b09-a420-3a075ccecd2f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/bcf57830-f1ad-45fb-925b-ffe1de838265" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110450929" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3ad42959-9ee3-408a-89eb-a6844b4f85bf" + } + } ], + "whenHandedOver": "2024-07-02T11:36:22+02:00", + "dosageInstruction": [ { + "text": "Dj" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bcf57830-f1ad-45fb-925b-ffe1de838265", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "3ad42959-9ee3-408a-89eb-a6844b4f85bf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Al B. Tross" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null_null/output.xml new file mode 100644 index 00000000..87d2c141 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8a010dcb-3b9f-461b-a189-23ba5ca59a7c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.713.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="76ce1fe0-5f54-4b09-a420-3a075ccecd2f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.713.27"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bcf57830-f1ad-45fb-925b-ffe1de838265"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110450929"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3ad42959-9ee3-408a-89eb-a6844b4f85bf"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:36:22+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bcf57830-f1ad-45fb-925b-ffe1de838265"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09494280"/> + </coding> + <text value="Venlafaxin HEU 75mg Tabl"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3ad42959-9ee3-408a-89eb-a6844b4f85bf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Al B. Tross"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.json index 6440d5b7..583c31ad 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "8ec1c1c6-d30b-47b2-8917-d2876c6ce35c", + "id": "8db1fcf2-7d49-4a7f-a2a0-3da90fabac26", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "503a9a68-0f22-495d-85cc-8690e21af759", + "id": "72be0a02-e12f-494a-aebb-f0c6a69a5ed0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/d07c0272-378f-4ccc-9f8c-b5c5eef58751" + "reference": "Medication/cf32bd96-e8d8-4b70-b8e7-fc2a19d0af51" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/c6418422-3ed8-4b33-a756-2c286296a266" + "reference": "Organization/c37591ca-b049-436f-9fb5-e240f098f69b" } } ], "whenHandedOver": "2024-07-02T11:36:22+02:00", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "d07c0272-378f-4ccc-9f8c-b5c5eef58751", + "id": "cf32bd96-e8d8-4b70-b8e7-fc2a19d0af51", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -105,7 +105,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "c6418422-3ed8-4b33-a756-2c286296a266", + "id": "c37591ca-b049-436f-9fb5-e240f098f69b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -123,7 +123,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Anna Graham" + "name": "Skip Stone" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.xml index 831ec938..b1071c67 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="8ec1c1c6-d30b-47b2-8917-d2876c6ce35c"/> + <id value="8db1fcf2-7d49-4a7f-a2a0-3da90fabac26"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="503a9a68-0f22-495d-85cc-8690e21af759"/> + <id value="72be0a02-e12f-494a-aebb-f0c6a69a5ed0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/d07c0272-378f-4ccc-9f8c-b5c5eef58751"/> + <reference value="Medication/cf32bd96-e8d8-4b70-b8e7-fc2a19d0af51"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/c6418422-3ed8-4b33-a756-2c286296a266"/> + <reference value="Organization/c37591ca-b049-436f-9fb5-e240f098f69b"/> </actor> </performer> <whenHandedOver value="2024-07-02T11:36:22+02:00"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="d07c0272-378f-4ccc-9f8c-b5c5eef58751"/> + <id value="cf32bd96-e8d8-4b70-b8e7-fc2a19d0af51"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -108,7 +108,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="c6418422-3ed8-4b33-a756-2c286296a266"/> + <id value="c37591ca-b049-436f-9fb5-e240f098f69b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -126,7 +126,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Anna Graham"/> + <name value="Skip Stone"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/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_null_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a62bb615-2179-4eb4-bcfa-e0ccac2f1feb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09494280"/> + </coding> + <text value="Venlafaxin HEU 75mg Tabl"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.713.27"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#a62bb615-2179-4eb4-bcfa-e0ccac2f1feb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110450929"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:36:22+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/output.json new file mode 100644 index 00000000..cf3598a8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "27bdd2ab-33ad-4f5b-9ac6-2e0259b30a14", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.713.27" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "6d96b452-b942-4a6d-bab3-2c1638b1e4b3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/df08b011-c52d-4beb-bd0b-342b7053f68d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110450929" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0fece0c2-83c8-4403-8f77-4d627a67945d" + } + } ], + "whenHandedOver": "2024-07-02T11:36:22+02:00", + "dosageInstruction": [ { + "text": "Dj" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "df08b011-c52d-4beb-bd0b-342b7053f68d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0fece0c2-83c8-4403-8f77-4d627a67945d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Miss Alanius" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/output.xml new file mode 100644 index 00000000..879b8f8a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="27bdd2ab-33ad-4f5b-9ac6-2e0259b30a14"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.713.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6d96b452-b942-4a6d-bab3-2c1638b1e4b3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.713.27"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/df08b011-c52d-4beb-bd0b-342b7053f68d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110450929"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0fece0c2-83c8-4403-8f77-4d627a67945d"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:36:22+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="df08b011-c52d-4beb-bd0b-342b7053f68d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09494280"/> + </coding> + <text value="Venlafaxin HEU 75mg Tabl"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0fece0c2-83c8-4403-8f77-4d627a67945d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Miss Alanius"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/output.json deleted file mode 100644 index 24afcb67..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/output.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "d2940b5b-7f14-405e-90ec-db6f15d7cdce", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.226.436.714.24" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "2f7f69fa-9923-47e4-b8ea-11ea62bac2ab", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/edc55028-56ea-456e-a2a2-c4ee6f6e9525" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "H064287850" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/3a830a06-2799-4078-99cb-e0608e107a8c" - } - } ], - "whenHandedOver": "2024-07-02T11:46:33+02:00", - "dosageInstruction": [ { - "text": "Dj" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "edc55028-56ea-456e-a2a2-c4ee6f6e9525", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "3a830a06-2799-4078-99cb-e0608e107a8c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Juan De Hattatime" - } - } ] - } ] -} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/output.xml deleted file mode 100644 index 9958ce29..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/output.xml +++ /dev/null @@ -1,134 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d2940b5b-7f14-405e-90ec-db6f15d7cdce"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.714.24"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="2f7f69fa-9923-47e4-b8ea-11ea62bac2ab"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.000.226.436.714.24"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/edc55028-56ea-456e-a2a2-c4ee6f6e9525"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H064287850"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/3a830a06-2799-4078-99cb-e0608e107a8c"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:46:33+02:00"/> - <dosageInstruction> - <text value="Dj"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="edc55028-56ea-456e-a2a2-c4ee6f6e9525"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03480822"/> - </coding> - <text value="Tramadol 100 RET 1A Pharma"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="RET"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3a830a06-2799-4078-99cb-e0608e107a8c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Juan De Hattatime"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null_null/output.json new file mode 100644 index 00000000..0573cf7b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "83dd1b51-f073-42d8-b2d6-88f637a2d823", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.714.24" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9bd22f0e-808a-4e8e-b18f-200141adabe9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/67ee98b6-d19a-4112-99e4-adb362a48fb4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H064287850" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c6daa2ec-773c-425a-bd92-17778205a882" + } + } ], + "whenHandedOver": "2024-07-02T11:46:33+02:00", + "dosageInstruction": [ { + "text": "Dj" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "67ee98b6-d19a-4112-99e4-adb362a48fb4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c6daa2ec-773c-425a-bd92-17778205a882", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Freida Convict" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null_null/output.xml new file mode 100644 index 00000000..f706fab5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="83dd1b51-f073-42d8-b2d6-88f637a2d823"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.714.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9bd22f0e-808a-4e8e-b18f-200141adabe9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.714.24"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/67ee98b6-d19a-4112-99e4-adb362a48fb4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H064287850"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c6daa2ec-773c-425a-bd92-17778205a882"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:46:33+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="67ee98b6-d19a-4112-99e4-adb362a48fb4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03480822"/> + </coding> + <text value="Tramadol 100 RET 1A Pharma"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c6daa2ec-773c-425a-bd92-17778205a882"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Freida Convict"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/output.json index b67a8a39..0d709e61 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "b186bd3a-9cf8-41c1-96e3-144ef6a008b0", + "id": "2493a857-c736-4d6e-b223-5bec521c3109", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "05fc632d-8aad-4f20-8ef9-bb5b5d63d673", + "id": "0c391732-6197-4962-9370-2f9d2aa4d172", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/91a00aa1-3239-452d-b150-fa5fe464814f" + "reference": "Medication/bb9fe549-5f9e-435d-84ea-7142d7d61d69" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/0af13708-c85b-43e6-8651-87c2f30f5442" + "reference": "Organization/0c011cba-6334-44ac-8815-4089615f0a6a" } } ], "whenHandedOver": "2024-07-02T11:46:33+02:00", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "91a00aa1-3239-452d-b150-fa5fe464814f", + "id": "bb9fe549-5f9e-435d-84ea-7142d7d61d69", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -105,7 +105,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "0af13708-c85b-43e6-8651-87c2f30f5442", + "id": "0c011cba-6334-44ac-8815-4089615f0a6a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -123,7 +123,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Nick Ovtime" + "name": "Ann B. Dextrous" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/output.xml index e3ede8d9..77e86656 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="b186bd3a-9cf8-41c1-96e3-144ef6a008b0"/> + <id value="2493a857-c736-4d6e-b223-5bec521c3109"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="05fc632d-8aad-4f20-8ef9-bb5b5d63d673"/> + <id value="0c391732-6197-4962-9370-2f9d2aa4d172"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/91a00aa1-3239-452d-b150-fa5fe464814f"/> + <reference value="Medication/bb9fe549-5f9e-435d-84ea-7142d7d61d69"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/0af13708-c85b-43e6-8651-87c2f30f5442"/> + <reference value="Organization/0c011cba-6334-44ac-8815-4089615f0a6a"/> </actor> </performer> <whenHandedOver value="2024-07-02T11:46:33+02:00"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="91a00aa1-3239-452d-b150-fa5fe464814f"/> + <id value="bb9fe549-5f9e-435d-84ea-7142d7d61d69"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -108,7 +108,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="0af13708-c85b-43e6-8651-87c2f30f5442"/> + <id value="0c011cba-6334-44ac-8815-4089615f0a6a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -126,7 +126,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Nick Ovtime"/> + <name value="Ann B. Dextrous"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null_null/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_null_null/input.xml @@ -0,0 +1,85 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3d77aba2-06de-4865-ba9c-df62af829aa8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03480822"/> + </coding> + <text value="Tramadol 100 RET 1A Pharma"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.714.24"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#3d77aba2-06de-4865-ba9c-df62af829aa8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H064287850"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:46:33+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null_null/output.json new file mode 100644 index 00000000..6529c4c4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null_null/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "c3d405f2-0def-4d9a-941c-7163cc69987a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.714.24" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c5743f9d-176f-4a10-8a9e-9cff9aff71f4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/5805b555-a182-46ac-877e-9876d7dd1488" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H064287850" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/9742f4e8-8ca7-45c3-863a-97653d85bbb9" + } + } ], + "whenHandedOver": "2024-07-02T11:46:33+02:00", + "dosageInstruction": [ { + "text": "Dj" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5805b555-a182-46ac-877e-9876d7dd1488", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "9742f4e8-8ca7-45c3-863a-97653d85bbb9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Noah Lott" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null_null/output.xml new file mode 100644 index 00000000..7ac3199f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_null_null/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c3d405f2-0def-4d9a-941c-7163cc69987a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.714.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c5743f9d-176f-4a10-8a9e-9cff9aff71f4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.714.24"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5805b555-a182-46ac-877e-9876d7dd1488"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H064287850"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/9742f4e8-8ca7-45c3-863a-97653d85bbb9"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:46:33+02:00"/> + <dosageInstruction> + <text value="Dj"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5805b555-a182-46ac-877e-9876d7dd1488"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03480822"/> + </coding> + <text value="Tramadol 100 RET 1A Pharma"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9742f4e8-8ca7-45c3-863a-97653d85bbb9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Noah Lott"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/output.json deleted file mode 100644 index 51dad0ab..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "040bf401-2862-4b84-b7e2-c3b197413681", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.226.436.776.32" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "f32cf477-b95b-4c75-a9bd-9f5db9c70d16", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "null_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/f9e65e76-1fed-44ba-8f92-b1abeb9f2aee" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110474905" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/6f7f7483-a6cf-41eb-b7d1-ae3b6d335ff5" - } - } ], - "whenHandedOver": "2024-07-02T11:55:14+02:00" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "f9e65e76-1fed-44ba-8f92-b1abeb9f2aee", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "6f7f7483-a6cf-41eb-b7d1-ae3b6d335ff5", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Faye Kinnitt" - } - } ] - } ] -} \ 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_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/output.xml deleted file mode 100644 index f8fc08ef..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="040bf401-2862-4b84-b7e2-c3b197413681"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.436.776.32"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="f32cf477-b95b-4c75-a9bd-9f5db9c70d16"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="null_160.000.226.436.776.32"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f9e65e76-1fed-44ba-8f92-b1abeb9f2aee"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110474905"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/6f7f7483-a6cf-41eb-b7d1-ae3b6d335ff5"/> - </actor> - </performer> - <whenHandedOver value="2024-07-02T11:55:14+02:00"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f9e65e76-1fed-44ba-8f92-b1abeb9f2aee"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="05392022"/> - </coding> - <text value="Venlafaxin 1A Pharma 75mg"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="50"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6f7f7483-a6cf-41eb-b7d1-ae3b6d335ff5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Faye Kinnitt"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ 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_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null_null/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null_null/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null_null/output.json new file mode 100644 index 00000000..c67267ab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "3c531dc8-0bff-4dae-a06b-5c1f6b8569ff", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.776.32" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9bdacc8d-3e57-4be8-abeb-aef47b604e0f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/ef224c1f-8a56-4056-8d7e-fe7880321ab4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5bacd1f3-d115-4ccc-9735-c257b0961230" + } + } ], + "whenHandedOver": "2024-07-02T11:55:14+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ef224c1f-8a56-4056-8d7e-fe7880321ab4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "5bacd1f3-d115-4ccc-9735-c257b0961230", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Art Sellers" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null_null/output.xml new file mode 100644 index 00000000..24f41025 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557_null_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3c531dc8-0bff-4dae-a06b-5c1f6b8569ff"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.776.32"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9bdacc8d-3e57-4be8-abeb-aef47b604e0f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.776.32"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ef224c1f-8a56-4056-8d7e-fe7880321ab4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5bacd1f3-d115-4ccc-9735-c257b0961230"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:55:14+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ef224c1f-8a56-4056-8d7e-fe7880321ab4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392022"/> + </coding> + <text value="Venlafaxin 1A Pharma 75mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="50"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5bacd1f3-d115-4ccc-9735-c257b0961230"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Art Sellers"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ 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_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.json index 603988a3..fc218539 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "a5e2304c-5f16-4b2c-a30b-51a07e7f2ca6", + "id": "e68db415-5588-4aac-9614-f0fefc8268e1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "84961ff1-a57f-4885-96b0-2382e2dba0b9", + "id": "8e511606-39a6-4964-bcab-894ba6670a68", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/a2798a38-94bc-42de-8fcd-912aeaec12d6" + "reference": "Medication/cbad9daf-8dda-4026-9fed-b5d36d12e829" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/70da82aa-6021-4525-a602-4ec05d4deacf" + "reference": "Organization/4762fe04-86f1-4b01-b4c4-f1ec8572c238" } } ], "whenHandedOver": "2024-07-02T11:55:14+02:00" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a2798a38-94bc-42de-8fcd-912aeaec12d6", + "id": "cbad9daf-8dda-4026-9fed-b5d36d12e829", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "70da82aa-6021-4525-a602-4ec05d4deacf", + "id": "4762fe04-86f1-4b01-b4c4-f1ec8572c238", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Cy Kosis" + "name": "Ray N. Carnation" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.xml index a081bf18..184573f0 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="a5e2304c-5f16-4b2c-a30b-51a07e7f2ca6"/> + <id value="e68db415-5588-4aac-9614-f0fefc8268e1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="84961ff1-a57f-4885-96b0-2382e2dba0b9"/> + <id value="8e511606-39a6-4964-bcab-894ba6670a68"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/a2798a38-94bc-42de-8fcd-912aeaec12d6"/> + <reference value="Medication/cbad9daf-8dda-4026-9fed-b5d36d12e829"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/70da82aa-6021-4525-a602-4ec05d4deacf"/> + <reference value="Organization/4762fe04-86f1-4b01-b4c4-f1ec8572c238"/> </actor> </performer> <whenHandedOver value="2024-07-02T11:55:14+02:00"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a2798a38-94bc-42de-8fcd-912aeaec12d6"/> + <id value="cbad9daf-8dda-4026-9fed-b5d36d12e829"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="70da82aa-6021-4525-a602-4ec05d4deacf"/> + <id value="4762fe04-86f1-4b01-b4c4-f1ec8572c238"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Cy Kosis"/> + <name value="Ray N. Carnation"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/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_null_null/input.xml @@ -0,0 +1,82 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="87f5bbd5-24a1-4e2d-b9d1-afe3957c0e10"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392022"/> + </coding> + <text value="Venlafaxin 1A Pharma 75mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="50"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.776.32"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#87f5bbd5-24a1-4e2d-b9d1-afe3957c0e10"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:55:14+02:00"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/output.json new file mode 100644 index 00000000..e197af5a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "c8184d74-5467-4a2f-afaf-db043e474ece", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.226.436.776.32" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "d621d959-3881-43f8-b340-0ba42937a025", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "null_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/1888f1d4-87f6-4b92-ba92-33d38aac8757" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110474905" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/609b2300-7cc4-41e1-9f32-8586c686c981" + } + } ], + "whenHandedOver": "2024-07-02T11:55:14+02:00" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "1888f1d4-87f6-4b92-ba92-33d38aac8757", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "609b2300-7cc4-41e1-9f32-8586c686c981", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Marcus Absent" + } + } ] + } ] +} \ 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_null_null/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/output.xml new file mode 100644 index 00000000..5ce4e383 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_null_null/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c8184d74-5467-4a2f-afaf-db043e474ece"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.436.776.32"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="d621d959-3881-43f8-b340-0ba42937a025"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="null_160.000.226.436.776.32"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1888f1d4-87f6-4b92-ba92-33d38aac8757"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110474905"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/609b2300-7cc4-41e1-9f32-8586c686c981"/> + </actor> + </performer> + <whenHandedOver value="2024-07-02T11:55:14+02:00"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1888f1d4-87f6-4b92-ba92-33d38aac8757"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392022"/> + </coding> + <text value="Venlafaxin 1A Pharma 75mg"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="50"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="609b2300-7cc4-41e1-9f32-8586c686c981"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Marcus Absent"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.json deleted file mode 100644 index 8b1761cb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "a78f4947-dad3-4baa-8e35-8e0e84d71779", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "part": [ { - "name": "prescriptionId", - "valueIdentifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.033.491.280.78" - } - }, { - "name": "authoredOn", - "valueDate": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "30e28169-b2fc-4dff-995b-5605f2eae3bd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "3465270a-11e7-4bbf-ae53-378f9cc52747_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/a0626371-2215-470b-b672-33faca4eb41b" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X234567890" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/7c466d43-d9f2-4e24-924d-4b9b4a1687c6" - } - } ], - "whenHandedOver": "2022-02-28", - "dosageInstruction": [ { - "text": "1-0-1-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "a0626371-2215-470b-b672-33faca4eb41b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "7c466d43-d9f2-4e24-924d-4b9b4a1687c6", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Phil A. Delphia" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.xml deleted file mode 100644 index 0167271d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/output.xml +++ /dev/null @@ -1,134 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a78f4947-dad3-4baa-8e35-8e0e84d71779"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.033.491.280.78"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="30e28169-b2fc-4dff-995b-5605f2eae3bd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="3465270a-11e7-4bbf-ae53-378f9cc52747_160.000.033.491.280.78"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/a0626371-2215-470b-b672-33faca4eb41b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X234567890"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/7c466d43-d9f2-4e24-924d-4b9b4a1687c6"/> - </actor> - </performer> - <whenHandedOver value="2022-02-28"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a0626371-2215-470b-b672-33faca4eb41b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20 St."/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="7c466d43-d9f2-4e24-924d-4b9b4a1687c6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-abc-1234567890"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Phil A. Delphia"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a/output.json new file mode 100644 index 00000000..2f308a88 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "de38c66a-6bc8-4c9f-aa42-2365874e375c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.033.491.280.78" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f7d9bf85-8051-4e1b-9f8c-2074a4164c5b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "3465270a-11e7-4bbf-ae53-378f9cc52747_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/1df2dcd5-0bc7-4452-bedf-0d9cde03dc6e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X234567890" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ae3110db-9152-4d04-a124-f122a9a13d36" + } + } ], + "whenHandedOver": "2022-02-28", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "1df2dcd5-0bc7-4452-bedf-0d9cde03dc6e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "ae3110db-9152-4d04-a124-f122a9a13d36", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Howe D. Pardner" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a/output.xml new file mode 100644 index 00000000..dea750cb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280_3465270a_3465270a/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="de38c66a-6bc8-4c9f-aa42-2365874e375c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.033.491.280.78"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f7d9bf85-8051-4e1b-9f8c-2074a4164c5b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="3465270a-11e7-4bbf-ae53-378f9cc52747_160.000.033.491.280.78"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1df2dcd5-0bc7-4452-bedf-0d9cde03dc6e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567890"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ae3110db-9152-4d04-a124-f122a9a13d36"/> + </actor> + </performer> + <whenHandedOver value="2022-02-28"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1df2dcd5-0bc7-4452-bedf-0d9cde03dc6e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20 St."/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ae3110db-9152-4d04-a124-f122a9a13d36"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Howe D. Pardner"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.json index 6ee1df38..8f050dac 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "32dfce97-9079-4138-b353-4d77dd1786cd", + "id": "71715d3d-5a05-4fb4-8c91-c599f9f15aac", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "b4305995-667c-417e-8bed-9085c20ac762", + "id": "fbac027f-9fc8-43ea-b2e4-a37aa362413e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/688907d7-a815-4763-946b-ceca01ac59ac" + "reference": "Medication/ab243fa2-7624-4719-8c66-20c6bc5cc618" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/73d6800a-d307-4e24-b3ae-05ba020d689b" + "reference": "Organization/7b84d6a9-3c0c-46e2-8b73-d37251278025" } } ], "whenHandedOver": "2022-02-28", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "688907d7-a815-4763-946b-ceca01ac59ac", + "id": "ab243fa2-7624-4719-8c66-20c6bc5cc618", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -105,7 +105,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "73d6800a-d307-4e24-b3ae-05ba020d689b", + "id": "7b84d6a9-3c0c-46e2-8b73-d37251278025", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -123,7 +123,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Rip Tile" + "name": "Annie Howe" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.xml index 6dc2e4b2..83f82c24 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="32dfce97-9079-4138-b353-4d77dd1786cd"/> + <id value="71715d3d-5a05-4fb4-8c91-c599f9f15aac"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b4305995-667c-417e-8bed-9085c20ac762"/> + <id value="fbac027f-9fc8-43ea-b2e4-a37aa362413e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/688907d7-a815-4763-946b-ceca01ac59ac"/> + <reference value="Medication/ab243fa2-7624-4719-8c66-20c6bc5cc618"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/73d6800a-d307-4e24-b3ae-05ba020d689b"/> + <reference value="Organization/7b84d6a9-3c0c-46e2-8b73-d37251278025"/> </actor> </performer> <whenHandedOver value="2022-02-28"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="688907d7-a815-4763-946b-ceca01ac59ac"/> + <id value="ab243fa2-7624-4719-8c66-20c6bc5cc618"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -108,7 +108,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="73d6800a-d307-4e24-b3ae-05ba020d689b"/> + <id value="7b84d6a9-3c0c-46e2-8b73-d37251278025"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -126,7 +126,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Rip Tile"/> + <name value="Annie Howe"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a/input.xml new file mode 100644 index 00000000..65903f82 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a/input.xml @@ -0,0 +1,86 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="3465270a-11e7-4bbf-ae53-378f9cc52747"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="001413e4-a5e9-48da-9b07-c17bab476407"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="20 St."/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.033.491.280.78"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#001413e4-a5e9-48da-9b07-c17bab476407"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567890"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2022-02-28"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a/output.json new file mode 100644 index 00000000..19c1ee4d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a/output.json @@ -0,0 +1,130 @@ +{ + "resourceType": "Parameters", + "id": "f15de191-6d01-4201-94ed-bebc358b866b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "part": [ { + "name": "prescriptionId", + "valueIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.033.491.280.78" + } + }, { + "name": "authoredOn", + "valueDate": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "fceb2231-88ae-4a60-afba-d981d36339b3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "3465270a-11e7-4bbf-ae53-378f9cc52747_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/0d082f87-58c4-4525-b50a-1ec97abdc797" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X234567890" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e2c800e0-322b-4310-938f-3fdd957d7ee7" + } + } ], + "whenHandedOver": "2022-02-28", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "0d082f87-58c4-4525-b50a-1ec97abdc797", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "e2c800e0-322b-4310-938f-3fdd957d7ee7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Candy Kane" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a/output.xml new file mode 100644 index 00000000..935bdeb7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_3465270a_3465270a/output.xml @@ -0,0 +1,134 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f15de191-6d01-4201-94ed-bebc358b866b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.033.491.280.78"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="fceb2231-88ae-4a60-afba-d981d36339b3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="3465270a-11e7-4bbf-ae53-378f9cc52747_160.000.033.491.280.78"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/0d082f87-58c4-4525-b50a-1ec97abdc797"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567890"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e2c800e0-322b-4310-938f-3fdd957d7ee7"/> + </actor> + </performer> + <whenHandedOver value="2022-02-28"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0d082f87-58c4-4525-b50a-1ec97abdc797"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20 St."/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e2c800e0-322b-4310-938f-3fdd957d7ee7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-abc-1234567890"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Candy Kane"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.json deleted file mode 100644 index 9f8c5318..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "eb11cc2c-fbcd-43f9-b4af-52c17948cb5e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "a4549d97-bd90-439f-8c31-5842947ace62", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "ee46e774-0d9d-4f8a-b108-463d600b955c_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/0a821b76-3aae-460f-bb9f-c3a0c68ae678" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "S040464113" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/5c39797f-147e-4f4a-a992-2049e80ce1f7" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "0a821b76-3aae-460f-bb9f-c3a0c68ae678", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "5c39797f-147e-4f4a-a992-2049e80ce1f7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Morgan U. Canhandle" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.xml deleted file mode 100644 index d1535e60..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="eb11cc2c-fbcd-43f9-b4af-52c17948cb5e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a4549d97-bd90-439f-8c31-5842947ace62"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="ee46e774-0d9d-4f8a-b108-463d600b955c_160.100.000.000.023.70"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/0a821b76-3aae-460f-bb9f-c3a0c68ae678"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/5c39797f-147e-4f4a-a992-2049e80ce1f7"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0a821b76-3aae-460f-bb9f-c3a0c68ae678"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02950964"/> - </coding> - <text value="METFORMIN 850-1A Pharma Filmtabletten 180 Stk"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="180"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="P987654321-8"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5c39797f-147e-4f4a-a992-2049e80ce1f7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Morgan U. Canhandle"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774/output.json new file mode 100644 index 00000000..391f812a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "e4c08d79-20e8-431c-b93f-05d877896dba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0c704298-c05d-47fa-99fb-60c3c99c2b4e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ee46e774-0d9d-4f8a-b108-463d600b955c_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/9da82ffc-06b4-451a-8501-85c06dc5655f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/fab8c37c-b151-4cc7-87eb-5b994478edf3" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "9da82ffc-06b4-451a-8501-85c06dc5655f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "fab8c37c-b151-4cc7-87eb-5b994478edf3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Russell Sprout" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774/output.xml new file mode 100644 index 00000000..607d3367 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5_ee46e774_ee46e774/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e4c08d79-20e8-431c-b93f-05d877896dba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0c704298-c05d-47fa-99fb-60c3c99c2b4e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ee46e774-0d9d-4f8a-b108-463d600b955c_160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/9da82ffc-06b4-451a-8501-85c06dc5655f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/fab8c37c-b151-4cc7-87eb-5b994478edf3"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9da82ffc-06b4-451a-8501-85c06dc5655f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02950964"/> + </coding> + <text value="METFORMIN 850-1A Pharma Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fab8c37c-b151-4cc7-87eb-5b994478edf3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Russell Sprout"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.json deleted file mode 100644 index ab36d164..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "caac626d-87ed-4b48-b5b3-ab2de6ddacd6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "f7738c5f-71da-42d0-9674-570d41f15e15", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "ee46e774-0d9d-4f8a-b108-463d600b955c_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/edc14b95-2e04-46a5-a7a7-504e63fb3593" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "S040464113" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/fba7cc11-0a7b-4570-9f0f-15adaf8b87d0" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "edc14b95-2e04-46a5-a7a7-504e63fb3593", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "fba7cc11-0a7b-4570-9f0f-15adaf8b87d0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Juana Bea" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.xml deleted file mode 100644 index 9bb17186..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="caac626d-87ed-4b48-b5b3-ab2de6ddacd6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="f7738c5f-71da-42d0-9674-570d41f15e15"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="ee46e774-0d9d-4f8a-b108-463d600b955c_160.100.000.000.023.70"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/edc14b95-2e04-46a5-a7a7-504e63fb3593"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/fba7cc11-0a7b-4570-9f0f-15adaf8b87d0"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="edc14b95-2e04-46a5-a7a7-504e63fb3593"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02950964"/> - </coding> - <text value="METFORMIN 850-1A Pharma Filmtabletten 180 Stk"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="180"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="P987654321-8"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="fba7cc11-0a7b-4570-9f0f-15adaf8b87d0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Juana Bea"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774/output.json new file mode 100644 index 00000000..c5f8fb5d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "777fc578-5fd2-41a7-845d-dbe456824e5b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "08524578-5cda-4871-9bcc-0d1b1778e34d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ee46e774-0d9d-4f8a-b108-463d600b955c_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/649e7ab4-ae56-4da9-82b3-175cfad3c487" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a39e8d06-4d37-4ad0-9800-7fae6fcabfbf" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "649e7ab4-ae56-4da9-82b3-175cfad3c487", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "a39e8d06-4d37-4ad0-9800-7fae6fcabfbf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Kinnitt" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774/output.xml new file mode 100644 index 00000000..34a1dcd6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1_ee46e774_ee46e774/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="777fc578-5fd2-41a7-845d-dbe456824e5b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="08524578-5cda-4871-9bcc-0d1b1778e34d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ee46e774-0d9d-4f8a-b108-463d600b955c_160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/649e7ab4-ae56-4da9-82b3-175cfad3c487"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a39e8d06-4d37-4ad0-9800-7fae6fcabfbf"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="649e7ab4-ae56-4da9-82b3-175cfad3c487"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02950964"/> + </coding> + <text value="METFORMIN 850-1A Pharma Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a39e8d06-4d37-4ad0-9800-7fae6fcabfbf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Faye Kinnitt"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.json index e4391622..26f78c7c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "40654837-e707-481c-924f-183bfc89d62b", + "id": "689525df-3b55-4b65-a5a1-1a6e5cc2d1cc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "44ff3f90-a866-4032-b8a3-f3671c7ec1d9", + "id": "d9512b88-777b-40a2-a362-65099c32f7b3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/fa496357-3885-4814-ba6a-fdf5e6c50669" + "reference": "Medication/af4a3013-2693-434d-8897-cf304e9f6016" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/1e657af2-24b8-4da5-9a96-f914259d3990" + "reference": "Organization/fec56966-1e9c-41d3-9213-906749702c3d" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "fa496357-3885-4814-ba6a-fdf5e6c50669", + "id": "af4a3013-2693-434d-8897-cf304e9f6016", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "1e657af2-24b8-4da5-9a96-f914259d3990", + "id": "fec56966-1e9c-41d3-9213-906749702c3d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "I. Lasch" + "name": "Dusty Carr" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.xml index a717e742..e63b2a20 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="40654837-e707-481c-924f-183bfc89d62b"/> + <id value="689525df-3b55-4b65-a5a1-1a6e5cc2d1cc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="44ff3f90-a866-4032-b8a3-f3671c7ec1d9"/> + <id value="d9512b88-777b-40a2-a362-65099c32f7b3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/fa496357-3885-4814-ba6a-fdf5e6c50669"/> + <reference value="Medication/af4a3013-2693-434d-8897-cf304e9f6016"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/1e657af2-24b8-4da5-9a96-f914259d3990"/> + <reference value="Organization/fec56966-1e9c-41d3-9213-906749702c3d"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="fa496357-3885-4814-ba6a-fdf5e6c50669"/> + <id value="af4a3013-2693-434d-8897-cf304e9f6016"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="1e657af2-24b8-4da5-9a96-f914259d3990"/> + <id value="fec56966-1e9c-41d3-9213-906749702c3d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="I. Lasch"/> + <name value="Dusty Carr"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774/input.xml new file mode 100644 index 00000000..9e5c4a28 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ee46e774-0d9d-4f8a-b108-463d600b955c"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="208929ac-7835-4c9f-9051-29055ecd3214"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02950964"/> + </coding> + <text value="METFORMIN 850-1A Pharma Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#208929ac-7835-4c9f-9051-29055ecd3214"/> + <display value="METFORMIN 850-1A Pharma Filmtabletten 180 Stk"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774/output.json new file mode 100644 index 00000000..9fc88a35 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "663f30b8-df1c-4fc9-a629-7f73f08fbe17", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a0e90822-a3a4-4225-b197-7f4a62899f66", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ee46e774-0d9d-4f8a-b108-463d600b955c_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/de63ef7e-cfee-4cbe-bf8a-f6dd26f4ddc2" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5fff8a76-fb17-4d5d-9618-9f5b08cc1d35" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "de63ef7e-cfee-4cbe-bf8a-f6dd26f4ddc2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "5fff8a76-fb17-4d5d-9618-9f5b08cc1d35", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Neucar" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774/output.xml new file mode 100644 index 00000000..bbd5336a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_ee46e774_ee46e774/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="663f30b8-df1c-4fc9-a629-7f73f08fbe17"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a0e90822-a3a4-4225-b197-7f4a62899f66"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ee46e774-0d9d-4f8a-b108-463d600b955c_160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/de63ef7e-cfee-4cbe-bf8a-f6dd26f4ddc2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5fff8a76-fb17-4d5d-9618-9f5b08cc1d35"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="de63ef7e-cfee-4cbe-bf8a-f6dd26f4ddc2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02950964"/> + </coding> + <text value="METFORMIN 850-1A Pharma Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5fff8a76-fb17-4d5d-9618-9f5b08cc1d35"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lisa Neucar"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.json index fdbdc3a7..f8d0476d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "41ac1c9c-fd26-4471-8d70-97a321c69460", + "id": "328219b8-63cb-4731-afc8-7f236a85907d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "d581917c-261f-4f1c-a528-4b56d6a2e859", + "id": "023af886-4ed0-4832-bc86-0d8cc260a71f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/8348cff9-982f-4f1c-bf48-f2bbe26da578" + "reference": "Medication/01f0b95b-4056-46fe-991c-52af5fea688f" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/68e1f39b-b9ac-466c-be20-1565d809d120" + "reference": "Organization/56961a4e-af22-402e-a39a-02a37d71e6d3" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "8348cff9-982f-4f1c-bf48-f2bbe26da578", + "id": "01f0b95b-4056-46fe-991c-52af5fea688f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "68e1f39b-b9ac-466c-be20-1565d809d120", + "id": "56961a4e-af22-402e-a39a-02a37d71e6d3", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Ty Malone" + "name": "Anna Mull" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.xml index a5b4dc6e..41ca1991 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="41ac1c9c-fd26-4471-8d70-97a321c69460"/> + <id value="328219b8-63cb-4731-afc8-7f236a85907d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="d581917c-261f-4f1c-a528-4b56d6a2e859"/> + <id value="023af886-4ed0-4832-bc86-0d8cc260a71f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/8348cff9-982f-4f1c-bf48-f2bbe26da578"/> + <reference value="Medication/01f0b95b-4056-46fe-991c-52af5fea688f"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/68e1f39b-b9ac-466c-be20-1565d809d120"/> + <reference value="Organization/56961a4e-af22-402e-a39a-02a37d71e6d3"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="8348cff9-982f-4f1c-bf48-f2bbe26da578"/> + <id value="01f0b95b-4056-46fe-991c-52af5fea688f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="68e1f39b-b9ac-466c-be20-1565d809d120"/> + <id value="56961a4e-af22-402e-a39a-02a37d71e6d3"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Ty Malone"/> + <name value="Anna Mull"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135_5b829135/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135_5b829135/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135_5b829135/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135_5b829135/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135_5b829135/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135_5b829135/output.json new file mode 100644 index 00000000..c0cb0713 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135_5b829135/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "8b14e2fc-12e8-44de-9892-2bf819107376", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "84afc404-a5fd-4a68-b9b4-3ec5c4125493", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b829135-17d8-4534-9240-3ba68f96829f_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/5301cfc8-aeeb-4310-9477-2454858002ec" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/b8f4da0c-90d2-4323-8f07-6bed1b9ff318" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5301cfc8-aeeb-4310-9477-2454858002ec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "b8f4da0c-90d2-4323-8f07-6bed1b9ff318", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Louise E. Anna" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135_5b829135/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135_5b829135/output.xml new file mode 100644 index 00000000..dc6cdb47 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_5b829135_5b829135/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8b14e2fc-12e8-44de-9892-2bf819107376"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="84afc404-a5fd-4a68-b9b4-3ec5c4125493"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b829135-17d8-4534-9240-3ba68f96829f_160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5301cfc8-aeeb-4310-9477-2454858002ec"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/b8f4da0c-90d2-4323-8f07-6bed1b9ff318"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5301cfc8-aeeb-4310-9477-2454858002ec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08999233"/> + </coding> + <text value="METFORMIN STADA 850 mg Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b8f4da0c-90d2-4323-8f07-6bed1b9ff318"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Louise E. Anna"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/output.json deleted file mode 100644 index 62b2df35..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "762c0b55-71a6-4488-9011-d976305a11f1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "8cb0f497-e0c8-488e-96db-920d93ffefa4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "5b829135-17d8-4534-9240-3ba68f96829f_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/a5119b5c-c3b4-4604-8dae-1b38a85486d3" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "S040464113" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/3d351cf6-d0d7-42c3-a251-88eaa62ab4e6" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "a5119b5c-c3b4-4604-8dae-1b38a85486d3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "3d351cf6-d0d7-42c3-a251-88eaa62ab4e6", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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/FT_V2_MedicationDispense_71a9d48e_5b829135/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/output.xml deleted file mode 100644 index 23832eab..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="762c0b55-71a6-4488-9011-d976305a11f1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="8cb0f497-e0c8-488e-96db-920d93ffefa4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="5b829135-17d8-4534-9240-3ba68f96829f_160.100.000.000.023.70"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/a5119b5c-c3b4-4604-8dae-1b38a85486d3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/3d351cf6-d0d7-42c3-a251-88eaa62ab4e6"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a5119b5c-c3b4-4604-8dae-1b38a85486d3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08999233"/> - </coding> - <text value="METFORMIN STADA 850 mg Filmtabletten 180 Stk"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="180"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="P987654321-8"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3d351cf6-d0d7-42c3-a251-88eaa62ab4e6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Pearl E. Whites"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135/input.xml new file mode 100644 index 00000000..fecbf181 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5b829135-17d8-4534-9240-3ba68f96829f"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2fd1eaa4-364b-4bb2-8247-49fc0c4fb805"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08999233"/> + </coding> + <text value="METFORMIN STADA 850 mg Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#2fd1eaa4-364b-4bb2-8247-49fc0c4fb805"/> + <display value="METFORMIN STADA 850 mg Filmtabletten 180 Stk"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135/output.json new file mode 100644 index 00000000..1bc0c3c3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "fb17e250-1dbd-43fb-ae3f-2c4fb5998fb2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "faf7216c-b4f5-41ce-89c9-6643dacc136a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b829135-17d8-4534-9240-3ba68f96829f_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/5f34ac78-8e35-4697-8602-dc639e097245" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8879480c-cd2d-40f7-8b8a-aedfbf434e68" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5f34ac78-8e35-4697-8602-dc639e097245", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "8879480c-cd2d-40f7-8b8a-aedfbf434e68", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Katy Litter" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135/output.xml new file mode 100644 index 00000000..f8aaf21a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e_5b829135_5b829135/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fb17e250-1dbd-43fb-ae3f-2c4fb5998fb2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="faf7216c-b4f5-41ce-89c9-6643dacc136a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b829135-17d8-4534-9240-3ba68f96829f_160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5f34ac78-8e35-4697-8602-dc639e097245"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8879480c-cd2d-40f7-8b8a-aedfbf434e68"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5f34ac78-8e35-4697-8602-dc639e097245"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08999233"/> + </coding> + <text value="METFORMIN STADA 850 mg Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8879480c-cd2d-40f7-8b8a-aedfbf434e68"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Katy Litter"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.json deleted file mode 100644 index d526c3cc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "d70a73f5-0ed3-4b11-bfbc-ca74dd666697", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "cec633fc-ee49-4b81-9915-b51741610ed2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "5b829135-17d8-4534-9240-3ba68f96829f_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/c48fe8bc-9d84-4220-beeb-b82461c0eaf8" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "S040464113" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/bc57ae34-3b7e-4cc9-ba5f-236fc551c4ce" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "c48fe8bc-9d84-4220-beeb-b82461c0eaf8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "bc57ae34-3b7e-4cc9-ba5f-236fc551c4ce", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.xml deleted file mode 100644 index 951ce1ee..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d70a73f5-0ed3-4b11-bfbc-ca74dd666697"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="cec633fc-ee49-4b81-9915-b51741610ed2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="5b829135-17d8-4534-9240-3ba68f96829f_160.100.000.000.023.70"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/c48fe8bc-9d84-4220-beeb-b82461c0eaf8"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/bc57ae34-3b7e-4cc9-ba5f-236fc551c4ce"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c48fe8bc-9d84-4220-beeb-b82461c0eaf8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08999233"/> - </coding> - <text value="METFORMIN STADA 850 mg Filmtabletten 180 Stk"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="180"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="P987654321-8"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bc57ae34-3b7e-4cc9-ba5f-236fc551c4ce"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Harry R. M. Pitts"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135/output.json new file mode 100644 index 00000000..11647e93 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "5c6d6e4c-d1f2-49c5-9903-0439be3f9ccf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2822a12a-27e7-462f-877f-96c2c340d49d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b829135-17d8-4534-9240-3ba68f96829f_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/7f94c79d-b96e-438e-90ef-5547a51862a5" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ef11dc0d-7993-4cfc-b86d-50888c81951e" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7f94c79d-b96e-438e-90ef-5547a51862a5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "ef11dc0d-7993-4cfc-b86d-50888c81951e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Raney Schauer" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135/output.xml new file mode 100644 index 00000000..3c1adf7b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8_5b829135_5b829135/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5c6d6e4c-d1f2-49c5-9903-0439be3f9ccf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2822a12a-27e7-462f-877f-96c2c340d49d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b829135-17d8-4534-9240-3ba68f96829f_160.100.000.000.023.70"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7f94c79d-b96e-438e-90ef-5547a51862a5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ef11dc0d-7993-4cfc-b86d-50888c81951e"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7f94c79d-b96e-438e-90ef-5547a51862a5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08999233"/> + </coding> + <text value="METFORMIN STADA 850 mg Filmtabletten 180 Stk"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="180"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="P987654321-8"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ef11dc0d-7993-4cfc-b86d-50888c81951e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Raney Schauer"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.json index 7ed09094..7950b9b0 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "9c1534cc-8964-4106-b0ab-71355a76e885", + "id": "9877e758-87f5-4f81-b203-d57f555ec2f6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "dc4b2353-0e1b-4200-a371-e0a518db4f89", + "id": "eb2991cd-b7a0-410f-b99b-9ac0b92bf3bc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/69e71f96-10a0-441d-a72f-ad17214308c2" + "reference": "Medication/2c4518e1-c16c-4203-a0e8-4839a9ee19fb" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/e596dc71-89fa-4c92-b369-2ad395826971" + "reference": "Organization/2bdceb91-8742-4b3f-b752-fea7ee00f087" } } ], "whenHandedOver": "2024-11-27", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "69e71f96-10a0-441d-a72f-ad17214308c2", + "id": "2c4518e1-c16c-4203-a0e8-4839a9ee19fb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e596dc71-89fa-4c92-b369-2ad395826971", + "id": "2bdceb91-8742-4b3f-b752-fea7ee00f087", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -127,7 +127,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Anne Teak" + "name": "Noah Lott" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.xml index 60bdeb6e..4e43736a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="9c1534cc-8964-4106-b0ab-71355a76e885"/> + <id value="9877e758-87f5-4f81-b203-d57f555ec2f6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="dc4b2353-0e1b-4200-a371-e0a518db4f89"/> + <id value="eb2991cd-b7a0-410f-b99b-9ac0b92bf3bc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/69e71f96-10a0-441d-a72f-ad17214308c2"/> + <reference value="Medication/2c4518e1-c16c-4203-a0e8-4839a9ee19fb"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/e596dc71-89fa-4c92-b369-2ad395826971"/> + <reference value="Organization/2bdceb91-8742-4b3f-b752-fea7ee00f087"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="69e71f96-10a0-441d-a72f-ad17214308c2"/> + <id value="2c4518e1-c16c-4203-a0e8-4839a9ee19fb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -112,7 +112,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e596dc71-89fa-4c92-b369-2ad395826971"/> + <id value="2bdceb91-8742-4b3f-b752-fea7ee00f087"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -130,7 +130,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Anne Teak"/> + <name value="Noah Lott"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02/output.json new file mode 100644 index 00000000..118560ae --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "2a6deed6-6d52-48e6-bb38-aab6d56615dc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4e8b4125-4798-49eb-86cb-6fbf8f57375f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "8c020e02-b389-4197-a9fa-b46704501e27_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/7b869a7e-9faa-41a6-b02e-bda3fecaa007" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c93717d9-af5b-496f-b7f0-607fd9f4d4ee" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "3mal täglich dünn auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7b869a7e-9faa-41a6-b02e-bda3fecaa007", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c93717d9-af5b-496f-b7f0-607fd9f4d4ee", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Hein Noon" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02/output.xml new file mode 100644 index 00000000..2eeb3fd4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_8c020e02_8c020e02/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2a6deed6-6d52-48e6-bb38-aab6d56615dc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4e8b4125-4798-49eb-86cb-6fbf8f57375f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="8c020e02-b389-4197-a9fa-b46704501e27_160.100.000.000.008.18"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7b869a7e-9faa-41a6-b02e-bda3fecaa007"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c93717d9-af5b-496f-b7f0-607fd9f4d4ee"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7b869a7e-9faa-41a6-b02e-bda3fecaa007"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10962562"/> + </coding> + <text value="FUSIDINSÄURE-ratiopharm 20 mg/g"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c93717d9-af5b-496f-b7f0-607fd9f4d4ee"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hein Noon"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.json deleted file mode 100644 index 85e49a9e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "861e26b3-d82d-4768-8f08-205e66f904cd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "0b5b7583-42ad-4a86-9723-198051813317", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "8c020e02-b389-4197-a9fa-b46704501e27_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/e8d001d8-26c7-45f7-a849-e58b03f22cd3" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "S040464113" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/c28438e4-7748-43b8-a3d9-e1a64ba4aaa4" - } - } ], - "whenHandedOver": "2024-11-27", - "dosageInstruction": [ { - "text": "3mal täglich dünn auftragen" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "e8d001d8-26c7-45f7-a849-e58b03f22cd3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "c28438e4-7748-43b8-a3d9-e1a64ba4aaa4", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Olive Yew" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.xml deleted file mode 100644 index 60071ff1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="861e26b3-d82d-4768-8f08-205e66f904cd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.008.18"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="0b5b7583-42ad-4a86-9723-198051813317"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="8c020e02-b389-4197-a9fa-b46704501e27_160.100.000.000.008.18"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/e8d001d8-26c7-45f7-a849-e58b03f22cd3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c28438e4-7748-43b8-a3d9-e1a64ba4aaa4"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="3mal täglich dünn auftragen"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e8d001d8-26c7-45f7-a849-e58b03f22cd3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10962562"/> - </coding> - <text value="FUSIDINSÄURE-ratiopharm 20 mg/g"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="CRE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="15"/> - </extension> - <unit value="g"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c28438e4-7748-43b8-a3d9-e1a64ba4aaa4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Olive Yew"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02/input.xml new file mode 100644 index 00000000..c56627da --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8c020e02-b389-4197-a9fa-b46704501e27"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="92b43894-d359-481d-b951-259b7463fdcd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10962562"/> + </coding> + <text value="FUSIDINSÄURE-ratiopharm 20 mg/g"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="15"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#92b43894-d359-481d-b951-259b7463fdcd"/> + <display value="FUSIDINSÄURE-ratiopharm 20 mg/g"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02/output.json new file mode 100644 index 00000000..05609caa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "1b20c00c-7472-478b-8790-96021e6ca4db", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e3b10b0f-f28c-4348-ad7b-834d57f1037f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "8c020e02-b389-4197-a9fa-b46704501e27_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/d8afc8f5-52bd-4fbc-b154-e1742ef54109" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/330c9f30-1c85-4d15-9608-674361557a26" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "3mal täglich dünn auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "d8afc8f5-52bd-4fbc-b154-e1742ef54109", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "330c9f30-1c85-4d15-9608-674361557a26", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Hilda Climb" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02/output.xml new file mode 100644 index 00000000..ab1f9245 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16_8c020e02_8c020e02/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1b20c00c-7472-478b-8790-96021e6ca4db"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e3b10b0f-f28c-4348-ad7b-834d57f1037f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="8c020e02-b389-4197-a9fa-b46704501e27_160.100.000.000.008.18"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/d8afc8f5-52bd-4fbc-b154-e1742ef54109"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/330c9f30-1c85-4d15-9608-674361557a26"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d8afc8f5-52bd-4fbc-b154-e1742ef54109"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10962562"/> + </coding> + <text value="FUSIDINSÄURE-ratiopharm 20 mg/g"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="330c9f30-1c85-4d15-9608-674361557a26"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hilda Climb"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.json deleted file mode 100644 index 9296208f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "f14515e2-9001-4499-8ea6-7af42ed0b8b1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "6c2f775e-c621-4c9b-b622-17a0c1078fd8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "8c020e02-b389-4197-a9fa-b46704501e27_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/490abd9d-a84c-44a5-9e3a-7b9ede4ea436" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "S040464113" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/f68ea646-70c2-42de-919e-b8bfd3432d58" - } - } ], - "whenHandedOver": "2023-07-27", - "dosageInstruction": [ { - "text": "3mal täglich dünn auftragen" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "490abd9d-a84c-44a5-9e3a-7b9ede4ea436", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "f68ea646-70c2-42de-919e-b8bfd3432d58", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Evan Lee Arps" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.xml deleted file mode 100644 index 8b6f1a38..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f14515e2-9001-4499-8ea6-7af42ed0b8b1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.008.18"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="6c2f775e-c621-4c9b-b622-17a0c1078fd8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="8c020e02-b389-4197-a9fa-b46704501e27_160.100.000.000.008.18"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/490abd9d-a84c-44a5-9e3a-7b9ede4ea436"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/f68ea646-70c2-42de-919e-b8bfd3432d58"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="3mal täglich dünn auftragen"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="490abd9d-a84c-44a5-9e3a-7b9ede4ea436"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10962562"/> - </coding> - <text value="FUSIDINSÄURE-ratiopharm 20 mg/g"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="CRE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="15"/> - </extension> - <unit value="g"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f68ea646-70c2-42de-919e-b8bfd3432d58"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Evan Lee Arps"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02/output.json new file mode 100644 index 00000000..74431314 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "18bd4beb-424f-433d-8099-cc7216e8f853", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0a5c24d2-cc82-4cae-8d7d-3d4e1340c6c4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "8c020e02-b389-4197-a9fa-b46704501e27_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/522e61d6-5f4b-4b7b-80c9-3322b43ffa4f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/b4c6c4d8-413d-4597-8c8e-d741c558958e" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "3mal täglich dünn auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "522e61d6-5f4b-4b7b-80c9-3322b43ffa4f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "b4c6c4d8-413d-4597-8c8e-d741c558958e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Lynn Guini" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02/output.xml new file mode 100644 index 00000000..f5d2d960 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90_8c020e02_8c020e02/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="18bd4beb-424f-433d-8099-cc7216e8f853"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0a5c24d2-cc82-4cae-8d7d-3d4e1340c6c4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="8c020e02-b389-4197-a9fa-b46704501e27_160.100.000.000.008.18"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/522e61d6-5f4b-4b7b-80c9-3322b43ffa4f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/b4c6c4d8-413d-4597-8c8e-d741c558958e"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="522e61d6-5f4b-4b7b-80c9-3322b43ffa4f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10962562"/> + </coding> + <text value="FUSIDINSÄURE-ratiopharm 20 mg/g"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b4c6c4d8-413d-4597-8c8e-d741c558958e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Lynn Guini"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.json index 9326d923..958c8246 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "42d91a57-10ce-4b62-ac9e-38d46e9fc01d", + "id": "70bef53b-766e-43ef-8a7a-0c05a4351982", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "491649dc-2576-45ef-ae10-15bf80c4c16e", + "id": "defaa475-c2b3-427b-bb37-f21d1713fda6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/a03aedd9-659f-447a-a83b-12e084e4d1f9" + "reference": "Medication/a0bbbc2d-e2cd-4627-9559-7896c1036f61" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/2ea02d64-51d5-4eef-9710-ec3f01a48c90" + "reference": "Organization/cb498b42-679f-4300-899d-ecac96bbf0ad" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a03aedd9-659f-447a-a83b-12e084e4d1f9", + "id": "a0bbbc2d-e2cd-4627-9559-7896c1036f61", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "2ea02d64-51d5-4eef-9710-ec3f01a48c90", + "id": "cb498b42-679f-4300-899d-ecac96bbf0ad", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Marj Oram" + "name": "Carl Arm" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.xml index e54d008d..599dc7de 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="42d91a57-10ce-4b62-ac9e-38d46e9fc01d"/> + <id value="70bef53b-766e-43ef-8a7a-0c05a4351982"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="491649dc-2576-45ef-ae10-15bf80c4c16e"/> + <id value="defaa475-c2b3-427b-bb37-f21d1713fda6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/a03aedd9-659f-447a-a83b-12e084e4d1f9"/> + <reference value="Medication/a0bbbc2d-e2cd-4627-9559-7896c1036f61"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/2ea02d64-51d5-4eef-9710-ec3f01a48c90"/> + <reference value="Organization/cb498b42-679f-4300-899d-ecac96bbf0ad"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a03aedd9-659f-447a-a83b-12e084e4d1f9"/> + <id value="a0bbbc2d-e2cd-4627-9559-7896c1036f61"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="2ea02d64-51d5-4eef-9710-ec3f01a48c90"/> + <id value="cb498b42-679f-4300-899d-ecac96bbf0ad"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Marj Oram"/> + <name value="Carl Arm"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be/output.json new file mode 100644 index 00000000..88e5492f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "7f5bfdb4-32b0-4e74-8da9-5573faff44f5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e3d0f63f-2853-4d92-ae90-080f75ec4ce8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_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/f2810875-a53a-4690-974d-29f2f82fe2db" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/97aa8293-0908-438b-b3a5-d862b54a6a0c" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f2810875-a53a-4690-974d-29f2f82fe2db", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "organization", + "resource": { + "resourceType": "Organization", + "id": "97aa8293-0908-438b-b3a5-d862b54a6a0c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Art Major" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be/output.xml new file mode 100644 index 00000000..1aa6274e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_5b2f09be_5b2f09be/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7f5bfdb4-32b0-4e74-8da9-5573faff44f5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e3d0f63f-2853-4d92-ae90-080f75ec4ce8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f2810875-a53a-4690-974d-29f2f82fe2db"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/97aa8293-0908-438b-b3a5-d862b54a6a0c"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f2810875-a53a-4690-974d-29f2f82fe2db"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW O KA, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="97aa8293-0908-438b-b3a5-d862b54a6a0c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Art Major"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.json deleted file mode 100644 index 89e76e1c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "bb926685-ff2a-4958-893a-17db13688f86", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "44047bee-1521-4957-a4a0-566649fed38b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_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/83c328f5-3bb6-48e7-999c-ab15efd3e4d4" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/32d28fc8-035b-409f-9df7-f9f5be8ab0a1" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "83c328f5-3bb6-48e7-999c-ab15efd3e4d4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.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": "organization", - "resource": { - "resourceType": "Organization", - "id": "32d28fc8-035b-409f-9df7-f9f5be8ab0a1", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Eddie Bull" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.xml deleted file mode 100644 index d14f8560..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bb926685-ff2a-4958-893a-17db13688f86"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="44047bee-1521-4957-a4a0-566649fed38b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_160.100.000.000.009.15"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/83c328f5-3bb6-48e7-999c-ab15efd3e4d4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/32d28fc8-035b-409f-9df7-f9f5be8ab0a1"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="83c328f5-3bb6-48e7-999c-ab15efd3e4d4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10259495"/> - </coding> - <text value="FSME IMMUN 0.5ML ERW O KA, 1 St"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210123-45678"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="32d28fc8-035b-409f-9df7-f9f5be8ab0a1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Eddie Bull"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be/input.xml new file mode 100644 index 00000000..79b18afc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5b2f09be-9fd8-4fc1-b916-cd86ba5d246c"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8490dde3-2ed0-480d-9cb3-a8937eea6b1e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW O KA, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#8490dde3-2ed0-480d-9cb3-a8937eea6b1e"/> + <display value="FSME IMMUN 0.5ML ERW O KA, 1 St"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be/output.json new file mode 100644 index 00000000..e49c865e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "b38fd64c-1fc5-43bf-ae16-908f1214fcbe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a2d9383c-9ae0-4b92-a1f5-c9acdcd4a1d3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_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/d4c08d38-b8e1-4a88-a061-8718aeeaea25" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/32e9ad94-21c7-4ad5-88b4-cab080c9c141" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "d4c08d38-b8e1-4a88-a061-8718aeeaea25", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "organization", + "resource": { + "resourceType": "Organization", + "id": "32e9ad94-21c7-4ad5-88b4-cab080c9c141", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Katy Litter" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be/output.xml new file mode 100644 index 00000000..ef40b7f0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0_5b2f09be_5b2f09be/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b38fd64c-1fc5-43bf-ae16-908f1214fcbe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a2d9383c-9ae0-4b92-a1f5-c9acdcd4a1d3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/d4c08d38-b8e1-4a88-a061-8718aeeaea25"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/32e9ad94-21c7-4ad5-88b4-cab080c9c141"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d4c08d38-b8e1-4a88-a061-8718aeeaea25"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW O KA, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="32e9ad94-21c7-4ad5-88b4-cab080c9c141"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Katy Litter"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.json deleted file mode 100644 index 4b0d168a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "5d511905-d618-44ac-8fd0-a9889a4850d4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "3f186721-4ab5-4051-bedb-edcfa20c9244", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_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/8cb9d35f-3d42-4310-b624-5b8f6d88a287" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/c62ffb61-9610-4364-bbe2-5170897fa062" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "8cb9d35f-3d42-4310-b624-5b8f6d88a287", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.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": "organization", - "resource": { - "resourceType": "Organization", - "id": "c62ffb61-9610-4364-bbe2-5170897fa062", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Jasmine Flowers" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.xml deleted file mode 100644 index 3361dba2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5d511905-d618-44ac-8fd0-a9889a4850d4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="3f186721-4ab5-4051-bedb-edcfa20c9244"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_160.100.000.000.009.15"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/8cb9d35f-3d42-4310-b624-5b8f6d88a287"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c62ffb61-9610-4364-bbe2-5170897fa062"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8cb9d35f-3d42-4310-b624-5b8f6d88a287"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10259495"/> - </coding> - <text value="FSME IMMUN 0.5ML ERW O KA, 1 St"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210123-45678"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c62ffb61-9610-4364-bbe2-5170897fa062"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Jasmine Flowers"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be/output.json new file mode 100644 index 00000000..89eeeb81 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "949e0554-96d4-44ab-8056-a5f25d464552", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "25bb9218-8e61-4207-81f8-9e206b67f238", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_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/e2385610-4428-4deb-b369-783aeaec869a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c1cbbe46-b747-4920-b3d7-32c20eb776cb" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "e2385610-4428-4deb-b369-783aeaec869a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c1cbbe46-b747-4920-b3d7-32c20eb776cb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bill Lowney" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be/output.xml new file mode 100644 index 00000000..cee61bff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842_5b2f09be_5b2f09be/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="949e0554-96d4-44ab-8056-a5f25d464552"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="25bb9218-8e61-4207-81f8-9e206b67f238"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5b2f09be-9fd8-4fc1-b916-cd86ba5d246c_160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e2385610-4428-4deb-b369-783aeaec869a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c1cbbe46-b747-4920-b3d7-32c20eb776cb"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e2385610-4428-4deb-b369-783aeaec869a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW O KA, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c1cbbe46-b747-4920-b3d7-32c20eb776cb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bill Lowney"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.json deleted file mode 100644 index 2a6ef77d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "5eb8b305-494f-40be-a1cc-20ded8ab3477", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "aef2f51f-6699-499a-9796-cace2a55cdc2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_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/047758b7-6f11-41c0-9722-80116a430477" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/be335d2c-9de4-4231-8f87-8a86b42e76a7" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "047758b7-6f11-41c0-9722-80116a430477", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.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": "organization", - "resource": { - "resourceType": "Organization", - "id": "be335d2c-9de4-4231-8f87-8a86b42e76a7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Cody Pendant" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.xml deleted file mode 100644 index 3b8819ae..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5eb8b305-494f-40be-a1cc-20ded8ab3477"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="aef2f51f-6699-499a-9796-cace2a55cdc2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_160.100.000.000.009.15"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/047758b7-6f11-41c0-9722-80116a430477"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/be335d2c-9de4-4231-8f87-8a86b42e76a7"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="047758b7-6f11-41c0-9722-80116a430477"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="11011981"/> - </coding> - <text value="FSME IMMUN 0.5ML ERW, 1 St"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210123-45678"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="be335d2c-9de4-4231-8f87-8a86b42e76a7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Cody Pendant"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8/output.json new file mode 100644 index 00000000..7594ee4c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "238c37de-84d2-44f4-b9a5-fa1327d9b637", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b8b8c874-af36-4701-b389-96039927121b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_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/5f6c340c-74ee-4f3e-a8fb-f845bdd0e257" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a78e9bc7-4af5-4206-889e-24cb7d14ce36" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5f6c340c-74ee-4f3e-a8fb-f845bdd0e257", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "organization", + "resource": { + "resourceType": "Organization", + "id": "a78e9bc7-4af5-4206-889e-24cb7d14ce36", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Hy Ball" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8/output.xml new file mode 100644 index 00000000..966fb21a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9_504e3bb8_504e3bb8/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="238c37de-84d2-44f4-b9a5-fa1327d9b637"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b8b8c874-af36-4701-b389-96039927121b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5f6c340c-74ee-4f3e-a8fb-f845bdd0e257"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a78e9bc7-4af5-4206-889e-24cb7d14ce36"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5f6c340c-74ee-4f3e-a8fb-f845bdd0e257"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11011981"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a78e9bc7-4af5-4206-889e-24cb7d14ce36"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hy Ball"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.json index 7ebf093a..a95bbe2c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "92738f92-0197-406f-8e23-6288f64a4d7d", + "id": "83fa90f8-a688-4f56-9f1e-3273a317795a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "a5f4e1ab-978d-44ca-b92f-405f42585e3f", + "id": "eb68e2e4-f708-4877-be8c-3c11d6f166ab", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/474b00b8-2be2-45ed-9223-23878b3c274f" + "reference": "Medication/560a2add-2c29-4370-ab16-543f16656523" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/f393fcc4-1467-4914-a029-428f3a09a004" + "reference": "Organization/c7af36af-1450-40f8-bb84-2f35083a585a" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "474b00b8-2be2-45ed-9223-23878b3c274f", + "id": "560a2add-2c29-4370-ab16-543f16656523", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f393fcc4-1467-4914-a029-428f3a09a004", + "id": "c7af36af-1450-40f8-bb84-2f35083a585a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Justin Thyme" + "name": "Polly Ester" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.xml index 4e843a0a..3399f5de 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="92738f92-0197-406f-8e23-6288f64a4d7d"/> + <id value="83fa90f8-a688-4f56-9f1e-3273a317795a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a5f4e1ab-978d-44ca-b92f-405f42585e3f"/> + <id value="eb68e2e4-f708-4877-be8c-3c11d6f166ab"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/474b00b8-2be2-45ed-9223-23878b3c274f"/> + <reference value="Medication/560a2add-2c29-4370-ab16-543f16656523"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/f393fcc4-1467-4914-a029-428f3a09a004"/> + <reference value="Organization/c7af36af-1450-40f8-bb84-2f35083a585a"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="474b00b8-2be2-45ed-9223-23878b3c274f"/> + <id value="560a2add-2c29-4370-ab16-543f16656523"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f393fcc4-1467-4914-a029-428f3a09a004"/> + <id value="c7af36af-1450-40f8-bb84-2f35083a585a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Justin Thyme"/> + <name value="Polly Ester"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8/output.json new file mode 100644 index 00000000..2671fde8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "07f9bea1-2663-481b-8257-de93e0f198b2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "564592a9-2ab8-441b-9e53-9f9baf916a09", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_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/53f47283-7699-47ed-93eb-e24789c96a66" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/991609fc-5b83-4147-86eb-1cb05668a2fb" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "53f47283-7699-47ed-93eb-e24789c96a66", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "organization", + "resource": { + "resourceType": "Organization", + "id": "991609fc-5b83-4147-86eb-1cb05668a2fb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8/output.xml new file mode 100644 index 00000000..d2e9fd98 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_504e3bb8_504e3bb8/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="07f9bea1-2663-481b-8257-de93e0f198b2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="564592a9-2ab8-441b-9e53-9f9baf916a09"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/53f47283-7699-47ed-93eb-e24789c96a66"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/991609fc-5b83-4147-86eb-1cb05668a2fb"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="53f47283-7699-47ed-93eb-e24789c96a66"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11011981"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="991609fc-5b83-4147-86eb-1cb05668a2fb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Liz Onnia"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.json deleted file mode 100644 index c0c3a0bc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "c2d5b6f0-e266-463a-a7da-ede63204ccb1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "1bdf6f50-b943-41c3-bcc0-3cd7577554d3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_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/4cef83cf-7166-4f64-9bb1-f83ca0c118a9" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/4707822a-9e84-489c-9e69-a4a8db92737e" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "4cef83cf-7166-4f64-9bb1-f83ca0c118a9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.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": "organization", - "resource": { - "resourceType": "Organization", - "id": "4707822a-9e84-489c-9e69-a4a8db92737e", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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 Kaholic" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.xml deleted file mode 100644 index 0cbf1777..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c2d5b6f0-e266-463a-a7da-ede63204ccb1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1bdf6f50-b943-41c3-bcc0-3cd7577554d3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_160.100.000.000.009.15"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/4cef83cf-7166-4f64-9bb1-f83ca0c118a9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/4707822a-9e84-489c-9e69-a4a8db92737e"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4cef83cf-7166-4f64-9bb1-f83ca0c118a9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="11011981"/> - </coding> - <text value="FSME IMMUN 0.5ML ERW, 1 St"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210123-45678"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4707822a-9e84-489c-9e69-a4a8db92737e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Al Kaholic"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8/input.xml new file mode 100644 index 00000000..0d9fc21d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="504e3bb8-6e78-4cdc-9a67-fa67f0ade97e"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5a009cbb-dca9-4dad-b92b-8f9601ee0d31"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11011981"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5a009cbb-dca9-4dad-b92b-8f9601ee0d31"/> + <display value="FSME IMMUN 0.5ML ERW, 1 St"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8/output.json new file mode 100644 index 00000000..0edb837e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "ca5d3876-c799-4249-8b5f-87dcf819837d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "fbef6502-62d9-461b-ab69-6d3b4f4c1556", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_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/fcbe7bbf-1be1-430c-8b89-72a4aa8c34d4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0d736840-8054-4158-b92b-bf61acc48447" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "fcbe7bbf-1be1-430c-8b89-72a4aa8c34d4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0d736840-8054-4158-b92b-bf61acc48447", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Chris P. Wheatzenraisins" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8/output.xml new file mode 100644 index 00000000..f7d6f091 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807_504e3bb8_504e3bb8/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ca5d3876-c799-4249-8b5f-87dcf819837d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="fbef6502-62d9-461b-ab69-6d3b4f4c1556"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="504e3bb8-6e78-4cdc-9a67-fa67f0ade97e_160.100.000.000.009.15"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/fcbe7bbf-1be1-430c-8b89-72a4aa8c34d4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0d736840-8054-4158-b92b-bf61acc48447"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fcbe7bbf-1be1-430c-8b89-72a4aa8c34d4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11011981"/> + </coding> + <text value="FSME IMMUN 0.5ML ERW, 1 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210123-45678"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0d736840-8054-4158-b92b-bf61acc48447"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Chris P. Wheatzenraisins"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.json deleted file mode 100644 index ea9d3fb5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "16b97b46-9b7d-4b8b-96a9-d67c502ce750", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "215455ba-41c1-469f-95bd-afe20717153f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_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/4f9862fa-bfbc-4bd6-8395-aa832d2540cc" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220645122" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/7ac2a494-cf5e-490c-93e0-e9b2e39c199c" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "4f9862fa-bfbc-4bd6-8395-aa832d2540cc", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "7ac2a494-cf5e-490c-93e0-e9b2e39c199c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Mel Function" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.xml deleted file mode 100644 index 53589704..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="16b97b46-9b7d-4b8b-96a9-d67c502ce750"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="215455ba-41c1-469f-95bd-afe20717153f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_160.100.000.000.013.03"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/4f9862fa-bfbc-4bd6-8395-aa832d2540cc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/7ac2a494-cf5e-490c-93e0-e9b2e39c199c"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4f9862fa-bfbc-4bd6-8395-aa832d2540cc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16332684"/> - </coding> - <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210-78"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="7ac2a494-cf5e-490c-93e0-e9b2e39c199c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Mel Function"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b/output.json new file mode 100644 index 00000000..10e48397 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "f5766666-556f-4958-8fdb-1d810242e118", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ef3db9fe-a2c4-4ace-9bab-393e7b535eb4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_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/2d04bdc4-aae2-464f-8b2f-915ae0510da4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/22dccb71-388f-4c0f-b946-c5f31059e62e" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2d04bdc4-aae2-464f-8b2f-915ae0510da4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "22dccb71-388f-4c0f-b946-c5f31059e62e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Trina Forest" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b/output.xml new file mode 100644 index 00000000..65b5df8f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413_6dc2ec9b_6dc2ec9b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f5766666-556f-4958-8fdb-1d810242e118"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ef3db9fe-a2c4-4ace-9bab-393e7b535eb4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2d04bdc4-aae2-464f-8b2f-915ae0510da4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/22dccb71-388f-4c0f-b946-c5f31059e62e"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2d04bdc4-aae2-464f-8b2f-915ae0510da4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="22dccb71-388f-4c0f-b946-c5f31059e62e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Trina Forest"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.json index 831cc848..3a31ff35 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "78bfbc7f-4046-4be9-964b-92164a1f73fd", + "id": "99271050-af3d-4747-be81-13f72feff53d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "98752a3c-90e1-4f0a-a421-75ccb01ca3b8", + "id": "69152b2e-a1f7-46ec-a239-ab4ea97a982a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/018e647e-04d5-4c53-9169-a716db4075f2" + "reference": "Medication/80e50248-9998-4c8f-8d00-9129acb699c6" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/9ab748f9-b85c-42d9-9d17-d2ec216c3ccc" + "reference": "Organization/578401f6-84cf-4fd0-91eb-4bf9091290b7" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "018e647e-04d5-4c53-9169-a716db4075f2", + "id": "80e50248-9998-4c8f-8d00-9129acb699c6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "9ab748f9-b85c-42d9-9d17-d2ec216c3ccc", + "id": "578401f6-84cf-4fd0-91eb-4bf9091290b7", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Bill Lowney" + "name": "Eddie Bull" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.xml index de3545ff..347695aa 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="78bfbc7f-4046-4be9-964b-92164a1f73fd"/> + <id value="99271050-af3d-4747-be81-13f72feff53d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="98752a3c-90e1-4f0a-a421-75ccb01ca3b8"/> + <id value="69152b2e-a1f7-46ec-a239-ab4ea97a982a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/018e647e-04d5-4c53-9169-a716db4075f2"/> + <reference value="Medication/80e50248-9998-4c8f-8d00-9129acb699c6"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/9ab748f9-b85c-42d9-9d17-d2ec216c3ccc"/> + <reference value="Organization/578401f6-84cf-4fd0-91eb-4bf9091290b7"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="018e647e-04d5-4c53-9169-a716db4075f2"/> + <id value="80e50248-9998-4c8f-8d00-9129acb699c6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="9ab748f9-b85c-42d9-9d17-d2ec216c3ccc"/> + <id value="578401f6-84cf-4fd0-91eb-4bf9091290b7"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Bill Lowney"/> + <name value="Eddie Bull"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b/input.xml new file mode 100644 index 00000000..dc56f034 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5e234315-55f1-4d06-93ca-943d20097d37"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5e234315-55f1-4d06-93ca-943d20097d37"/> + <display value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b/output.json new file mode 100644 index 00000000..b78c5abf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "a7da74f9-98bb-41ec-9185-5eb84f14125a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "fa92e430-feae-439d-ac5a-0ad57e8497e2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_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/b88e934b-9eb3-4da9-8cb2-58db101bfc93" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c33978c8-9969-42c7-9bf7-c0af928ebf06" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b88e934b-9eb3-4da9-8cb2-58db101bfc93", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c33978c8-9969-42c7-9bf7-c0af928ebf06", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b/output.xml new file mode 100644 index 00000000..cc23683b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_6dc2ec9b_6dc2ec9b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a7da74f9-98bb-41ec-9185-5eb84f14125a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="fa92e430-feae-439d-ac5a-0ad57e8497e2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b88e934b-9eb3-4da9-8cb2-58db101bfc93"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c33978c8-9969-42c7-9bf7-c0af928ebf06"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b88e934b-9eb3-4da9-8cb2-58db101bfc93"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c33978c8-9969-42c7-9bf7-c0af928ebf06"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Haywood Jashootmee"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.json deleted file mode 100644 index 1dad4a63..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "df4697e2-d345-420f-9d2b-1a21354107f7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "07d62051-fee3-44cb-9851-8a3bb7331399", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_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/de17cce7-85f4-4a08-b0af-29982a6d8245" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220645122" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/6355f4d0-c0fa-4661-84b9-e646e3daf932" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "de17cce7-85f4-4a08-b0af-29982a6d8245", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "6355f4d0-c0fa-4661-84b9-e646e3daf932", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Miss Alanius" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.xml deleted file mode 100644 index 76c068fc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="df4697e2-d345-420f-9d2b-1a21354107f7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="07d62051-fee3-44cb-9851-8a3bb7331399"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_160.100.000.000.013.03"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/de17cce7-85f4-4a08-b0af-29982a6d8245"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/6355f4d0-c0fa-4661-84b9-e646e3daf932"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="de17cce7-85f4-4a08-b0af-29982a6d8245"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16332684"/> - </coding> - <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210-78"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6355f4d0-c0fa-4661-84b9-e646e3daf932"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Miss Alanius"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b/output.json new file mode 100644 index 00000000..91b7f8ea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "5270255e-1fa6-41c8-9cea-e19e84c97fb6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2c06a1a6-228e-4287-a26d-e221bf72ea1e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_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/382174e1-c4a9-41f3-9695-39489406936e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/878fc264-881a-43cf-b014-93aef8f9da36" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "382174e1-c4a9-41f3-9695-39489406936e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "878fc264-881a-43cf-b014-93aef8f9da36", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Tommy Hawk" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b/output.xml new file mode 100644 index 00000000..84d52f7a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7_6dc2ec9b_6dc2ec9b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5270255e-1fa6-41c8-9cea-e19e84c97fb6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2c06a1a6-228e-4287-a26d-e221bf72ea1e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="6dc2ec9b-a15b-4b96-aa33-1ad231e2a1d3_160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/382174e1-c4a9-41f3-9695-39489406936e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/878fc264-881a-43cf-b014-93aef8f9da36"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="382174e1-c4a9-41f3-9695-39489406936e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="878fc264-881a-43cf-b014-93aef8f9da36"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Tommy Hawk"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.json index 554a246f..7f82f836 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "99afdd26-9ead-4f26-bbe5-a8cdc7147114", + "id": "3336987e-a56c-41c9-b706-e9d446dc00fc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "23d7ca88-5638-4f92-a4a9-f65e19ffcd1c", + "id": "d8c4bf7d-4adc-4f5c-b452-25668a4d855f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/0f53b6e9-79f3-4049-a0d3-761f7c0f9a17" + "reference": "Medication/94469f79-c0ae-4e9c-97b5-2f79966ea06a" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/be3708ea-ae6f-41f2-81b0-71fe8e015222" + "reference": "Organization/adc5fcc5-750f-49bd-9f42-2892b4e0052c" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "0f53b6e9-79f3-4049-a0d3-761f7c0f9a17", + "id": "94469f79-c0ae-4e9c-97b5-2f79966ea06a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "be3708ea-ae6f-41f2-81b0-71fe8e015222", + "id": "adc5fcc5-750f-49bd-9f42-2892b4e0052c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Jim Sox" + "name": "Misty C. Shore" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.xml index a54b7343..c216a835 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="99afdd26-9ead-4f26-bbe5-a8cdc7147114"/> + <id value="3336987e-a56c-41c9-b706-e9d446dc00fc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="23d7ca88-5638-4f92-a4a9-f65e19ffcd1c"/> + <id value="d8c4bf7d-4adc-4f5c-b452-25668a4d855f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/0f53b6e9-79f3-4049-a0d3-761f7c0f9a17"/> + <reference value="Medication/94469f79-c0ae-4e9c-97b5-2f79966ea06a"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/be3708ea-ae6f-41f2-81b0-71fe8e015222"/> + <reference value="Organization/adc5fcc5-750f-49bd-9f42-2892b4e0052c"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="0f53b6e9-79f3-4049-a0d3-761f7c0f9a17"/> + <id value="94469f79-c0ae-4e9c-97b5-2f79966ea06a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="be3708ea-ae6f-41f2-81b0-71fe8e015222"/> + <id value="adc5fcc5-750f-49bd-9f42-2892b4e0052c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Jim Sox"/> + <name value="Misty C. Shore"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b_22871e5b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b_22871e5b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b_22871e5b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b_22871e5b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b_22871e5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b_22871e5b/output.json new file mode 100644 index 00000000..f9eb7437 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b_22871e5b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "8d236ac2-553d-455c-b6b3-95a4982cfe34", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2a4861f5-6db2-481a-a0e4-a41d1cb703b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "22871e5b-7404-43b9-ac6f-a1addd635931_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/c7dce80f-b82b-486e-8cd5-b66c4360a636" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/320c2cd9-bee5-489e-93e9-71e63169358a" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "c7dce80f-b82b-486e-8cd5-b66c4360a636", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "320c2cd9-bee5-489e-93e9-71e63169358a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Case" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b_22871e5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b_22871e5b/output.xml new file mode 100644 index 00000000..1cf093ac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_22871e5b_22871e5b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8d236ac2-553d-455c-b6b3-95a4982cfe34"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2a4861f5-6db2-481a-a0e4-a41d1cb703b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="22871e5b-7404-43b9-ac6f-a1addd635931_160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/c7dce80f-b82b-486e-8cd5-b66c4360a636"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/320c2cd9-bee5-489e-93e9-71e63169358a"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c7dce80f-b82b-486e-8cd5-b66c4360a636"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16938263"/> + </coding> + <text value="GONAL-f 150 I.E./0,25 ml Inj.Lsg."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="320c2cd9-bee5-489e-93e9-71e63169358a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Justin Case"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.json deleted file mode 100644 index 76d906e0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "b6ebb6f4-9be3-4803-8bc5-83f6049b6124", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "4a95d952-4345-447e-8938-416f62a90650", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "22871e5b-7404-43b9-ac6f-a1addd635931_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/47c5201b-ffc9-4883-ab47-324f341a20ac" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220645122" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/d8625456-76d7-4752-99f2-4d468affd6be" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "47c5201b-ffc9-4883-ab47-324f341a20ac", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "d8625456-76d7-4752-99f2-4d468affd6be", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Joaquin DeFlores" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.xml deleted file mode 100644 index 3cecdf8b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b6ebb6f4-9be3-4803-8bc5-83f6049b6124"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="4a95d952-4345-447e-8938-416f62a90650"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="22871e5b-7404-43b9-ac6f-a1addd635931_160.100.000.000.013.03"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/47c5201b-ffc9-4883-ab47-324f341a20ac"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/d8625456-76d7-4752-99f2-4d468affd6be"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="47c5201b-ffc9-4883-ab47-324f341a20ac"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16938263"/> - </coding> - <text value="GONAL-f 150 I.E./0,25 ml Inj.Lsg."/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210-78"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d8625456-76d7-4752-99f2-4d468affd6be"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Joaquin DeFlores"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b/input.xml new file mode 100644 index 00000000..1d845070 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="22871e5b-7404-43b9-ac6f-a1addd635931"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3cf35263-531b-4fe5-8282-858c3c3a35c4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16938263"/> + </coding> + <text value="GONAL-f 150 I.E./0,25 ml Inj.Lsg."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#3cf35263-531b-4fe5-8282-858c3c3a35c4"/> + <display value="GONAL-f 150 I.E./0,25 ml Inj.Lsg."/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b/output.json new file mode 100644 index 00000000..b99e0a62 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "83c1900f-4223-4e85-8da9-f350e16f2db7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9eeff2bd-31cc-4410-9525-10edd51fa8eb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "22871e5b-7404-43b9-ac6f-a1addd635931_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/6735decd-1433-4c38-8e8b-acc507618773" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8d7a7bad-82d3-48e0-a7c3-63ec4b6aadce" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "6735decd-1433-4c38-8e8b-acc507618773", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "8d7a7bad-82d3-48e0-a7c3-63ec4b6aadce", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Sam Pull" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b/output.xml new file mode 100644 index 00000000..725d8735 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e_22871e5b_22871e5b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="83c1900f-4223-4e85-8da9-f350e16f2db7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9eeff2bd-31cc-4410-9525-10edd51fa8eb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="22871e5b-7404-43b9-ac6f-a1addd635931_160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/6735decd-1433-4c38-8e8b-acc507618773"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8d7a7bad-82d3-48e0-a7c3-63ec4b6aadce"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6735decd-1433-4c38-8e8b-acc507618773"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16938263"/> + </coding> + <text value="GONAL-f 150 I.E./0,25 ml Inj.Lsg."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8d7a7bad-82d3-48e0-a7c3-63ec4b6aadce"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sam Pull"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.json deleted file mode 100644 index c4305180..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "5454d819-e616-4a23-954f-38a0227a43b7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "5a4634bd-c746-4f8d-a3da-c2e93a5e7afd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "22871e5b-7404-43b9-ac6f-a1addd635931_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/5e6d7c60-b69f-4880-972a-10ffac21d012" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220645122" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/4e405f0a-f7eb-461f-867c-8e5e0c19d217" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "5e6d7c60-b69f-4880-972a-10ffac21d012", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "4e405f0a-f7eb-461f-867c-8e5e0c19d217", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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 North" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.xml deleted file mode 100644 index 891b0355..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5454d819-e616-4a23-954f-38a0227a43b7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5a4634bd-c746-4f8d-a3da-c2e93a5e7afd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="22871e5b-7404-43b9-ac6f-a1addd635931_160.100.000.000.013.03"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/5e6d7c60-b69f-4880-972a-10ffac21d012"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/4e405f0a-f7eb-461f-867c-8e5e0c19d217"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5e6d7c60-b69f-4880-972a-10ffac21d012"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16938263"/> - </coding> - <text value="GONAL-f 150 I.E./0,25 ml Inj.Lsg."/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A9876543210-78"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4e405f0a-f7eb-461f-867c-8e5e0c19d217"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ilene North"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b/output.json new file mode 100644 index 00000000..6c744a87 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "4072f0c0-ab84-4412-92c6-a1ecb5f3d262", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "30324786-2c79-4507-ab41-16007260f229", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "22871e5b-7404-43b9-ac6f-a1addd635931_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/f5eb3559-46ed-4b8e-bdbd-6e2f967b948b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/116896e7-818a-46ca-a535-ea0799558e5a" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f5eb3559-46ed-4b8e-bdbd-6e2f967b948b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "116896e7-818a-46ca-a535-ea0799558e5a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Juan Nightstand" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b/output.xml new file mode 100644 index 00000000..a222b0b9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e_22871e5b_22871e5b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4072f0c0-ab84-4412-92c6-a1ecb5f3d262"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="30324786-2c79-4507-ab41-16007260f229"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="22871e5b-7404-43b9-ac6f-a1addd635931_160.100.000.000.013.03"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f5eb3559-46ed-4b8e-bdbd-6e2f967b948b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/116896e7-818a-46ca-a535-ea0799558e5a"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f5eb3559-46ed-4b8e-bdbd-6e2f967b948b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16938263"/> + </coding> + <text value="GONAL-f 150 I.E./0,25 ml Inj.Lsg."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A9876543210-78"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="116896e7-818a-46ca-a535-ea0799558e5a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Juan Nightstand"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.json index 8a641850..3a8209e5 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "791f5f6d-56a2-40d4-baa4-95d0289bc0b7", + "id": "20917fd6-f23e-4428-b2bf-063737bb3623", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "623da2f4-fc65-40b4-93ce-7d33c0a97170", + "id": "7d95ff2c-25e6-4691-9ed7-8fca53cb2fdb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/7b245c64-c28c-43f9-abc5-1cdbfbfcdb62" + "reference": "Medication/79586798-2c89-4a9d-a2ac-e4857c836369" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/510d97b9-1ba8-4b18-8428-b921b96c4f9d" + "reference": "Organization/29e614fe-5bd9-475f-9599-33cc24b9fb68" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "7b245c64-c28c-43f9-abc5-1cdbfbfcdb62", + "id": "79586798-2c89-4a9d-a2ac-e4857c836369", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "510d97b9-1ba8-4b18-8428-b921b96c4f9d", + "id": "29e614fe-5bd9-475f-9599-33cc24b9fb68", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Simon Swindells" + "name": "Billy Rubin" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.xml index cf8cdd55..9d8c5b1d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="791f5f6d-56a2-40d4-baa4-95d0289bc0b7"/> + <id value="20917fd6-f23e-4428-b2bf-063737bb3623"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="623da2f4-fc65-40b4-93ce-7d33c0a97170"/> + <id value="7d95ff2c-25e6-4691-9ed7-8fca53cb2fdb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/7b245c64-c28c-43f9-abc5-1cdbfbfcdb62"/> + <reference value="Medication/79586798-2c89-4a9d-a2ac-e4857c836369"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/510d97b9-1ba8-4b18-8428-b921b96c4f9d"/> + <reference value="Organization/29e614fe-5bd9-475f-9599-33cc24b9fb68"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="7b245c64-c28c-43f9-abc5-1cdbfbfcdb62"/> + <id value="79586798-2c89-4a9d-a2ac-e4857c836369"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="510d97b9-1ba8-4b18-8428-b921b96c4f9d"/> + <id value="29e614fe-5bd9-475f-9599-33cc24b9fb68"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Simon Swindells"/> + <name value="Billy Rubin"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79_999bde79/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79_999bde79/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79_999bde79/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79_999bde79/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79_999bde79/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79_999bde79/output.json new file mode 100644 index 00000000..0ce490a1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79_999bde79/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "11fe98f9-da45-4645-a49c-b37941c5c59a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9c844dd3-f914-4c08-9ac8-9198d3268f1a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "999bde79-4aba-4b15-9615-c4adf57f0008_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/2b9dda36-6450-42fd-916d-9f91813e7b7c" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/7f75c979-9b28-48ae-832f-277ca5820ffd" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2b9dda36-6450-42fd-916d-9f91813e7b7c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "7f75c979-9b28-48ae-832f-277ca5820ffd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 West" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79_999bde79/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79_999bde79/output.xml new file mode 100644 index 00000000..9a7cfdf3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_999bde79_999bde79/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="11fe98f9-da45-4645-a49c-b37941c5c59a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9c844dd3-f914-4c08-9ac8-9198d3268f1a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="999bde79-4aba-4b15-9615-c4adf57f0008_160.100.000.000.010.12"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2b9dda36-6450-42fd-916d-9f91813e7b7c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/7f75c979-9b28-48ae-832f-277ca5820ffd"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2b9dda36-6450-42fd-916d-9f91813e7b7c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7f75c979-9b28-48ae-832f-277ca5820ffd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ilene West"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.json deleted file mode 100644 index 3ebe8783..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "86bc1eb0-2674-4732-88a0-f3e49d07a02d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "b3ca0fd3-6f5f-48fa-b826-57ea9b9097a9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "999bde79-4aba-4b15-9615-c4adf57f0008_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/6b5d7bc6-3d81-4a17-a8b2-0986db6c90cd" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/b59ce923-55ca-40eb-befb-390d96889df0" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "6b5d7bc6-3d81-4a17-a8b2-0986db6c90cd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "b59ce923-55ca-40eb-befb-390d96889df0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Sheri Cola" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.xml deleted file mode 100644 index 6d377529..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="86bc1eb0-2674-4732-88a0-f3e49d07a02d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.010.12"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b3ca0fd3-6f5f-48fa-b826-57ea9b9097a9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="999bde79-4aba-4b15-9615-c4adf57f0008_160.100.000.000.010.12"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/6b5d7bc6-3d81-4a17-a8b2-0986db6c90cd"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/b59ce923-55ca-40eb-befb-390d96889df0"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6b5d7bc6-3d81-4a17-a8b2-0986db6c90cd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b59ce923-55ca-40eb-befb-390d96889df0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Sheri Cola"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79/output.json new file mode 100644 index 00000000..913a9075 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "3bfc936f-4c10-4fcb-8fc8-fc21fc33ef07", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e1d6713a-5c72-4b9b-b6f2-17753124831f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "999bde79-4aba-4b15-9615-c4adf57f0008_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/bb587f45-a6df-44f2-8107-d2e2138ad2a6" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/15f241d9-fc08-493e-aa71-b07e6f55299d" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bb587f45-a6df-44f2-8107-d2e2138ad2a6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "15f241d9-fc08-493e-aa71-b07e6f55299d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Cal Efornia" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79/output.xml new file mode 100644 index 00000000..59e5e38d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd_999bde79_999bde79/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3bfc936f-4c10-4fcb-8fc8-fc21fc33ef07"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e1d6713a-5c72-4b9b-b6f2-17753124831f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="999bde79-4aba-4b15-9615-c4adf57f0008_160.100.000.000.010.12"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bb587f45-a6df-44f2-8107-d2e2138ad2a6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/15f241d9-fc08-493e-aa71-b07e6f55299d"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bb587f45-a6df-44f2-8107-d2e2138ad2a6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="15f241d9-fc08-493e-aa71-b07e6f55299d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Cal Efornia"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.json deleted file mode 100644 index cd04e8e6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "5a4f1cd8-4926-44ab-bf40-348a6263cf91", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "d70f3fda-582d-42d3-bf25-e49c11e6874e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "999bde79-4aba-4b15-9615-c4adf57f0008_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/835d57d8-c189-4e3d-ac7d-477654ea9563" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/efddc1b5-2b25-4873-9918-a6e096fa1c24" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "835d57d8-c189-4e3d-ac7d-477654ea9563", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "efddc1b5-2b25-4873-9918-a6e096fa1c24", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Telly Vision" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.xml deleted file mode 100644 index 8ed30b4d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5a4f1cd8-4926-44ab-bf40-348a6263cf91"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.010.12"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="d70f3fda-582d-42d3-bf25-e49c11e6874e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="999bde79-4aba-4b15-9615-c4adf57f0008_160.100.000.000.010.12"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/835d57d8-c189-4e3d-ac7d-477654ea9563"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/efddc1b5-2b25-4873-9918-a6e096fa1c24"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="835d57d8-c189-4e3d-ac7d-477654ea9563"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="efddc1b5-2b25-4873-9918-a6e096fa1c24"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Telly Vision"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79/input.xml new file mode 100644 index 00000000..fe68dd7e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="999bde79-4aba-4b15-9615-c4adf57f0008"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="101c1c5f-3262-4013-97ba-a00850d052ea"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#101c1c5f-3262-4013-97ba-a00850d052ea"/> + <display value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79/output.json new file mode 100644 index 00000000..bb8dce9b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "e1098df5-feba-4977-bee4-03b74655a327", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "01f4ea56-dad4-4960-94be-f82352c6e8df", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "999bde79-4aba-4b15-9615-c4adf57f0008_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/f7275e5e-06ba-4f10-be1d-4a057b9b79d9" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f3b9e9a3-75aa-438c-9bd0-d5e962d8e7ef" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f7275e5e-06ba-4f10-be1d-4a057b9b79d9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f3b9e9a3-75aa-438c-9bd0-d5e962d8e7ef", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Candy Barr" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79/output.xml new file mode 100644 index 00000000..0521da9e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa_999bde79_999bde79/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e1098df5-feba-4977-bee4-03b74655a327"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="01f4ea56-dad4-4960-94be-f82352c6e8df"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="999bde79-4aba-4b15-9615-c4adf57f0008_160.100.000.000.010.12"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f7275e5e-06ba-4f10-be1d-4a057b9b79d9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f3b9e9a3-75aa-438c-9bd0-d5e962d8e7ef"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f7275e5e-06ba-4f10-be1d-4a057b9b79d9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f3b9e9a3-75aa-438c-9bd0-d5e962d8e7ef"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Candy Barr"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.json deleted file mode 100644 index 20a993e8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "40a280d0-d478-4067-9051-7719951543c0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "320d54e8-454f-4606-968d-5642eb34ba2f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "4eaadf76-d89c-4437-a8ec-b2407f98c6fa_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/7ec75996-1283-4493-b022-9ab804a9db61" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/e6fc006f-4f2d-4c56-a0a2-4d0af72be142" - } - } ], - "whenHandedOver": "2025-01-15" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "7ec75996-1283-4493-b022-9ab804a9db61", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "e6fc006f-4f2d-4c56-a0a2-4d0af72be142", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Warren T." - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.xml deleted file mode 100644 index b07617f2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="40a280d0-d478-4067-9051-7719951543c0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.015.94"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="320d54e8-454f-4606-968d-5642eb34ba2f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="4eaadf76-d89c-4437-a8ec-b2407f98c6fa_160.100.000.000.015.94"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/7ec75996-1283-4493-b022-9ab804a9db61"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/e6fc006f-4f2d-4c56-a0a2-4d0af72be142"/> - </actor> - </performer> - <whenHandedOver value="2025-01-15"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7ec75996-1283-4493-b022-9ab804a9db61"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e6fc006f-4f2d-4c56-a0a2-4d0af72be142"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Warren T."/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76/output.json new file mode 100644 index 00000000..8dc4aa08 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "31880069-5926-4234-b0bd-999ff540d2cc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "be2e436a-1e05-4e57-9373-bfb420f106dc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "4eaadf76-d89c-4437-a8ec-b2407f98c6fa_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/5753b4ac-350c-427f-8609-5aac53b6669e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/070ad352-f54b-4bd2-ad6f-62d53cc9c749" + } + } ], + "whenHandedOver": "2025-01-15" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5753b4ac-350c-427f-8609-5aac53b6669e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "070ad352-f54b-4bd2-ad6f-62d53cc9c749", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Darryl Likt" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76/output.xml new file mode 100644 index 00000000..865e8ce6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10_4eaadf76_4eaadf76/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="31880069-5926-4234-b0bd-999ff540d2cc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="be2e436a-1e05-4e57-9373-bfb420f106dc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="4eaadf76-d89c-4437-a8ec-b2407f98c6fa_160.100.000.000.015.94"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5753b4ac-350c-427f-8609-5aac53b6669e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/070ad352-f54b-4bd2-ad6f-62d53cc9c749"/> + </actor> + </performer> + <whenHandedOver value="2025-01-15"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5753b4ac-350c-427f-8609-5aac53b6669e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="070ad352-f54b-4bd2-ad6f-62d53cc9c749"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Darryl Likt"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.json index f0d72525..61d12c5b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c3578dfb-553d-4269-9d8c-fbf920cfb993", + "id": "4daee40c-016f-49de-991b-224a57fa7ce0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "14a31978-7f60-4ce1-ba04-c1dd43612ce5", + "id": "53a91a05-78e0-4d77-b220-6f8b8b27f3ea", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/a6868f66-ac9d-45fd-8954-24fec748e654" + "reference": "Medication/66fc5ccf-2083-4bae-b901-1300deceb02d" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/94c62501-5d97-459c-a5ac-d329a626e7b2" + "reference": "Organization/fbf85db7-910a-4cea-9327-60637fabf52b" } } ], "whenHandedOver": "2025-01-15" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a6868f66-ac9d-45fd-8954-24fec748e654", + "id": "66fc5ccf-2083-4bae-b901-1300deceb02d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "94c62501-5d97-459c-a5ac-d329a626e7b2", + "id": "fbf85db7-910a-4cea-9327-60637fabf52b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Robin Meeblind" + "name": "Gladys C. Hughes" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.xml index 47129175..7c23970b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c3578dfb-553d-4269-9d8c-fbf920cfb993"/> + <id value="4daee40c-016f-49de-991b-224a57fa7ce0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="14a31978-7f60-4ce1-ba04-c1dd43612ce5"/> + <id value="53a91a05-78e0-4d77-b220-6f8b8b27f3ea"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/a6868f66-ac9d-45fd-8954-24fec748e654"/> + <reference value="Medication/66fc5ccf-2083-4bae-b901-1300deceb02d"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/94c62501-5d97-459c-a5ac-d329a626e7b2"/> + <reference value="Organization/fbf85db7-910a-4cea-9327-60637fabf52b"/> </actor> </performer> <whenHandedOver value="2025-01-15"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a6868f66-ac9d-45fd-8954-24fec748e654"/> + <id value="66fc5ccf-2083-4bae-b901-1300deceb02d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="94c62501-5d97-459c-a5ac-d329a626e7b2"/> + <id value="fbf85db7-910a-4cea-9327-60637fabf52b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Robin Meeblind"/> + <name value="Gladys C. Hughes"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76/input.xml new file mode 100644 index 00000000..851c82c5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4eaadf76-d89c-4437-a8ec-b2407f98c6fa"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7bbe819b-08a0-4496-9d58-f6340c8aa876"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#7bbe819b-08a0-4496-9d58-f6340c8aa876"/> + <display value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2025-01-15"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76/output.json new file mode 100644 index 00000000..7d5d6b8e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "11962ce2-87cc-4447-87e5-e57608dbad56", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "43dae925-849c-4373-8650-494f577ac87f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "4eaadf76-d89c-4437-a8ec-b2407f98c6fa_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/837d8b05-7032-4af9-a091-bdc5f9bad992" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/6b31de2a-69ea-4c96-ae9b-35a9aa123b92" + } + } ], + "whenHandedOver": "2025-01-15" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "837d8b05-7032-4af9-a091-bdc5f9bad992", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "6b31de2a-69ea-4c96-ae9b-35a9aa123b92", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Crobbery" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76/output.xml new file mode 100644 index 00000000..70ad4b98 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_4eaadf76_4eaadf76/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="11962ce2-87cc-4447-87e5-e57608dbad56"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="43dae925-849c-4373-8650-494f577ac87f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="4eaadf76-d89c-4437-a8ec-b2407f98c6fa_160.100.000.000.015.94"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/837d8b05-7032-4af9-a091-bdc5f9bad992"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/6b31de2a-69ea-4c96-ae9b-35a9aa123b92"/> + </actor> + </performer> + <whenHandedOver value="2025-01-15"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="837d8b05-7032-4af9-a091-bdc5f9bad992"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6b31de2a-69ea-4c96-ae9b-35a9aa123b92"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ben Crobbery"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.json deleted file mode 100644 index 384552da..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "51d932f6-d82a-401a-9b68-bc686af8fab2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "f0458b3b-2d92-4af3-bec3-c934b840578e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "4eaadf76-d89c-4437-a8ec-b2407f98c6fa_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/2380555d-33d9-4859-a748-cf6fa0e3578a" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/d47c7773-e1fa-43e0-a104-9ca00fa05615" - } - } ], - "whenHandedOver": "2023-09-15" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "2380555d-33d9-4859-a748-cf6fa0e3578a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "d47c7773-e1fa-43e0-a104-9ca00fa05615", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Corey Ander" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.xml deleted file mode 100644 index 6947a857..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="51d932f6-d82a-401a-9b68-bc686af8fab2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.015.94"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="f0458b3b-2d92-4af3-bec3-c934b840578e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="4eaadf76-d89c-4437-a8ec-b2407f98c6fa_160.100.000.000.015.94"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/2380555d-33d9-4859-a748-cf6fa0e3578a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/d47c7773-e1fa-43e0-a104-9ca00fa05615"/> - </actor> - </performer> - <whenHandedOver value="2023-09-15"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2380555d-33d9-4859-a748-cf6fa0e3578a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d47c7773-e1fa-43e0-a104-9ca00fa05615"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Corey Ander"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76/output.json new file mode 100644 index 00000000..718dc808 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "e595b273-6345-40e9-9f92-688d4a83b361", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "fa33b9ba-9ef4-45ea-a50d-7eed4e78c9db", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "4eaadf76-d89c-4437-a8ec-b2407f98c6fa_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/ab3a9226-ea07-4f86-baf1-615469b642ec" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/cd989cc3-317f-46c1-8f4f-23ac6ac244dd" + } + } ], + "whenHandedOver": "2023-09-15" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ab3a9226-ea07-4f86-baf1-615469b642ec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "cd989cc3-317f-46c1-8f4f-23ac6ac244dd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Dover" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76/output.xml new file mode 100644 index 00000000..ceef79f9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3_4eaadf76_4eaadf76/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e595b273-6345-40e9-9f92-688d4a83b361"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="fa33b9ba-9ef4-45ea-a50d-7eed4e78c9db"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="4eaadf76-d89c-4437-a8ec-b2407f98c6fa_160.100.000.000.015.94"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ab3a9226-ea07-4f86-baf1-615469b642ec"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/cd989cc3-317f-46c1-8f4f-23ac6ac244dd"/> + </actor> + </performer> + <whenHandedOver value="2023-09-15"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ab3a9226-ea07-4f86-baf1-615469b642ec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cd989cc3-317f-46c1-8f4f-23ac6ac244dd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ilene Dover"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.json deleted file mode 100644 index 23f6fd73..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "f011bc7e-9dd9-4e6f-8882-269e4956dfef", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "bf630fb4-a9a1-4d7e-8b92-db0fc26fbf30", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "b60dfbab-3463-4a69-81e8-90501674ffd3_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/bf5c13c9-bfb4-498e-979d-f05a4c176770" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/4ce651a3-3101-411a-ad98-312ea9c1342a" - } - } ], - "whenHandedOver": "2023-11-15" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "bf5c13c9-bfb4-498e-979d-f05a4c176770", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "4ce651a3-3101-411a-ad98-312ea9c1342a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Armand Hammer" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.xml deleted file mode 100644 index d7477d6e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f011bc7e-9dd9-4e6f-8882-269e4956dfef"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.016.91"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="bf630fb4-a9a1-4d7e-8b92-db0fc26fbf30"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="b60dfbab-3463-4a69-81e8-90501674ffd3_160.100.000.000.016.91"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/bf5c13c9-bfb4-498e-979d-f05a4c176770"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/4ce651a3-3101-411a-ad98-312ea9c1342a"/> - </actor> - </performer> - <whenHandedOver value="2023-11-15"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bf5c13c9-bfb4-498e-979d-f05a4c176770"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4ce651a3-3101-411a-ad98-312ea9c1342a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Armand Hammer"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab/output.json new file mode 100644 index 00000000..d9cecf45 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "9eccd017-6d7a-47d5-82d0-f862b53674de", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1ce23a22-b6e2-460f-ab13-d1fe45df321e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b60dfbab-3463-4a69-81e8-90501674ffd3_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/bf461850-ca48-42c6-b5d3-01da59053b46" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0dadf7c8-727f-4c8b-813e-e5177286db88" + } + } ], + "whenHandedOver": "2023-11-15" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bf461850-ca48-42c6-b5d3-01da59053b46", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0dadf7c8-727f-4c8b-813e-e5177286db88", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Legg" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab/output.xml new file mode 100644 index 00000000..5663ddd5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024_b60dfbab_b60dfbab/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9eccd017-6d7a-47d5-82d0-f862b53674de"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1ce23a22-b6e2-460f-ab13-d1fe45df321e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b60dfbab-3463-4a69-81e8-90501674ffd3_160.100.000.000.016.91"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bf461850-ca48-42c6-b5d3-01da59053b46"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0dadf7c8-727f-4c8b-813e-e5177286db88"/> + </actor> + </performer> + <whenHandedOver value="2023-11-15"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bf461850-ca48-42c6-b5d3-01da59053b46"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0dadf7c8-727f-4c8b-813e-e5177286db88"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Harry Legg"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.json index 9689785d..c8b50c94 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "3674bf18-5f86-4245-a7fa-ec4d7bdf3f08", + "id": "a46e337e-b909-45ce-855f-0962f569d361", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "0ac0e727-d4fe-46ae-b824-62b1cd02fec9", + "id": "cd0df14c-ff3b-48b4-84ca-1995ecc39b41", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/e2d97017-7351-4bef-ba0a-514dbf51af00" + "reference": "Medication/30061bb9-26b7-4ccc-861b-d8e517bf925e" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/1198c48e-0197-49e6-8cab-884ce14df9e5" + "reference": "Organization/55f8a600-b494-4caf-b823-bfb8220735c8" } } ], "whenHandedOver": "2025-03-15" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "e2d97017-7351-4bef-ba0a-514dbf51af00", + "id": "30061bb9-26b7-4ccc-861b-d8e517bf925e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "1198c48e-0197-49e6-8cab-884ce14df9e5", + "id": "55f8a600-b494-4caf-b823-bfb8220735c8", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Owen Cash" + "name": "Brandy Anne Koch" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.xml index ea838320..553617eb 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="3674bf18-5f86-4245-a7fa-ec4d7bdf3f08"/> + <id value="a46e337e-b909-45ce-855f-0962f569d361"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="0ac0e727-d4fe-46ae-b824-62b1cd02fec9"/> + <id value="cd0df14c-ff3b-48b4-84ca-1995ecc39b41"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/e2d97017-7351-4bef-ba0a-514dbf51af00"/> + <reference value="Medication/30061bb9-26b7-4ccc-861b-d8e517bf925e"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/1198c48e-0197-49e6-8cab-884ce14df9e5"/> + <reference value="Organization/55f8a600-b494-4caf-b823-bfb8220735c8"/> </actor> </performer> <whenHandedOver value="2025-03-15"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="e2d97017-7351-4bef-ba0a-514dbf51af00"/> + <id value="30061bb9-26b7-4ccc-861b-d8e517bf925e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="1198c48e-0197-49e6-8cab-884ce14df9e5"/> + <id value="55f8a600-b494-4caf-b823-bfb8220735c8"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Owen Cash"/> + <name value="Brandy Anne Koch"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab_b60dfbab/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab_b60dfbab/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab_b60dfbab/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab_b60dfbab/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab_b60dfbab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab_b60dfbab/output.json new file mode 100644 index 00000000..c133b79c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab_b60dfbab/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "1a92b314-2746-4280-b850-86e64e6c918d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "727201a2-3a3e-463c-ae4f-501635762033", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b60dfbab-3463-4a69-81e8-90501674ffd3_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/1c2bdd79-bbf1-4330-8dd3-0350b79a5a4d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/bda31844-7ebb-4e84-affd-44d8f3ac94dc" + } + } ], + "whenHandedOver": "2025-03-15" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "1c2bdd79-bbf1-4330-8dd3-0350b79a5a4d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "bda31844-7ebb-4e84-affd-44d8f3ac94dc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bill Dollar" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab_b60dfbab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab_b60dfbab/output.xml new file mode 100644 index 00000000..ae3560bc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_b60dfbab_b60dfbab/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1a92b314-2746-4280-b850-86e64e6c918d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="727201a2-3a3e-463c-ae4f-501635762033"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b60dfbab-3463-4a69-81e8-90501674ffd3_160.100.000.000.016.91"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1c2bdd79-bbf1-4330-8dd3-0350b79a5a4d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/bda31844-7ebb-4e84-affd-44d8f3ac94dc"/> + </actor> + </performer> + <whenHandedOver value="2025-03-15"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1c2bdd79-bbf1-4330-8dd3-0350b79a5a4d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bda31844-7ebb-4e84-affd-44d8f3ac94dc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bill Dollar"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.json deleted file mode 100644 index 9abffb95..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "89c5bbae-4964-4a80-b3be-62dca970ee66", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "1f9fbfc8-29f5-4e89-b831-65ba9cbebc21", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "b60dfbab-3463-4a69-81e8-90501674ffd3_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/29a4036f-3e7d-44fd-a219-864604ccc66b" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/c7a09a56-2ae2-4691-9417-ac04f90f8881" - } - } ], - "whenHandedOver": "2025-03-15" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "29a4036f-3e7d-44fd-a219-864604ccc66b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "c7a09a56-2ae2-4691-9417-ac04f90f8881", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Lucy Fer" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.xml deleted file mode 100644 index b561fcc0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="89c5bbae-4964-4a80-b3be-62dca970ee66"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.016.91"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1f9fbfc8-29f5-4e89-b831-65ba9cbebc21"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="b60dfbab-3463-4a69-81e8-90501674ffd3_160.100.000.000.016.91"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/29a4036f-3e7d-44fd-a219-864604ccc66b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c7a09a56-2ae2-4691-9417-ac04f90f8881"/> - </actor> - </performer> - <whenHandedOver value="2025-03-15"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="29a4036f-3e7d-44fd-a219-864604ccc66b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c7a09a56-2ae2-4691-9417-ac04f90f8881"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Lucy Fer"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab/input.xml new file mode 100644 index 00000000..786bbc94 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b60dfbab-3463-4a69-81e8-90501674ffd3"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="eeba484b-996d-42cf-8152-4e6add8ff372"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#eeba484b-996d-42cf-8152-4e6add8ff372"/> + <display value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2025-03-15"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab/output.json new file mode 100644 index 00000000..42135b4a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "9d0ccb36-8e53-4522-a833-0f3d71c95025", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "308299cd-bf14-4f6c-bceb-45a078a01a1b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b60dfbab-3463-4a69-81e8-90501674ffd3_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/3d55be92-7a78-4a6e-93a5-e11a698ae866" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c1aff84b-49e9-41d0-b050-98bc181bbf25" + } + } ], + "whenHandedOver": "2025-03-15" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3d55be92-7a78-4a6e-93a5-e11a698ae866", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c1aff84b-49e9-41d0-b050-98bc181bbf25", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Brice Tagg" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab/output.xml new file mode 100644 index 00000000..2919ffa3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e_b60dfbab_b60dfbab/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9d0ccb36-8e53-4522-a833-0f3d71c95025"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="308299cd-bf14-4f6c-bceb-45a078a01a1b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b60dfbab-3463-4a69-81e8-90501674ffd3_160.100.000.000.016.91"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3d55be92-7a78-4a6e-93a5-e11a698ae866"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c1aff84b-49e9-41d0-b050-98bc181bbf25"/> + </actor> + </performer> + <whenHandedOver value="2025-03-15"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3d55be92-7a78-4a6e-93a5-e11a698ae866"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c1aff84b-49e9-41d0-b050-98bc181bbf25"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Brice Tagg"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.json index d4d45023..76d1e288 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "16f640b3-0171-4f94-857f-981d8a1cad58", + "id": "43d2233e-26c8-4713-80c5-449683da7275", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "8b9e12dc-c568-4a94-a8b5-a6da0714ed47", + "id": "860e61a2-115c-483b-ab56-40669b88f6cc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/f4858dc0-608a-4409-949d-47a01c8f441a" + "reference": "Medication/3cc3375a-610e-4000-873b-2618b5352ac7" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/bd5e0070-7f50-4b62-a8ee-3d5d719320d3" + "reference": "Organization/40c19469-4c49-4f53-a1c6-8bd40b914c93" } } ], "whenHandedOver": "2025-04-01" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "f4858dc0-608a-4409-949d-47a01c8f441a", + "id": "3cc3375a-610e-4000-873b-2618b5352ac7", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "bd5e0070-7f50-4b62-a8ee-3d5d719320d3", + "id": "40c19469-4c49-4f53-a1c6-8bd40b914c93", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Doug Hole" + "name": "Al Dente" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.xml index 019464c9..b8429f02 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="16f640b3-0171-4f94-857f-981d8a1cad58"/> + <id value="43d2233e-26c8-4713-80c5-449683da7275"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="8b9e12dc-c568-4a94-a8b5-a6da0714ed47"/> + <id value="860e61a2-115c-483b-ab56-40669b88f6cc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/f4858dc0-608a-4409-949d-47a01c8f441a"/> + <reference value="Medication/3cc3375a-610e-4000-873b-2618b5352ac7"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/bd5e0070-7f50-4b62-a8ee-3d5d719320d3"/> + <reference value="Organization/40c19469-4c49-4f53-a1c6-8bd40b914c93"/> </actor> </performer> <whenHandedOver value="2025-04-01"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="f4858dc0-608a-4409-949d-47a01c8f441a"/> + <id value="3cc3375a-610e-4000-873b-2618b5352ac7"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="bd5e0070-7f50-4b62-a8ee-3d5d719320d3"/> + <id value="40c19469-4c49-4f53-a1c6-8bd40b914c93"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Doug Hole"/> + <name value="Al Dente"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b_6df0c60b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b_6df0c60b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b_6df0c60b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b_6df0c60b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b_6df0c60b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b_6df0c60b/output.json new file mode 100644 index 00000000..24c28b7f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b_6df0c60b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "e8fa300d-7b70-4c01-82b3-0a556d1af425", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "aced9b5c-b2dc-4916-987b-44ad795ae4cf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "6df0c60b-98ab-4c20-bb0f-31531ec0bc59_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/1b0438a5-1c5e-444c-a9d6-43cd1d862966" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c9e65c74-4c30-4efb-b2a5-6561e5b7d6fe" + } + } ], + "whenHandedOver": "2025-04-01" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "1b0438a5-1c5e-444c-a9d6-43cd1d862966", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c9e65c74-4c30-4efb-b2a5-6561e5b7d6fe", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Rusty Fossat" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b_6df0c60b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b_6df0c60b/output.xml new file mode 100644 index 00000000..8430ee62 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_6df0c60b_6df0c60b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e8fa300d-7b70-4c01-82b3-0a556d1af425"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="aced9b5c-b2dc-4916-987b-44ad795ae4cf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="6df0c60b-98ab-4c20-bb0f-31531ec0bc59_160.100.000.000.017.88"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1b0438a5-1c5e-444c-a9d6-43cd1d862966"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c9e65c74-4c30-4efb-b2a5-6561e5b7d6fe"/> + </actor> + </performer> + <whenHandedOver value="2025-04-01"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1b0438a5-1c5e-444c-a9d6-43cd1d862966"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c9e65c74-4c30-4efb-b2a5-6561e5b7d6fe"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rusty Fossat"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.json deleted file mode 100644 index dd9ffa88..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e277a28f-861e-4644-af9f-140fb7884ced", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "0ed1af6d-7f28-497c-93da-d97b5bfd51b9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "6df0c60b-98ab-4c20-bb0f-31531ec0bc59_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/481a57ed-a664-40e5-ad9e-2d3426d102ac" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/9fb4e3e2-5bc7-4598-89ab-392a850f668c" - } - } ], - "whenHandedOver": "2025-04-01" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "481a57ed-a664-40e5-ad9e-2d3426d102ac", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "9fb4e3e2-5bc7-4598-89ab-392a850f668c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Daisy Picking" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.xml deleted file mode 100644 index d8cdbf52..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e277a28f-861e-4644-af9f-140fb7884ced"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.017.88"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="0ed1af6d-7f28-497c-93da-d97b5bfd51b9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="6df0c60b-98ab-4c20-bb0f-31531ec0bc59_160.100.000.000.017.88"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/481a57ed-a664-40e5-ad9e-2d3426d102ac"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/9fb4e3e2-5bc7-4598-89ab-392a850f668c"/> - </actor> - </performer> - <whenHandedOver value="2025-04-01"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="481a57ed-a664-40e5-ad9e-2d3426d102ac"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9fb4e3e2-5bc7-4598-89ab-392a850f668c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Daisy Picking"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b/input.xml new file mode 100644 index 00000000..b164da80 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6df0c60b-98ab-4c20-bb0f-31531ec0bc59"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="583aedac-bfa9-4014-9500-e2d90d294c99"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#583aedac-bfa9-4014-9500-e2d90d294c99"/> + <display value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2025-04-01"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b/output.json new file mode 100644 index 00000000..c3c30c1a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "81539ce1-4718-4dd8-9f9e-c66c2a3cbc0b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "dab2a7b6-910c-448f-983c-3fe16230aedf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "6df0c60b-98ab-4c20-bb0f-31531ec0bc59_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/0f6c8e81-c05f-44ef-9ef6-3400ccb1f707" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/74dde751-f8e3-4d1f-a8c1-244f2830c847" + } + } ], + "whenHandedOver": "2025-04-01" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "0f6c8e81-c05f-44ef-9ef6-3400ccb1f707", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "74dde751-f8e3-4d1f-a8c1-244f2830c847", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Rich Mann" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b/output.xml new file mode 100644 index 00000000..2dea8695 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2_6df0c60b_6df0c60b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="81539ce1-4718-4dd8-9f9e-c66c2a3cbc0b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="dab2a7b6-910c-448f-983c-3fe16230aedf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="6df0c60b-98ab-4c20-bb0f-31531ec0bc59_160.100.000.000.017.88"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/0f6c8e81-c05f-44ef-9ef6-3400ccb1f707"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/74dde751-f8e3-4d1f-a8c1-244f2830c847"/> + </actor> + </performer> + <whenHandedOver value="2025-04-01"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0f6c8e81-c05f-44ef-9ef6-3400ccb1f707"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="74dde751-f8e3-4d1f-a8c1-244f2830c847"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rich Mann"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.json deleted file mode 100644 index 4945b365..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "3d636327-40ed-4ff0-ba60-3bc1515c1b2b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "aae65018-cd97-41e3-8669-c38864abfcd4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "6df0c60b-98ab-4c20-bb0f-31531ec0bc59_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/ab5de98f-92d1-4547-8dba-4d8ffa411bd5" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/0cdd7373-8cd0-4e51-a9a8-74f1102a7d9d" - } - } ], - "whenHandedOver": "2023-12-01" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "ab5de98f-92d1-4547-8dba-4d8ffa411bd5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "0cdd7373-8cd0-4e51-a9a8-74f1102a7d9d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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 Down" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.xml deleted file mode 100644 index 8a00630a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="3d636327-40ed-4ff0-ba60-3bc1515c1b2b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.017.88"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="aae65018-cd97-41e3-8669-c38864abfcd4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="6df0c60b-98ab-4c20-bb0f-31531ec0bc59_160.100.000.000.017.88"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/ab5de98f-92d1-4547-8dba-4d8ffa411bd5"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/0cdd7373-8cd0-4e51-a9a8-74f1102a7d9d"/> - </actor> - </performer> - <whenHandedOver value="2023-12-01"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ab5de98f-92d1-4547-8dba-4d8ffa411bd5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0cdd7373-8cd0-4e51-a9a8-74f1102a7d9d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ben Down"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b/output.json new file mode 100644 index 00000000..360f2ea8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "0c0f97c7-d39c-4c82-99f5-7542bc583d55", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1bdc4458-8159-4b97-b851-87ab1122e1e1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "6df0c60b-98ab-4c20-bb0f-31531ec0bc59_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/5395ac4c-eedd-4d53-b205-b00020f9068b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/fcf6cd3a-ffda-4faf-880e-e57bdb7fe208" + } + } ], + "whenHandedOver": "2023-12-01" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5395ac4c-eedd-4d53-b205-b00020f9068b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "fcf6cd3a-ffda-4faf-880e-e57bdb7fe208", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Daisy Picking" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b/output.xml new file mode 100644 index 00000000..c9782a86 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f_6df0c60b_6df0c60b/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0c0f97c7-d39c-4c82-99f5-7542bc583d55"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1bdc4458-8159-4b97-b851-87ab1122e1e1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="6df0c60b-98ab-4c20-bb0f-31531ec0bc59_160.100.000.000.017.88"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5395ac4c-eedd-4d53-b205-b00020f9068b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/fcf6cd3a-ffda-4faf-880e-e57bdb7fe208"/> + </actor> + </performer> + <whenHandedOver value="2023-12-01"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5395ac4c-eedd-4d53-b205-b00020f9068b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fcf6cd3a-ffda-4faf-880e-e57bdb7fe208"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Daisy Picking"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.json deleted file mode 100644 index e9e9841f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "8c0776ba-2f17-46a1-b700-c1e127ea50b4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "edbd489d-9b8b-443f-b17e-ba441410e817", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "89a81399-b8c1-46d6-8006-d74fed2a79d4_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/cf571de5-236a-4e6f-9b3b-4140c9c28002" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "M310119814" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/26776961-298b-4f37-9838-26ae19d166c9" - } - } ], - "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": "cf571de5-236a-4e6f-9b3b-4140c9c28002", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "26776961-298b-4f37-9838-26ae19d166c9", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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 Furter" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.xml deleted file mode 100644 index 2e7673b2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="8c0776ba-2f17-46a1-b700-c1e127ea50b4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.003.33"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="edbd489d-9b8b-443f-b17e-ba441410e817"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="89a81399-b8c1-46d6-8006-d74fed2a79d4_160.100.000.000.003.33"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/cf571de5-236a-4e6f-9b3b-4140c9c28002"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="M310119814"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/26776961-298b-4f37-9838-26ae19d166c9"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="cf571de5-236a-4e6f-9b3b-4140c9c28002"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03386388"/> - </coding> - <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SUB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="3"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="26776961-298b-4f37-9838-26ae19d166c9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Frank Furter"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399/output.json new file mode 100644 index 00000000..6136584c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "f05854aa-3212-47aa-bf8b-d218a56fb385", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5604b139-0e7c-4197-b43a-287d2c00ca87", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "89a81399-b8c1-46d6-8006-d74fed2a79d4_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/d68cb6b9-390f-459a-a852-1dcd7098c184" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "M310119814" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c26ae37b-e588-405a-bc46-283a14fe8863" + } + } ], + "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": "d68cb6b9-390f-459a-a852-1dcd7098c184", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c26ae37b-e588-405a-bc46-283a14fe8863", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ida Whana" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399/output.xml new file mode 100644 index 00000000..e963d068 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62_89a81399_89a81399/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f05854aa-3212-47aa-bf8b-d218a56fb385"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5604b139-0e7c-4197-b43a-287d2c00ca87"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="89a81399-b8c1-46d6-8006-d74fed2a79d4_160.100.000.000.003.33"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/d68cb6b9-390f-459a-a852-1dcd7098c184"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119814"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c26ae37b-e588-405a-bc46-283a14fe8863"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d68cb6b9-390f-459a-a852-1dcd7098c184"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="3"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c26ae37b-e588-405a-bc46-283a14fe8863"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ida Whana"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.json deleted file mode 100644 index 2f30f0ba..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "08c9d677-bd53-448a-bd8c-ee0863afbf42", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "034a770b-e0ce-4252-9aef-f5fcce574eef", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "89a81399-b8c1-46d6-8006-d74fed2a79d4_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/1ba618f5-368e-4276-8328-5c208024366a" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "M310119814" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/c5acdf58-7e76-482f-b664-efcb9801bc6e" - } - } ], - "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": "1ba618f5-368e-4276-8328-5c208024366a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "c5acdf58-7e76-482f-b664-efcb9801bc6e", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Sheri Cola" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.xml deleted file mode 100644 index 513aca67..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="08c9d677-bd53-448a-bd8c-ee0863afbf42"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.003.33"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="034a770b-e0ce-4252-9aef-f5fcce574eef"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="89a81399-b8c1-46d6-8006-d74fed2a79d4_160.100.000.000.003.33"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/1ba618f5-368e-4276-8328-5c208024366a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="M310119814"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c5acdf58-7e76-482f-b664-efcb9801bc6e"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1ba618f5-368e-4276-8328-5c208024366a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03386388"/> - </coding> - <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SUB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="3"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c5acdf58-7e76-482f-b664-efcb9801bc6e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Sheri Cola"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399/output.json new file mode 100644 index 00000000..2e23380a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "ef272d1f-24d5-4a8d-8638-2ec8fdcb37d5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "43386eb2-ce01-47ae-8906-56937bfa7184", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "89a81399-b8c1-46d6-8006-d74fed2a79d4_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/e4181918-be3b-4c3b-b07f-ba865c170cf7" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "M310119814" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/eb974a80-1878-45e0-a0d1-137177ff166e" + } + } ], + "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": "e4181918-be3b-4c3b-b07f-ba865c170cf7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "eb974a80-1878-45e0-a0d1-137177ff166e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Day" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399/output.xml new file mode 100644 index 00000000..176019c6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6_89a81399_89a81399/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ef272d1f-24d5-4a8d-8638-2ec8fdcb37d5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="43386eb2-ce01-47ae-8906-56937bfa7184"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="89a81399-b8c1-46d6-8006-d74fed2a79d4_160.100.000.000.003.33"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/e4181918-be3b-4c3b-b07f-ba865c170cf7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119814"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/eb974a80-1878-45e0-a0d1-137177ff166e"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e4181918-be3b-4c3b-b07f-ba865c170cf7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="3"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="eb974a80-1878-45e0-a0d1-137177ff166e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Holly Day"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.json index c98c6f8e..d5f08edd 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "203e0717-5cdc-4f54-ad1c-dc002bdada06", + "id": "bf8acfda-5691-479b-b465-9b0777456ccf", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "b7b37916-b05c-4ad1-9bd7-0f034a54f6e8", + "id": "f394bb03-782d-462e-80aa-59cce02d387a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/557b1ccb-48fa-4a8a-9a1a-c2df186f7f54" + "reference": "Medication/aeeda447-56bf-49e1-bae2-2ac54e6e4293" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/9720a3a8-b571-45ce-8838-baeef7c6dac3" + "reference": "Organization/7df38677-ff93-40c3-9880-a7e409bafc3a" } } ], "whenHandedOver": "2024-11-27", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "557b1ccb-48fa-4a8a-9a1a-c2df186f7f54", + "id": "aeeda447-56bf-49e1-bae2-2ac54e6e4293", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "9720a3a8-b571-45ce-8838-baeef7c6dac3", + "id": "7df38677-ff93-40c3-9880-a7e409bafc3a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -127,7 +127,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Colleen Cardd" + "name": "Drew Blood" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.xml index 9101a465..5a79e697 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="203e0717-5cdc-4f54-ad1c-dc002bdada06"/> + <id value="bf8acfda-5691-479b-b465-9b0777456ccf"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b7b37916-b05c-4ad1-9bd7-0f034a54f6e8"/> + <id value="f394bb03-782d-462e-80aa-59cce02d387a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/557b1ccb-48fa-4a8a-9a1a-c2df186f7f54"/> + <reference value="Medication/aeeda447-56bf-49e1-bae2-2ac54e6e4293"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/9720a3a8-b571-45ce-8838-baeef7c6dac3"/> + <reference value="Organization/7df38677-ff93-40c3-9880-a7e409bafc3a"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="557b1ccb-48fa-4a8a-9a1a-c2df186f7f54"/> + <id value="aeeda447-56bf-49e1-bae2-2ac54e6e4293"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -112,7 +112,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="9720a3a8-b571-45ce-8838-baeef7c6dac3"/> + <id value="7df38677-ff93-40c3-9880-a7e409bafc3a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -130,7 +130,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Colleen Cardd"/> + <name value="Drew Blood"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399/input.xml new file mode 100644 index 00000000..89bdbf36 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="89a81399-b8c1-46d6-8006-d74fed2a79d4"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b6d208be-e549-4efb-a87b-77fae57fc001"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="3"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#b6d208be-e549-4efb-a87b-77fae57fc001"/> + <display value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119814"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399/output.json new file mode 100644 index 00000000..70e64688 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "dc92c5d0-e690-43dd-9ed0-e0683b4b6ce9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "3a157b33-97fb-4130-8b39-0a932268bc0e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "89a81399-b8c1-46d6-8006-d74fed2a79d4_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/7b1366e2-2ed0-4e7b-ae9f-23e7b440e4ef" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "M310119814" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c253499e-8083-4ec9-86dd-63e44f2a831f" + } + } ], + "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": "7b1366e2-2ed0-4e7b-ae9f-23e7b440e4ef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c253499e-8083-4ec9-86dd-63e44f2a831f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ferris Wheeler" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399/output.xml new file mode 100644 index 00000000..bc81ec7d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_89a81399_89a81399/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dc92c5d0-e690-43dd-9ed0-e0683b4b6ce9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="3a157b33-97fb-4130-8b39-0a932268bc0e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="89a81399-b8c1-46d6-8006-d74fed2a79d4_160.100.000.000.003.33"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7b1366e2-2ed0-4e7b-ae9f-23e7b440e4ef"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119814"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c253499e-8083-4ec9-86dd-63e44f2a831f"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7b1366e2-2ed0-4e7b-ae9f-23e7b440e4ef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="3"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c253499e-8083-4ec9-86dd-63e44f2a831f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ferris Wheeler"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.json deleted file mode 100644 index 16846b03..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "b34da82d-7e58-4374-ad6f-987ad1a3a5c7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "c2598ce2-7c34-4c8e-9ea8-fb057418dfac", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "a7e1d25f-0b0a-40f7-b529-afda48e51b46_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/272755fb-7a2a-4eb9-a49d-40f3aa8c4159" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X234567891" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/346ede57-be4e-4556-ba8e-cfd3cd250897" - } - } ], - "whenHandedOver": "2023-07-30", - "dosageInstruction": [ { - "text": "1-0-1-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "272755fb-7a2a-4eb9-a49d-40f3aa8c4159", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "346ede57-be4e-4556-ba8e-cfd3cd250897", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Chris Cross" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.xml deleted file mode 100644 index 63e0d723..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b34da82d-7e58-4374-ad6f-987ad1a3a5c7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.764.737.300.50"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="c2598ce2-7c34-4c8e-9ea8-fb057418dfac"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="a7e1d25f-0b0a-40f7-b529-afda48e51b46_160.000.764.737.300.50"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/272755fb-7a2a-4eb9-a49d-40f3aa8c4159"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X234567891"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/346ede57-be4e-4556-ba8e-cfd3cd250897"/> - </actor> - </performer> - <whenHandedOver value="2023-07-30"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="272755fb-7a2a-4eb9-a49d-40f3aa8c4159"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="05454378"/> - </coding> - <text value="SUMATRIPTAN Aurobindo 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="12"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="346ede57-be4e-4556-ba8e-cfd3cd250897"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Chris Cross"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f/output.json new file mode 100644 index 00000000..1041718f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "5c591be8-4b2d-42a5-905f-2cd1c6e85e38", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b4b09fd6-0a76-49b7-8ffc-9ac3c375a75b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a7e1d25f-0b0a-40f7-b529-afda48e51b46_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/f4dd0f08-adcf-4556-976f-5d964be0c2f2" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X234567891" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d2a8cf23-4323-44eb-bae0-7182a9e5691d" + } + } ], + "whenHandedOver": "2023-07-30", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f4dd0f08-adcf-4556-976f-5d964be0c2f2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "d2a8cf23-4323-44eb-bae0-7182a9e5691d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Ayma Moron" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f/output.xml new file mode 100644 index 00000000..bb8fcd68 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e_a7e1d25f_a7e1d25f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5c591be8-4b2d-42a5-905f-2cd1c6e85e38"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b4b09fd6-0a76-49b7-8ffc-9ac3c375a75b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a7e1d25f-0b0a-40f7-b529-afda48e51b46_160.000.764.737.300.50"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f4dd0f08-adcf-4556-976f-5d964be0c2f2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567891"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d2a8cf23-4323-44eb-bae0-7182a9e5691d"/> + </actor> + </performer> + <whenHandedOver value="2023-07-30"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f4dd0f08-adcf-4556-976f-5d964be0c2f2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05454378"/> + </coding> + <text value="SUMATRIPTAN Aurobindo 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d2a8cf23-4323-44eb-bae0-7182a9e5691d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ayma Moron"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.json deleted file mode 100644 index ca6fb4a2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "c359605e-d84b-436b-a240-9ff4e264b9cb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "b9c57654-97c9-4510-9418-ce5dcbb65dc0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "a7e1d25f-0b0a-40f7-b529-afda48e51b46_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/2f439d75-ebb5-4b9f-b731-655f0a473647" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X234567891" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/fa7e8245-ea6d-4dcd-9a24-4441487a6720" - } - } ], - "whenHandedOver": "2024-11-30", - "dosageInstruction": [ { - "text": "1-0-1-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "2f439d75-ebb5-4b9f-b731-655f0a473647", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "fa7e8245-ea6d-4dcd-9a24-4441487a6720", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Ella Vader" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.xml deleted file mode 100644 index 8cfcb7e9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c359605e-d84b-436b-a240-9ff4e264b9cb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.764.737.300.50"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b9c57654-97c9-4510-9418-ce5dcbb65dc0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="a7e1d25f-0b0a-40f7-b529-afda48e51b46_160.000.764.737.300.50"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/2f439d75-ebb5-4b9f-b731-655f0a473647"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X234567891"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/fa7e8245-ea6d-4dcd-9a24-4441487a6720"/> - </actor> - </performer> - <whenHandedOver value="2024-11-30"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2f439d75-ebb5-4b9f-b731-655f0a473647"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="05454378"/> - </coding> - <text value="SUMATRIPTAN Aurobindo 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="12"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="fa7e8245-ea6d-4dcd-9a24-4441487a6720"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ella Vader"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f/output.json new file mode 100644 index 00000000..8d58ae96 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "44ab174b-7c77-4f12-883e-e0588ddcc849", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e11e5be1-099a-4771-87de-f8509e13a127", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a7e1d25f-0b0a-40f7-b529-afda48e51b46_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/abfacfc6-3c60-4bb7-9793-7946d66a03f4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X234567891" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/28e11dd4-5cc3-4441-a656-d1b6e4b67750" + } + } ], + "whenHandedOver": "2024-11-30", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "abfacfc6-3c60-4bb7-9793-7946d66a03f4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "28e11dd4-5cc3-4441-a656-d1b6e4b67750", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "E. Ville" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f/output.xml new file mode 100644 index 00000000..79493a2a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0_a7e1d25f_a7e1d25f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="44ab174b-7c77-4f12-883e-e0588ddcc849"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e11e5be1-099a-4771-87de-f8509e13a127"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a7e1d25f-0b0a-40f7-b529-afda48e51b46_160.000.764.737.300.50"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/abfacfc6-3c60-4bb7-9793-7946d66a03f4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567891"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/28e11dd4-5cc3-4441-a656-d1b6e4b67750"/> + </actor> + </performer> + <whenHandedOver value="2024-11-30"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="abfacfc6-3c60-4bb7-9793-7946d66a03f4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05454378"/> + </coding> + <text value="SUMATRIPTAN Aurobindo 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="28e11dd4-5cc3-4441-a656-d1b6e4b67750"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="E. Ville"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.json index 187fe604..bb90129d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "701e8762-1c3f-4ddd-ae41-d7914c617865", + "id": "a3987672-70d3-481f-aaec-99589813a0a0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "1073fa01-17f8-48c3-a839-7f504ce50a69", + "id": "1052c965-2801-4851-b5d0-184b3619203f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/8ee2f130-127f-4ed9-b363-8cb51e100875" + "reference": "Medication/7d7b1f8e-be6e-4978-a2bb-d8dad39bdad4" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/c285fe12-3f9e-460b-9f68-99ec3bfe0ddd" + "reference": "Organization/00d928a7-068b-490f-a499-5190accd29df" } } ], "whenHandedOver": "2024-11-30", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "8ee2f130-127f-4ed9-b363-8cb51e100875", + "id": "7d7b1f8e-be6e-4978-a2bb-d8dad39bdad4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "c285fe12-3f9e-460b-9f68-99ec3bfe0ddd", + "id": "00d928a7-068b-490f-a499-5190accd29df", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -127,7 +127,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Will Wynn" + "name": "Dan Saul Knight" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.xml index 24d0a9bb..f38c21bc 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="701e8762-1c3f-4ddd-ae41-d7914c617865"/> + <id value="a3987672-70d3-481f-aaec-99589813a0a0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1073fa01-17f8-48c3-a839-7f504ce50a69"/> + <id value="1052c965-2801-4851-b5d0-184b3619203f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/8ee2f130-127f-4ed9-b363-8cb51e100875"/> + <reference value="Medication/7d7b1f8e-be6e-4978-a2bb-d8dad39bdad4"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/c285fe12-3f9e-460b-9f68-99ec3bfe0ddd"/> + <reference value="Organization/00d928a7-068b-490f-a499-5190accd29df"/> </actor> </performer> <whenHandedOver value="2024-11-30"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="8ee2f130-127f-4ed9-b363-8cb51e100875"/> + <id value="7d7b1f8e-be6e-4978-a2bb-d8dad39bdad4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -112,7 +112,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="c285fe12-3f9e-460b-9f68-99ec3bfe0ddd"/> + <id value="00d928a7-068b-490f-a499-5190accd29df"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -130,7 +130,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Will Wynn"/> + <name value="Dan Saul Knight"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f/input.xml new file mode 100644 index 00000000..16a19793 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a7e1d25f-0b0a-40f7-b529-afda48e51b46"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8e2e5e65-4c5d-49f2-8efc-c30e40838273"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05454378"/> + </coding> + <text value="SUMATRIPTAN Aurobindo 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="12"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#8e2e5e65-4c5d-49f2-8efc-c30e40838273"/> + <display value="SUMATRIPTAN Aurobindo 100 mg Tabletten"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567891"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-30"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f/output.json new file mode 100644 index 00000000..0f788d00 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "4ba41575-7d90-4e6e-99b5-bd216d3c40be", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1db2ab6e-654e-41ea-953e-3feeb205227b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a7e1d25f-0b0a-40f7-b529-afda48e51b46_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/26626f44-1758-48fa-8853-b467c7c1fc2f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X234567891" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0b5f7867-5d44-4a91-b5de-cb91da54404f" + } + } ], + "whenHandedOver": "2024-11-30", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "26626f44-1758-48fa-8853-b467c7c1fc2f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0b5f7867-5d44-4a91-b5de-cb91da54404f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Jeff Healitt" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f/output.xml new file mode 100644 index 00000000..d046bac8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_a7e1d25f_a7e1d25f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4ba41575-7d90-4e6e-99b5-bd216d3c40be"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1db2ab6e-654e-41ea-953e-3feeb205227b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a7e1d25f-0b0a-40f7-b529-afda48e51b46_160.000.764.737.300.50"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/26626f44-1758-48fa-8853-b467c7c1fc2f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567891"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0b5f7867-5d44-4a91-b5de-cb91da54404f"/> + </actor> + </performer> + <whenHandedOver value="2024-11-30"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="26626f44-1758-48fa-8853-b467c7c1fc2f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05454378"/> + </coding> + <text value="SUMATRIPTAN Aurobindo 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0b5f7867-5d44-4a91-b5de-cb91da54404f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jeff Healitt"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.json deleted file mode 100644 index 7f667952..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "fb4b715f-c428-408e-b923-070d7df24bb7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "73dae71c-9f56-4efd-a6f5-095131a1855f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "dceee4a2-12fa-44a4-8f97-60fc6a4d668e_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/eb43aa95-df04-454d-9a57-02b151c8bbea" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220645122" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/0343ca72-cc7f-4116-804e-917525662805" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "eb43aa95-df04-454d-9a57-02b151c8bbea", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "0343ca72-cc7f-4116-804e-917525662805", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Dan Deline" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.xml deleted file mode 100644 index ec2068ec..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="fb4b715f-c428-408e-b923-070d7df24bb7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.001.39"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="73dae71c-9f56-4efd-a6f5-095131a1855f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="dceee4a2-12fa-44a4-8f97-60fc6a4d668e_160.100.000.000.001.39"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/eb43aa95-df04-454d-9a57-02b151c8bbea"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/0343ca72-cc7f-4116-804e-917525662805"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="eb43aa95-df04-454d-9a57-02b151c8bbea"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09494280"/> - </coding> - <text value="Venlafaxin Heumann 75 mg Tabletten, 100 St."/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0343ca72-cc7f-4116-804e-917525662805"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Dan Deline"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2/output.json new file mode 100644 index 00000000..48c636e2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "29cb88d9-8e24-447e-badc-27e712a72328", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1f0b8b8a-033e-402d-8a21-f0d5cd859fd7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dceee4a2-12fa-44a4-8f97-60fc6a4d668e_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/17d8f424-3adb-4919-b882-b9b8af92901f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/730bc5ed-10ac-4a5d-9cdd-b043dc99f6b8" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "17d8f424-3adb-4919-b882-b9b8af92901f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "730bc5ed-10ac-4a5d-9cdd-b043dc99f6b8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "May Day" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2/output.xml new file mode 100644 index 00000000..ad80a6fe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c_dceee4a2_dceee4a2/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="29cb88d9-8e24-447e-badc-27e712a72328"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1f0b8b8a-033e-402d-8a21-f0d5cd859fd7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dceee4a2-12fa-44a4-8f97-60fc6a4d668e_160.100.000.000.001.39"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/17d8f424-3adb-4919-b882-b9b8af92901f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/730bc5ed-10ac-4a5d-9cdd-b043dc99f6b8"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="17d8f424-3adb-4919-b882-b9b8af92901f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09494280"/> + </coding> + <text value="Venlafaxin Heumann 75 mg Tabletten, 100 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="730bc5ed-10ac-4a5d-9cdd-b043dc99f6b8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="May Day"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.json index e4b84fb0..226883c0 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "90fc8273-3e35-4d1f-b39e-234853f47c59", + "id": "7d13ff6a-1a4f-48bb-aa37-11d0b6fa27cf", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "2402a01d-93c1-4c33-b2f0-162aac54349f", + "id": "f6b7b0c5-aff5-4229-a16d-94ea523db63d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/0028a6db-b205-44e1-89cd-7d3818fcfb8a" + "reference": "Medication/f964e9d3-4792-4fc6-b347-8188514b7bf0" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/32265c1e-ccb1-4fc1-b292-310fdfa1316e" + "reference": "Organization/e8ff1956-b53d-4acb-8cc1-7841de4a7be7" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "0028a6db-b205-44e1-89cd-7d3818fcfb8a", + "id": "f964e9d3-4792-4fc6-b347-8188514b7bf0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "32265c1e-ccb1-4fc1-b292-310fdfa1316e", + "id": "e8ff1956-b53d-4acb-8cc1-7841de4a7be7", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "I. Ball" + "name": "Milton Yermouth" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.xml index 39eb0c6a..9990e8eb 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="90fc8273-3e35-4d1f-b39e-234853f47c59"/> + <id value="7d13ff6a-1a4f-48bb-aa37-11d0b6fa27cf"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="2402a01d-93c1-4c33-b2f0-162aac54349f"/> + <id value="f6b7b0c5-aff5-4229-a16d-94ea523db63d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/0028a6db-b205-44e1-89cd-7d3818fcfb8a"/> + <reference value="Medication/f964e9d3-4792-4fc6-b347-8188514b7bf0"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/32265c1e-ccb1-4fc1-b292-310fdfa1316e"/> + <reference value="Organization/e8ff1956-b53d-4acb-8cc1-7841de4a7be7"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="0028a6db-b205-44e1-89cd-7d3818fcfb8a"/> + <id value="f964e9d3-4792-4fc6-b347-8188514b7bf0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="32265c1e-ccb1-4fc1-b292-310fdfa1316e"/> + <id value="e8ff1956-b53d-4acb-8cc1-7841de4a7be7"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="I. Ball"/> + <name value="Milton Yermouth"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2/output.json new file mode 100644 index 00000000..e5b5f571 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "90bfb863-f504-44b2-a9b7-5e789efb939e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8a20bac0-fccd-4888-8b64-35e9ac3768f7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dceee4a2-12fa-44a4-8f97-60fc6a4d668e_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/399636fd-a341-45c4-8d80-fd87b98389f2" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/6680a14b-4b41-4864-932f-2636a0123dbf" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "399636fd-a341-45c4-8d80-fd87b98389f2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "6680a14b-4b41-4864-932f-2636a0123dbf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dinah Might" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2/output.xml new file mode 100644 index 00000000..086c55fe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_dceee4a2_dceee4a2/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="90bfb863-f504-44b2-a9b7-5e789efb939e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8a20bac0-fccd-4888-8b64-35e9ac3768f7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dceee4a2-12fa-44a4-8f97-60fc6a4d668e_160.100.000.000.001.39"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/399636fd-a341-45c4-8d80-fd87b98389f2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/6680a14b-4b41-4864-932f-2636a0123dbf"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="399636fd-a341-45c4-8d80-fd87b98389f2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09494280"/> + </coding> + <text value="Venlafaxin Heumann 75 mg Tabletten, 100 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6680a14b-4b41-4864-932f-2636a0123dbf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dinah Might"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.json deleted file mode 100644 index e8dfa323..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "1259867d-a1f1-4159-b8a8-8b7a6e61e926", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "9d0c38a5-130a-40b6-a3a4-49f5c5e89443", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "dceee4a2-12fa-44a4-8f97-60fc6a4d668e_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/05eeb033-ef4c-4fea-a728-54e8653923a2" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220645122" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/38c73eb8-3fd1-4c25-a425-baddc7fd5eb3" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "05eeb033-ef4c-4fea-a728-54e8653923a2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "38c73eb8-3fd1-4c25-a425-baddc7fd5eb3", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.xml deleted file mode 100644 index ff2727b0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1259867d-a1f1-4159-b8a8-8b7a6e61e926"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.001.39"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="9d0c38a5-130a-40b6-a3a4-49f5c5e89443"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="dceee4a2-12fa-44a4-8f97-60fc6a4d668e_160.100.000.000.001.39"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/05eeb033-ef4c-4fea-a728-54e8653923a2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/38c73eb8-3fd1-4c25-a425-baddc7fd5eb3"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="05eeb033-ef4c-4fea-a728-54e8653923a2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09494280"/> - </coding> - <text value="Venlafaxin Heumann 75 mg Tabletten, 100 St."/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="38c73eb8-3fd1-4c25-a425-baddc7fd5eb3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hayden Seek"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2/input.xml new file mode 100644 index 00000000..4da1859c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="dceee4a2-12fa-44a4-8f97-60fc6a4d668e"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="40f0ab8c-1be7-423e-93e3-eda600706ca6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09494280"/> + </coding> + <text value="Venlafaxin Heumann 75 mg Tabletten, 100 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#40f0ab8c-1be7-423e-93e3-eda600706ca6"/> + <display value="Venlafaxin Heumann 75 mg Tabletten, 100 St."/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2/output.json new file mode 100644 index 00000000..8bf96b93 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "1b4ffa7e-bb07-46b8-bf14-66fc9da84733", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "9b80b271-24f2-4de6-97a3-bf62ac463a12", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dceee4a2-12fa-44a4-8f97-60fc6a4d668e_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/7e5dc496-2df0-4fd2-b51e-7f4de86fd685" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/069a918a-adc3-44cd-b8ad-9786e13b4901" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7e5dc496-2df0-4fd2-b51e-7f4de86fd685", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "069a918a-adc3-44cd-b8ad-9786e13b4901", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Howard I. No" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2/output.xml new file mode 100644 index 00000000..ee8ff466 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9_dceee4a2_dceee4a2/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1b4ffa7e-bb07-46b8-bf14-66fc9da84733"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9b80b271-24f2-4de6-97a3-bf62ac463a12"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dceee4a2-12fa-44a4-8f97-60fc6a4d668e_160.100.000.000.001.39"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7e5dc496-2df0-4fd2-b51e-7f4de86fd685"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/069a918a-adc3-44cd-b8ad-9786e13b4901"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7e5dc496-2df0-4fd2-b51e-7f4de86fd685"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09494280"/> + </coding> + <text value="Venlafaxin Heumann 75 mg Tabletten, 100 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="069a918a-adc3-44cd-b8ad-9786e13b4901"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Howard I. No"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.json deleted file mode 100644 index bb627780..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "68964343-f730-4831-b18a-625cc8855383", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "786209ca-ecb2-42a3-a812-c9d5d639bb35", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "c0e79dec-eeea-4777-9591-7d62ec49cadc_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/1e2d128f-3930-4fb0-8c31-cb7df9a5b9b4" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220635158" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/b9f543c9-8d14-42b7-9549-67646e65ed37" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "1e2d128f-3930-4fb0-8c31-cb7df9a5b9b4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "b9f543c9-8d14-42b7-9549-67646e65ed37", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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 Knot" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.xml deleted file mode 100644 index 71054a2d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="68964343-f730-4831-b18a-625cc8855383"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.006.24"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="786209ca-ecb2-42a3-a812-c9d5d639bb35"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="c0e79dec-eeea-4777-9591-7d62ec49cadc_160.100.000.000.006.24"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/1e2d128f-3930-4fb0-8c31-cb7df9a5b9b4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/b9f543c9-8d14-42b7-9549-67646e65ed37"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1e2d128f-3930-4fb0-8c31-cb7df9a5b9b4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00814665"/> - </coding> - <text value="Januvia® 50 mg 28 Filmtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="28"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b9f543c9-8d14-42b7-9549-67646e65ed37"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Shirley Knot"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec/output.json new file mode 100644 index 00000000..74fb5aeb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "8e60b0a7-1a45-4544-955f-8fa9839fef77", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f495b32d-6163-47a6-9eed-c12a1ecc7822", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c0e79dec-eeea-4777-9591-7d62ec49cadc_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/11b64b3d-f2f4-4f17-8051-7040282d5390" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/5866cf4c-0246-4ba5-b9e9-32f2541804a5" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "11b64b3d-f2f4-4f17-8051-7040282d5390", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "5866cf4c-0246-4ba5-b9e9-32f2541804a5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 S. Halfempty" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec/output.xml new file mode 100644 index 00000000..48d4eb76 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3_c0e79dec_c0e79dec/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8e60b0a7-1a45-4544-955f-8fa9839fef77"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f495b32d-6163-47a6-9eed-c12a1ecc7822"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c0e79dec-eeea-4777-9591-7d62ec49cadc_160.100.000.000.006.24"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/11b64b3d-f2f4-4f17-8051-7040282d5390"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/5866cf4c-0246-4ba5-b9e9-32f2541804a5"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="11b64b3d-f2f4-4f17-8051-7040282d5390"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="28"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5866cf4c-0246-4ba5-b9e9-32f2541804a5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Douglas S. Halfempty"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.json deleted file mode 100644 index 69179a81..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "686e86b7-5270-425b-b691-996c57eb937d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "68ffbd67-b35a-43eb-9d0e-c872bac2ca62", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "c0e79dec-eeea-4777-9591-7d62ec49cadc_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/ca7a6ef4-6942-452c-8e5a-ef807d6e6aac" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220635158" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/1de17f39-c00c-4a60-8d0f-f1726883d08a" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "ca7a6ef4-6942-452c-8e5a-ef807d6e6aac", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "1de17f39-c00c-4a60-8d0f-f1726883d08a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Drew Blood" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.xml deleted file mode 100644 index 4632cf41..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="686e86b7-5270-425b-b691-996c57eb937d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.006.24"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="68ffbd67-b35a-43eb-9d0e-c872bac2ca62"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="c0e79dec-eeea-4777-9591-7d62ec49cadc_160.100.000.000.006.24"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/ca7a6ef4-6942-452c-8e5a-ef807d6e6aac"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/1de17f39-c00c-4a60-8d0f-f1726883d08a"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ca7a6ef4-6942-452c-8e5a-ef807d6e6aac"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00814665"/> - </coding> - <text value="Januvia® 50 mg 28 Filmtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="28"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1de17f39-c00c-4a60-8d0f-f1726883d08a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Drew Blood"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec/output.json new file mode 100644 index 00000000..32b160a7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "5e7dfce6-1d33-4e11-8c41-f2e037832f5d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4650b25a-f644-47bd-b9af-74c500e47ae6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c0e79dec-eeea-4777-9591-7d62ec49cadc_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/f4d21618-f33b-4bc8-9fb0-3e8df9f9be0f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/95eaf84e-2452-4148-810f-14a63a221044" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f4d21618-f33b-4bc8-9fb0-3e8df9f9be0f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "95eaf84e-2452-4148-810f-14a63a221044", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Chanda Lear" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec/output.xml new file mode 100644 index 00000000..a198ba83 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9_c0e79dec_c0e79dec/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5e7dfce6-1d33-4e11-8c41-f2e037832f5d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4650b25a-f644-47bd-b9af-74c500e47ae6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c0e79dec-eeea-4777-9591-7d62ec49cadc_160.100.000.000.006.24"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f4d21618-f33b-4bc8-9fb0-3e8df9f9be0f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/95eaf84e-2452-4148-810f-14a63a221044"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f4d21618-f33b-4bc8-9fb0-3e8df9f9be0f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="28"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="95eaf84e-2452-4148-810f-14a63a221044"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Chanda Lear"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.json index 2485c1b7..bd2182c8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "49e523e2-644b-469e-828a-45443538a17f", + "id": "db53968f-3f62-419d-afd4-60fc5c0e4435", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "e3686650-8dce-4951-81ba-e00acdab5ebc", + "id": "430de1ff-5b0c-4c38-9378-627b332e8e58", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/51648d12-9737-4813-a8cc-87c367d4a860" + "reference": "Medication/f93db1e9-b461-4b58-8ab5-261b9dfe997f" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/88945f5d-f08e-42e4-bc9f-0d0cdce92e9a" + "reference": "Organization/e9d1f1c8-e4fe-40e3-b82f-0031582f7907" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "51648d12-9737-4813-a8cc-87c367d4a860", + "id": "f93db1e9-b461-4b58-8ab5-261b9dfe997f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "88945f5d-f08e-42e4-bc9f-0d0cdce92e9a", + "id": "e9d1f1c8-e4fe-40e3-b82f-0031582f7907", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Kay Neine" + "name": "Penny Bunn" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.xml index a78194bd..915fb9b9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="49e523e2-644b-469e-828a-45443538a17f"/> + <id value="db53968f-3f62-419d-afd4-60fc5c0e4435"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="e3686650-8dce-4951-81ba-e00acdab5ebc"/> + <id value="430de1ff-5b0c-4c38-9378-627b332e8e58"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/51648d12-9737-4813-a8cc-87c367d4a860"/> + <reference value="Medication/f93db1e9-b461-4b58-8ab5-261b9dfe997f"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/88945f5d-f08e-42e4-bc9f-0d0cdce92e9a"/> + <reference value="Organization/e9d1f1c8-e4fe-40e3-b82f-0031582f7907"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="51648d12-9737-4813-a8cc-87c367d4a860"/> + <id value="f93db1e9-b461-4b58-8ab5-261b9dfe997f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="88945f5d-f08e-42e4-bc9f-0d0cdce92e9a"/> + <id value="e9d1f1c8-e4fe-40e3-b82f-0031582f7907"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Kay Neine"/> + <name value="Penny Bunn"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec/input.xml new file mode 100644 index 00000000..d11ccdc4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c0e79dec-eeea-4777-9591-7d62ec49cadc"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="77010a0a-b0ce-4905-9a7a-a5efc41774b1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="28"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#77010a0a-b0ce-4905-9a7a-a5efc41774b1"/> + <display value="Januvia® 50 mg 28 Filmtabletten N1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec/output.json new file mode 100644 index 00000000..ea71270f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "ebfb545d-d14a-48ba-a0fe-bc3fd309534e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "6bbd541d-91cd-4a33-beef-b456deb712d9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c0e79dec-eeea-4777-9591-7d62ec49cadc_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/5ea40804-3b6b-4cb5-9a43-9d49eb02af91" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ba573153-73c6-4e76-8488-c3a1de5e7f38" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5ea40804-3b6b-4cb5-9a43-9d49eb02af91", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "ba573153-73c6-4e76-8488-c3a1de5e7f38", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Shorts" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec/output.xml new file mode 100644 index 00000000..3695b264 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_c0e79dec_c0e79dec/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ebfb545d-d14a-48ba-a0fe-bc3fd309534e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6bbd541d-91cd-4a33-beef-b456deb712d9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c0e79dec-eeea-4777-9591-7d62ec49cadc_160.100.000.000.006.24"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5ea40804-3b6b-4cb5-9a43-9d49eb02af91"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ba573153-73c6-4e76-8488-c3a1de5e7f38"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5ea40804-3b6b-4cb5-9a43-9d49eb02af91"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="28"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ba573153-73c6-4e76-8488-c3a1de5e7f38"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jim Shorts"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.json deleted file mode 100644 index 9fca2012..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "0bf036e1-e0a4-449c-8474-c4a9ecf68052", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "1348ca28-eade-47c9-a1e3-a2561ee85132", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "b78b76bd-3645-4ce0-b907-bd02504c26cd_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/1dced148-53fb-4c2a-9f74-f1cf192018d7" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "M310119802" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/e16fec50-a71f-4531-be91-715c30b2a844" - } - } ], - "whenHandedOver": "2024-11-27", - "dosageInstruction": [ { - "text": "2mal tägl. 5ml" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "1dced148-53fb-4c2a-9f74-f1cf192018d7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "e16fec50-a71f-4531-be91-715c30b2a844", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.xml deleted file mode 100644 index 23a16de7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0bf036e1-e0a4-449c-8474-c4a9ecf68052"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.002.36"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1348ca28-eade-47c9-a1e3-a2561ee85132"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="b78b76bd-3645-4ce0-b907-bd02504c26cd_160.100.000.000.002.36"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/1dced148-53fb-4c2a-9f74-f1cf192018d7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="M310119802"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/e16fec50-a71f-4531-be91-715c30b2a844"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="2mal tägl. 5ml"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1dced148-53fb-4c2a-9f74-f1cf192018d7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08585997"/> - </coding> - <text value="Prospan® Hustensaft 100ml N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FLE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e16fec50-a71f-4531-be91-715c30b2a844"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Pearl E. Whites"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd/output.json new file mode 100644 index 00000000..334669f2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "ee806ddd-2c97-4927-9e55-cf698fa5f3cf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "60408eca-7fe5-44d4-aa3b-f5789d7d2980", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b78b76bd-3645-4ce0-b907-bd02504c26cd_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/9b6bf58c-34f8-408b-bd14-59f6b0b22c33" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "M310119802" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/6cceb4ac-4936-4cbc-bfaf-c9ec71abf3bb" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "2mal tägl. 5ml" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "9b6bf58c-34f8-408b-bd14-59f6b0b22c33", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "6cceb4ac-4936-4cbc-bfaf-c9ec71abf3bb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Oscar Ruitt" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd/output.xml new file mode 100644 index 00000000..ffd9c1db --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f_b78b76bd_b78b76bd/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ee806ddd-2c97-4927-9e55-cf698fa5f3cf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="60408eca-7fe5-44d4-aa3b-f5789d7d2980"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b78b76bd-3645-4ce0-b907-bd02504c26cd_160.100.000.000.002.36"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/9b6bf58c-34f8-408b-bd14-59f6b0b22c33"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119802"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/6cceb4ac-4936-4cbc-bfaf-c9ec71abf3bb"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9b6bf58c-34f8-408b-bd14-59f6b0b22c33"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6cceb4ac-4936-4cbc-bfaf-c9ec71abf3bb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Oscar Ruitt"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.json deleted file mode 100644 index 982faec2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "6fb1984c-7bda-4008-bede-9e041b1897e1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "e8f63d2c-b3b8-4c68-8851-1df5beba6316", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "b78b76bd-3645-4ce0-b907-bd02504c26cd_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/26a9017a-4323-4e30-b36d-74b1b532cfec" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "M310119802" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/fce7954a-8ab4-4d5e-a111-6bb8204e9dbc" - } - } ], - "whenHandedOver": "2023-07-27", - "dosageInstruction": [ { - "text": "2mal tägl. 5ml" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "26a9017a-4323-4e30-b36d-74b1b532cfec", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "fce7954a-8ab4-4d5e-a111-6bb8204e9dbc", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Ray Gunn" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.xml deleted file mode 100644 index b5aea891..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6fb1984c-7bda-4008-bede-9e041b1897e1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.002.36"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="e8f63d2c-b3b8-4c68-8851-1df5beba6316"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="b78b76bd-3645-4ce0-b907-bd02504c26cd_160.100.000.000.002.36"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/26a9017a-4323-4e30-b36d-74b1b532cfec"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="M310119802"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/fce7954a-8ab4-4d5e-a111-6bb8204e9dbc"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="2mal tägl. 5ml"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="26a9017a-4323-4e30-b36d-74b1b532cfec"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08585997"/> - </coding> - <text value="Prospan® Hustensaft 100ml N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FLE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="fce7954a-8ab4-4d5e-a111-6bb8204e9dbc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ray Gunn"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd/output.json new file mode 100644 index 00000000..a8b214bf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "4454f323-489f-440f-9c71-458b025826f6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2aff1a7a-b505-48d7-ad69-61131a67abb7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b78b76bd-3645-4ce0-b907-bd02504c26cd_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/34a45fc5-8458-4e72-8c34-0ccbc4a5c424" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "M310119802" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f7ae7dd5-fe01-48e3-b48a-385d6c07a92f" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "2mal tägl. 5ml" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "34a45fc5-8458-4e72-8c34-0ccbc4a5c424", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f7ae7dd5-fe01-48e3-b48a-385d6c07a92f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Isadore Bell" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd/output.xml new file mode 100644 index 00000000..831a3bd1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a_b78b76bd_b78b76bd/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4454f323-489f-440f-9c71-458b025826f6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2aff1a7a-b505-48d7-ad69-61131a67abb7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b78b76bd-3645-4ce0-b907-bd02504c26cd_160.100.000.000.002.36"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/34a45fc5-8458-4e72-8c34-0ccbc4a5c424"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119802"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f7ae7dd5-fe01-48e3-b48a-385d6c07a92f"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="34a45fc5-8458-4e72-8c34-0ccbc4a5c424"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f7ae7dd5-fe01-48e3-b48a-385d6c07a92f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Isadore Bell"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.json index a66b63b3..3ad37a6a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "8ff8360a-9d2e-43b2-b77c-31b0ae90b5bd", + "id": "52987d6a-b0eb-4f07-ba31-53be2292c6bb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "ec782cf6-807d-4814-af70-236dc249cc28", + "id": "a44e0b46-dd2d-45d0-b743-ff9daedeff86", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/bc97fd3b-2f70-4d9c-8ccb-594ad6674553" + "reference": "Medication/ba5484aa-a7fb-4c14-aefe-ecf4d32f702d" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/7e84cc6c-e9c7-4e09-82f9-c2b774eb95c8" + "reference": "Organization/b50f3eac-c895-4fb1-8206-1f6894546f54" } } ], "whenHandedOver": "2024-11-27", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "bc97fd3b-2f70-4d9c-8ccb-594ad6674553", + "id": "ba5484aa-a7fb-4c14-aefe-ecf4d32f702d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "7e84cc6c-e9c7-4e09-82f9-c2b774eb95c8", + "id": "b50f3eac-c895-4fb1-8206-1f6894546f54", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -127,7 +127,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Melba Crisp" + "name": "Carrie Dababi" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.xml index 6fa47ab9..7a9435b0 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="8ff8360a-9d2e-43b2-b77c-31b0ae90b5bd"/> + <id value="52987d6a-b0eb-4f07-ba31-53be2292c6bb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ec782cf6-807d-4814-af70-236dc249cc28"/> + <id value="a44e0b46-dd2d-45d0-b743-ff9daedeff86"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/bc97fd3b-2f70-4d9c-8ccb-594ad6674553"/> + <reference value="Medication/ba5484aa-a7fb-4c14-aefe-ecf4d32f702d"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/7e84cc6c-e9c7-4e09-82f9-c2b774eb95c8"/> + <reference value="Organization/b50f3eac-c895-4fb1-8206-1f6894546f54"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="bc97fd3b-2f70-4d9c-8ccb-594ad6674553"/> + <id value="ba5484aa-a7fb-4c14-aefe-ecf4d32f702d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -112,7 +112,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="7e84cc6c-e9c7-4e09-82f9-c2b774eb95c8"/> + <id value="b50f3eac-c895-4fb1-8206-1f6894546f54"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -130,7 +130,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Melba Crisp"/> + <name value="Carrie Dababi"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd/input.xml new file mode 100644 index 00000000..a9aa6928 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b78b76bd-3645-4ce0-b907-bd02504c26cd"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c639211d-3a68-4f86-bf15-5e867b48973e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#c639211d-3a68-4f86-bf15-5e867b48973e"/> + <display value="Prospan® Hustensaft 100ml N1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119802"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd/output.json new file mode 100644 index 00000000..bd22b1c6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "d86f82cd-d468-45ca-88ab-b5a9a96da6ea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4f83f81c-4678-40e4-8de4-b3a9d96aa689", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b78b76bd-3645-4ce0-b907-bd02504c26cd_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/2e7cecbb-5d48-4e5d-95d7-be7dcae45af0" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "M310119802" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a9af84cd-d8db-4b1f-b811-9316c1913828" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "2mal tägl. 5ml" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2e7cecbb-5d48-4e5d-95d7-be7dcae45af0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "a9af84cd-d8db-4b1f-b811-9316c1913828", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Olive Branch" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd/output.xml new file mode 100644 index 00000000..62f9fead --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_b78b76bd_b78b76bd/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d86f82cd-d468-45ca-88ab-b5a9a96da6ea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4f83f81c-4678-40e4-8de4-b3a9d96aa689"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b78b76bd-3645-4ce0-b907-bd02504c26cd_160.100.000.000.002.36"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2e7cecbb-5d48-4e5d-95d7-be7dcae45af0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119802"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a9af84cd-d8db-4b1f-b811-9316c1913828"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2e7cecbb-5d48-4e5d-95d7-be7dcae45af0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a9af84cd-d8db-4b1f-b811-9316c1913828"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Olive Branch"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.json deleted file mode 100644 index 961bd53a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "541ac03c-7363-42f4-9432-45760f09c6e8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "d6b4fa17-0136-4b26-bc4f-e2abf2ebae2e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "61cbdbb3-c397-4e6d-909f-7b0dc520177c_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/f2f61d00-23cc-4b87-9de4-ac0028e6961c" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "H030170228" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/56df69f1-6e28-4d59-8993-402b9cd7d690" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "f2f61d00-23cc-4b87-9de4-ac0028e6961c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "56df69f1-6e28-4d59-8993-402b9cd7d690", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.xml deleted file mode 100644 index 1244bc27..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="541ac03c-7363-42f4-9432-45760f09c6e8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.014.97"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="d6b4fa17-0136-4b26-bc4f-e2abf2ebae2e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="61cbdbb3-c397-4e6d-909f-7b0dc520177c_160.100.000.000.014.97"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/f2f61d00-23cc-4b87-9de4-ac0028e6961c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/56df69f1-6e28-4d59-8993-402b9cd7d690"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f2f61d00-23cc-4b87-9de4-ac0028e6961c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06977931"/> - </coding> - <text value="ACICLOVIR 800 Heumann Tabletten (35 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="35"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="56df69f1-6e28-4d59-8993-402b9cd7d690"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Haywood Jashootmee"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3/output.json new file mode 100644 index 00000000..efcf7d57 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "a694c9b3-3a29-4618-a81a-f80ebda2c978", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "6a77b00f-72b4-4c0d-8b3f-7789079f6d93", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "61cbdbb3-c397-4e6d-909f-7b0dc520177c_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/154a9d3c-5a0c-4e26-bf3f-196dd6c37426" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f5fedb95-060c-4c0e-843b-7c21c1c47c8b" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "154a9d3c-5a0c-4e26-bf3f-196dd6c37426", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f5fedb95-060c-4c0e-843b-7c21c1c47c8b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Earl E. Byrd" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3/output.xml new file mode 100644 index 00000000..4f28097f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a_61cbdbb3_61cbdbb3/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a694c9b3-3a29-4618-a81a-f80ebda2c978"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="6a77b00f-72b4-4c0d-8b3f-7789079f6d93"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="61cbdbb3-c397-4e6d-909f-7b0dc520177c_160.100.000.000.014.97"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/154a9d3c-5a0c-4e26-bf3f-196dd6c37426"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f5fedb95-060c-4c0e-843b-7c21c1c47c8b"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="154a9d3c-5a0c-4e26-bf3f-196dd6c37426"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06977931"/> + </coding> + <text value="ACICLOVIR 800 Heumann Tabletten (35 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="35"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f5fedb95-060c-4c0e-843b-7c21c1c47c8b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Earl E. Byrd"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.json deleted file mode 100644 index 45b5175f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "17132f40-2510-4592-afd1-45671ecf01c6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "525a6f8b-b709-45e4-bad9-230baadb9f5f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "61cbdbb3-c397-4e6d-909f-7b0dc520177c_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/e95361c0-f3f6-4c4c-bc81-874f9ac718f1" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "H030170228" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/aed134f5-e119-4cce-94f8-6b3a6e805f9d" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "e95361c0-f3f6-4c4c-bc81-874f9ac718f1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "aed134f5-e119-4cce-94f8-6b3a6e805f9d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Jo King" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.xml deleted file mode 100644 index 16acaf11..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="17132f40-2510-4592-afd1-45671ecf01c6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.014.97"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="525a6f8b-b709-45e4-bad9-230baadb9f5f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="61cbdbb3-c397-4e6d-909f-7b0dc520177c_160.100.000.000.014.97"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/e95361c0-f3f6-4c4c-bc81-874f9ac718f1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/aed134f5-e119-4cce-94f8-6b3a6e805f9d"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e95361c0-f3f6-4c4c-bc81-874f9ac718f1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06977931"/> - </coding> - <text value="ACICLOVIR 800 Heumann Tabletten (35 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="35"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="aed134f5-e119-4cce-94f8-6b3a6e805f9d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Jo King"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3/output.json new file mode 100644 index 00000000..09cada1a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "4d997d68-19e3-48cc-9b97-fac533e6b034", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "5639c684-77cb-45d2-8b2f-132575876590", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "61cbdbb3-c397-4e6d-909f-7b0dc520177c_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/cdfe1ac4-85cf-4f84-a03c-0669ca1f13ef" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f4fefb0b-c81f-459f-b2ec-e4cee449c9b5" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "cdfe1ac4-85cf-4f84-a03c-0669ca1f13ef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f4fefb0b-c81f-459f-b2ec-e4cee449c9b5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 N. Beans" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3/output.xml new file mode 100644 index 00000000..2a220e01 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32_61cbdbb3_61cbdbb3/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4d997d68-19e3-48cc-9b97-fac533e6b034"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5639c684-77cb-45d2-8b2f-132575876590"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="61cbdbb3-c397-4e6d-909f-7b0dc520177c_160.100.000.000.014.97"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/cdfe1ac4-85cf-4f84-a03c-0669ca1f13ef"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f4fefb0b-c81f-459f-b2ec-e4cee449c9b5"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cdfe1ac4-85cf-4f84-a03c-0669ca1f13ef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06977931"/> + </coding> + <text value="ACICLOVIR 800 Heumann Tabletten (35 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="35"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f4fefb0b-c81f-459f-b2ec-e4cee449c9b5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Frank N. Beans"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.json index eaaa8c40..61d879a1 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "2f21cd01-8ed0-4da0-b639-b6fd51351aea", + "id": "25a4134a-94bc-42d0-80a7-8aef8e4e6360", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "12d652d7-9ce6-4450-ba5d-43b2c58cdea8", + "id": "0373a754-4ca5-4f68-a048-4a6458b60d8e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/eb624e34-761e-431f-80a5-cf18e07d92ac" + "reference": "Medication/ce82a128-5c25-49c3-b8a0-cc2edb47043d" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/d6f97b0f-65a1-4fa5-b278-15a5d4273920" + "reference": "Organization/e70e29fb-eb12-4c73-9e2b-8e2002f1e932" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "eb624e34-761e-431f-80a5-cf18e07d92ac", + "id": "ce82a128-5c25-49c3-b8a0-cc2edb47043d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d6f97b0f-65a1-4fa5-b278-15a5d4273920", + "id": "e70e29fb-eb12-4c73-9e2b-8e2002f1e932", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Penny Wise" + "name": "Iona Ford" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.xml index d4dfbafd..94403536 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="2f21cd01-8ed0-4da0-b639-b6fd51351aea"/> + <id value="25a4134a-94bc-42d0-80a7-8aef8e4e6360"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="12d652d7-9ce6-4450-ba5d-43b2c58cdea8"/> + <id value="0373a754-4ca5-4f68-a048-4a6458b60d8e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/eb624e34-761e-431f-80a5-cf18e07d92ac"/> + <reference value="Medication/ce82a128-5c25-49c3-b8a0-cc2edb47043d"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/d6f97b0f-65a1-4fa5-b278-15a5d4273920"/> + <reference value="Organization/e70e29fb-eb12-4c73-9e2b-8e2002f1e932"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="eb624e34-761e-431f-80a5-cf18e07d92ac"/> + <id value="ce82a128-5c25-49c3-b8a0-cc2edb47043d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d6f97b0f-65a1-4fa5-b278-15a5d4273920"/> + <id value="e70e29fb-eb12-4c73-9e2b-8e2002f1e932"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Penny Wise"/> + <name value="Iona Ford"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3/input.xml new file mode 100644 index 00000000..8360506a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="61cbdbb3-c397-4e6d-909f-7b0dc520177c"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7167febd-5c16-4d20-981a-ba5268dbbd0d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06977931"/> + </coding> + <text value="ACICLOVIR 800 Heumann Tabletten (35 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="35"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#7167febd-5c16-4d20-981a-ba5268dbbd0d"/> + <display value="ACICLOVIR 800 Heumann Tabletten (35 St)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3/output.json new file mode 100644 index 00000000..52815093 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "7129417e-9f98-44cd-b816-afa8f69b80e1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "bca456be-fe8b-4425-8344-6a742a74099d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "61cbdbb3-c397-4e6d-909f-7b0dc520177c_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/8b243b80-676f-4415-a79b-fdbac273fc03" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/52a6aaac-a861-470d-89d4-3b3f3e5a607b" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "8b243b80-676f-4415-a79b-fdbac273fc03", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "52a6aaac-a861-470d-89d4-3b3f3e5a607b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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_Nr5_MedicationDispense_61cbdbb3_61cbdbb3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3/output.xml new file mode 100644 index 00000000..ca52519a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_61cbdbb3_61cbdbb3/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7129417e-9f98-44cd-b816-afa8f69b80e1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="bca456be-fe8b-4425-8344-6a742a74099d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="61cbdbb3-c397-4e6d-909f-7b0dc520177c_160.100.000.000.014.97"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/8b243b80-676f-4415-a79b-fdbac273fc03"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/52a6aaac-a861-470d-89d4-3b3f3e5a607b"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8b243b80-676f-4415-a79b-fdbac273fc03"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06977931"/> + </coding> + <text value="ACICLOVIR 800 Heumann Tabletten (35 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="35"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="52a6aaac-a861-470d-89d4-3b3f3e5a607b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Ginger Snapp"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.json deleted file mode 100644 index a7424b9e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "bf35bb70-696e-4972-b133-02756145859f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "9144d649-d02f-4ae2-ac89-341d560fa1c7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "f2a598ff-7847-4f23-95ac-3c4338e88055_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/78e812dd-de3f-4925-be9a-44b46382f216" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "P223331978" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/48989149-b727-4f3a-9c5f-141ae7889e8b" - } - } ], - "whenHandedOver": "2023-07-27", - "dosageInstruction": [ { - "text": "1-0-0-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "78e812dd-de3f-4925-be9a-44b46382f216", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "48989149-b727-4f3a-9c5f-141ae7889e8b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "June Bugg" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.xml deleted file mode 100644 index df8c6f70..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bf35bb70-696e-4972-b133-02756145859f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.011.09"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="9144d649-d02f-4ae2-ac89-341d560fa1c7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="f2a598ff-7847-4f23-95ac-3c4338e88055_160.100.000.000.011.09"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/78e812dd-de3f-4925-be9a-44b46382f216"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="P223331978"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/48989149-b727-4f3a-9c5f-141ae7889e8b"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="78e812dd-de3f-4925-be9a-44b46382f216"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="04773414"/> - </coding> - <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="48989149-b727-4f3a-9c5f-141ae7889e8b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="June Bugg"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff/output.json new file mode 100644 index 00000000..ec7ddfde --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "7440ac39-a9c9-4b0d-9a71-5674ebf8d493", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "832385f7-23a7-4d11-8c8c-acbeb1bd4aa2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f2a598ff-7847-4f23-95ac-3c4338e88055_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/1722a203-6392-4d0b-8446-ea1cd66217e5" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "P223331978" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/7f144454-2c5f-4e98-9622-b64be9c92df1" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "1722a203-6392-4d0b-8446-ea1cd66217e5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "7f144454-2c5f-4e98-9622-b64be9c92df1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Robin Andis Merryman" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff/output.xml new file mode 100644 index 00000000..ad174e75 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e_f2a598ff_f2a598ff/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7440ac39-a9c9-4b0d-9a71-5674ebf8d493"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="832385f7-23a7-4d11-8c8c-acbeb1bd4aa2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f2a598ff-7847-4f23-95ac-3c4338e88055_160.100.000.000.011.09"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/1722a203-6392-4d0b-8446-ea1cd66217e5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="P223331978"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/7f144454-2c5f-4e98-9622-b64be9c92df1"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1722a203-6392-4d0b-8446-ea1cd66217e5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7f144454-2c5f-4e98-9622-b64be9c92df1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Robin Andis Merryman"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.json deleted file mode 100644 index da0de3cb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "aeebfcf2-4a93-4540-9771-f5b27f50139e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "a5de06b6-489e-4791-8e41-fe4dc54c2143", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "f2a598ff-7847-4f23-95ac-3c4338e88055_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/4eba4a5e-56b3-4fcd-b62a-58d03d9ca2b6" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "P223331978" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/a4278695-4247-4656-b9a5-8a40e96016cd" - } - } ], - "whenHandedOver": "2024-11-27", - "dosageInstruction": [ { - "text": "1-0-0-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "4eba4a5e-56b3-4fcd-b62a-58d03d9ca2b6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "a4278695-4247-4656-b9a5-8a40e96016cd", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Raney Schauer" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.xml deleted file mode 100644 index 7bbe3aa4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="aeebfcf2-4a93-4540-9771-f5b27f50139e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.011.09"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a5de06b6-489e-4791-8e41-fe4dc54c2143"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="f2a598ff-7847-4f23-95ac-3c4338e88055_160.100.000.000.011.09"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/4eba4a5e-56b3-4fcd-b62a-58d03d9ca2b6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="P223331978"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/a4278695-4247-4656-b9a5-8a40e96016cd"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4eba4a5e-56b3-4fcd-b62a-58d03d9ca2b6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="04773414"/> - </coding> - <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a4278695-4247-4656-b9a5-8a40e96016cd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Raney Schauer"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff/output.json new file mode 100644 index 00000000..2ac92e55 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "101dd057-135f-4305-9fc4-b643393c976f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "3d029b56-c9f5-47db-8c8d-1d8359deb5ac", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f2a598ff-7847-4f23-95ac-3c4338e88055_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/f71bb704-7886-4990-9e8d-a0abc8f03c9e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "P223331978" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f9a4666f-5760-4eba-a289-b6e92cd96830" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f71bb704-7886-4990-9e8d-a0abc8f03c9e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f9a4666f-5760-4eba-a289-b6e92cd96830", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Manuel Labor" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff/output.xml new file mode 100644 index 00000000..8f238143 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439_f2a598ff_f2a598ff/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="101dd057-135f-4305-9fc4-b643393c976f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="3d029b56-c9f5-47db-8c8d-1d8359deb5ac"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f2a598ff-7847-4f23-95ac-3c4338e88055_160.100.000.000.011.09"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f71bb704-7886-4990-9e8d-a0abc8f03c9e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="P223331978"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f9a4666f-5760-4eba-a289-b6e92cd96830"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f71bb704-7886-4990-9e8d-a0abc8f03c9e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f9a4666f-5760-4eba-a289-b6e92cd96830"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Manuel Labor"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.json index 83af49e8..cd120070 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "b84967f4-9993-43f6-b9e9-4b8498c3dbb9", + "id": "23b5bc8f-b133-48b1-a217-919da8b89bf6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "0539422c-dc75-4789-a6e4-87610e78b811", + "id": "39c3ec2d-b273-4981-8e6f-4c99fcf55f9b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/dd1b3f59-5f08-4695-8985-41c9889125cd" + "reference": "Medication/15aa11a6-fd48-4d50-b491-7004ea5d1edb" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/4207be4a-443a-46e0-a585-5b1a51d69dd0" + "reference": "Organization/46644fe3-4440-4334-bb4b-4af49c893bb8" } } ], "whenHandedOver": "2024-11-27", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "dd1b3f59-5f08-4695-8985-41c9889125cd", + "id": "15aa11a6-fd48-4d50-b491-7004ea5d1edb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "4207be4a-443a-46e0-a585-5b1a51d69dd0", + "id": "46644fe3-4440-4334-bb4b-4af49c893bb8", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -127,7 +127,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Earl E. Byrd" + "name": "Claire Annette" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.xml index 205defdc..c6a0d36c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="b84967f4-9993-43f6-b9e9-4b8498c3dbb9"/> + <id value="23b5bc8f-b133-48b1-a217-919da8b89bf6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="0539422c-dc75-4789-a6e4-87610e78b811"/> + <id value="39c3ec2d-b273-4981-8e6f-4c99fcf55f9b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/dd1b3f59-5f08-4695-8985-41c9889125cd"/> + <reference value="Medication/15aa11a6-fd48-4d50-b491-7004ea5d1edb"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/4207be4a-443a-46e0-a585-5b1a51d69dd0"/> + <reference value="Organization/46644fe3-4440-4334-bb4b-4af49c893bb8"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="dd1b3f59-5f08-4695-8985-41c9889125cd"/> + <id value="15aa11a6-fd48-4d50-b491-7004ea5d1edb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -112,7 +112,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="4207be4a-443a-46e0-a585-5b1a51d69dd0"/> + <id value="46644fe3-4440-4334-bb4b-4af49c893bb8"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -130,7 +130,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Earl E. Byrd"/> + <name value="Claire Annette"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff/input.xml new file mode 100644 index 00000000..0a91b55e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f2a598ff-7847-4f23-95ac-3c4338e88055"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c6d021de-9939-4631-a79b-fb0093ce1361"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#c6d021de-9939-4631-a79b-fb0093ce1361"/> + <display value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="P223331978"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff/output.json new file mode 100644 index 00000000..b0767f11 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "b412e298-b47b-4153-a3ac-f51288db8407", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b23e43e5-0216-4cba-bb38-7e37335a0c2b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f2a598ff-7847-4f23-95ac-3c4338e88055_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/7e07e09e-acfa-4680-a8b4-97453a8ea309" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "P223331978" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/954c97ff-3de0-4efb-a8b1-a573359b77fb" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7e07e09e-acfa-4680-a8b4-97453a8ea309", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "954c97ff-3de0-4efb-a8b1-a573359b77fb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Jack Dupp" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff/output.xml new file mode 100644 index 00000000..c9432a4b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_f2a598ff_f2a598ff/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b412e298-b47b-4153-a3ac-f51288db8407"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b23e43e5-0216-4cba-bb38-7e37335a0c2b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f2a598ff-7847-4f23-95ac-3c4338e88055_160.100.000.000.011.09"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7e07e09e-acfa-4680-a8b4-97453a8ea309"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="P223331978"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/954c97ff-3de0-4efb-a8b1-a573359b77fb"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7e07e09e-acfa-4680-a8b4-97453a8ea309"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="954c97ff-3de0-4efb-a8b1-a573359b77fb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jack Dupp"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.json deleted file mode 100644 index 15437827..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "40e58fc0-2784-4009-ae0c-e4834175cc65", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "2f9cf2e9-9797-4309-80d7-3612fe77af49", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "e378bc5a-552f-4151-a072-366d4a9f6cec_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/a8d83ff2-d858-44f5-80dc-aa78a9fe91c9" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220635158" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/0a8b381e-7908-4724-a789-48108f57ccc4" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "a8d83ff2-d858-44f5-80dc-aa78a9fe91c9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "0a8b381e-7908-4724-a789-48108f57ccc4", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "U. O. Money" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.xml deleted file mode 100644 index 9e229a5e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="40e58fc0-2784-4009-ae0c-e4834175cc65"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.004.30"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="2f9cf2e9-9797-4309-80d7-3612fe77af49"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="e378bc5a-552f-4151-a072-366d4a9f6cec_160.100.000.000.004.30"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/a8d83ff2-d858-44f5-80dc-aa78a9fe91c9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/0a8b381e-7908-4724-a789-48108f57ccc4"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a8d83ff2-d858-44f5-80dc-aa78a9fe91c9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01288434"/> - </coding> - <text value="Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="IHP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Diskus"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0a8b381e-7908-4724-a789-48108f57ccc4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="U. O. Money"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a/output.json new file mode 100644 index 00000000..7c493d62 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "c2ce855c-e5dd-4311-97bf-8e8353e57837", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "45b016c9-d26e-4801-a1fa-a2a9f2142f32", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "e378bc5a-552f-4151-a072-366d4a9f6cec_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/09a716c8-2d71-4c4c-8650-8be6ded9f9dc" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c617e8e0-0c9c-4297-9193-655d3170d04d" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "09a716c8-2d71-4c4c-8650-8be6ded9f9dc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c617e8e0-0c9c-4297-9193-655d3170d04d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Hope Ferterbest" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a/output.xml new file mode 100644 index 00000000..b08e157f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57_e378bc5a_e378bc5a/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c2ce855c-e5dd-4311-97bf-8e8353e57837"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="45b016c9-d26e-4801-a1fa-a2a9f2142f32"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="e378bc5a-552f-4151-a072-366d4a9f6cec_160.100.000.000.004.30"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/09a716c8-2d71-4c4c-8650-8be6ded9f9dc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c617e8e0-0c9c-4297-9193-655d3170d04d"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="09a716c8-2d71-4c4c-8650-8be6ded9f9dc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01288434"/> + </coding> + <text value="Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c617e8e0-0c9c-4297-9193-655d3170d04d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hope Ferterbest"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.json deleted file mode 100644 index e9d98b5c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "c5fd5673-cb97-42fe-b6b7-beb3c00235a4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "6e7747f8-1c88-465f-adc3-a436cd50ad21", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "e378bc5a-552f-4151-a072-366d4a9f6cec_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/951b8ddc-f430-4b9b-9ed0-8b35ef2128fa" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220635158" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/5c2c1eb8-fd0f-483b-9dd9-558ce519bf49" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "951b8ddc-f430-4b9b-9ed0-8b35ef2128fa", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "5c2c1eb8-fd0f-483b-9dd9-558ce519bf49", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Alex Blaine Layder" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.xml deleted file mode 100644 index 0eb5f933..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c5fd5673-cb97-42fe-b6b7-beb3c00235a4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.004.30"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="6e7747f8-1c88-465f-adc3-a436cd50ad21"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="e378bc5a-552f-4151-a072-366d4a9f6cec_160.100.000.000.004.30"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/951b8ddc-f430-4b9b-9ed0-8b35ef2128fa"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/5c2c1eb8-fd0f-483b-9dd9-558ce519bf49"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="951b8ddc-f430-4b9b-9ed0-8b35ef2128fa"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01288434"/> - </coding> - <text value="Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="IHP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Diskus"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5c2c1eb8-fd0f-483b-9dd9-558ce519bf49"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Alex Blaine Layder"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a/output.json new file mode 100644 index 00000000..ebd3959b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "35cea7c7-13be-41bc-9699-bb28a315a05e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "87924735-7278-49cf-a80c-92e63510ee59", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "e378bc5a-552f-4151-a072-366d4a9f6cec_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/2f00da30-d7f0-4448-9869-3bed060d692a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/34852c90-e0e0-4586-94c7-7375e3421406" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2f00da30-d7f0-4448-9869-3bed060d692a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "34852c90-e0e0-4586-94c7-7375e3421406", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Yule B. Sari" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a/output.xml new file mode 100644 index 00000000..d23d11b0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353_e378bc5a_e378bc5a/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="35cea7c7-13be-41bc-9699-bb28a315a05e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="87924735-7278-49cf-a80c-92e63510ee59"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="e378bc5a-552f-4151-a072-366d4a9f6cec_160.100.000.000.004.30"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2f00da30-d7f0-4448-9869-3bed060d692a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/34852c90-e0e0-4586-94c7-7375e3421406"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2f00da30-d7f0-4448-9869-3bed060d692a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01288434"/> + </coding> + <text value="Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="34852c90-e0e0-4586-94c7-7375e3421406"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Yule B. Sari"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.json index 9c2bd793..3e96c676 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "0ed0752b-b58e-4de6-82f4-1c6f1e32032c", + "id": "310e8176-4b6f-4560-a860-0a18d582101d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "ddc83f14-9994-48c4-b952-874d57d25b34", + "id": "910b8ef8-0dff-4720-b55d-c4ebd41ef35f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/4f3c4716-20dc-4db0-9685-567e1a7236c1" + "reference": "Medication/2f33242d-88b6-4759-a417-88361433aa87" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/0e1c7b54-68be-4fda-b2d4-7ae8bcb67dc3" + "reference": "Organization/c094eb0a-a897-4e37-8544-9bb663fbe66a" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "4f3c4716-20dc-4db0-9685-567e1a7236c1", + "id": "2f33242d-88b6-4759-a417-88361433aa87", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "0e1c7b54-68be-4fda-b2d4-7ae8bcb67dc3", + "id": "c094eb0a-a897-4e37-8544-9bb663fbe66a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Willie Waite" + "name": "Rusty Dorr" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.xml index 78d6ff1f..5a36e643 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="0ed0752b-b58e-4de6-82f4-1c6f1e32032c"/> + <id value="310e8176-4b6f-4560-a860-0a18d582101d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ddc83f14-9994-48c4-b952-874d57d25b34"/> + <id value="910b8ef8-0dff-4720-b55d-c4ebd41ef35f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/4f3c4716-20dc-4db0-9685-567e1a7236c1"/> + <reference value="Medication/2f33242d-88b6-4759-a417-88361433aa87"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/0e1c7b54-68be-4fda-b2d4-7ae8bcb67dc3"/> + <reference value="Organization/c094eb0a-a897-4e37-8544-9bb663fbe66a"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="4f3c4716-20dc-4db0-9685-567e1a7236c1"/> + <id value="2f33242d-88b6-4759-a417-88361433aa87"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="0e1c7b54-68be-4fda-b2d4-7ae8bcb67dc3"/> + <id value="c094eb0a-a897-4e37-8544-9bb663fbe66a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Willie Waite"/> + <name value="Rusty Dorr"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a/input.xml new file mode 100644 index 00000000..ee2afe3b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e378bc5a-552f-4151-a072-366d4a9f6cec"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="01417220-0b1b-4a4f-b29b-c127341a5059"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01288434"/> + </coding> + <text value="Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#01417220-0b1b-4a4f-b29b-c127341a5059"/> + <display value="Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a/output.json new file mode 100644 index 00000000..6ede128b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "6fc0b24d-cf85-4edf-acd9-4f8f8a9d4891", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "d367a68a-9a8a-4d78-8751-f6764f79e89a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "e378bc5a-552f-4151-a072-366d4a9f6cec_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/12146784-c056-4998-8868-9f63d0793078" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0b7d8246-61ee-4c49-ae33-9521d9db5a9b" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "12146784-c056-4998-8868-9f63d0793078", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0b7d8246-61ee-4c49-ae33-9521d9db5a9b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Daisy Chain" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a/output.xml new file mode 100644 index 00000000..44b93e00 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_e378bc5a_e378bc5a/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6fc0b24d-cf85-4edf-acd9-4f8f8a9d4891"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="d367a68a-9a8a-4d78-8751-f6764f79e89a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="e378bc5a-552f-4151-a072-366d4a9f6cec_160.100.000.000.004.30"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/12146784-c056-4998-8868-9f63d0793078"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0b7d8246-61ee-4c49-ae33-9521d9db5a9b"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="12146784-c056-4998-8868-9f63d0793078"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01288434"/> + </coding> + <text value="Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0b7d8246-61ee-4c49-ae33-9521d9db5a9b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Daisy Chain"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.json deleted file mode 100644 index 69caa90e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "7c3e7b20-7f8f-4056-a16e-1a61a9c3e0a7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "2fd546b1-3b23-4010-921c-aac630b7ebf5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "c9455210-4f8b-48c7-8b4a-38b46dd52dff_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/16ba28ec-513a-46b7-945b-ab6885d9f6a6" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220635158" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/abb384d6-5aff-43c1-8a0c-1a51aa4fbfea" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "16ba28ec-513a-46b7-945b-ab6885d9f6a6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "abb384d6-5aff-43c1-8a0c-1a51aa4fbfea", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Candace Spencer" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.xml deleted file mode 100644 index 3c3d36a6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="7c3e7b20-7f8f-4056-a16e-1a61a9c3e0a7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.012.06"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="2fd546b1-3b23-4010-921c-aac630b7ebf5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="c9455210-4f8b-48c7-8b4a-38b46dd52dff_160.100.000.000.012.06"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/16ba28ec-513a-46b7-945b-ab6885d9f6a6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/abb384d6-5aff-43c1-8a0c-1a51aa4fbfea"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="16ba28ec-513a-46b7-945b-ab6885d9f6a6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00629028"/> - </coding> - <text value="Losartan Atid 100 mg Filmtabletten, 98 St."/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="98"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="abb384d6-5aff-43c1-8a0c-1a51aa4fbfea"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Candace Spencer"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210/output.json new file mode 100644 index 00000000..50b45ffa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "5aaee321-9609-4498-95be-75d531feca90", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b627d6a5-3769-451a-ac33-e09e6e69093e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c9455210-4f8b-48c7-8b4a-38b46dd52dff_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/6d5327a6-6a8a-41cf-8ac2-7395c9d1b354" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/76723144-9323-4994-ad4b-1891cc8720cb" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "6d5327a6-6a8a-41cf-8ac2-7395c9d1b354", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "76723144-9323-4994-ad4b-1891cc8720cb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Pete Zaria" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210/output.xml new file mode 100644 index 00000000..84c68749 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5_c9455210_c9455210/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5aaee321-9609-4498-95be-75d531feca90"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b627d6a5-3769-451a-ac33-e09e6e69093e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c9455210-4f8b-48c7-8b4a-38b46dd52dff_160.100.000.000.012.06"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/6d5327a6-6a8a-41cf-8ac2-7395c9d1b354"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/76723144-9323-4994-ad4b-1891cc8720cb"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6d5327a6-6a8a-41cf-8ac2-7395c9d1b354"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00629028"/> + </coding> + <text value="Losartan Atid 100 mg Filmtabletten, 98 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="76723144-9323-4994-ad4b-1891cc8720cb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Pete Zaria"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.json deleted file mode 100644 index 44e74669..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "4985c01c-5978-4e98-b99c-61b8f3fc3128", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "5ee32748-66b5-4861-8d98-fba68692e9ec", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "c9455210-4f8b-48c7-8b4a-38b46dd52dff_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/098ddd7f-49d6-40c0-bfe5-5a85c60b380b" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220635158" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/897c6067-f0fd-43ba-a5d7-ddb9083fa67d" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "098ddd7f-49d6-40c0-bfe5-5a85c60b380b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "897c6067-f0fd-43ba-a5d7-ddb9083fa67d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Phil Graves" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.xml deleted file mode 100644 index 61a6cc70..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4985c01c-5978-4e98-b99c-61b8f3fc3128"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.012.06"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5ee32748-66b5-4861-8d98-fba68692e9ec"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="c9455210-4f8b-48c7-8b4a-38b46dd52dff_160.100.000.000.012.06"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/098ddd7f-49d6-40c0-bfe5-5a85c60b380b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/897c6067-f0fd-43ba-a5d7-ddb9083fa67d"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="098ddd7f-49d6-40c0-bfe5-5a85c60b380b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00629028"/> - </coding> - <text value="Losartan Atid 100 mg Filmtabletten, 98 St."/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="98"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="897c6067-f0fd-43ba-a5d7-ddb9083fa67d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Phil Graves"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210/output.json new file mode 100644 index 00000000..0aaddc0d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "f870946f-787f-4e7d-8e57-ff28fd9107aa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "de3c39bc-1219-4b15-9e14-e7cee8486c8a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c9455210-4f8b-48c7-8b4a-38b46dd52dff_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/affe6836-7c46-459d-a46b-4f5ecb0ee110" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f81dd2fc-ef46-4889-a3fd-c88947625791" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "affe6836-7c46-459d-a46b-4f5ecb0ee110", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f81dd2fc-ef46-4889-a3fd-c88947625791", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Val Crow" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210/output.xml new file mode 100644 index 00000000..b81aa4c0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b_c9455210_c9455210/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f870946f-787f-4e7d-8e57-ff28fd9107aa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="de3c39bc-1219-4b15-9e14-e7cee8486c8a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c9455210-4f8b-48c7-8b4a-38b46dd52dff_160.100.000.000.012.06"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/affe6836-7c46-459d-a46b-4f5ecb0ee110"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f81dd2fc-ef46-4889-a3fd-c88947625791"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="affe6836-7c46-459d-a46b-4f5ecb0ee110"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00629028"/> + </coding> + <text value="Losartan Atid 100 mg Filmtabletten, 98 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f81dd2fc-ef46-4889-a3fd-c88947625791"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Val Crow"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.json index 37f404bc..3a4aaf74 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "79e3dcbf-a42d-40cf-bac8-08b157a8dedf", + "id": "bee1e2d3-954f-4bca-a2e4-6c438aa186d9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "6799f8db-4a7b-4cdc-ae39-c55dea67c6f0", + "id": "ca71d5b6-abf2-4512-8823-efc50cfe3f6b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/41a2b939-efc4-4210-a59f-d251d4d76834" + "reference": "Medication/e0a43107-016c-43bd-b4e7-89244ace1741" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/a7f5c682-7c2d-475d-9110-0ca8f6004f52" + "reference": "Organization/db400470-084c-46b5-8e1f-f45c87dad431" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "41a2b939-efc4-4210-a59f-d251d4d76834", + "id": "e0a43107-016c-43bd-b4e7-89244ace1741", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "a7f5c682-7c2d-475d-9110-0ca8f6004f52", + "id": "db400470-084c-46b5-8e1f-f45c87dad431", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Al O'Moaney" + "name": "Morgan U. Canhandle" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.xml index 4a52ba3d..2f451dba 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="79e3dcbf-a42d-40cf-bac8-08b157a8dedf"/> + <id value="bee1e2d3-954f-4bca-a2e4-6c438aa186d9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="6799f8db-4a7b-4cdc-ae39-c55dea67c6f0"/> + <id value="ca71d5b6-abf2-4512-8823-efc50cfe3f6b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/41a2b939-efc4-4210-a59f-d251d4d76834"/> + <reference value="Medication/e0a43107-016c-43bd-b4e7-89244ace1741"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/a7f5c682-7c2d-475d-9110-0ca8f6004f52"/> + <reference value="Organization/db400470-084c-46b5-8e1f-f45c87dad431"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="41a2b939-efc4-4210-a59f-d251d4d76834"/> + <id value="e0a43107-016c-43bd-b4e7-89244ace1741"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="a7f5c682-7c2d-475d-9110-0ca8f6004f52"/> + <id value="db400470-084c-46b5-8e1f-f45c87dad431"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Al O'Moaney"/> + <name value="Morgan U. Canhandle"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210/input.xml new file mode 100644 index 00000000..6323303e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c9455210-4f8b-48c7-8b4a-38b46dd52dff"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8b28704d-cb7d-487b-ac10-837d84adad69"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00629028"/> + </coding> + <text value="Losartan Atid 100 mg Filmtabletten, 98 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="98"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#8b28704d-cb7d-487b-ac10-837d84adad69"/> + <display value="Losartan Atid 100 mg Filmtabletten, 98 St."/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210/output.json new file mode 100644 index 00000000..7b8fdb7a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "c98cf384-0a7c-4bce-9b7a-406d6f215687", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e9b86d43-d22a-4f9b-af87-e4066e79d733", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c9455210-4f8b-48c7-8b4a-38b46dd52dff_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/9e3edc8c-6e79-41c9-9456-03bdde4d9007" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/a489996b-9518-48a9-844e-1b581167f832" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "9e3edc8c-6e79-41c9-9456-03bdde4d9007", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "a489996b-9518-48a9-844e-1b581167f832", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/PZN_Nr8_MedicationDispense_c9455210_c9455210/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210/output.xml new file mode 100644 index 00000000..d7119cff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c9455210_c9455210/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c98cf384-0a7c-4bce-9b7a-406d6f215687"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e9b86d43-d22a-4f9b-af87-e4066e79d733"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c9455210-4f8b-48c7-8b4a-38b46dd52dff_160.100.000.000.012.06"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/9e3edc8c-6e79-41c9-9456-03bdde4d9007"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/a489996b-9518-48a9-844e-1b581167f832"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9e3edc8c-6e79-41c9-9456-03bdde4d9007"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00629028"/> + </coding> + <text value="Losartan Atid 100 mg Filmtabletten, 98 St."/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a489996b-9518-48a9-844e-1b581167f832"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sasha Klotz"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.json deleted file mode 100644 index 12766ad9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e786ded9-5864-4a63-953c-8ce0f4d928e4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "ca8fbde7-4863-4384-8146-ebee397b6da2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "37d8e326-e355-4732-be64-aca54cfdc71d_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/52294371-5a24-45e0-b28f-b618ceb42aef" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220635158" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/10cc3ff4-8cce-4c3c-952e-e1dde10852ab" - } - } ], - "whenHandedOver": "2023-07-27", - "dosageInstruction": [ { - "text": "bis zu 4mal täglich je 20-40 Tropfen" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "52294371-5a24-45e0-b28f-b618ceb42aef", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "10cc3ff4-8cce-4c3c-952e-e1dde10852ab", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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 N. Stein" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.xml deleted file mode 100644 index 241e0b32..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e786ded9-5864-4a63-953c-8ce0f4d928e4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.005.27"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="ca8fbde7-4863-4384-8146-ebee397b6da2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="37d8e326-e355-4732-be64-aca54cfdc71d_160.100.000.000.005.27"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/52294371-5a24-45e0-b28f-b618ceb42aef"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/10cc3ff4-8cce-4c3c-952e-e1dde10852ab"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="bis zu 4mal täglich je 20-40 Tropfen"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="52294371-5a24-45e0-b28f-b618ceb42aef"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03507952"/> - </coding> - <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TEI"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="10cc3ff4-8cce-4c3c-952e-e1dde10852ab"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Frank N. Stein"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326/output.json new file mode 100644 index 00000000..4bf44413 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "fd1c0399-6128-4039-9616-ed604354c17f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ceb01a01-15ae-4b09-9b27-1b95cf376666", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "37d8e326-e355-4732-be64-aca54cfdc71d_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/7aaaf6c3-3927-4a68-aa37-622800c0bb77" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/e511f264-7cc5-4842-bc0b-35892159c202" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "bis zu 4mal täglich je 20-40 Tropfen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7aaaf6c3-3927-4a68-aa37-622800c0bb77", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "e511f264-7cc5-4842-bc0b-35892159c202", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bart Ender" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326/output.xml new file mode 100644 index 00000000..b6b41a9a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50_37d8e326_37d8e326/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fd1c0399-6128-4039-9616-ed604354c17f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ceb01a01-15ae-4b09-9b27-1b95cf376666"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="37d8e326-e355-4732-be64-aca54cfdc71d_160.100.000.000.005.27"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7aaaf6c3-3927-4a68-aa37-622800c0bb77"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/e511f264-7cc5-4842-bc0b-35892159c202"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7aaaf6c3-3927-4a68-aa37-622800c0bb77"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e511f264-7cc5-4842-bc0b-35892159c202"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bart Ender"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.json index 40ba4965..b80a95a4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "2ef32949-d947-4fe3-afe9-72f8767b20a7", + "id": "ea532e77-f1bb-460f-81cd-50ca36c9a0ed", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "1110688f-dbdc-4417-9797-75744c2c9be5", + "id": "76532511-2e11-4084-95e3-e33c2f0009e9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/3d95d38a-b85d-4270-8135-071f63883f36" + "reference": "Medication/238488b9-0a5a-49ba-9c17-e4195fa5d3b5" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/691fa08a-d77f-4882-b1c1-be5aa8d972ee" + "reference": "Organization/ea3809ff-5550-4c6b-b658-02fb5cd1c091" } } ], "whenHandedOver": "2024-11-27", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "3d95d38a-b85d-4270-8135-071f63883f36", + "id": "238488b9-0a5a-49ba-9c17-e4195fa5d3b5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "691fa08a-d77f-4882-b1c1-be5aa8d972ee", + "id": "ea3809ff-5550-4c6b-b658-02fb5cd1c091", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -127,7 +127,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Jim Shorts" + "name": "Al Fresco" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.xml index 2adab96e..e738e24a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="2ef32949-d947-4fe3-afe9-72f8767b20a7"/> + <id value="ea532e77-f1bb-460f-81cd-50ca36c9a0ed"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1110688f-dbdc-4417-9797-75744c2c9be5"/> + <id value="76532511-2e11-4084-95e3-e33c2f0009e9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/3d95d38a-b85d-4270-8135-071f63883f36"/> + <reference value="Medication/238488b9-0a5a-49ba-9c17-e4195fa5d3b5"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/691fa08a-d77f-4882-b1c1-be5aa8d972ee"/> + <reference value="Organization/ea3809ff-5550-4c6b-b658-02fb5cd1c091"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="3d95d38a-b85d-4270-8135-071f63883f36"/> + <id value="238488b9-0a5a-49ba-9c17-e4195fa5d3b5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -112,7 +112,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="691fa08a-d77f-4882-b1c1-be5aa8d972ee"/> + <id value="ea3809ff-5550-4c6b-b658-02fb5cd1c091"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -130,7 +130,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Jim Shorts"/> + <name value="Al Fresco"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326_37d8e326/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326_37d8e326/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326_37d8e326/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326_37d8e326/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326_37d8e326/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326_37d8e326/output.json new file mode 100644 index 00000000..3af01a24 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326_37d8e326/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "595dc343-6acd-4d51-8d4b-68d21704b14b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e0f1feec-97c9-4f69-b883-e531af196ace", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "37d8e326-e355-4732-be64-aca54cfdc71d_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/4dacb739-c087-48ae-ab4e-7afc34065404" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/2dbea98a-7bd7-46e7-bed5-307c086b2b87" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "bis zu 4mal täglich je 20-40 Tropfen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "4dacb739-c087-48ae-ab4e-7afc34065404", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "2dbea98a-7bd7-46e7-bed5-307c086b2b87", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Howe D. Pardner" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326_37d8e326/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326_37d8e326/output.xml new file mode 100644 index 00000000..643e8bf9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_37d8e326_37d8e326/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="595dc343-6acd-4d51-8d4b-68d21704b14b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e0f1feec-97c9-4f69-b883-e531af196ace"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="37d8e326-e355-4732-be64-aca54cfdc71d_160.100.000.000.005.27"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/4dacb739-c087-48ae-ab4e-7afc34065404"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/2dbea98a-7bd7-46e7-bed5-307c086b2b87"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4dacb739-c087-48ae-ab4e-7afc34065404"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2dbea98a-7bd7-46e7-bed5-307c086b2b87"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Howe D. Pardner"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.json deleted file mode 100644 index 9b02c6de..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "5e1d02cf-347f-455e-a7fa-34ce19a0c0d1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "e5302d4a-2ab3-4a2c-9b53-33e442e8677c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "37d8e326-e355-4732-be64-aca54cfdc71d_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/5ee8ab6a-ad2b-4dd3-9bed-44d2a16a25df" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220635158" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/c6fa9d26-8afb-4935-a48c-e8a9019c62d0" - } - } ], - "whenHandedOver": "2024-11-27", - "dosageInstruction": [ { - "text": "bis zu 4mal täglich je 20-40 Tropfen" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "5ee8ab6a-ad2b-4dd3-9bed-44d2a16a25df", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "c6fa9d26-8afb-4935-a48c-e8a9019c62d0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Emile Eaton" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.xml deleted file mode 100644 index 2f6a3c92..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5e1d02cf-347f-455e-a7fa-34ce19a0c0d1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.005.27"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="e5302d4a-2ab3-4a2c-9b53-33e442e8677c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="37d8e326-e355-4732-be64-aca54cfdc71d_160.100.000.000.005.27"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/5ee8ab6a-ad2b-4dd3-9bed-44d2a16a25df"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c6fa9d26-8afb-4935-a48c-e8a9019c62d0"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="bis zu 4mal täglich je 20-40 Tropfen"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5ee8ab6a-ad2b-4dd3-9bed-44d2a16a25df"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03507952"/> - </coding> - <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TEI"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c6fa9d26-8afb-4935-a48c-e8a9019c62d0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Emile Eaton"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326/input.xml new file mode 100644 index 00000000..30330522 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="37d8e326-e355-4732-be64-aca54cfdc71d"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f1620991-8025-49d4-8fe5-bf4afd43ba09"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#f1620991-8025-49d4-8fe5-bf4afd43ba09"/> + <display value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326/output.json new file mode 100644 index 00000000..7cbeabfe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "33c47463-f9fa-4365-aec9-956164e9664b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "37a1a544-515a-471c-8829-934f871cbae6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "37d8e326-e355-4732-be64-aca54cfdc71d_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/c7cdb708-1e78-4663-ad26-3df3a043e1e4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/4317a690-1f7a-4209-8e13-363f65429be8" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "bis zu 4mal täglich je 20-40 Tropfen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "c7cdb708-1e78-4663-ad26-3df3a043e1e4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "4317a690-1f7a-4209-8e13-363f65429be8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Abe Rudder" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326/output.xml new file mode 100644 index 00000000..de4fbdb7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7_37d8e326_37d8e326/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="33c47463-f9fa-4365-aec9-956164e9664b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="37a1a544-515a-471c-8829-934f871cbae6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="37d8e326-e355-4732-be64-aca54cfdc71d_160.100.000.000.005.27"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/c7cdb708-1e78-4663-ad26-3df3a043e1e4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/4317a690-1f7a-4209-8e13-363f65429be8"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c7cdb708-1e78-4663-ad26-3df3a043e1e4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4317a690-1f7a-4209-8e13-363f65429be8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Abe Rudder"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.json deleted file mode 100644 index 21e03540..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "d2bf7071-e372-4289-a97e-40b5237923f0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "52dccec5-f74c-4b16-a96a-31064e1d7011", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "c85a4b74-bd21-4249-8395-d4eb773610c9_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/2421696e-abce-40b7-9b4d-664b152c1942" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "S040464113" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/90480c73-211f-4de4-aa56-31424250e07a" - } - } ], - "whenHandedOver": "2024-11-27", - "dosageInstruction": [ { - "text": "1x täglich" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "2421696e-abce-40b7-9b4d-664b152c1942", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "90480c73-211f-4de4-aa56-31424250e07a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Penny Lane" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.xml deleted file mode 100644 index 21364763..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d2bf7071-e372-4289-a97e-40b5237923f0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.21"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="52dccec5-f74c-4b16-a96a-31064e1d7011"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="c85a4b74-bd21-4249-8395-d4eb773610c9_160.100.000.000.007.21"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/2421696e-abce-40b7-9b4d-664b152c1942"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/90480c73-211f-4de4-aa56-31424250e07a"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1x täglich"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2421696e-abce-40b7-9b4d-664b152c1942"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08850519"/> - </coding> - <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SMT"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="70"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="90480c73-211f-4de4-aa56-31424250e07a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Penny Lane"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74/output.json new file mode 100644 index 00000000..9e381248 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "7598baea-6d8b-439f-bee3-d625f66384c3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "7c6fe97b-86f6-43a4-9be6-e2a72311da4d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c85a4b74-bd21-4249-8395-d4eb773610c9_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/8bb02591-23e3-44bb-a2a5-e842644b4572" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/4011c208-6182-45e1-a8ee-72324ffa48e9" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1x täglich" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "8bb02591-23e3-44bb-a2a5-e842644b4572", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "4011c208-6182-45e1-a8ee-72324ffa48e9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Constance Noring" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74/output.xml new file mode 100644 index 00000000..8fc443b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3_c85a4b74_c85a4b74/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7598baea-6d8b-439f-bee3-d625f66384c3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="7c6fe97b-86f6-43a4-9be6-e2a72311da4d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c85a4b74-bd21-4249-8395-d4eb773610c9_160.100.000.000.007.21"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/8bb02591-23e3-44bb-a2a5-e842644b4572"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/4011c208-6182-45e1-a8ee-72324ffa48e9"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8bb02591-23e3-44bb-a2a5-e842644b4572"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4011c208-6182-45e1-a8ee-72324ffa48e9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Constance Noring"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.json index fd360a90..1016e4ec 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "217e5d1c-f7d3-4e21-a6b3-11a080614ae4", + "id": "2c88e5d2-7fb4-4fb1-a0d2-22c945a25ac8", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "f900a225-0b35-4a64-9d71-e09ab6a81f2b", + "id": "13edcc63-5d37-4b42-87a1-5bdb61a5fcf5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/1fbaeb0f-e39e-4e85-b246-71435e363d16" + "reference": "Medication/b2f3d2ef-3116-4779-baa0-fbec64878920" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/9e15de6c-6d5f-4acf-a471-89478d9d8135" + "reference": "Organization/b72a71df-f68a-49e2-8ede-baf571030605" } } ], "whenHandedOver": "2024-11-27", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "1fbaeb0f-e39e-4e85-b246-71435e363d16", + "id": "b2f3d2ef-3116-4779-baa0-fbec64878920", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "9e15de6c-6d5f-4acf-a471-89478d9d8135", + "id": "b72a71df-f68a-49e2-8ede-baf571030605", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -127,7 +127,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Rita Booke" + "name": "Eve Ning" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.xml index c2c460f2..7d04a6a1 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="217e5d1c-f7d3-4e21-a6b3-11a080614ae4"/> + <id value="2c88e5d2-7fb4-4fb1-a0d2-22c945a25ac8"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="f900a225-0b35-4a64-9d71-e09ab6a81f2b"/> + <id value="13edcc63-5d37-4b42-87a1-5bdb61a5fcf5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/1fbaeb0f-e39e-4e85-b246-71435e363d16"/> + <reference value="Medication/b2f3d2ef-3116-4779-baa0-fbec64878920"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/9e15de6c-6d5f-4acf-a471-89478d9d8135"/> + <reference value="Organization/b72a71df-f68a-49e2-8ede-baf571030605"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="1fbaeb0f-e39e-4e85-b246-71435e363d16"/> + <id value="b2f3d2ef-3116-4779-baa0-fbec64878920"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -112,7 +112,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="9e15de6c-6d5f-4acf-a471-89478d9d8135"/> + <id value="b72a71df-f68a-49e2-8ede-baf571030605"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -130,7 +130,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Rita Booke"/> + <name value="Eve Ning"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74/input.xml new file mode 100644 index 00000000..22920c70 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c85a4b74-bd21-4249-8395-d4eb773610c9"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1ac4a722-e9dd-459f-9498-117c3fd5a194"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="70"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#1ac4a722-e9dd-459f-9498-117c3fd5a194"/> + <display value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74/output.json new file mode 100644 index 00000000..607b19d9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "c53014ee-d252-48f3-a419-16af8939248e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "0cd5600e-2983-4312-b37a-4b4a615daddf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c85a4b74-bd21-4249-8395-d4eb773610c9_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/afbf91d8-29e8-438f-b8d6-7923d295068a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f782340f-ff66-4513-890f-bc9752e6fd47" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1x täglich" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "afbf91d8-29e8-438f-b8d6-7923d295068a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f782340f-ff66-4513-890f-bc9752e6fd47", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Sy Burnette" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74/output.xml new file mode 100644 index 00000000..692afb5a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c85a4b74_c85a4b74/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c53014ee-d252-48f3-a419-16af8939248e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="0cd5600e-2983-4312-b37a-4b4a615daddf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c85a4b74-bd21-4249-8395-d4eb773610c9_160.100.000.000.007.21"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/afbf91d8-29e8-438f-b8d6-7923d295068a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f782340f-ff66-4513-890f-bc9752e6fd47"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="afbf91d8-29e8-438f-b8d6-7923d295068a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f782340f-ff66-4513-890f-bc9752e6fd47"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sy Burnette"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.json deleted file mode 100644 index 10506848..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "b30bc97c-4467-4242-a488-cdea57cfea85", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "fc5aa08a-cd87-497b-b0c7-6728c88ea7b7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "c85a4b74-bd21-4249-8395-d4eb773610c9_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/b5b6bd8b-7d72-4623-b2ad-2d2b98d7a9b1" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "S040464113" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/71d02502-e186-4bc5-9190-42574c415758" - } - } ], - "whenHandedOver": "2023-07-27", - "dosageInstruction": [ { - "text": "1x täglich" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "b5b6bd8b-7d72-4623-b2ad-2d2b98d7a9b1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "71d02502-e186-4bc5-9190-42574c415758", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Doug Witherspoon" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.xml deleted file mode 100644 index fa0c0c58..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b30bc97c-4467-4242-a488-cdea57cfea85"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.21"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="fc5aa08a-cd87-497b-b0c7-6728c88ea7b7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="c85a4b74-bd21-4249-8395-d4eb773610c9_160.100.000.000.007.21"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/b5b6bd8b-7d72-4623-b2ad-2d2b98d7a9b1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="S040464113"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/71d02502-e186-4bc5-9190-42574c415758"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1x täglich"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b5b6bd8b-7d72-4623-b2ad-2d2b98d7a9b1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08850519"/> - </coding> - <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SMT"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="70"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="71d02502-e186-4bc5-9190-42574c415758"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Doug Witherspoon"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74/output.json new file mode 100644 index 00000000..f069f59f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "87a48fd3-8655-4ddf-b476-ac5c4a8f0918", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "13be40e4-6ca3-47cf-8fce-671c8a0ae64a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c85a4b74-bd21-4249-8395-d4eb773610c9_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/2432bc8d-8bfe-43f6-a932-08bc3eb9098e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "S040464113" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/6400fa98-c883-497c-bd35-e5fc45b19ecb" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1x täglich" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "2432bc8d-8bfe-43f6-a932-08bc3eb9098e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "6400fa98-c883-497c-bd35-e5fc45b19ecb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Daisy Picking" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74/output.xml new file mode 100644 index 00000000..5283222a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955_c85a4b74_c85a4b74/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="87a48fd3-8655-4ddf-b476-ac5c4a8f0918"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="13be40e4-6ca3-47cf-8fce-671c8a0ae64a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c85a4b74-bd21-4249-8395-d4eb773610c9_160.100.000.000.007.21"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/2432bc8d-8bfe-43f6-a932-08bc3eb9098e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/6400fa98-c883-497c-bd35-e5fc45b19ecb"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2432bc8d-8bfe-43f6-a932-08bc3eb9098e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6400fa98-c883-497c-bd35-e5fc45b19ecb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Daisy Picking"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.json index ccfb18e4..d7e6aa47 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "a0323c44-8fbb-4a0c-9255-2e2815b6773f", + "id": "13fd98a1-9781-4388-9a19-a8457d6f9d43", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "9fc32e52-4666-476d-9bc3-396339899a96", + "id": "d27e27ee-95d0-481d-8dcd-896c7c53dc31", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/3251ef2c-2335-43fc-a448-5795b2b5ec48" + "reference": "Medication/3231ac81-d62f-4ffc-a9d3-216d9897ccd5" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/01a1f7a6-6a7b-43ff-bbe6-43d4299c5c69" + "reference": "Organization/662998ed-486b-47a2-84fe-a84782ca265d" } } ], "whenHandedOver": "2024-11-27", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "3251ef2c-2335-43fc-a448-5795b2b5ec48", + "id": "3231ac81-d62f-4ffc-a9d3-216d9897ccd5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -83,7 +83,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "01a1f7a6-6a7b-43ff-bbe6-43d4299c5c69", + "id": "662998ed-486b-47a2-84fe-a84782ca265d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -101,7 +101,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Olive Yew" + "name": "Willie Waite" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.xml index a34563b2..706b9ee9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="a0323c44-8fbb-4a0c-9255-2e2815b6773f"/> + <id value="13fd98a1-9781-4388-9a19-a8457d6f9d43"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="9fc32e52-4666-476d-9bc3-396339899a96"/> + <id value="d27e27ee-95d0-481d-8dcd-896c7c53dc31"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/3251ef2c-2335-43fc-a448-5795b2b5ec48"/> + <reference value="Medication/3231ac81-d62f-4ffc-a9d3-216d9897ccd5"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/01a1f7a6-6a7b-43ff-bbe6-43d4299c5c69"/> + <reference value="Organization/662998ed-486b-47a2-84fe-a84782ca265d"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="3251ef2c-2335-43fc-a448-5795b2b5ec48"/> + <id value="3231ac81-d62f-4ffc-a9d3-216d9897ccd5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -87,7 +87,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="01a1f7a6-6a7b-43ff-bbe6-43d4299c5c69"/> + <id value="662998ed-486b-47a2-84fe-a84782ca265d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -105,7 +105,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Olive Yew"/> + <name value="Willie Waite"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484_a8df5484/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484_a8df5484/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484_a8df5484/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484_a8df5484/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484_a8df5484/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484_a8df5484/output.json new file mode 100644 index 00000000..2d7efd55 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484_a8df5484/output.json @@ -0,0 +1,108 @@ +{ + "resourceType": "Parameters", + "id": "c0ad64cf-1d3a-4780-a192-7589d3d417f5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "da47899d-adf7-4368-9492-5872462bf3d0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a8df5484-df7e-41fc-870d-2c4edb8a89ad_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/6bc2eba0-c1fb-421e-b367-cd70e978d14a" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/0340c426-cee6-4370-83bc-98d566b4c544" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "6bc2eba0-c1fb-421e-b367-cd70e978d14a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "0340c426-cee6-4370-83bc-98d566b4c544", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Clara Sabell" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484_a8df5484/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484_a8df5484/output.xml new file mode 100644 index 00000000..4d4a7227 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_a8df5484_a8df5484/output.xml @@ -0,0 +1,113 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c0ad64cf-1d3a-4780-a192-7589d3d417f5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="da47899d-adf7-4368-9492-5872462bf3d0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a8df5484-df7e-41fc-870d-2c4edb8a89ad_160.100.000.000.024.67"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/6bc2eba0-c1fb-421e-b367-cd70e978d14a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/0340c426-cee6-4370-83bc-98d566b4c544"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6bc2eba0-c1fb-421e-b367-cd70e978d14a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"/> + </code> + <form> + <text value="Lösung"/> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0340c426-cee6-4370-83bc-98d566b4c544"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Clara Sabell"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.json deleted file mode 100644 index 3afa4cab..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e7098191-3f0c-49fc-af9c-fc5d251c47d7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "f03b6bf5-f39a-45e9-8eb9-b9a0f8474dbb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "a8df5484-df7e-41fc-870d-2c4edb8a89ad_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/38b347d7-96d2-41ef-a64e-dae8cd85a1c7" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220645122" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/fb2b5e0e-4880-4e5f-be1e-a574c749b25a" - } - } ], - "whenHandedOver": "2024-11-27", - "dosageInstruction": [ { - "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "38b347d7-96d2-41ef-a64e-dae8cd85a1c7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "organization", - "resource": { - "resourceType": "Organization", - "id": "fb2b5e0e-4880-4e5f-be1e-a574c749b25a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Colette A. Day" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.xml deleted file mode 100644 index 730bede5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484/output.xml +++ /dev/null @@ -1,113 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e7098191-3f0c-49fc-af9c-fc5d251c47d7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.024.67"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="f03b6bf5-f39a-45e9-8eb9-b9a0f8474dbb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="a8df5484-df7e-41fc-870d-2c4edb8a89ad_160.100.000.000.024.67"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/38b347d7-96d2-41ef-a64e-dae8cd85a1c7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/fb2b5e0e-4880-4e5f-be1e-a574c749b25a"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="38b347d7-96d2-41ef-a64e-dae8cd85a1c7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"/> - </code> - <form> - <text value="Lösung"/> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="fb2b5e0e-4880-4e5f-be1e-a574c749b25a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Colette A. Day"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484/input.xml new file mode 100644 index 00000000..53d7d318 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484/input.xml @@ -0,0 +1,60 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a8df5484-df7e-41fc-870d-2c4edb8a89ad"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="30724002-2ba6-464e-92d2-463bb1117aed"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="freitext"/> + </coding> + <text value="100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"/> + </code> + <form> + <text value="Lösung"/> + </form> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#30724002-2ba6-464e-92d2-463bb1117aed"/> + <display value="100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484/output.json new file mode 100644 index 00000000..18959bb1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484/output.json @@ -0,0 +1,108 @@ +{ + "resourceType": "Parameters", + "id": "18cb086c-5298-464d-97bd-7b417c848a73", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c9a3a88b-5121-42c4-a9bc-c731d78bfb17", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a8df5484-df7e-41fc-870d-2c4edb8a89ad_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/3643696e-b8db-4094-a16e-caeecf266275" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/bdad5f50-5f60-43e4-a00a-dcaa07ab06f4" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3643696e-b8db-4094-a16e-caeecf266275", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "bdad5f50-5f60-43e4-a00a-dcaa07ab06f4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Kurt Remarque" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484/output.xml new file mode 100644 index 00000000..aa2774fe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a_a8df5484_a8df5484/output.xml @@ -0,0 +1,113 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="18cb086c-5298-464d-97bd-7b417c848a73"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c9a3a88b-5121-42c4-a9bc-c731d78bfb17"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a8df5484-df7e-41fc-870d-2c4edb8a89ad_160.100.000.000.024.67"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3643696e-b8db-4094-a16e-caeecf266275"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/bdad5f50-5f60-43e4-a00a-dcaa07ab06f4"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3643696e-b8db-4094-a16e-caeecf266275"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"/> + </code> + <form> + <text value="Lösung"/> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bdad5f50-5f60-43e4-a00a-dcaa07ab06f4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kurt Remarque"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.json deleted file mode 100644 index 0bccc341..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "58fded1d-b851-4896-9930-326ebf535e61", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "eb8dde1b-8fcb-45a5-8b42-ec411639ea88", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "a8df5484-df7e-41fc-870d-2c4edb8a89ad_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/415304ca-0de5-40e4-a9f6-bd0309e8fb94" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220645122" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/0749e2d0-0ce8-47a5-8217-54656b782b5f" - } - } ], - "whenHandedOver": "2023-07-27", - "dosageInstruction": [ { - "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "415304ca-0de5-40e4-a9f6-bd0309e8fb94", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "organization", - "resource": { - "resourceType": "Organization", - "id": "0749e2d0-0ce8-47a5-8217-54656b782b5f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Howe D. Pardner" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.xml deleted file mode 100644 index 20e36829..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/output.xml +++ /dev/null @@ -1,113 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="58fded1d-b851-4896-9930-326ebf535e61"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.024.67"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="eb8dde1b-8fcb-45a5-8b42-ec411639ea88"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="a8df5484-df7e-41fc-870d-2c4edb8a89ad_160.100.000.000.024.67"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/415304ca-0de5-40e4-a9f6-bd0309e8fb94"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220645122"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/0749e2d0-0ce8-47a5-8217-54656b782b5f"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="415304ca-0de5-40e4-a9f6-bd0309e8fb94"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"/> - </code> - <form> - <text value="Lösung"/> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0749e2d0-0ce8-47a5-8217-54656b782b5f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Howe D. Pardner"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484/output.json new file mode 100644 index 00000000..6c2e8861 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484/output.json @@ -0,0 +1,108 @@ +{ + "resourceType": "Parameters", + "id": "ab75cb79-44aa-405b-b7b1-f64d1a375195", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "e02b8ff4-ae4f-45b3-8d50-cba988d3e0dc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "a8df5484-df7e-41fc-870d-2c4edb8a89ad_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/f54cc949-6cd5-47c0-b587-dfb38f7dfb32" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220645122" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c2f90e56-b62c-4eac-9d7c-49f98795509f" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f54cc949-6cd5-47c0-b587-dfb38f7dfb32", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c2f90e56-b62c-4eac-9d7c-49f98795509f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "George Washington Sleptier" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484/output.xml new file mode 100644 index 00000000..2baa59cf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c_a8df5484_a8df5484/output.xml @@ -0,0 +1,113 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ab75cb79-44aa-405b-b7b1-f64d1a375195"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.024.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="e02b8ff4-ae4f-45b3-8d50-cba988d3e0dc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="a8df5484-df7e-41fc-870d-2c4edb8a89ad_160.100.000.000.024.67"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f54cc949-6cd5-47c0-b587-dfb38f7dfb32"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c2f90e56-b62c-4eac-9d7c-49f98795509f"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1–3mal/Tag auf die erkrankten Hautstellen auftragen"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f54cc949-6cd5-47c0-b587-dfb38f7dfb32"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"/> + </code> + <form> + <text value="Lösung"/> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c2f90e56-b62c-4eac-9d7c-49f98795509f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="George Washington Sleptier"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.json index 6e95c561..1fb0b14a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "6cf014ec-3d60-4afc-9bad-db64bc404257", + "id": "575328be-d51d-4991-9357-61406120379d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "6701571f-f077-4373-928a-ef5701173dd0", + "id": "fc2e91d9-5c86-43ea-a0ed-c88ed27b9c68", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/f8beeb68-91db-4865-b014-3cef1ad0ec15" + "reference": "Medication/bc1c90d2-3535-433f-a862-1c73cb1ec1e4" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/0980060c-8efc-4e2d-ba18-9e721cd96045" + "reference": "Organization/be8bb3e5-a4be-45f6-9515-5e6a3443aa2e" } } ], "whenHandedOver": "2024-11-27", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "f8beeb68-91db-4865-b014-3cef1ad0ec15", + "id": "bc1c90d2-3535-433f-a862-1c73cb1ec1e4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -83,7 +83,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "0980060c-8efc-4e2d-ba18-9e721cd96045", + "id": "be8bb3e5-a4be-45f6-9515-5e6a3443aa2e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -101,7 +101,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Rusty Irons" + "name": "Gladys C. Hughes" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.xml index a0c5cb7f..91b43319 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="6cf014ec-3d60-4afc-9bad-db64bc404257"/> + <id value="575328be-d51d-4991-9357-61406120379d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="6701571f-f077-4373-928a-ef5701173dd0"/> + <id value="fc2e91d9-5c86-43ea-a0ed-c88ed27b9c68"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/f8beeb68-91db-4865-b014-3cef1ad0ec15"/> + <reference value="Medication/bc1c90d2-3535-433f-a862-1c73cb1ec1e4"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/0980060c-8efc-4e2d-ba18-9e721cd96045"/> + <reference value="Organization/be8bb3e5-a4be-45f6-9515-5e6a3443aa2e"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="f8beeb68-91db-4865-b014-3cef1ad0ec15"/> + <id value="bc1c90d2-3535-433f-a862-1c73cb1ec1e4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -87,7 +87,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="0980060c-8efc-4e2d-ba18-9e721cd96045"/> + <id value="be8bb3e5-a4be-45f6-9515-5e6a3443aa2e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -105,7 +105,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Rusty Irons"/> + <name value="Gladys C. Hughes"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592/output.json new file mode 100644 index 00000000..9319d661 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592/output.json @@ -0,0 +1,108 @@ +{ + "resourceType": "Parameters", + "id": "abc92b2b-5bb5-45ca-829d-a824ab88efd6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "06696b3d-22be-445d-9bf8-9abadfdb03b0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "2e184592-a9ba-41ba-a336-4a96881e3f39_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/458e3cb5-f5ca-4c21-9c1a-be179d01b151" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8984e63e-cb82-4ea2-a5dc-9490996e0ae9" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "zur ärztlichen parenteralen Applikation gem. Therapieplan" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "458e3cb5-f5ca-4c21-9c1a-be179d01b151", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "8984e63e-cb82-4ea2-a5dc-9490996e0ae9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Juan Morefore DeRhode" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592/output.xml new file mode 100644 index 00000000..671f2e09 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_2e184592_2e184592/output.xml @@ -0,0 +1,113 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="abc92b2b-5bb5-45ca-829d-a824ab88efd6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="06696b3d-22be-445d-9bf8-9abadfdb03b0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="2e184592-a9ba-41ba-a336-4a96881e3f39_169.018.562.305.023.72"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/458e3cb5-f5ca-4c21-9c1a-be179d01b151"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8984e63e-cb82-4ea2-a5dc-9490996e0ae9"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="458e3cb5-f5ca-4c21-9c1a-be179d01b151"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"/> + </code> + <form> + <text value="Infusionslösung"/> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8984e63e-cb82-4ea2-a5dc-9490996e0ae9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Juan Morefore DeRhode"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.json deleted file mode 100644 index adf3f7f7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "9afa142e-2a67-4b02-b86e-13108aec386c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "366224f6-1488-4614-a428-fdacaae503eb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "2e184592-a9ba-41ba-a336-4a96881e3f39_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/3883039d-681a-4779-8f88-0da9046523f3" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "H030170228" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/9645be73-20c1-48c1-9aa5-1026b15e44b0" - } - } ], - "whenHandedOver": "2024-11-27", - "dosageInstruction": [ { - "text": "zur ärztlichen parenteralen Applikation gem. Therapieplan" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "3883039d-681a-4779-8f88-0da9046523f3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "organization", - "resource": { - "resourceType": "Organization", - "id": "9645be73-20c1-48c1-9aa5-1026b15e44b0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Gladys C. Hughes" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.xml deleted file mode 100644 index b8bb2610..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592/output.xml +++ /dev/null @@ -1,113 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9afa142e-2a67-4b02-b86e-13108aec386c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.018.562.305.023.72"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="366224f6-1488-4614-a428-fdacaae503eb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="2e184592-a9ba-41ba-a336-4a96881e3f39_169.018.562.305.023.72"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/3883039d-681a-4779-8f88-0da9046523f3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/9645be73-20c1-48c1-9aa5-1026b15e44b0"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3883039d-681a-4779-8f88-0da9046523f3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"/> - </code> - <form> - <text value="Infusionslösung"/> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9645be73-20c1-48c1-9aa5-1026b15e44b0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Gladys C. Hughes"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592/input.xml new file mode 100644 index 00000000..3f2a09c2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592/input.xml @@ -0,0 +1,60 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2e184592-a9ba-41ba-a336-4a96881e3f39"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2fdfc0f1-10c1-4bd3-a587-f219657f5664"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="freitext"/> + </coding> + <text value="3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"/> + </code> + <form> + <text value="Infusionslösung"/> + </form> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#2fdfc0f1-10c1-4bd3-a587-f219657f5664"/> + <display value="3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592/output.json new file mode 100644 index 00000000..473b4fee --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592/output.json @@ -0,0 +1,108 @@ +{ + "resourceType": "Parameters", + "id": "44f4e4d6-b5f4-4639-8358-63034165e736", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8bb34952-12cc-43be-8cb7-f78b5d5e8cf1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "2e184592-a9ba-41ba-a336-4a96881e3f39_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/3ffcb3c7-9b12-4d2f-a2e0-0549ec699368" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/322fc39b-8dd0-45dc-8ce1-662165a2ddb4" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "zur ärztlichen parenteralen Applikation gem. Therapieplan" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3ffcb3c7-9b12-4d2f-a2e0-0549ec699368", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "322fc39b-8dd0-45dc-8ce1-662165a2ddb4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Kinnitt" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592/output.xml new file mode 100644 index 00000000..0a2379c1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e_2e184592_2e184592/output.xml @@ -0,0 +1,113 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="44f4e4d6-b5f4-4639-8358-63034165e736"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8bb34952-12cc-43be-8cb7-f78b5d5e8cf1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="2e184592-a9ba-41ba-a336-4a96881e3f39_169.018.562.305.023.72"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3ffcb3c7-9b12-4d2f-a2e0-0549ec699368"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/322fc39b-8dd0-45dc-8ce1-662165a2ddb4"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3ffcb3c7-9b12-4d2f-a2e0-0549ec699368"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"/> + </code> + <form> + <text value="Infusionslösung"/> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="322fc39b-8dd0-45dc-8ce1-662165a2ddb4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Faye Kinnitt"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.json deleted file mode 100644 index c66e486a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "75f9c9a9-b61f-428a-8619-612a137f95f7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "47a86ef9-8eaa-4504-9582-10a9be15077d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "2e184592-a9ba-41ba-a336-4a96881e3f39_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/6abac6ae-46b1-436e-8f9c-111d73fd7a1d" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "H030170228" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/ec7f4020-0904-4746-9b72-9e6c9ee75898" - } - } ], - "whenHandedOver": "2023-07-27", - "dosageInstruction": [ { - "text": "zur ärztlichen parenteralen Applikation gem. Therapieplan" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "6abac6ae-46b1-436e-8f9c-111d73fd7a1d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "organization", - "resource": { - "resourceType": "Organization", - "id": "ec7f4020-0904-4746-9b72-9e6c9ee75898", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Herbie Voor" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.xml deleted file mode 100644 index 4700d542..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/output.xml +++ /dev/null @@ -1,113 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="75f9c9a9-b61f-428a-8619-612a137f95f7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.018.562.305.023.72"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="47a86ef9-8eaa-4504-9582-10a9be15077d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="2e184592-a9ba-41ba-a336-4a96881e3f39_169.018.562.305.023.72"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/6abac6ae-46b1-436e-8f9c-111d73fd7a1d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/ec7f4020-0904-4746-9b72-9e6c9ee75898"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6abac6ae-46b1-436e-8f9c-111d73fd7a1d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"/> - </code> - <form> - <text value="Infusionslösung"/> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ec7f4020-0904-4746-9b72-9e6c9ee75898"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Herbie Voor"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592/output.json new file mode 100644 index 00000000..39cffbe9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592/output.json @@ -0,0 +1,108 @@ +{ + "resourceType": "Parameters", + "id": "45c1a7ab-f68c-45d9-945b-4be16cab53a8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "19b8d1c1-656c-4e9d-b76f-fb544ae4be89", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "2e184592-a9ba-41ba-a336-4a96881e3f39_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/99432c61-f01c-4da8-9e25-a969a0c514a0" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/f8d3f8bc-a16f-4c9a-a9a5-7f6b7e09aa20" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "zur ärztlichen parenteralen Applikation gem. Therapieplan" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "99432c61-f01c-4da8-9e25-a969a0c514a0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "organization", + "resource": { + "resourceType": "Organization", + "id": "f8d3f8bc-a16f-4c9a-a9a5-7f6b7e09aa20", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dinah Soares" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592/output.xml new file mode 100644 index 00000000..a7f2f86e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106_2e184592_2e184592/output.xml @@ -0,0 +1,113 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="45c1a7ab-f68c-45d9-945b-4be16cab53a8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.018.562.305.023.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="19b8d1c1-656c-4e9d-b76f-fb544ae4be89"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="2e184592-a9ba-41ba-a336-4a96881e3f39_169.018.562.305.023.72"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/99432c61-f01c-4da8-9e25-a969a0c514a0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/f8d3f8bc-a16f-4c9a-a9a5-7f6b7e09aa20"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="zur ärztlichen parenteralen Applikation gem. Therapieplan"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="99432c61-f01c-4da8-9e25-a969a0c514a0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"/> + </code> + <form> + <text value="Infusionslösung"/> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f8d3f8bc-a16f-4c9a-a9a5-7f6b7e09aa20"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dinah Soares"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.json deleted file mode 100644 index 165847b1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "74d4c9ad-8481-40dc-937d-c9bdd503c993", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "c2be8040-5899-4791-a811-73d5c4da72c0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "b1a77067-7616-42fd-9495-f4fb1a0f6e4b_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/af383a57-43bf-4c19-a4b1-95a421e0c628" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "H030170228" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/3ac78714-28cb-4fa4-adef-320649c85f63" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "af383a57-43bf-4c19-a4b1-95a421e0c628", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "3ac78714-28cb-4fa4-adef-320649c85f63", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Tamara Knight" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.xml deleted file mode 100644 index 32a5f7b7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="74d4c9ad-8481-40dc-937d-c9bdd503c993"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="c2be8040-5899-4791-a811-73d5c4da72c0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="b1a77067-7616-42fd-9495-f4fb1a0f6e4b_160.100.000.000.020.79"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/af383a57-43bf-4c19-a4b1-95a421e0c628"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/3ac78714-28cb-4fa4-adef-320649c85f63"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="af383a57-43bf-4c19-a4b1-95a421e0c628"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00408362"/> - </coding> - <text value="GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3ac78714-28cb-4fa4-adef-320649c85f63"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Tamara Knight"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067/output.json new file mode 100644 index 00000000..2a919174 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "f5384cb1-a1c4-4277-8fe0-de9af5946777", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2e7b5f28-e557-4c4e-b76c-d37f739dd33c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b1a77067-7616-42fd-9495-f4fb1a0f6e4b_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/906b024f-fb2b-4f66-844c-6e3e2cab53d8" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/16a15f72-2400-4685-ba59-d01a6f31cfa6" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "906b024f-fb2b-4f66-844c-6e3e2cab53d8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "16a15f72-2400-4685-ba59-d01a6f31cfa6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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 Tye" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067/output.xml new file mode 100644 index 00000000..52455755 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa_b1a77067_b1a77067/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f5384cb1-a1c4-4277-8fe0-de9af5946777"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2e7b5f28-e557-4c4e-b76c-d37f739dd33c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b1a77067-7616-42fd-9495-f4fb1a0f6e4b_160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/906b024f-fb2b-4f66-844c-6e3e2cab53d8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/16a15f72-2400-4685-ba59-d01a6f31cfa6"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="906b024f-fb2b-4f66-844c-6e3e2cab53d8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00408362"/> + </coding> + <text value="GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="16a15f72-2400-4685-ba59-d01a6f31cfa6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Beau Tye"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.json index 207c6af9..bd7002e9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "3e0a4df9-ea85-42a8-bed6-f7f90c848089", + "id": "67abf88c-7451-4572-9eab-3594859f6267", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "2404d21c-960a-4b66-9bef-2b2501eaea45", + "id": "612c0770-78b5-4263-81cc-c07bdf0373a5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/c9a69cee-c67a-467f-9e48-7c1d6dfc6167" + "reference": "Medication/61a844b6-c451-4728-8387-c839b60a1283" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/f2b9979e-f92f-4bff-82c4-4cf05848b931" + "reference": "Organization/21032a49-8bb7-42da-b2cc-8b58f9728c4e" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "c9a69cee-c67a-467f-9e48-7c1d6dfc6167", + "id": "61a844b6-c451-4728-8387-c839b60a1283", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f2b9979e-f92f-4bff-82c4-4cf05848b931", + "id": "21032a49-8bb7-42da-b2cc-8b58f9728c4e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Jed Dye" + "name": "Dan Deline" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.xml index a36e74ca..d731cc7b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="3e0a4df9-ea85-42a8-bed6-f7f90c848089"/> + <id value="67abf88c-7451-4572-9eab-3594859f6267"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="2404d21c-960a-4b66-9bef-2b2501eaea45"/> + <id value="612c0770-78b5-4263-81cc-c07bdf0373a5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/c9a69cee-c67a-467f-9e48-7c1d6dfc6167"/> + <reference value="Medication/61a844b6-c451-4728-8387-c839b60a1283"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/f2b9979e-f92f-4bff-82c4-4cf05848b931"/> + <reference value="Organization/21032a49-8bb7-42da-b2cc-8b58f9728c4e"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="c9a69cee-c67a-467f-9e48-7c1d6dfc6167"/> + <id value="61a844b6-c451-4728-8387-c839b60a1283"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f2b9979e-f92f-4bff-82c4-4cf05848b931"/> + <id value="21032a49-8bb7-42da-b2cc-8b58f9728c4e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Jed Dye"/> + <name value="Dan Deline"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067/input.xml new file mode 100644 index 00000000..f012ad54 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b1a77067-7616-42fd-9495-f4fb1a0f6e4b"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8ed997cb-7556-442c-83b0-60cfcaccec0d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00408362"/> + </coding> + <text value="GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#8ed997cb-7556-442c-83b0-60cfcaccec0d"/> + <display value="GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067/output.json new file mode 100644 index 00000000..9b88a4f9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "269e620e-c285-494f-a639-fae74d5a610f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b390eaaa-005e-4425-b62e-3fb0e50ed9b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b1a77067-7616-42fd-9495-f4fb1a0f6e4b_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/5d037984-90b2-4b10-b6cc-4ee4f6ff4b48" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/015eaabd-d445-4792-9137-6371bd142b53" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "5d037984-90b2-4b10-b6cc-4ee4f6ff4b48", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "015eaabd-d445-4792-9137-6371bd142b53", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Jasmine Flowers" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067/output.xml new file mode 100644 index 00000000..51ffe832 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b1a77067_b1a77067/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="269e620e-c285-494f-a639-fae74d5a610f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b390eaaa-005e-4425-b62e-3fb0e50ed9b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b1a77067-7616-42fd-9495-f4fb1a0f6e4b_160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/5d037984-90b2-4b10-b6cc-4ee4f6ff4b48"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/015eaabd-d445-4792-9137-6371bd142b53"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5d037984-90b2-4b10-b6cc-4ee4f6ff4b48"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00408362"/> + </coding> + <text value="GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="015eaabd-d445-4792-9137-6371bd142b53"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jasmine Flowers"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.json deleted file mode 100644 index e82f4e48..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "44740e72-3224-4292-b7fd-c72b9fd0fe12", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "b79dd1ba-b4bb-45ff-b165-f126b90f4f96", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "b1a77067-7616-42fd-9495-f4fb1a0f6e4b_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/cecbfea2-edb2-494b-a940-dcfe490ebcc2" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "H030170228" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/cac34786-21a9-467a-bc89-e621c1860d5b" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "cecbfea2-edb2-494b-a940-dcfe490ebcc2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "cac34786-21a9-467a-bc89-e621c1860d5b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Les Plack" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.xml deleted file mode 100644 index 25485446..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="44740e72-3224-4292-b7fd-c72b9fd0fe12"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b79dd1ba-b4bb-45ff-b165-f126b90f4f96"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="b1a77067-7616-42fd-9495-f4fb1a0f6e4b_160.100.000.000.020.79"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/cecbfea2-edb2-494b-a940-dcfe490ebcc2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/cac34786-21a9-467a-bc89-e621c1860d5b"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="cecbfea2-edb2-494b-a940-dcfe490ebcc2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00408362"/> - </coding> - <text value="GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="cac34786-21a9-467a-bc89-e621c1860d5b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Les Plack"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067/output.json new file mode 100644 index 00000000..a6165d87 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "8b86f95a-e08f-4a3b-905a-219529a01382", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8ac500e2-d893-497d-9b9e-5594d7e0652d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "b1a77067-7616-42fd-9495-f4fb1a0f6e4b_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/bc961335-ca52-40b8-a201-fcbd6a791bd8" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/86344744-a9b5-4b02-810b-48fe245ca0b6" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "bc961335-ca52-40b8-a201-fcbd6a791bd8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "86344744-a9b5-4b02-810b-48fe245ca0b6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Andy Gravity" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067/output.xml new file mode 100644 index 00000000..67c71aa3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c_b1a77067_b1a77067/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8b86f95a-e08f-4a3b-905a-219529a01382"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8ac500e2-d893-497d-9b9e-5594d7e0652d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="b1a77067-7616-42fd-9495-f4fb1a0f6e4b_160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/bc961335-ca52-40b8-a201-fcbd6a791bd8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/86344744-a9b5-4b02-810b-48fe245ca0b6"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bc961335-ca52-40b8-a201-fcbd6a791bd8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00408362"/> + </coding> + <text value="GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="86344744-a9b5-4b02-810b-48fe245ca0b6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Andy Gravity"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.json deleted file mode 100644 index 030985dd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "471ac077-d9bf-4a14-9d36-dcc98c51f329", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "44b5d5bc-07e1-4040-9a70-830afdd61066", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "dec2d0aa-cdb7-460a-96dd-22f1253ac578_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/22948bee-cd8a-4d50-882f-f8e080b81eb2" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "H030170228" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/b69d9b67-d17e-4e49-8347-c8a4cb014f83" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "22948bee-cd8a-4d50-882f-f8e080b81eb2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "b69d9b67-d17e-4e49-8347-c8a4cb014f83", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Mel Practiss" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.xml deleted file mode 100644 index fc7054d4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="471ac077-d9bf-4a14-9d36-dcc98c51f329"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="44b5d5bc-07e1-4040-9a70-830afdd61066"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="dec2d0aa-cdb7-460a-96dd-22f1253ac578_160.100.000.000.020.79"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/22948bee-cd8a-4d50-882f-f8e080b81eb2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/b69d9b67-d17e-4e49-8347-c8a4cb014f83"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="22948bee-cd8a-4d50-882f-f8e080b81eb2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00407552"/> - </coding> - <text value="GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b69d9b67-d17e-4e49-8347-c8a4cb014f83"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Mel Practiss"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa/output.json new file mode 100644 index 00000000..e6ef7282 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "d31387b7-4087-47af-8706-fd8da10941ff", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b10f116a-96d2-4a3c-b76b-d126b5277867", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dec2d0aa-cdb7-460a-96dd-22f1253ac578_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/14acffd4-322a-4d39-b359-82467196da66" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/982f4a2b-e323-41ec-8e3b-4edf101110cf" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "14acffd4-322a-4d39-b359-82467196da66", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "982f4a2b-e323-41ec-8e3b-4edf101110cf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dee Major" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa/output.xml new file mode 100644 index 00000000..6a58405c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070_dec2d0aa_dec2d0aa/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d31387b7-4087-47af-8706-fd8da10941ff"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b10f116a-96d2-4a3c-b76b-d126b5277867"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dec2d0aa-cdb7-460a-96dd-22f1253ac578_160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/14acffd4-322a-4d39-b359-82467196da66"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/982f4a2b-e323-41ec-8e3b-4edf101110cf"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="14acffd4-322a-4d39-b359-82467196da66"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00407552"/> + </coding> + <text value="GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="982f4a2b-e323-41ec-8e3b-4edf101110cf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dee Major"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.json deleted file mode 100644 index 9dafd052..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "40c7ddcd-8b7a-4396-bb09-c1190aee888b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "c4a3b32c-9c72-41a3-9399-a3570298a753", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "dec2d0aa-cdb7-460a-96dd-22f1253ac578_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/afbad284-1ee5-49db-b78d-2e4d7e6d625a" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "H030170228" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/c5d632d9-cf48-4332-97d8-bd5672b65768" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "afbad284-1ee5-49db-b78d-2e4d7e6d625a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "c5d632d9-cf48-4332-97d8-bd5672b65768", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Rosie Peach" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.xml deleted file mode 100644 index fda6579c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="40c7ddcd-8b7a-4396-bb09-c1190aee888b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="c4a3b32c-9c72-41a3-9399-a3570298a753"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="dec2d0aa-cdb7-460a-96dd-22f1253ac578_160.100.000.000.020.79"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/afbad284-1ee5-49db-b78d-2e4d7e6d625a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="H030170228"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/c5d632d9-cf48-4332-97d8-bd5672b65768"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="afbad284-1ee5-49db-b78d-2e4d7e6d625a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00407552"/> - </coding> - <text value="GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c5d632d9-cf48-4332-97d8-bd5672b65768"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Rosie Peach"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa/output.json new file mode 100644 index 00000000..011b6411 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "96198246-bee8-4c10-abd7-16c96b27b212", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "2b0acf29-b81f-4ba2-bcf4-9897d7a68543", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dec2d0aa-cdb7-460a-96dd-22f1253ac578_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/94b5ae5b-77b5-4d34-be02-9afebf3688ac" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/7534a725-b375-4bf0-97be-d03a1f2371f7" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "94b5ae5b-77b5-4d34-be02-9afebf3688ac", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "7534a725-b375-4bf0-97be-d03a1f2371f7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bea Lowe" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa/output.xml new file mode 100644 index 00000000..b3f01f3b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e_dec2d0aa_dec2d0aa/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="96198246-bee8-4c10-abd7-16c96b27b212"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="2b0acf29-b81f-4ba2-bcf4-9897d7a68543"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dec2d0aa-cdb7-460a-96dd-22f1253ac578_160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/94b5ae5b-77b5-4d34-be02-9afebf3688ac"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/7534a725-b375-4bf0-97be-d03a1f2371f7"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="94b5ae5b-77b5-4d34-be02-9afebf3688ac"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00407552"/> + </coding> + <text value="GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7534a725-b375-4bf0-97be-d03a1f2371f7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bea Lowe"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.json index 4a765a06..22bbdf72 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "bce903c2-254c-4671-bc4b-7070ecc76d81", + "id": "e9b7a984-a3b2-43c3-a1ed-6b491747dde9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "4258f841-d5c0-4f6a-a910-31f28f60ac25", + "id": "7bf2f75f-b35c-456e-938d-da843a175d4d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/2eef2bf8-ba06-4e07-b106-9321be2e00d7" + "reference": "Medication/fc8e1622-c1ab-4809-9249-99198b2afb95" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/e2c069b5-af57-42a9-90f5-5f0b6140ffa2" + "reference": "Organization/2cb9a434-3f8a-42a5-9d0c-5ab109b8f684" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "2eef2bf8-ba06-4e07-b106-9321be2e00d7", + "id": "fc8e1622-c1ab-4809-9249-99198b2afb95", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e2c069b5-af57-42a9-90f5-5f0b6140ffa2", + "id": "2cb9a434-3f8a-42a5-9d0c-5ab109b8f684", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Olive Hoyl" + "name": "Tom Katz" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.xml index 6a1a4268..420ee758 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="bce903c2-254c-4671-bc4b-7070ecc76d81"/> + <id value="e9b7a984-a3b2-43c3-a1ed-6b491747dde9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="4258f841-d5c0-4f6a-a910-31f28f60ac25"/> + <id value="7bf2f75f-b35c-456e-938d-da843a175d4d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/2eef2bf8-ba06-4e07-b106-9321be2e00d7"/> + <reference value="Medication/fc8e1622-c1ab-4809-9249-99198b2afb95"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/e2c069b5-af57-42a9-90f5-5f0b6140ffa2"/> + <reference value="Organization/2cb9a434-3f8a-42a5-9d0c-5ab109b8f684"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="2eef2bf8-ba06-4e07-b106-9321be2e00d7"/> + <id value="fc8e1622-c1ab-4809-9249-99198b2afb95"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e2c069b5-af57-42a9-90f5-5f0b6140ffa2"/> + <id value="2cb9a434-3f8a-42a5-9d0c-5ab109b8f684"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Olive Hoyl"/> + <name value="Tom Katz"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa/input.xml new file mode 100644 index 00000000..099d7ea4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="dec2d0aa-cdb7-460a-96dd-22f1253ac578"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="eed82d8e-3991-4d29-970f-a17447883277"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00407552"/> + </coding> + <text value="GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#eed82d8e-3991-4d29-970f-a17447883277"/> + <display value="GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa/output.json new file mode 100644 index 00000000..0861720d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "d41bdea7-528f-4efa-a221-fdfdbc9883a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "d04cdd97-a5f8-4dc4-91f2-2a4e6a6fc85f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "dec2d0aa-cdb7-460a-96dd-22f1253ac578_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/8ea8ea2d-38c1-4b39-b4b7-90355b8a2e5e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "H030170228" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/40a9b810-6193-47b5-b5dd-d83bbe0933fe" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "8ea8ea2d-38c1-4b39-b4b7-90355b8a2e5e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "40a9b810-6193-47b5-b5dd-d83bbe0933fe", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Tommy Hawk" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa/output.xml new file mode 100644 index 00000000..330202f4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_dec2d0aa_dec2d0aa/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d41bdea7-528f-4efa-a221-fdfdbc9883a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="d04cdd97-a5f8-4dc4-91f2-2a4e6a6fc85f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="dec2d0aa-cdb7-460a-96dd-22f1253ac578_160.100.000.000.020.79"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/8ea8ea2d-38c1-4b39-b4b7-90355b8a2e5e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/40a9b810-6193-47b5-b5dd-d83bbe0933fe"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8ea8ea2d-38c1-4b39-b4b7-90355b8a2e5e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00407552"/> + </coding> + <text value="GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="40a9b810-6193-47b5-b5dd-d83bbe0933fe"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Tommy Hawk"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.json deleted file mode 100644 index 30c3405b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "bfba6f97-ba59-4c1f-9241-ff52801f4245", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "1e5f6cc2-45a6-4e44-9ba2-3a834de2402b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_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/7809a210-5802-4880-ab4c-bbae7bc879b5" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220635158" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/0eddafc9-f6f8-423a-a075-56d9194c54b5" - } - } ], - "whenHandedOver": "2023-07-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "7809a210-5802-4880-ab4c-bbae7bc879b5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "0eddafc9-f6f8-423a-a075-56d9194c54b5", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Andy Structible" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.xml deleted file mode 100644 index 59db0157..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bfba6f97-ba59-4c1f-9241-ff52801f4245"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.022.73"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1e5f6cc2-45a6-4e44-9ba2-3a834de2402b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_160.100.000.000.022.73"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/7809a210-5802-4880-ab4c-bbae7bc879b5"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/0eddafc9-f6f8-423a-a075-56d9194c54b5"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7809a210-5802-4880-ab4c-bbae7bc879b5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00232236"/> - </coding> - <text value="SIMVA BASICS 20 mg Filmtabletten (100 Stk)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0eddafc9-f6f8-423a-a075-56d9194c54b5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Andy Structible"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6/output.json new file mode 100644 index 00000000..be53f0da --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "e823e701-236d-440c-b091-51430d68fd02", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c4f37371-b1fd-41ce-8036-c388e35fd856", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_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/3f99b1d0-ed54-49b3-8514-9fec5e4e0663" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/1d8a5aad-0f0d-4843-a257-1dbe69244514" + } + } ], + "whenHandedOver": "2023-07-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3f99b1d0-ed54-49b3-8514-9fec5e4e0663", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "1d8a5aad-0f0d-4843-a257-1dbe69244514", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Duane DeVane" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6/output.xml new file mode 100644 index 00000000..7050f3bd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a_ac31e7a6_ac31e7a6/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e823e701-236d-440c-b091-51430d68fd02"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c4f37371-b1fd-41ce-8036-c388e35fd856"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_160.100.000.000.022.73"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3f99b1d0-ed54-49b3-8514-9fec5e4e0663"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/1d8a5aad-0f0d-4843-a257-1dbe69244514"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3f99b1d0-ed54-49b3-8514-9fec5e4e0663"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00232236"/> + </coding> + <text value="SIMVA BASICS 20 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1d8a5aad-0f0d-4843-a257-1dbe69244514"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Duane DeVane"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.json index d5ff62e3..d81cc954 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "edcf0a0b-a1f0-46e6-b777-09fdf8387a0b", + "id": "1bd7f865-c928-41b7-8b44-b241e65fb4a6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "a10feca9-6f6f-4f1e-b2d7-e51a292c12c8", + "id": "068e2156-eeac-44ff-a752-720e308f5a2b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/17889053-e1a9-41e3-9dd1-bd4ec1878515" + "reference": "Medication/1daf9899-9bb0-44a2-8a6e-49959a9ffe01" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/270ed220-3dfb-4fe3-8ffb-977464505d87" + "reference": "Organization/22e4d9c9-655b-4cd5-863c-aa34c218c242" } } ], "whenHandedOver": "2024-11-27" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "17889053-e1a9-41e3-9dd1-bd4ec1878515", + "id": "1daf9899-9bb0-44a2-8a6e-49959a9ffe01", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "270ed220-3dfb-4fe3-8ffb-977464505d87", + "id": "22e4d9c9-655b-4cd5-863c-aa34c218c242", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "I. Ron Stomach" + "name": "Abbie Birthday" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.xml index de110e23..8f81d0b8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="edcf0a0b-a1f0-46e6-b777-09fdf8387a0b"/> + <id value="1bd7f865-c928-41b7-8b44-b241e65fb4a6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a10feca9-6f6f-4f1e-b2d7-e51a292c12c8"/> + <id value="068e2156-eeac-44ff-a752-720e308f5a2b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/17889053-e1a9-41e3-9dd1-bd4ec1878515"/> + <reference value="Medication/1daf9899-9bb0-44a2-8a6e-49959a9ffe01"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/270ed220-3dfb-4fe3-8ffb-977464505d87"/> + <reference value="Organization/22e4d9c9-655b-4cd5-863c-aa34c218c242"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="17889053-e1a9-41e3-9dd1-bd4ec1878515"/> + <id value="1daf9899-9bb0-44a2-8a6e-49959a9ffe01"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="270ed220-3dfb-4fe3-8ffb-977464505d87"/> + <id value="22e4d9c9-655b-4cd5-863c-aa34c218c242"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="I. Ron Stomach"/> + <name value="Abbie Birthday"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6/output.json new file mode 100644 index 00000000..76304eef --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "96bf9d51-716f-4014-b1f5-7f2c97c579c4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "3f5370d5-66a6-4d16-803a-47fa3388e86d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_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/0f04b41f-69ef-4801-a075-473c335983ae" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/4c282883-ba6f-4e4f-b05a-a9377e32d182" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "0f04b41f-69ef-4801-a075-473c335983ae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "4c282883-ba6f-4e4f-b05a-a9377e32d182", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Mark A. Roni" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6/output.xml new file mode 100644 index 00000000..e08a4fb7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_ac31e7a6_ac31e7a6/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="96bf9d51-716f-4014-b1f5-7f2c97c579c4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="3f5370d5-66a6-4d16-803a-47fa3388e86d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_160.100.000.000.022.73"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/0f04b41f-69ef-4801-a075-473c335983ae"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/4c282883-ba6f-4e4f-b05a-a9377e32d182"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0f04b41f-69ef-4801-a075-473c335983ae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00232236"/> + </coding> + <text value="SIMVA BASICS 20 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4c282883-ba6f-4e4f-b05a-a9377e32d182"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Mark A. Roni"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.json deleted file mode 100644 index 6b4b9e6d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "8a30d7c1-4df6-4ed8-93d5-957a81193e28", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "907862d6-8a24-419a-b34e-7ec4ac5b761e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_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/18fcc430-bf03-4063-9524-0451c6727e63" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220635158" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/ba42bf25-00f7-43dd-b54a-c5a4560ec6dd" - } - } ], - "whenHandedOver": "2024-11-27" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "18fcc430-bf03-4063-9524-0451c6727e63", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "ba42bf25-00f7-43dd-b54a-c5a4560ec6dd", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Harmon Ikka" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.xml deleted file mode 100644 index 33ab7ea8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="8a30d7c1-4df6-4ed8-93d5-957a81193e28"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.022.73"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="907862d6-8a24-419a-b34e-7ec4ac5b761e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_160.100.000.000.022.73"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/18fcc430-bf03-4063-9524-0451c6727e63"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/ba42bf25-00f7-43dd-b54a-c5a4560ec6dd"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="18fcc430-bf03-4063-9524-0451c6727e63"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00232236"/> - </coding> - <text value="SIMVA BASICS 20 mg Filmtabletten (100 Stk)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ba42bf25-00f7-43dd-b54a-c5a4560ec6dd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Harmon Ikka"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6/input.xml new file mode 100644 index 00000000..5a79c4e7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ac31e7a6-400f-48e4-a836-b5f78d0fc4ac"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5ff6df43-f84c-43a5-9770-3579afb67da8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00232236"/> + </coding> + <text value="SIMVA BASICS 20 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#5ff6df43-f84c-43a5-9770-3579afb67da8"/> + <display value="SIMVA BASICS 20 mg Filmtabletten (100 Stk)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6/output.json new file mode 100644 index 00000000..c8e55b1b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "1ac93f49-8893-45ad-bf5f-a0e727fd067c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "1fcb3b05-ba26-45e7-81c3-84ed4cb86668", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_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/52a8480d-3fd5-4b93-8055-20c9626cf2e2" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/32c70e66-6bb7-4397-8543-93113888c320" + } + } ], + "whenHandedOver": "2024-11-27" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "52a8480d-3fd5-4b93-8055-20c9626cf2e2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "32c70e66-6bb7-4397-8543-93113888c320", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6/output.xml new file mode 100644 index 00000000..f62d6734 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945_ac31e7a6_ac31e7a6/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1ac93f49-8893-45ad-bf5f-a0e727fd067c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="1fcb3b05-ba26-45e7-81c3-84ed4cb86668"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="ac31e7a6-400f-48e4-a836-b5f78d0fc4ac_160.100.000.000.022.73"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/52a8480d-3fd5-4b93-8055-20c9626cf2e2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/32c70e66-6bb7-4397-8543-93113888c320"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="52a8480d-3fd5-4b93-8055-20c9626cf2e2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00232236"/> + </coding> + <text value="SIMVA BASICS 20 mg Filmtabletten (100 Stk)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="32c70e66-6bb7-4397-8543-93113888c320"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Tom Katt"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.json index 61501352..89210248 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "397c378f-373f-419a-95f2-511b0e9f15ff", + "id": "c0699da8-5ac9-4f0f-9fc7-10f505058785", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "36b80e43-c1e8-4712-92a7-9e09d64f32f1", + "id": "5079711b-65f8-40ce-b362-0aebfe8c873a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/da0d1186-9d30-48ae-b232-4fc8e5d2b526" + "reference": "Medication/5eacfc31-780b-4bca-9dd9-5da2ff40663b" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/96a8a507-ac95-48e3-99c7-05b71290e9b2" + "reference": "Organization/0d8b3a63-1488-4638-9c71-79976f60d513" } } ], "whenHandedOver": "2025-01-30" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "da0d1186-9d30-48ae-b232-4fc8e5d2b526", + "id": "5eacfc31-780b-4bca-9dd9-5da2ff40663b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "96a8a507-ac95-48e3-99c7-05b71290e9b2", + "id": "0d8b3a63-1488-4638-9c71-79976f60d513", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -124,7 +124,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Faye Tallity" + "name": "Anne Teak" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.xml index 4c3f605d..9f866ab7 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="397c378f-373f-419a-95f2-511b0e9f15ff"/> + <id value="c0699da8-5ac9-4f0f-9fc7-10f505058785"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="36b80e43-c1e8-4712-92a7-9e09d64f32f1"/> + <id value="5079711b-65f8-40ce-b362-0aebfe8c873a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/da0d1186-9d30-48ae-b232-4fc8e5d2b526"/> + <reference value="Medication/5eacfc31-780b-4bca-9dd9-5da2ff40663b"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/96a8a507-ac95-48e3-99c7-05b71290e9b2"/> + <reference value="Organization/0d8b3a63-1488-4638-9c71-79976f60d513"/> </actor> </performer> <whenHandedOver value="2025-01-30"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="da0d1186-9d30-48ae-b232-4fc8e5d2b526"/> + <id value="5eacfc31-780b-4bca-9dd9-5da2ff40663b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -109,7 +109,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="96a8a507-ac95-48e3-99c7-05b71290e9b2"/> + <id value="0d8b3a63-1488-4638-9c71-79976f60d513"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -127,7 +127,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Faye Tallity"/> + <name value="Anne Teak"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0_361ee9e0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0_361ee9e0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0_361ee9e0/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0_361ee9e0/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0_361ee9e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0_361ee9e0/output.json new file mode 100644 index 00000000..70e07352 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0_361ee9e0/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "f120a441-5980-4689-8ed9-e94483f89775", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "33119b27-f273-4531-b0ce-9ce9c8f31ee1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "361ee9e0-3360-43c3-8d34-337197907620_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/b5cab657-4eb0-4aa2-b72b-67e7fed62c1e" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/ae072e78-c2ea-4136-ac45-0594ac276b95" + } + } ], + "whenHandedOver": "2025-01-30" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b5cab657-4eb0-4aa2-b72b-67e7fed62c1e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "ae072e78-c2ea-4136-ac45-0594ac276b95", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/WS_MV2_MedicationDispense_361ee9e0_361ee9e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0_361ee9e0/output.xml new file mode 100644 index 00000000..5eba47e5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_361ee9e0_361ee9e0/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f120a441-5980-4689-8ed9-e94483f89775"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="33119b27-f273-4531-b0ce-9ce9c8f31ee1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="361ee9e0-3360-43c3-8d34-337197907620_160.100.000.000.027.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b5cab657-4eb0-4aa2-b72b-67e7fed62c1e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/ae072e78-c2ea-4136-ac45-0594ac276b95"/> + </actor> + </performer> + <whenHandedOver value="2025-01-30"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b5cab657-4eb0-4aa2-b72b-67e7fed62c1e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02846592"/> + </coding> + <text value="SIMVAHEXAL 20 mg Filmtabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ae072e78-c2ea-4136-ac45-0594ac276b95"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dusty Sandmann"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.json deleted file mode 100644 index c67c350f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "25e0b559-976e-46c2-9be3-a855a544b464", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "b63a48da-5067-4af4-9664-9c1907e3786e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "361ee9e0-3360-43c3-8d34-337197907620_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/29759e46-ff85-4178-a269-43eb2b56f70d" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220635158" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/a994109f-3968-4bde-a73c-f171fdbb4024" - } - } ], - "whenHandedOver": "2025-01-30" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "29759e46-ff85-4178-a269-43eb2b56f70d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "a994109f-3968-4bde-a73c-f171fdbb4024", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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 Achey" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.xml deleted file mode 100644 index 3b3de9ad..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="25e0b559-976e-46c2-9be3-a855a544b464"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.027.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b63a48da-5067-4af4-9664-9c1907e3786e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="361ee9e0-3360-43c3-8d34-337197907620_160.100.000.000.027.58"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/29759e46-ff85-4178-a269-43eb2b56f70d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/a994109f-3968-4bde-a73c-f171fdbb4024"/> - </actor> - </performer> - <whenHandedOver value="2025-01-30"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="29759e46-ff85-4178-a269-43eb2b56f70d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02846592"/> - </coding> - <text value="SIMVAHEXAL 20 mg Filmtabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a994109f-3968-4bde-a73c-f171fdbb4024"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Terry Achey"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0/input.xml new file mode 100644 index 00000000..5f03b8fe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0/input.xml @@ -0,0 +1,88 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="361ee9e0-3360-43c3-8d34-337197907620"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1efe56d3-d977-4a18-998a-985793678879"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02846592"/> + </coding> + <text value="SIMVAHEXAL 20 mg Filmtabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#1efe56d3-d977-4a18-998a-985793678879"/> + <display value="SIMVAHEXAL 20 mg Filmtabletten (100 St)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2025-01-30"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0/output.json new file mode 100644 index 00000000..ccb7a653 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "2838c23c-b2e1-4cd8-aa89-30a4bcc6c008", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "73a79bea-0a2a-41fe-be18-69a2938f3d72", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "361ee9e0-3360-43c3-8d34-337197907620_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/4f85197e-13da-4e5e-bdb9-c3ca4875ca59" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/7663030e-03f8-454f-8557-a5f4bf040ca5" + } + } ], + "whenHandedOver": "2025-01-30" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "4f85197e-13da-4e5e-bdb9-c3ca4875ca59", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "7663030e-03f8-454f-8557-a5f4bf040ca5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Dwayne Pipe" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0/output.xml new file mode 100644 index 00000000..a4192569 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f_361ee9e0_361ee9e0/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2838c23c-b2e1-4cd8-aa89-30a4bcc6c008"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="73a79bea-0a2a-41fe-be18-69a2938f3d72"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="361ee9e0-3360-43c3-8d34-337197907620_160.100.000.000.027.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/4f85197e-13da-4e5e-bdb9-c3ca4875ca59"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/7663030e-03f8-454f-8557-a5f4bf040ca5"/> + </actor> + </performer> + <whenHandedOver value="2025-01-30"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4f85197e-13da-4e5e-bdb9-c3ca4875ca59"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02846592"/> + </coding> + <text value="SIMVAHEXAL 20 mg Filmtabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7663030e-03f8-454f-8557-a5f4bf040ca5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Dwayne Pipe"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.json deleted file mode 100644 index d91812e0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "00451762-ac95-40b0-beda-dca8b49d9782", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "6dd7adfc-429c-436a-b98b-caa951032929", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "361ee9e0-3360-43c3-8d34-337197907620_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/a9139265-7fc8-498c-9f92-3984865fb0bf" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220635158" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/46160426-0c09-40c9-9526-a279304855a7" - } - } ], - "whenHandedOver": "2023-09-30" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "a9139265-7fc8-498c-9f92-3984865fb0bf", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "46160426-0c09-40c9-9526-a279304855a7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Otto Graf" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.xml deleted file mode 100644 index 0f2622b5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/output.xml +++ /dev/null @@ -1,135 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="00451762-ac95-40b0-beda-dca8b49d9782"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.027.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="6dd7adfc-429c-436a-b98b-caa951032929"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="361ee9e0-3360-43c3-8d34-337197907620_160.100.000.000.027.58"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/a9139265-7fc8-498c-9f92-3984865fb0bf"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/46160426-0c09-40c9-9526-a279304855a7"/> - </actor> - </performer> - <whenHandedOver value="2023-09-30"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a9139265-7fc8-498c-9f92-3984865fb0bf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02846592"/> - </coding> - <text value="SIMVAHEXAL 20 mg Filmtabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="46160426-0c09-40c9-9526-a279304855a7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Otto Graf"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0/output.json new file mode 100644 index 00000000..309dd6f4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0/output.json @@ -0,0 +1,131 @@ +{ + "resourceType": "Parameters", + "id": "1ca06a7e-da83-4c33-a41b-cfdf28ffc511", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "a601e9ad-4c91-4e3c-817c-2e5d1fe06275", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "361ee9e0-3360-43c3-8d34-337197907620_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/3626a435-b51c-454f-9e4d-e760388988d6" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K220635158" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c7db06c7-a415-4998-859f-8a77226ca635" + } + } ], + "whenHandedOver": "2023-09-30" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3626a435-b51c-454f-9e4d-e760388988d6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c7db06c7-a415-4998-859f-8a77226ca635", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Candy Baskett" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0/output.xml new file mode 100644 index 00000000..fcceffbd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961_361ee9e0_361ee9e0/output.xml @@ -0,0 +1,135 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1ca06a7e-da83-4c33-a41b-cfdf28ffc511"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="a601e9ad-4c91-4e3c-817c-2e5d1fe06275"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="361ee9e0-3360-43c3-8d34-337197907620_160.100.000.000.027.58"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3626a435-b51c-454f-9e4d-e760388988d6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c7db06c7-a415-4998-859f-8a77226ca635"/> + </actor> + </performer> + <whenHandedOver value="2023-09-30"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3626a435-b51c-454f-9e4d-e760388988d6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02846592"/> + </coding> + <text value="SIMVAHEXAL 20 mg Filmtabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c7db06c7-a415-4998-859f-8a77226ca635"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Candy Baskett"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.json deleted file mode 100644 index dc447d63..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "c11881ce-5926-4770-aa36-b01b810bc42b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "b4a3c29e-c149-4ecc-b42f-d57572d398b9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "f23d8d7f-5147-447f-b3d5-473a4d30268c_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/6e2ee9db-9370-4331-80d6-ff7d8593ab9d" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/47e26c63-768e-40e3-96a2-70198ca7b79d" - } - } ], - "whenHandedOver": "2024-11-27", - "dosageInstruction": [ { - "text": "1-0-1-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "6e2ee9db-9370-4331-80d6-ff7d8593ab9d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "47e26c63-768e-40e3-96a2-70198ca7b79d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Herb E. Side" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.xml deleted file mode 100644 index a231039f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c11881ce-5926-4770-aa36-b01b810bc42b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.021.76"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b4a3c29e-c149-4ecc-b42f-d57572d398b9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="f23d8d7f-5147-447f-b3d5-473a4d30268c_160.100.000.000.021.76"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/6e2ee9db-9370-4331-80d6-ff7d8593ab9d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/47e26c63-768e-40e3-96a2-70198ca7b79d"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6e2ee9db-9370-4331-80d6-ff7d8593ab9d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12481766"/> - </coding> - <text value="Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="RET"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="47e26c63-768e-40e3-96a2-70198ca7b79d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Herb E. Side"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f/output.json new file mode 100644 index 00000000..d0dc6bd4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "5475439d-d087-4b48-90cd-d5fdfd80c4d2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "68a3dba2-233b-463a-b2ff-e203cb405e75", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f23d8d7f-5147-447f-b3d5-473a4d30268c_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/9858e358-41b7-4eda-a337-31f7209df9af" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/cdf08807-e8a9-42ca-8520-a0f0b6675476" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "9858e358-41b7-4eda-a337-31f7209df9af", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "cdf08807-e8a9-42ca-8520-a0f0b6675476", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f/output.xml new file mode 100644 index 00000000..f05087bc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893_f23d8d7f_f23d8d7f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5475439d-d087-4b48-90cd-d5fdfd80c4d2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="68a3dba2-233b-463a-b2ff-e203cb405e75"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f23d8d7f-5147-447f-b3d5-473a4d30268c_160.100.000.000.021.76"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/9858e358-41b7-4eda-a337-31f7209df9af"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/cdf08807-e8a9-42ca-8520-a0f0b6675476"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9858e358-41b7-4eda-a337-31f7209df9af"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12481766"/> + </coding> + <text value="Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cdf08807-e8a9-42ca-8520-a0f0b6675476"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Skip Dover"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.json deleted file mode 100644 index 5b6249d5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e671f096-352d-47c5-a853-8308f8f70d2c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "eec78009-c7e3-422a-a0e5-40960e687d29", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "f23d8d7f-5147-447f-b3d5-473a4d30268c_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/8cddd17a-7ace-4465-b093-4f318892a761" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/d6a72dd2-85bb-446f-8862-d3fc186afc3d" - } - } ], - "whenHandedOver": "2023-07-27", - "dosageInstruction": [ { - "text": "1-0-1-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "8cddd17a-7ace-4465-b093-4f318892a761", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "d6a72dd2-85bb-446f-8862-d3fc186afc3d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Bruce Easley" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.xml deleted file mode 100644 index 75049c00..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e671f096-352d-47c5-a853-8308f8f70d2c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.021.76"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="eec78009-c7e3-422a-a0e5-40960e687d29"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="f23d8d7f-5147-447f-b3d5-473a4d30268c_160.100.000.000.021.76"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/8cddd17a-7ace-4465-b093-4f318892a761"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/d6a72dd2-85bb-446f-8862-d3fc186afc3d"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8cddd17a-7ace-4465-b093-4f318892a761"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12481766"/> - </coding> - <text value="Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="RET"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d6a72dd2-85bb-446f-8862-d3fc186afc3d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Bruce Easley"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f/output.json new file mode 100644 index 00000000..5f26f9d3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "b2580636-0bad-4744-accf-6599ad499fb0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "ff0e165c-95a9-4baf-b81c-d298d94568d5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f23d8d7f-5147-447f-b3d5-473a4d30268c_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/9b72f397-59dc-49c2-b3b3-07f9d47b942c" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/66c04c16-e69d-411d-9630-d27b7c49bdd7" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "9b72f397-59dc-49c2-b3b3-07f9d47b942c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "66c04c16-e69d-411d-9630-d27b7c49bdd7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Barb Dwyer" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f/output.xml new file mode 100644 index 00000000..8e21d1e1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a_f23d8d7f_f23d8d7f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b2580636-0bad-4744-accf-6599ad499fb0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="ff0e165c-95a9-4baf-b81c-d298d94568d5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f23d8d7f-5147-447f-b3d5-473a4d30268c_160.100.000.000.021.76"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/9b72f397-59dc-49c2-b3b3-07f9d47b942c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/66c04c16-e69d-411d-9630-d27b7c49bdd7"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9b72f397-59dc-49c2-b3b3-07f9d47b942c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12481766"/> + </coding> + <text value="Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="66c04c16-e69d-411d-9630-d27b7c49bdd7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Barb Dwyer"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.json index dd258566..94b87317 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "dd1de8a9-22f1-4720-bb88-10ae974a825e", + "id": "436bd032-679b-4ed4-99ef-a673ce3d02ea", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "b3f65fda-d094-4c0a-ae67-73350b459914", + "id": "d46db812-14d9-4cb2-82ce-9805dce1d274", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/8ce36c2d-bcf9-436f-ad33-49e247417e0b" + "reference": "Medication/41fff30a-b387-4c97-bf63-b0ae6e66d10c" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/5ab7de9b-605c-4f64-b7f6-b61bcd3a0d12" + "reference": "Organization/a15ec56a-e71b-4e12-a743-5a76060a093a" } } ], "whenHandedOver": "2024-11-27", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "8ce36c2d-bcf9-436f-ad33-49e247417e0b", + "id": "41fff30a-b387-4c97-bf63-b0ae6e66d10c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "5ab7de9b-605c-4f64-b7f6-b61bcd3a0d12", + "id": "a15ec56a-e71b-4e12-a743-5a76060a093a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -127,7 +127,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Hugo First" + "name": "Allen Rench" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.xml index dcb18f07..c9745109 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="dd1de8a9-22f1-4720-bb88-10ae974a825e"/> + <id value="436bd032-679b-4ed4-99ef-a673ce3d02ea"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="b3f65fda-d094-4c0a-ae67-73350b459914"/> + <id value="d46db812-14d9-4cb2-82ce-9805dce1d274"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/8ce36c2d-bcf9-436f-ad33-49e247417e0b"/> + <reference value="Medication/41fff30a-b387-4c97-bf63-b0ae6e66d10c"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/5ab7de9b-605c-4f64-b7f6-b61bcd3a0d12"/> + <reference value="Organization/a15ec56a-e71b-4e12-a743-5a76060a093a"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="8ce36c2d-bcf9-436f-ad33-49e247417e0b"/> + <id value="41fff30a-b387-4c97-bf63-b0ae6e66d10c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -112,7 +112,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="5ab7de9b-605c-4f64-b7f6-b61bcd3a0d12"/> + <id value="a15ec56a-e71b-4e12-a743-5a76060a093a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -130,7 +130,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Hugo First"/> + <name value="Allen Rench"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f/input.xml new file mode 100644 index 00000000..1989bf2b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f23d8d7f-5147-447f-b3d5-473a4d30268c"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="52660ef8-6e6e-4c8d-8096-ff78e084141c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12481766"/> + </coding> + <text value="Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="20"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#52660ef8-6e6e-4c8d-8096-ff78e084141c"/> + <display value="Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f/output.json new file mode 100644 index 00000000..d679cd1e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "d78c2e88-02b3-4ab7-b0cb-b03405703cb6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "d05ec538-4ea1-430c-82d0-8be1df979572", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f23d8d7f-5147-447f-b3d5-473a4d30268c_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/3defde19-66b9-4c70-b026-bcbabd664caf" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/27f11376-a3a7-4a19-a730-7e8e83a25c1e" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-1-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "3defde19-66b9-4c70-b026-bcbabd664caf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "27f11376-a3a7-4a19-a730-7e8e83a25c1e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Chris Coe" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f/output.xml new file mode 100644 index 00000000..fbc2118e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_f23d8d7f_f23d8d7f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d78c2e88-02b3-4ab7-b0cb-b03405703cb6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="d05ec538-4ea1-430c-82d0-8be1df979572"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f23d8d7f-5147-447f-b3d5-473a4d30268c_160.100.000.000.021.76"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/3defde19-66b9-4c70-b026-bcbabd664caf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/27f11376-a3a7-4a19-a730-7e8e83a25c1e"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3defde19-66b9-4c70-b026-bcbabd664caf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12481766"/> + </coding> + <text value="Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="27f11376-a3a7-4a19-a730-7e8e83a25c1e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Chris Coe"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.json index 4f564b36..f6c9ca78 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c7518ed8-1cde-45e9-b7c2-14dd2683f639", + "id": "98799ea5-1105-45a5-bca5-c1297008cdde", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "02b5babf-80bb-4411-b689-baab9a23bda8", + "id": "a858c82a-fb40-4e17-8169-82ed4ff00e7b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/8f2f3a3d-1913-4c23-9e63-6262255c9657" + "reference": "Medication/c5658376-ba16-436c-844d-43d6bd078037" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/476083d5-a5c5-4dc0-8677-72b7c8d07483" + "reference": "Organization/05f4dbc0-b767-4c24-95d4-46e687e183fe" } } ], "whenHandedOver": "2024-11-27", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "8f2f3a3d-1913-4c23-9e63-6262255c9657", + "id": "c5658376-ba16-436c-844d-43d6bd078037", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "476083d5-a5c5-4dc0-8677-72b7c8d07483", + "id": "05f4dbc0-b767-4c24-95d4-46e687e183fe", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -127,7 +127,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Adam Bomb" + "name": "Morgan U. Canhandle" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.xml index fe29436c..a8422982 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c7518ed8-1cde-45e9-b7c2-14dd2683f639"/> + <id value="98799ea5-1105-45a5-bca5-c1297008cdde"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="02b5babf-80bb-4411-b689-baab9a23bda8"/> + <id value="a858c82a-fb40-4e17-8169-82ed4ff00e7b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/8f2f3a3d-1913-4c23-9e63-6262255c9657"/> + <reference value="Medication/c5658376-ba16-436c-844d-43d6bd078037"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/476083d5-a5c5-4dc0-8677-72b7c8d07483"/> + <reference value="Organization/05f4dbc0-b767-4c24-95d4-46e687e183fe"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="8f2f3a3d-1913-4c23-9e63-6262255c9657"/> + <id value="c5658376-ba16-436c-844d-43d6bd078037"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -112,7 +112,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="476083d5-a5c5-4dc0-8677-72b7c8d07483"/> + <id value="05f4dbc0-b767-4c24-95d4-46e687e183fe"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -130,7 +130,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Adam Bomb"/> + <name value="Morgan U. Canhandle"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f_5906fd7f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f_5906fd7f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f_5906fd7f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f_5906fd7f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f_5906fd7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f_5906fd7f/output.json new file mode 100644 index 00000000..1625238a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f_5906fd7f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "deabb4f7-8c2e-4ca2-bdbe-94980580252a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "91771ca3-cc3d-4510-8c6d-af9d79f79a34", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5906fd7f-35b5-4420-963a-b562a99dcb81_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/ac209161-ae1e-43d2-bd1d-115041e9cd7d" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/01bc6d2a-d9df-4dd3-8015-370b15590585" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ac209161-ae1e-43d2-bd1d-115041e9cd7d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "01bc6d2a-d9df-4dd3-8015-370b15590585", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Chuck Roast" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f_5906fd7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f_5906fd7f/output.xml new file mode 100644 index 00000000..9a61e629 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_5906fd7f_5906fd7f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="deabb4f7-8c2e-4ca2-bdbe-94980580252a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="91771ca3-cc3d-4510-8c6d-af9d79f79a34"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5906fd7f-35b5-4420-963a-b562a99dcb81_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ac209161-ae1e-43d2-bd1d-115041e9cd7d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/01bc6d2a-d9df-4dd3-8015-370b15590585"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ac209161-ae1e-43d2-bd1d-115041e9cd7d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00766759"/> + </coding> + <text value="RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="01bc6d2a-d9df-4dd3-8015-370b15590585"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Chuck Roast"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.json deleted file mode 100644 index 5354329a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "aaee1ea5-7191-4f15-acfa-c53575d6079a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "16112b83-b86e-408c-9a70-7de8d51aa93d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "5906fd7f-35b5-4420-963a-b562a99dcb81_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/706f3b59-069c-43a9-b853-8cb1e435d77a" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/e1a11d8a-6086-41c0-884b-56b23b1cb28f" - } - } ], - "whenHandedOver": "2023-07-27", - "dosageInstruction": [ { - "text": "1-0-0-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "706f3b59-069c-43a9-b853-8cb1e435d77a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "e1a11d8a-6086-41c0-884b-56b23b1cb28f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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 Cattell" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.xml deleted file mode 100644 index 47d15421..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="aaee1ea5-7191-4f15-acfa-c53575d6079a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="16112b83-b86e-408c-9a70-7de8d51aa93d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="5906fd7f-35b5-4420-963a-b562a99dcb81_160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/706f3b59-069c-43a9-b853-8cb1e435d77a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/e1a11d8a-6086-41c0-884b-56b23b1cb28f"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="706f3b59-069c-43a9-b853-8cb1e435d77a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00766759"/> - </coding> - <text value="RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e1a11d8a-6086-41c0-884b-56b23b1cb28f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Brandon Cattell"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f/output.json new file mode 100644 index 00000000..714ca320 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "711ea5c4-edc5-4b66-a7d1-e0f0b518ffd5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "d5367bce-0010-4c9a-bbfc-6a91a0de8593", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5906fd7f-35b5-4420-963a-b562a99dcb81_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/f779eb34-fd26-4cfd-be76-fa49ae3e6d43" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/8cde20f3-a016-45ac-baf4-6c2602204947" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "f779eb34-fd26-4cfd-be76-fa49ae3e6d43", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "8cde20f3-a016-45ac-baf4-6c2602204947", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Amanda B. Reckonwith" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f/output.xml new file mode 100644 index 00000000..a12d326e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326_5906fd7f_5906fd7f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="711ea5c4-edc5-4b66-a7d1-e0f0b518ffd5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="d5367bce-0010-4c9a-bbfc-6a91a0de8593"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5906fd7f-35b5-4420-963a-b562a99dcb81_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/f779eb34-fd26-4cfd-be76-fa49ae3e6d43"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/8cde20f3-a016-45ac-baf4-6c2602204947"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f779eb34-fd26-4cfd-be76-fa49ae3e6d43"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00766759"/> + </coding> + <text value="RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8cde20f3-a016-45ac-baf4-6c2602204947"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Amanda B. Reckonwith"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.json deleted file mode 100644 index 04852ed4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "5bed2d14-016b-4cd8-b971-3e5168c54b05", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "9af89ae8-d382-4bd2-a56e-6fea43b89932", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "5906fd7f-35b5-4420-963a-b562a99dcb81_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/95179cc8-de3a-471c-b9a8-294d5888482b" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/0715f94b-6172-411a-89d1-b53f1b17beb7" - } - } ], - "whenHandedOver": "2024-11-27", - "dosageInstruction": [ { - "text": "1-0-0-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "95179cc8-de3a-471c-b9a8-294d5888482b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "0715f94b-6172-411a-89d1-b53f1b17beb7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Ed Jewcation" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.xml deleted file mode 100644 index 8bcf276e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5bed2d14-016b-4cd8-b971-3e5168c54b05"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="9af89ae8-d382-4bd2-a56e-6fea43b89932"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="5906fd7f-35b5-4420-963a-b562a99dcb81_160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/95179cc8-de3a-471c-b9a8-294d5888482b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/0715f94b-6172-411a-89d1-b53f1b17beb7"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="95179cc8-de3a-471c-b9a8-294d5888482b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00766759"/> - </coding> - <text value="RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0715f94b-6172-411a-89d1-b53f1b17beb7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Ed Jewcation"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f/input.xml new file mode 100644 index 00000000..29c11410 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="5906fd7f-35b5-4420-963a-b562a99dcb81"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="286d159b-4fb0-4af5-9ec6-30c937c92a0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00766759"/> + </coding> + <text value="RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#286d159b-4fb0-4af5-9ec6-30c937c92a0c"/> + <display value="RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f/output.json new file mode 100644 index 00000000..9c106d29 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "59352fbb-ef01-4c4e-8de1-3f14ba9e91ae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4713f8e9-e4e8-4942-9887-84c37f9850be", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "5906fd7f-35b5-4420-963a-b562a99dcb81_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/c02f4631-df39-4aef-a446-2ced831a0a95" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/154d99b9-c170-464f-a701-f95f1d8c454a" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "c02f4631-df39-4aef-a446-2ced831a0a95", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "154d99b9-c170-464f-a701-f95f1d8c454a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Zeke N. Yeshallfind" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f/output.xml new file mode 100644 index 00000000..ad48e69e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f_5906fd7f_5906fd7f/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="59352fbb-ef01-4c4e-8de1-3f14ba9e91ae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4713f8e9-e4e8-4942-9887-84c37f9850be"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="5906fd7f-35b5-4420-963a-b562a99dcb81_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/c02f4631-df39-4aef-a446-2ced831a0a95"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/154d99b9-c170-464f-a701-f95f1d8c454a"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c02f4631-df39-4aef-a446-2ced831a0a95"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00766759"/> + </coding> + <text value="RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="154d99b9-c170-464f-a701-f95f1d8c454a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Zeke N. Yeshallfind"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.json deleted file mode 100644 index b09298cc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "1dbff6fe-d0c2-4354-9bbd-34d061bbd062", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "304e854b-0661-4c9e-b682-8fa75af593ba", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "95db25e9-b37b-4241-9bcb-708f5f637565_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/ec2c9cfb-bd55-465b-b8cb-8129dfecd25e" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/28b19e14-f7f8-4ea9-89e0-7ca3d09ade5b" - } - } ], - "whenHandedOver": "2024-11-27", - "dosageInstruction": [ { - "text": "1-0-0-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "ec2c9cfb-bd55-465b-b8cb-8129dfecd25e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "28b19e14-f7f8-4ea9-89e0-7ca3d09ade5b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Hein Noon" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.xml deleted file mode 100644 index 5b671a95..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1dbff6fe-d0c2-4354-9bbd-34d061bbd062"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="304e854b-0661-4c9e-b682-8fa75af593ba"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="95db25e9-b37b-4241-9bcb-708f5f637565_160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/ec2c9cfb-bd55-465b-b8cb-8129dfecd25e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/28b19e14-f7f8-4ea9-89e0-7ca3d09ade5b"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ec2c9cfb-bd55-465b-b8cb-8129dfecd25e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01755640"/> - </coding> - <text value="RAMIPRIL AbZ 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="28b19e14-f7f8-4ea9-89e0-7ca3d09ade5b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hein Noon"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9/output.json new file mode 100644 index 00000000..423dc2c6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "c67e911d-b07d-485a-8780-692a7e6e3137", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "4a920703-fd3d-4464-bf54-658ec8f44fc5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "95db25e9-b37b-4241-9bcb-708f5f637565_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/89abfb15-a22c-4e04-a157-da61f605164f" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c8a99119-64e4-416e-abdc-eb8bdc04b881" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "89abfb15-a22c-4e04-a157-da61f605164f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c8a99119-64e4-416e-abdc-eb8bdc04b881", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Wanda Rinn" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9/output.xml new file mode 100644 index 00000000..427f45de --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4_95db25e9_95db25e9/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c67e911d-b07d-485a-8780-692a7e6e3137"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="4a920703-fd3d-4464-bf54-658ec8f44fc5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="95db25e9-b37b-4241-9bcb-708f5f637565_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/89abfb15-a22c-4e04-a157-da61f605164f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c8a99119-64e4-416e-abdc-eb8bdc04b881"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="89abfb15-a22c-4e04-a157-da61f605164f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01755640"/> + </coding> + <text value="RAMIPRIL AbZ 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c8a99119-64e4-416e-abdc-eb8bdc04b881"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Wanda Rinn"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.json index e6539d7a..9af351a8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "8c9d3bac-2dc7-4faf-b6de-d6fc1d3edb67", + "id": "72c7f85d-2dd6-473a-bd70-fec3905069b6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "7f76b321-1ccf-4daf-a272-164b372d0099", + "id": "95a69019-7390-4095-a06f-234b9461b584", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/6cf30403-3f8d-4058-9373-75956f81527d" + "reference": "Medication/77589514-e222-4021-99f1-ee432585bc52" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/d9d1c159-6545-4a3c-a61c-4c1c7f3818e2" + "reference": "Organization/174070d2-fde0-4f39-9657-d72575e0d36c" } } ], "whenHandedOver": "2024-11-27", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "6cf30403-3f8d-4058-9373-75956f81527d", + "id": "77589514-e222-4021-99f1-ee432585bc52", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d9d1c159-6545-4a3c-a61c-4c1c7f3818e2", + "id": "174070d2-fde0-4f39-9657-d72575e0d36c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -127,7 +127,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Frank N. Beans" + "name": "Mabel Syrup" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.xml index 26663896..03f35164 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="8c9d3bac-2dc7-4faf-b6de-d6fc1d3edb67"/> + <id value="72c7f85d-2dd6-473a-bd70-fec3905069b6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="7f76b321-1ccf-4daf-a272-164b372d0099"/> + <id value="95a69019-7390-4095-a06f-234b9461b584"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/6cf30403-3f8d-4058-9373-75956f81527d"/> + <reference value="Medication/77589514-e222-4021-99f1-ee432585bc52"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/d9d1c159-6545-4a3c-a61c-4c1c7f3818e2"/> + <reference value="Organization/174070d2-fde0-4f39-9657-d72575e0d36c"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="6cf30403-3f8d-4058-9373-75956f81527d"/> + <id value="77589514-e222-4021-99f1-ee432585bc52"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -112,7 +112,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d9d1c159-6545-4a3c-a61c-4c1c7f3818e2"/> + <id value="174070d2-fde0-4f39-9657-d72575e0d36c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -130,7 +130,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Frank N. Beans"/> + <name value="Mabel Syrup"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9/input.xml new file mode 100644 index 00000000..7ebd01b3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="95db25e9-b37b-4241-9bcb-708f5f637565"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8f5bed2b-ad22-4751-b2aa-0ad75ae358df"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01755640"/> + </coding> + <text value="RAMIPRIL AbZ 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#8f5bed2b-ad22-4751-b2aa-0ad75ae358df"/> + <display value="RAMIPRIL AbZ 5 mg Tabletten (100 St)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9/output.json new file mode 100644 index 00000000..1360cab0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "feecd15c-04f6-47f9-b14c-e89df5a5be16", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "b65d6a68-6f48-4def-8957-cd64d6aa8dbd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "95db25e9-b37b-4241-9bcb-708f5f637565_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/ea03e79e-2e21-46bc-a77b-7a29edfc2a91" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/baeb0dc2-6af2-466b-9755-763c36293ebb" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "ea03e79e-2e21-46bc-a77b-7a29edfc2a91", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "baeb0dc2-6af2-466b-9755-763c36293ebb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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_V2_MedicationDispense_95db25e9_95db25e9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9/output.xml new file mode 100644 index 00000000..eeb3ceb0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_95db25e9_95db25e9/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="feecd15c-04f6-47f9-b14c-e89df5a5be16"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="b65d6a68-6f48-4def-8957-cd64d6aa8dbd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="95db25e9-b37b-4241-9bcb-708f5f637565_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/ea03e79e-2e21-46bc-a77b-7a29edfc2a91"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/baeb0dc2-6af2-466b-9755-763c36293ebb"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ea03e79e-2e21-46bc-a77b-7a29edfc2a91"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01755640"/> + </coding> + <text value="RAMIPRIL AbZ 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="baeb0dc2-6af2-466b-9755-763c36293ebb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Sasha Klotz"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.json deleted file mode 100644 index c4856a82..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "1e2abd31-0ffb-4e32-bbba-107243e7f8c2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "bb859114-807e-4280-b24b-206389108ebd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "95db25e9-b37b-4241-9bcb-708f5f637565_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/853aaeac-1ffb-4fa3-91b2-751754c59bd7" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/823ae53c-a6ad-40aa-b62a-c23274f50275" - } - } ], - "whenHandedOver": "2023-07-27", - "dosageInstruction": [ { - "text": "1-0-0-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "853aaeac-1ffb-4fa3-91b2-751754c59bd7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "823ae53c-a6ad-40aa-b62a-c23274f50275", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.xml deleted file mode 100644 index 1853d279..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1e2abd31-0ffb-4e32-bbba-107243e7f8c2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="bb859114-807e-4280-b24b-206389108ebd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="95db25e9-b37b-4241-9bcb-708f5f637565_160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/853aaeac-1ffb-4fa3-91b2-751754c59bd7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/823ae53c-a6ad-40aa-b62a-c23274f50275"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="853aaeac-1ffb-4fa3-91b2-751754c59bd7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01755640"/> - </coding> - <text value="RAMIPRIL AbZ 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="823ae53c-a6ad-40aa-b62a-c23274f50275"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Luna Tick"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9/output.json new file mode 100644 index 00000000..210326ff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "46f356ed-26a8-46aa-9b5c-a60e34030528", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "aa8e7933-ca0a-420f-995b-6f106b11e797", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "95db25e9-b37b-4241-9bcb-708f5f637565_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/7221bb49-34e3-4de5-b95b-adcbd190baad" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3f962c7b-b651-43bf-8581-1d7a4858b315" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7221bb49-34e3-4de5-b95b-adcbd190baad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "3f962c7b-b651-43bf-8581-1d7a4858b315", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9/output.xml new file mode 100644 index 00000000..c1518e8a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c_95db25e9_95db25e9/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="46f356ed-26a8-46aa-9b5c-a60e34030528"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="aa8e7933-ca0a-420f-995b-6f106b11e797"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="95db25e9-b37b-4241-9bcb-708f5f637565_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7221bb49-34e3-4de5-b95b-adcbd190baad"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3f962c7b-b651-43bf-8581-1d7a4858b315"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7221bb49-34e3-4de5-b95b-adcbd190baad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01755640"/> + </coding> + <text value="RAMIPRIL AbZ 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3f962c7b-b651-43bf-8581-1d7a4858b315"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Jed I. Knight"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.json deleted file mode 100644 index c14ee3d0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "c17896ce-22bc-4c19-b823-05ad4577e91d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "1a6c4c8c-4139-4b27-992d-89815ca0e54c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "c3437dfc-a141-4bf1-9fb3-a4827b9781eb_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/ad133a88-956b-4319-9da6-53095086917d" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/e852cb07-1efb-442e-93d5-d35fb670018f" - } - } ], - "whenHandedOver": "2024-11-27", - "dosageInstruction": [ { - "text": "1-0-0-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "ad133a88-956b-4319-9da6-53095086917d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "e852cb07-1efb-442e-93d5-d35fb670018f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Sam Pull" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.xml deleted file mode 100644 index 2343fc8a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c17896ce-22bc-4c19-b823-05ad4577e91d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1a6c4c8c-4139-4b27-992d-89815ca0e54c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="c3437dfc-a141-4bf1-9fb3-a4827b9781eb_160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/ad133a88-956b-4319-9da6-53095086917d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/e852cb07-1efb-442e-93d5-d35fb670018f"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ad133a88-956b-4319-9da6-53095086917d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00761360"/> - </coding> - <text value="RAMIPRIL beta 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e852cb07-1efb-442e-93d5-d35fb670018f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Sam Pull"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc/output.json new file mode 100644 index 00000000..ca5fb066 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "7899a9f1-578f-4994-a1ea-9e670294df87", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "926450f9-255d-4d47-a4e6-f908a9d2f787", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c3437dfc-a141-4bf1-9fb3-a4827b9781eb_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/0cab95e5-87c8-4a99-9aa6-50ef41137ba9" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/b1de60bc-24ce-4d37-ac71-c2a5a481f12e" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "0cab95e5-87c8-4a99-9aa6-50ef41137ba9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "b1de60bc-24ce-4d37-ac71-c2a5a481f12e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Rex Easley" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc/output.xml new file mode 100644 index 00000000..7f73f86b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec_c3437dfc_c3437dfc/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7899a9f1-578f-4994-a1ea-9e670294df87"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="926450f9-255d-4d47-a4e6-f908a9d2f787"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c3437dfc-a141-4bf1-9fb3-a4827b9781eb_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/0cab95e5-87c8-4a99-9aa6-50ef41137ba9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/b1de60bc-24ce-4d37-ac71-c2a5a481f12e"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0cab95e5-87c8-4a99-9aa6-50ef41137ba9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00761360"/> + </coding> + <text value="RAMIPRIL beta 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b1de60bc-24ce-4d37-ac71-c2a5a481f12e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Rex Easley"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.json deleted file mode 100644 index 37be8613..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "200aae3f-9e56-47db-a4ba-f840c48dd9fa", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "5b5e5c96-cdff-4f94-bb48-f78c56cc2fd4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "c3437dfc-a141-4bf1-9fb3-a4827b9781eb_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/e521273e-351e-4048-a281-32b4aed6f2ec" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/39a1056e-a740-4220-a676-4cac95deaae1" - } - } ], - "whenHandedOver": "2023-07-27", - "dosageInstruction": [ { - "text": "1-0-0-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "e521273e-351e-4048-a281-32b4aed6f2ec", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "39a1056e-a740-4220-a676-4cac95deaae1", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Marco DeStinkshun" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.xml deleted file mode 100644 index 1ea3edd5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="200aae3f-9e56-47db-a4ba-f840c48dd9fa"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="5b5e5c96-cdff-4f94-bb48-f78c56cc2fd4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="c3437dfc-a141-4bf1-9fb3-a4827b9781eb_160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/e521273e-351e-4048-a281-32b4aed6f2ec"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/39a1056e-a740-4220-a676-4cac95deaae1"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e521273e-351e-4048-a281-32b4aed6f2ec"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00761360"/> - </coding> - <text value="RAMIPRIL beta 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="39a1056e-a740-4220-a676-4cac95deaae1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Marco DeStinkshun"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc/output.json new file mode 100644 index 00000000..69063d48 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "1959e016-6ec1-4203-af81-0a7fb68e9f24", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "c0e24eb9-2ff3-414c-95ad-3c5bd22374d3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c3437dfc-a141-4bf1-9fb3-a4827b9781eb_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/a9fb4f8f-e987-48ea-9ead-f0c9fa2f36db" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/6aeab898-9cd8-49c5-b109-c7b5e98e44ef" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "a9fb4f8f-e987-48ea-9ead-f0c9fa2f36db", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "6aeab898-9cd8-49c5-b109-c7b5e98e44ef", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Mel Loewe" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc/output.xml new file mode 100644 index 00000000..11c66f49 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083_c3437dfc_c3437dfc/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1959e016-6ec1-4203-af81-0a7fb68e9f24"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c0e24eb9-2ff3-414c-95ad-3c5bd22374d3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c3437dfc-a141-4bf1-9fb3-a4827b9781eb_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/a9fb4f8f-e987-48ea-9ead-f0c9fa2f36db"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/6aeab898-9cd8-49c5-b109-c7b5e98e44ef"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a9fb4f8f-e987-48ea-9ead-f0c9fa2f36db"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00761360"/> + </coding> + <text value="RAMIPRIL beta 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6aeab898-9cd8-49c5-b109-c7b5e98e44ef"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Mel Loewe"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.json index 02c99613..4da565b1 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "223235aa-68fc-4002-a1ad-9c5827bdf2d0", + "id": "5f7bcb67-2043-4056-9016-a100539ebbf3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "4ff8fe81-bec5-43b7-8c4c-1d0f1e9e2ced", + "id": "d886b981-5fce-4df7-a7ad-6c184515cc24", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/fa1481da-e3da-4ac3-8334-704e3dca759a" + "reference": "Medication/dfb7c557-cd40-474d-854a-ac32f2757e96" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/735c5a7a-3955-4df5-aed6-4880f8ba398d" + "reference": "Organization/bf7d011b-3566-476a-bbd9-011f70157426" } } ], "whenHandedOver": "2024-11-27", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "fa1481da-e3da-4ac3-8334-704e3dca759a", + "id": "dfb7c557-cd40-474d-854a-ac32f2757e96", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "735c5a7a-3955-4df5-aed6-4880f8ba398d", + "id": "bf7d011b-3566-476a-bbd9-011f70157426", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -127,7 +127,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Al K. Seltzer" + "name": "Cara Van" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.xml index d0100b86..2e7cd20c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="223235aa-68fc-4002-a1ad-9c5827bdf2d0"/> + <id value="5f7bcb67-2043-4056-9016-a100539ebbf3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="4ff8fe81-bec5-43b7-8c4c-1d0f1e9e2ced"/> + <id value="d886b981-5fce-4df7-a7ad-6c184515cc24"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/fa1481da-e3da-4ac3-8334-704e3dca759a"/> + <reference value="Medication/dfb7c557-cd40-474d-854a-ac32f2757e96"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/735c5a7a-3955-4df5-aed6-4880f8ba398d"/> + <reference value="Organization/bf7d011b-3566-476a-bbd9-011f70157426"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="fa1481da-e3da-4ac3-8334-704e3dca759a"/> + <id value="dfb7c557-cd40-474d-854a-ac32f2757e96"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -112,7 +112,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="735c5a7a-3955-4df5-aed6-4880f8ba398d"/> + <id value="bf7d011b-3566-476a-bbd9-011f70157426"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -130,7 +130,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Al K. Seltzer"/> + <name value="Cara Van"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc/input.xml new file mode 100644 index 00000000..56c55857 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="c3437dfc-a141-4bf1-9fb3-a4827b9781eb"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fc2a72e7-bc15-4456-852f-51014e182760"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00761360"/> + </coding> + <text value="RAMIPRIL beta 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#fc2a72e7-bc15-4456-852f-51014e182760"/> + <display value="RAMIPRIL beta 5 mg Tabletten (100 St)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc/output.json new file mode 100644 index 00000000..86cfcd8a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "d329ba21-9eb3-4950-9a8c-909be775fbf0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8fb8c692-ae3e-467c-84f4-d1698cb19a53", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "c3437dfc-a141-4bf1-9fb3-a4827b9781eb_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/798c90cf-c6dd-45e2-a631-006b2681d7a4" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/992e9b9f-70e7-43db-8c14-1edceec59ae8" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "798c90cf-c6dd-45e2-a631-006b2681d7a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "992e9b9f-70e7-43db-8c14-1edceec59ae8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bill Lowney" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc/output.xml new file mode 100644 index 00000000..361ee682 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_c3437dfc_c3437dfc/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d329ba21-9eb3-4950-9a8c-909be775fbf0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8fb8c692-ae3e-467c-84f4-d1698cb19a53"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="c3437dfc-a141-4bf1-9fb3-a4827b9781eb_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/798c90cf-c6dd-45e2-a631-006b2681d7a4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/992e9b9f-70e7-43db-8c14-1edceec59ae8"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="798c90cf-c6dd-45e2-a631-006b2681d7a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00761360"/> + </coding> + <text value="RAMIPRIL beta 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="992e9b9f-70e7-43db-8c14-1edceec59ae8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bill Lowney"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.json deleted file mode 100644 index a445ce99..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "254dd626-5f2a-44cc-a5e9-0180efa910a0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "71dd0833-cf12-4f36-8e9a-3298ebf3b900", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "9d575775-88c4-4325-b9b8-5950b57757e6_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/69a8062d-7313-4d60-9748-12354e6405eb" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/8220645b-5b59-41ce-b738-23574f61e9df" - } - } ], - "whenHandedOver": "2023-07-27", - "dosageInstruction": [ { - "text": "1-0-0-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "69a8062d-7313-4d60-9748-12354e6405eb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "8220645b-5b59-41ce-b738-23574f61e9df", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Dennis Toffice" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.xml deleted file mode 100644 index ad22d3e7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="254dd626-5f2a-44cc-a5e9-0180efa910a0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="71dd0833-cf12-4f36-8e9a-3298ebf3b900"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="9d575775-88c4-4325-b9b8-5950b57757e6_160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/69a8062d-7313-4d60-9748-12354e6405eb"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8220645b-5b59-41ce-b738-23574f61e9df"/> - </actor> - </performer> - <whenHandedOver value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="69a8062d-7313-4d60-9748-12354e6405eb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01097987"/> - </coding> - <text value="DELIX 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2024-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8220645b-5b59-41ce-b738-23574f61e9df"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Dennis Toffice"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775_9d575775/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775_9d575775/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775_9d575775/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775_9d575775/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775_9d575775/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775_9d575775/output.json new file mode 100644 index 00000000..4b6a9458 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775_9d575775/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "22b792a0-47b2-49f2-9a1f-3db4013e23aa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "853ed2a6-dbd5-4f6f-b088-7efccc0a1407", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "9d575775-88c4-4325-b9b8-5950b57757e6_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/c11a3908-4198-4dfd-aab4-024ccc4d402b" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/d081a4bf-ebca-4e6d-9eab-b65ff313dd7a" + } + } ], + "whenHandedOver": "2023-07-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "c11a3908-4198-4dfd-aab4-024ccc4d402b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "d081a4bf-ebca-4e6d-9eab-b65ff313dd7a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Mike Raffone" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775_9d575775/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775_9d575775/output.xml new file mode 100644 index 00000000..732f6801 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd_9d575775_9d575775/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="22b792a0-47b2-49f2-9a1f-3db4013e23aa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="853ed2a6-dbd5-4f6f-b088-7efccc0a1407"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="9d575775-88c4-4325-b9b8-5950b57757e6_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/c11a3908-4198-4dfd-aab4-024ccc4d402b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/d081a4bf-ebca-4e6d-9eab-b65ff313dd7a"/> + </actor> + </performer> + <whenHandedOver value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c11a3908-4198-4dfd-aab4-024ccc4d402b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01097987"/> + </coding> + <text value="DELIX 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2024-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d081a4bf-ebca-4e6d-9eab-b65ff313dd7a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Mike Raffone"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.json deleted file mode 100644 index 27f07be0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "da4978ee-280d-4bed-a4be-e2323a6b89c6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "dd95c253-df3c-475b-8d30-4bd1a80128c7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "9d575775-88c4-4325-b9b8-5950b57757e6_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/ce2bfad4-f89c-4106-a519-74117e707ea0" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K030182229" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/7126108c-32c5-47ed-9223-01a375e14f77" - } - } ], - "whenHandedOver": "2024-11-27", - "dosageInstruction": [ { - "text": "1-0-0-0" - } ] - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "ce2bfad4-f89c-4106-a519-74117e707ea0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", - "resource": { - "resourceType": "Organization", - "id": "7126108c-32c5-47ed-9223-01a375e14f77", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Samson Night" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.xml deleted file mode 100644 index c7b5854a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/output.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="da4978ee-280d-4bed-a4be-e2323a6b89c6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="dd95c253-df3c-475b-8d30-4bd1a80128c7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="9d575775-88c4-4325-b9b8-5950b57757e6_160.100.000.000.019.82"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/ce2bfad4-f89c-4106-a519-74117e707ea0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K030182229"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/7126108c-32c5-47ed-9223-01a375e14f77"/> - </actor> - </performer> - <whenHandedOver value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ce2bfad4-f89c-4106-a519-74117e707ea0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01097987"/> - </coding> - <text value="DELIX 5 mg Tabletten (100 St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Tabletten"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <batch> - <lotNumber value="A123456789-1"/> - <expirationDate value="2025-12-31"/> - </batch> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="7126108c-32c5-47ed-9223-01a375e14f77"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-07.2.1234560000.10.789"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Samson Night"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775/output.json new file mode 100644 index 00000000..9398727d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "f2019801-54f9-478a-ba05-d4532a7b3f7d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "eac4a066-246e-4f76-8ab4-4d572177283f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "9d575775-88c4-4325-b9b8-5950b57757e6_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/b2bd8287-325b-4d93-ae9c-2479def10574" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/3e44af65-0004-41c3-b532-b84c22fefc60" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b2bd8287-325b-4d93-ae9c-2479def10574", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "3e44af65-0004-41c3-b532-b84c22fefc60", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Bea Sting" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775/output.xml new file mode 100644 index 00000000..97925b41 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f_9d575775_9d575775/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f2019801-54f9-478a-ba05-d4532a7b3f7d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="eac4a066-246e-4f76-8ab4-4d572177283f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="9d575775-88c4-4325-b9b8-5950b57757e6_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b2bd8287-325b-4d93-ae9c-2479def10574"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/3e44af65-0004-41c3-b532-b84c22fefc60"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b2bd8287-325b-4d93-ae9c-2479def10574"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01097987"/> + </coding> + <text value="DELIX 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3e44af65-0004-41c3-b532-b84c22fefc60"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Bea Sting"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.json index 5747b8fa..0055ad37 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "4a621805-c460-42e3-8865-e4a03909cca3", + "id": "6785d03d-714d-4668-acbf-3fd003691c8b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "c60a82fd-1f25-48dd-b94d-b4b5efa71174", + "id": "26916670-2048-49f7-8ab0-c067d7ab558e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/5519b0d1-fadd-4a6c-b681-cd5c881e4d22" + "reference": "Medication/486e0871-1224-4ec6-a99a-5cd3bf71ec39" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/c9123a1f-1947-41be-9fd7-e3a0f1187c1a" + "reference": "Organization/a7598660-847d-4782-a6b2-df231a0cd5a3" } } ], "whenHandedOver": "2024-11-27", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5519b0d1-fadd-4a6c-b681-cd5c881e4d22", + "id": "486e0871-1224-4ec6-a99a-5cd3bf71ec39", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "c9123a1f-1947-41be-9fd7-e3a0f1187c1a", + "id": "a7598660-847d-4782-a6b2-df231a0cd5a3", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -127,7 +127,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Duane DeVane" + "name": "Sarah Doctorinthehouse" } } ] } ] diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.xml index ff3485bb..bf7a20b2 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="4a621805-c460-42e3-8865-e4a03909cca3"/> + <id value="6785d03d-714d-4668-acbf-3fd003691c8b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="c60a82fd-1f25-48dd-b94d-b4b5efa71174"/> + <id value="26916670-2048-49f7-8ab0-c067d7ab558e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/5519b0d1-fadd-4a6c-b681-cd5c881e4d22"/> + <reference value="Medication/486e0871-1224-4ec6-a99a-5cd3bf71ec39"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/c9123a1f-1947-41be-9fd7-e3a0f1187c1a"/> + <reference value="Organization/a7598660-847d-4782-a6b2-df231a0cd5a3"/> </actor> </performer> <whenHandedOver value="2024-11-27"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5519b0d1-fadd-4a6c-b681-cd5c881e4d22"/> + <id value="486e0871-1224-4ec6-a99a-5cd3bf71ec39"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -112,7 +112,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="c9123a1f-1947-41be-9fd7-e3a0f1187c1a"/> + <id value="a7598660-847d-4782-a6b2-df231a0cd5a3"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -130,7 +130,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Duane DeVane"/> + <name value="Sarah Doctorinthehouse"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775/input.xml new file mode 100644 index 00000000..8138d2db --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775/input.xml @@ -0,0 +1,91 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="9d575775-88c4-4325-b9b8-5950b57757e6"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ebce4bf0-8944-48f0-929e-b5f0a6a2fb80"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01097987"/> + </coding> + <text value="DELIX 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#ebce4bf0-8944-48f0-929e-b5f0a6a2fb80"/> + <display value="DELIX 5 mg Tabletten (100 St)"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775/output.json new file mode 100644 index 00000000..924af298 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775/output.json @@ -0,0 +1,134 @@ +{ + "resourceType": "Parameters", + "id": "6b5893d4-f9dc-404b-8726-42550e57a74f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "f86ef494-336d-43d9-94a0-3be3b57b9153", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "9d575775-88c4-4325-b9b8-5950b57757e6_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/7a374cff-aab7-4404-b979-ddb0daaa6e34" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "K030182229" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/c4157066-f50f-480f-bcd0-a527d09a0189" + } + } ], + "whenHandedOver": "2024-11-27", + "dosageInstruction": [ { + "text": "1-0-0-0" + } ] + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "7a374cff-aab7-4404-b979-ddb0daaa6e34", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "organization", + "resource": { + "resourceType": "Organization", + "id": "c4157066-f50f-480f-bcd0-a527d09a0189", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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/WS_V4_MedicationDispense_9d575775_9d575775/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775/output.xml new file mode 100644 index 00000000..c85de360 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_9d575775_9d575775/output.xml @@ -0,0 +1,138 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6b5893d4-f9dc-404b-8726-42550e57a74f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f86ef494-336d-43d9-94a0-3be3b57b9153"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="9d575775-88c4-4325-b9b8-5950b57757e6_160.100.000.000.019.82"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/7a374cff-aab7-4404-b979-ddb0daaa6e34"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/c4157066-f50f-480f-bcd0-a527d09a0189"/> + </actor> + </performer> + <whenHandedOver value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7a374cff-aab7-4404-b979-ddb0daaa6e34"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01097987"/> + </coding> + <text value="DELIX 5 mg Tabletten (100 St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Tabletten"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <batch> + <lotNumber value="A123456789-1"/> + <expirationDate value="2025-12-31"/> + </batch> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c4157066-f50f-480f-bcd0-a527d09a0189"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-07.2.1234560000.10.789"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Helen Back"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.json deleted file mode 100644 index 1b767543..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "974f88ec-02ea-49bb-93e0-9a2a85eb09fe", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] - }, - "parameter": [ { - "name": "rxDispensation", - "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": "1970-01-01" - }, { - "name": "medicationDispense", - "resource": { - "resourceType": "MedicationDispense", - "id": "1b1341c9-d744-4cba-aaba-3dc356f5f699", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] - }, - "identifier": [ { - "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", - "value": "f64fd7b4-8720-4986-a3c3-11892afa2267_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/c8266477-01b9-4e33-920c-6fcf3d8736f6" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110465770" - } - }, - "performer": [ { - "actor": { - "reference": "Organization/8cf778c8-1dfc-47ac-8500-add2e1ee4f0c" - } - } ], - "whenHandedOver": "2024-02-08" - } - }, { - "name": "medication", - "resource": { - "resourceType": "Medication", - "id": "c8266477-01b9-4e33-920c-6fcf3d8736f6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8cf778c8-1dfc-47ac-8500-add2e1ee4f0c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "Howie Doohan" - } - } ] - } ] -} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.xml deleted file mode 100644 index e7d29b28..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4/output.xml +++ /dev/null @@ -1,131 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="974f88ec-02ea-49bb-93e0-9a2a85eb09fe"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxDispensation"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.533.49"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="1970-01-01"/> - </part> - <part> - <name value="medicationDispense"/> - <resource> - <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="1b1341c9-d744-4cba-aaba-3dc356f5f699"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> - </meta> - <identifier> - <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> - <value value="f64fd7b4-8720-4986-a3c3-11892afa2267_200.000.002.096.533.49"/> - </identifier> - <status value="completed"/> - <category> - <coding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> - <code value="prescription"/> - <display value="prescription dispense"/> - </coding> - </category> - <medicationReference> - <reference value="Medication/c8266477-01b9-4e33-920c-6fcf3d8736f6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="X110465770"/> - </identifier> - </subject> - <performer> - <actor> - <reference value="Organization/8cf778c8-1dfc-47ac-8500-add2e1ee4f0c"/> - </actor> - </performer> - <whenHandedOver value="2024-02-08"/> - </MedicationDispense> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c8266477-01b9-4e33-920c-6fcf3d8736f6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="84264572"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8cf778c8-1dfc-47ac-8500-add2e1ee4f0c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="3-SMC-B-Testkarte-883110000116873"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Howie Doohan"/> - </Organization> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4/input.xml new file mode 100644 index 00000000..2fd55595 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f64fd7b4-8720-4986-a3c3-11892afa2267"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="81a3a319-f7a4-42d1-bd10-d929186b36b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#81a3a319-f7a4-42d1-bd10-d929186b36b7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4/output.json new file mode 100644 index 00000000..42d3834c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "2887baac-43ed-474b-a467-0687ae5392da", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "fed8a0fd-3e0b-4528-a672-d81aac5c960d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f64fd7b4-8720-4986-a3c3-11892afa2267_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/860d249d-f214-4b93-8504-5b0bcde3fea0" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/b0cf71e2-ffd6-4682-8a22-6929b02a6ba2" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "860d249d-f214-4b93-8504-5b0bcde3fea0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b0cf71e2-ffd6-4682-8a22-6929b02a6ba2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Marsha Dimes" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4/output.xml new file mode 100644 index 00000000..e7cb4961 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21_f64fd7b4_f64fd7b4/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2887baac-43ed-474b-a467-0687ae5392da"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="fed8a0fd-3e0b-4528-a672-d81aac5c960d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f64fd7b4-8720-4986-a3c3-11892afa2267_200.000.002.096.533.49"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/860d249d-f214-4b93-8504-5b0bcde3fea0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/b0cf71e2-ffd6-4682-8a22-6929b02a6ba2"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="860d249d-f214-4b93-8504-5b0bcde3fea0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b0cf71e2-ffd6-4682-8a22-6929b02a6ba2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Marsha Dimes"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4/input.xml new file mode 100644 index 00000000..2fd55595 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4/input.xml @@ -0,0 +1,83 @@ +<MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="f64fd7b4-8720-4986-a3c3-11892afa2267"/> + <meta> + <profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2"/> + </meta> + <contained> + <Medication xmlns="http://hl7.org/fhir"> + <id value="81a3a319-f7a4-42d1-bd10-d929186b36b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </contained> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </identifier> + <status value="completed"/> + <medicationReference> + <reference value="#81a3a319-f7a4-42d1-bd10-d929186b36b7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> +</MedicationDispense> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4/output.json new file mode 100644 index 00000000..bcb87750 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4/output.json @@ -0,0 +1,127 @@ +{ + "resourceType": "Parameters", + "id": "f3f133ef-fd4e-4d63-bbf6-45c832cc27c3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] + }, + "parameter": [ { + "name": "rxDispensation", + "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": "1970-01-01" + }, { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "8b7d4add-8e91-4b5f-8ad6-05be3e583e6d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] + }, + "identifier": [ { + "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier", + "value": "f64fd7b4-8720-4986-a3c3-11892afa2267_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/b2d6b48c-da09-419e-a969-801c0308c8ba" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110465770" + } + }, + "performer": [ { + "actor": { + "reference": "Organization/938835be-9d02-4969-a2f7-b3b0a3a4b111" + } + } ], + "whenHandedOver": "2024-02-08" + } + }, { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "b2d6b48c-da09-419e-a969-801c0308c8ba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "938835be-9d02-4969-a2f7-b3b0a3a4b111", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "Arch N. Emmy" + } + } ] + } ] +} \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4/output.xml new file mode 100644 index 00000000..97d69a1d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4_f64fd7b4/output.xml @@ -0,0 +1,131 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f3f133ef-fd4e-4d63-bbf6-45c832cc27c3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxDispensation"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="1970-01-01"/> + </part> + <part> + <name value="medicationDispense"/> + <resource> + <MedicationDispense xmlns="http://hl7.org/fhir"> + <id value="8b7d4add-8e91-4b5f-8ad6-05be3e583e6d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/> + <value value="f64fd7b4-8720-4986-a3c3-11892afa2267_200.000.002.096.533.49"/> + </identifier> + <status value="completed"/> + <category> + <coding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS"/> + <code value="prescription"/> + <display value="prescription dispense"/> + </coding> + </category> + <medicationReference> + <reference value="Medication/b2d6b48c-da09-419e-a969-801c0308c8ba"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + </subject> + <performer> + <actor> + <reference value="Organization/938835be-9d02-4969-a2f7-b3b0a3a4b111"/> + </actor> + </performer> + <whenHandedOver value="2024-02-08"/> + </MedicationDispense> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b2d6b48c-da09-419e-a969-801c0308c8ba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="938835be-9d02-4969-a2f7-b3b0a3a4b111"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="3-SMC-B-Testkarte-883110000116873"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arch N. Emmy"/> + </Organization> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.json index cac0801b..5d14a468 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "7530713f-4aad-4bb8-9b19-f1ee43abe78c", + "id": "caf012cb-59a7-4745-bebe-9eb0951f558c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "82c20531-751e-4343-aa5a-14552f1f341a", + "id": "d1b0d264-d6fa-4b7d-878d-b4aab115354c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/976e926e-d259-477a-952b-b4979165394e" + "reference": "Medication/1c54fc00-41c5-4021-bc1e-06cda9c99ace" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "976e926e-d259-477a-952b-b4979165394e", + "id": "1c54fc00-41c5-4021-bc1e-06cda9c99ace", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -79,7 +79,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "736eef3b-832b-4eb0-a65f-24f760b76439", + "id": "bd7d1fa5-9c53-48f2-9e00-41bd65af2854", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -144,7 +144,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "c12461ef-7db8-4d70-9c46-976599282534", + "id": "9dabdc12-ec6b-4f00-b54b-b4d49d8e5592", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.xml index 9fd6454f..99a4db6e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="7530713f-4aad-4bb8-9b19-f1ee43abe78c"/> + <id value="caf012cb-59a7-4745-bebe-9eb0951f558c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="82c20531-751e-4343-aa5a-14552f1f341a"/> + <id value="d1b0d264-d6fa-4b7d-878d-b4aab115354c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/976e926e-d259-477a-952b-b4979165394e"/> + <reference value="Medication/1c54fc00-41c5-4021-bc1e-06cda9c99ace"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="976e926e-d259-477a-952b-b4979165394e"/> + <id value="1c54fc00-41c5-4021-bc1e-06cda9c99ace"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -81,7 +81,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="736eef3b-832b-4eb0-a65f-24f760b76439"/> + <id value="bd7d1fa5-9c53-48f2-9e00-41bd65af2854"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -149,7 +149,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c12461ef-7db8-4d70-9c46-976599282534"/> + <id value="9dabdc12-ec6b-4f00-b54b-b4d49d8e5592"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb_4863d1fb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb_4863d1fb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb_4863d1fb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb_4863d1fb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb_4863d1fb/output.json new file mode 100644 index 00000000..53fe28ed --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "547cb149-3e85-4bc5-b02e-3b29aeaa5196", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4bb154ad-b2ac-40a3-915a-aad9c0b05924", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a9f72df3-a739-4a67-93ed-fa43214d3480" + }, + "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": "a9f72df3-a739-4a67-93ed-fa43214d3480", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "bd082447-58f1-440a-bfba-66514aa672d2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5d00b7d7-360a-4efd-86af-9ee86b773bcd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb_4863d1fb/output.xml new file mode 100644 index 00000000..27a068b9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_4863d1fb_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="547cb149-3e85-4bc5-b02e-3b29aeaa5196"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4bb154ad-b2ac-40a3-915a-aad9c0b05924"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a9f72df3-a739-4a67-93ed-fa43214d3480"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a9f72df3-a739-4a67-93ed-fa43214d3480"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bd082447-58f1-440a-bfba-66514aa672d2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5d00b7d7-360a-4efd-86af-9ee86b773bcd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/output.json deleted file mode 100644 index c6d10abb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "549970de-7aa9-4202-b196-ffdc80825d6d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "9abf895c-bcd6-4691-999d-d538f4ebc68d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/9adada1c-c305-4200-8d85-71d0ad8e279a" - }, - "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": "9adada1c-c305-4200-8d85-71d0ad8e279a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "0086f23f-9246-40b7-9f7f-3a666a7af3ef", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "ca5d731b-b828-4442-abec-357969b3144b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/output.xml deleted file mode 100644 index 15663146..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="549970de-7aa9-4202-b196-ffdc80825d6d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9abf895c-bcd6-4691-999d-d538f4ebc68d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/9adada1c-c305-4200-8d85-71d0ad8e279a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9adada1c-c305-4200-8d85-71d0ad8e279a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="Metformin 850mg Tabletten N3"/> - </code> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0086f23f-9246-40b7-9f7f-3a666a7af3ef"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ca5d731b-b828-4442-abec-357969b3144b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb/input.xml new file mode 100644 index 00000000..e06bf026 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb/input.xml @@ -0,0 +1,373 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4863d1fb-dc26-4680-bb35-018610d1749d"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/5877784c-ca07-4cc8-a58f-1517ddc24055"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5877784c-ca07-4cc8-a58f-1517ddc24055"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/2979e8a3-352e-4d17-8e06-b356666e4daf"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/2979e8a3-352e-4d17-8e06-b356666e4daf"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2979e8a3-352e-4d17-8e06-b356666e4daf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="freitext"/> + </coding> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="AOK Rheinland/Hamburg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb/output.json new file mode 100644 index 00000000..fdc474cd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "b5adfa2c-0f9a-4b44-b772-61fe7edbc764", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a4cf4179-6595-4f18-95c7-dd0db3854ec5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6f6aed4a-b3e9-48a2-a339-27f9347fa862" + }, + "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": "6f6aed4a-b3e9-48a2-a339-27f9347fa862", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "179efba5-a0f6-40b8-913a-92d02f5e642d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9fbd5ba0-0bb9-4397-a430-8e0a633ee26a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb/output.xml new file mode 100644 index 00000000..7fcf80e3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121_4863d1fb_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b5adfa2c-0f9a-4b44-b772-61fe7edbc764"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a4cf4179-6595-4f18-95c7-dd0db3854ec5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6f6aed4a-b3e9-48a2-a339-27f9347fa862"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6f6aed4a-b3e9-48a2-a339-27f9347fa862"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="179efba5-a0f6-40b8-913a-92d02f5e642d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9fbd5ba0-0bb9-4397-a430-8e0a633ee26a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.json index 441dc21e..7e0bddd5 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c3d55514-3a26-4109-8960-c5302181dc07", + "id": "df0bad12-2777-4764-9f18-ef1080436b97", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "0c765584-4978-4718-93ab-69398963131f", + "id": "2211f0b6-a59f-4c64-98b4-99d3b032bcbc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/f82df4af-5b89-41ba-97a8-231b6e0d601b" + "reference": "Medication/bc0677d9-37b4-4fe1-b83c-3cb0b87892a4" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "f82df4af-5b89-41ba-97a8-231b6e0d601b", + "id": "bc0677d9-37b4-4fe1-b83c-3cb0b87892a4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -79,7 +79,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "ec1a8c5b-7421-4922-a40d-24aeab69db7c", + "id": "eca5206f-dc71-458b-bcc8-96c806b41d84", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -144,7 +144,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "723a7ed8-a9fd-4664-8665-60353d272492", + "id": "9475a01c-a38e-4cc3-82a7-e29b7ad58482", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.xml index 44819f32..0333e02c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c3d55514-3a26-4109-8960-c5302181dc07"/> + <id value="df0bad12-2777-4764-9f18-ef1080436b97"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0c765584-4978-4718-93ab-69398963131f"/> + <id value="2211f0b6-a59f-4c64-98b4-99d3b032bcbc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/f82df4af-5b89-41ba-97a8-231b6e0d601b"/> + <reference value="Medication/bc0677d9-37b4-4fe1-b83c-3cb0b87892a4"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="f82df4af-5b89-41ba-97a8-231b6e0d601b"/> + <id value="bc0677d9-37b4-4fe1-b83c-3cb0b87892a4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -81,7 +81,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="ec1a8c5b-7421-4922-a40d-24aeab69db7c"/> + <id value="eca5206f-dc71-458b-bcc8-96c806b41d84"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -149,7 +149,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="723a7ed8-a9fd-4664-8665-60353d272492"/> + <id value="9475a01c-a38e-4cc3-82a7-e29b7ad58482"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb_4863d1fb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb_4863d1fb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb_4863d1fb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb_4863d1fb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb_4863d1fb/output.json new file mode 100644 index 00000000..4554a982 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "63c09f46-748e-4551-a071-45d6c299b205", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ec664c84-a521-4620-b1b4-13dd88e6bd35", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/18ee877e-bb9e-469a-ae49-dfb4143804fb" + }, + "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": "18ee877e-bb9e-469a-ae49-dfb4143804fb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "361e0b0b-c582-444b-9aeb-23e5e7fa7aa0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "229e72d1-d6a0-4c35-82a1-b48b49d90e45", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb_4863d1fb/output.xml new file mode 100644 index 00000000..0da72a10 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4863d1fb_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="63c09f46-748e-4551-a071-45d6c299b205"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ec664c84-a521-4620-b1b4-13dd88e6bd35"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/18ee877e-bb9e-469a-ae49-dfb4143804fb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="18ee877e-bb9e-469a-ae49-dfb4143804fb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="361e0b0b-c582-444b-9aeb-23e5e7fa7aa0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="229e72d1-d6a0-4c35-82a1-b48b49d90e45"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/output.json deleted file mode 100644 index 9671e6fe..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "1e616fe0-51c8-49cd-8985-786708a6488d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "5eda5852-92c3-4375-a4fc-05dc214c5857", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/1b34ecc1-5d22-4b71-a53c-54a53d19934b" - }, - "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": "1b34ecc1-5d22-4b71-a53c-54a53d19934b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "d237411b-9468-4486-9138-59fcd733d0fd", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "68786763-4499-4404-83e3-782b234a5a95", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/output.xml deleted file mode 100644 index 3c87a6be..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1e616fe0-51c8-49cd-8985-786708a6488d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5eda5852-92c3-4375-a4fc-05dc214c5857"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/1b34ecc1-5d22-4b71-a53c-54a53d19934b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1b34ecc1-5d22-4b71-a53c-54a53d19934b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="Metformin 850mg Tabletten N3"/> - </code> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d237411b-9468-4486-9138-59fcd733d0fd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="68786763-4499-4404-83e3-782b234a5a95"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb_4863d1fb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb_4863d1fb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb_4863d1fb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb_4863d1fb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb_4863d1fb/output.json new file mode 100644 index 00000000..859d87aa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "420c4bd9-d374-4c23-8fc4-ffe05f0a6b75", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8c06900e-2016-4b8d-ad2a-a7a8ac303f04", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/76a2afa6-69fa-4da7-a7cf-1a4572c1daed" + }, + "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": "76a2afa6-69fa-4da7-a7cf-1a4572c1daed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "a6cfd994-b3b3-4bf4-aa5a-68f84630e925", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a6c466bf-2abc-4a86-80ab-f878be4562cf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb_4863d1fb/output.xml new file mode 100644 index 00000000..148f95af --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f_4863d1fb_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="420c4bd9-d374-4c23-8fc4-ffe05f0a6b75"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8c06900e-2016-4b8d-ad2a-a7a8ac303f04"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/76a2afa6-69fa-4da7-a7cf-1a4572c1daed"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="76a2afa6-69fa-4da7-a7cf-1a4572c1daed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a6cfd994-b3b3-4bf4-aa5a-68f84630e925"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a6c466bf-2abc-4a86-80ab-f878be4562cf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/output.json deleted file mode 100644 index 04ee7f2c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "6be248d6-d47c-460e-b5e2-b4d2168393ba", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "c6e21e77-d4cf-4528-b7cd-4e561a2efd08", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/09d2d097-6f2a-4c78-b76f-6ab4cb6a19ca" - }, - "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": "09d2d097-6f2a-4c78-b76f-6ab4cb6a19ca", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "3a195ce4-d4a0-4392-8591-3a2bcd5eac3d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "4a407cbc-f9be-4e0e-a174-51a7f5910a65", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/output.xml deleted file mode 100644 index 37877591..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6be248d6-d47c-460e-b5e2-b4d2168393ba"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c6e21e77-d4cf-4528-b7cd-4e561a2efd08"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/09d2d097-6f2a-4c78-b76f-6ab4cb6a19ca"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="09d2d097-6f2a-4c78-b76f-6ab4cb6a19ca"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="Metformin 850mg Tabletten N3"/> - </code> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3a195ce4-d4a0-4392-8591-3a2bcd5eac3d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4a407cbc-f9be-4e0e-a174-51a7f5910a65"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb_4863d1fb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb_4863d1fb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb_4863d1fb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb_4863d1fb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb_4863d1fb/output.json new file mode 100644 index 00000000..0dd9004f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "23e085d6-6d40-4cf5-bfb8-ed63f50e0688", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "023ff1c7-9f23-4606-98de-6469148e8ee5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fbb6a6d5-5020-4e0a-8b6a-de095224862a" + }, + "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": "fbb6a6d5-5020-4e0a-8b6a-de095224862a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "5e98afab-3f55-4f44-8fa0-aa6a9790345e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "40df2a49-1bb0-445a-be39-9a2ea994595f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb_4863d1fb/output.xml new file mode 100644 index 00000000..2496df51 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142_4863d1fb_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="23e085d6-6d40-4cf5-bfb8-ed63f50e0688"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="023ff1c7-9f23-4606-98de-6469148e8ee5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fbb6a6d5-5020-4e0a-8b6a-de095224862a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fbb6a6d5-5020-4e0a-8b6a-de095224862a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5e98afab-3f55-4f44-8fa0-aa6a9790345e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="40df2a49-1bb0-445a-be39-9a2ea994595f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/output.json deleted file mode 100644 index 1a10ced3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "eedc788e-d2dc-4fb6-ae24-32b8bfdb0edb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "b82feaee-8ca3-4778-bb57-9e8a269fb7e6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/97787325-5df4-48c1-a00f-3aaab4f0578b" - }, - "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": "97787325-5df4-48c1-a00f-3aaab4f0578b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "4e1c957b-1493-4914-9656-c3d8c1536797", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "568fc0f0-7794-4ebb-aae9-59f1be4f502d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/output.xml deleted file mode 100644 index fe761e81..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="eedc788e-d2dc-4fb6-ae24-32b8bfdb0edb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b82feaee-8ca3-4778-bb57-9e8a269fb7e6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/97787325-5df4-48c1-a00f-3aaab4f0578b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="97787325-5df4-48c1-a00f-3aaab4f0578b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="Metformin 850mg Tabletten N3"/> - </code> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4e1c957b-1493-4914-9656-c3d8c1536797"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="568fc0f0-7794-4ebb-aae9-59f1be4f502d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb_4863d1fb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb_4863d1fb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb_4863d1fb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb_4863d1fb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb_4863d1fb/output.json new file mode 100644 index 00000000..3436a5e4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "73b46229-b4db-4ce4-bbc3-8784d32dbd7e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "365ff9a9-04f6-454a-9dde-c9f20f4e4fe1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1655d7ad-d5f5-4874-a093-03c6badc3a43" + }, + "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": "1655d7ad-d5f5-4874-a093-03c6badc3a43", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "aa11240e-65a3-4b4e-a9d0-3186b89ea5f5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ff268e4a-153c-4e8e-9196-fd149f72e910", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb_4863d1fb/output.xml new file mode 100644 index 00000000..a72a54ec --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888_4863d1fb_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="73b46229-b4db-4ce4-bbc3-8784d32dbd7e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="365ff9a9-04f6-454a-9dde-c9f20f4e4fe1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1655d7ad-d5f5-4874-a093-03c6badc3a43"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1655d7ad-d5f5-4874-a093-03c6badc3a43"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="aa11240e-65a3-4b4e-a9d0-3186b89ea5f5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ff268e4a-153c-4e8e-9196-fd149f72e910"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.json index 1ec53c44..742036f6 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "8fdee25e-0e3d-476c-a4bd-b7c5eeb05da1", + "id": "1d64343a-f4a8-4586-94bd-4c3ee2c22060", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "4df29832-6ded-4fea-89c8-7a088c3c830b", + "id": "8ae3d00e-8466-4dda-9183-8502ab9c1c7d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/dfe43e51-3c5f-4de8-af28-397db6735dc0" + "reference": "Medication/d9848107-6864-42a4-9d15-de3d325cd806" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "dfe43e51-3c5f-4de8-af28-397db6735dc0", + "id": "d9848107-6864-42a4-9d15-de3d325cd806", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -79,7 +79,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d11691c9-cf96-4ac9-98c2-9034d3b99f3b", + "id": "f0601635-f18e-4004-8dc2-785f64d3db84", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -144,7 +144,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "914adfba-9d8f-41bc-b306-057b0393b8ab", + "id": "29b4e4a0-41dc-47e2-9f78-9000954d0900", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.xml index e12f50e5..ba7c6a87 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="8fdee25e-0e3d-476c-a4bd-b7c5eeb05da1"/> + <id value="1d64343a-f4a8-4586-94bd-4c3ee2c22060"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4df29832-6ded-4fea-89c8-7a088c3c830b"/> + <id value="8ae3d00e-8466-4dda-9183-8502ab9c1c7d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/dfe43e51-3c5f-4de8-af28-397db6735dc0"/> + <reference value="Medication/d9848107-6864-42a4-9d15-de3d325cd806"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="dfe43e51-3c5f-4de8-af28-397db6735dc0"/> + <id value="d9848107-6864-42a4-9d15-de3d325cd806"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -81,7 +81,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d11691c9-cf96-4ac9-98c2-9034d3b99f3b"/> + <id value="f0601635-f18e-4004-8dc2-785f64d3db84"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -149,7 +149,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="914adfba-9d8f-41bc-b306-057b0393b8ab"/> + <id value="29b4e4a0-41dc-47e2-9f78-9000954d0900"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb/input.xml new file mode 100644 index 00000000..5023d14c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb/input.xml @@ -0,0 +1,373 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4863d1fb-dc26-4680-bb35-018610d1749d"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/5877784c-ca07-4cc8-a58f-1517ddc24055"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5877784c-ca07-4cc8-a58f-1517ddc24055"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/2979e8a3-352e-4d17-8e06-b356666e4daf"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/2979e8a3-352e-4d17-8e06-b356666e4daf"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2979e8a3-352e-4d17-8e06-b356666e4daf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="freitext"/> + </coding> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="AOK Rheinland/Hamburg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb/output.json new file mode 100644 index 00000000..4680f5e6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "71a37054-bf7a-47cf-918b-c08a617e03d8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b96979ed-7337-401a-8231-7d197591fb71", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/751a6f98-6144-4b81-bdf7-b19d90f1c50d" + }, + "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": "751a6f98-6144-4b81-bdf7-b19d90f1c50d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "6cf47050-9531-4e8e-b74c-32f236a7e605", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1bb08717-578b-482c-9da8-dae1eb514b2b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb/output.xml new file mode 100644 index 00000000..70d766c7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_4863d1fb_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="71a37054-bf7a-47cf-918b-c08a617e03d8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b96979ed-7337-401a-8231-7d197591fb71"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/751a6f98-6144-4b81-bdf7-b19d90f1c50d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="751a6f98-6144-4b81-bdf7-b19d90f1c50d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6cf47050-9531-4e8e-b74c-32f236a7e605"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1bb08717-578b-482c-9da8-dae1eb514b2b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/output.json deleted file mode 100644 index 7dc43a8b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "1b62abeb-e9ab-49a7-867c-7bf507dfd5cb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "db9de26b-610b-47f8-b44b-fce70c236504", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/33b68de6-ebd9-4f60-88d9-cfe9bdc96cf3" - }, - "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": "33b68de6-ebd9-4f60-88d9-cfe9bdc96cf3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "97b7b499-9d4f-4efa-8a77-a03630e9be73", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "7d2b7b90-34dd-4f67-866b-100987a23ba5", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/output.xml deleted file mode 100644 index f62a82b8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1b62abeb-e9ab-49a7-867c-7bf507dfd5cb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.023.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="db9de26b-610b-47f8-b44b-fce70c236504"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/33b68de6-ebd9-4f60-88d9-cfe9bdc96cf3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="33b68de6-ebd9-4f60-88d9-cfe9bdc96cf3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <text value="Metformin 850mg Tabletten N3"/> - </code> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="97b7b499-9d4f-4efa-8a77-a03630e9be73"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7d2b7b90-34dd-4f67-866b-100987a23ba5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb/input.xml new file mode 100644 index 00000000..5023d14c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb/input.xml @@ -0,0 +1,373 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4863d1fb-dc26-4680-bb35-018610d1749d"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/5877784c-ca07-4cc8-a58f-1517ddc24055"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5877784c-ca07-4cc8-a58f-1517ddc24055"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/2979e8a3-352e-4d17-8e06-b356666e4daf"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/2979e8a3-352e-4d17-8e06-b356666e4daf"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2979e8a3-352e-4d17-8e06-b356666e4daf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="freitext"/> + </coding> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="AOK Rheinland/Hamburg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb/output.json new file mode 100644 index 00000000..9b4c08f5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "92c16537-00ab-476d-8c2c-1c7d5b1c7f96", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "97815a4a-bc47-426e-b094-f1636bc9c01e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/aaf9f094-7a95-4570-a0a3-28a21ccdfba3" + }, + "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": "aaf9f094-7a95-4570-a0a3-28a21ccdfba3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "40d5e311-bdcf-44c7-9839-e0a180d25d0c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5da53e10-9e49-4942-b1f5-d16fb1625f10", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4863d1fb_4863d1fb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb/output.xml new file mode 100644 index 00000000..3fa627b9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28_4863d1fb_4863d1fb/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="92c16537-00ab-476d-8c2c-1c7d5b1c7f96"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.023.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="97815a4a-bc47-426e-b094-f1636bc9c01e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/aaf9f094-7a95-4570-a0a3-28a21ccdfba3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="aaf9f094-7a95-4570-a0a3-28a21ccdfba3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <text value="Metformin 850mg Tabletten N3"/> + </code> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="40d5e311-bdcf-44c7-9839-e0a180d25d0c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5da53e10-9e49-4942-b1f5-d16fb1625f10"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/output.json deleted file mode 100644 index 4c57f781..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/output.json +++ /dev/null @@ -1,243 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "3c6342dd-d26c-4e11-955a-45ec76ef8452", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "31c8d29e-e99e-4ef5-83db-a2495bcb2eed", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/87d24987-ea93-4533-9faa-01ed7c35fbe3" - }, - "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": "87d24987-ea93-4533-9faa-01ed7c35fbe3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "c23d5788-d14c-4415-ab1f-b6e61f7c26b0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "4106044c-7930-42f3-af3c-4ca20e0ff3c5", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_ec6059d9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/output.xml deleted file mode 100644 index ca7f78b6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/output.xml +++ /dev/null @@ -1,242 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="3c6342dd-d26c-4e11-955a-45ec76ef8452"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.018.85"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="31c8d29e-e99e-4ef5-83db-a2495bcb2eed"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/87d24987-ea93-4533-9faa-01ed7c35fbe3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="87d24987-ea93-4533-9faa-01ed7c35fbe3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="5682"/> - </coding> - <text value="Ibuprofen"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="600"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c23d5788-d14c-4415-ab1f-b6e61f7c26b0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4106044c-7930-42f3-af3c-4ca20e0ff3c5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9_ec6059d9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9_ec6059d9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9_ec6059d9/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9_ec6059d9/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9_ec6059d9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9_ec6059d9/output.json new file mode 100644 index 00000000..490796e0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9_ec6059d9/output.json @@ -0,0 +1,243 @@ +{ + "resourceType": "Parameters", + "id": "54f698f9-5bc2-482b-957a-654d1bf321d4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a7094cc5-6f6c-4be2-9d21-84c3f727407c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c05bc043-21f0-40ff-8bb7-dd7533943b17" + }, + "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": "c05bc043-21f0-40ff-8bb7-dd7533943b17", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "00e010d7-9516-4773-9b19-8837d17988b5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ebcd0f92-0db1-43d3-8772-01a3655f64b2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ec6059d9_ec6059d9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9_ec6059d9/output.xml new file mode 100644 index 00000000..23eb2a88 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab_ec6059d9_ec6059d9/output.xml @@ -0,0 +1,242 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="54f698f9-5bc2-482b-957a-654d1bf321d4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.018.85"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a7094cc5-6f6c-4be2-9d21-84c3f727407c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c05bc043-21f0-40ff-8bb7-dd7533943b17"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c05bc043-21f0-40ff-8bb7-dd7533943b17"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="5682"/> + </coding> + <text value="Ibuprofen"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="600"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="00e010d7-9516-4773-9b19-8837d17988b5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ebcd0f92-0db1-43d3-8772-01a3655f64b2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.json index d81ef950..93b6c791 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ee31cb4e-e2d8-4d51-a184-d81c164439fa", + "id": "50a73019-c9a4-4c74-ac14-3174dc562bea", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "ea14dac3-c700-465e-96a0-fb936c9311b9", + "id": "2dd1b9c0-a1d1-4eac-b804-513a6df7a456", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/1880519f-b28a-4bc8-9f4f-1f96680524b7" + "reference": "Medication/df87a7f0-44d3-4bcf-a97f-e978ea14b774" }, "subject": { "identifier": { @@ -54,7 +54,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "1880519f-b28a-4bc8-9f4f-1f96680524b7", + "id": "df87a7f0-44d3-4bcf-a97f-e978ea14b774", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -130,7 +130,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "dfc7f157-06df-4c4e-a2b8-03b343ed8da8", + "id": "376f32a2-dec9-43b5-8b53-35629c772957", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -197,7 +197,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "71cb9e61-3379-462d-a289-ad66a34838e1", + "id": "692a6857-6964-4e95-b60f-b1574ac284ea", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.xml index db68fcfd..900043e9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="ee31cb4e-e2d8-4d51-a184-d81c164439fa"/> + <id value="50a73019-c9a4-4c74-ac14-3174dc562bea"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ea14dac3-c700-465e-96a0-fb936c9311b9"/> + <id value="2dd1b9c0-a1d1-4eac-b804-513a6df7a456"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/1880519f-b28a-4bc8-9f4f-1f96680524b7"/> + <reference value="Medication/df87a7f0-44d3-4bcf-a97f-e978ea14b774"/> </medicationReference> <subject> <identifier> @@ -55,7 +55,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="1880519f-b28a-4bc8-9f4f-1f96680524b7"/> + <id value="df87a7f0-44d3-4bcf-a97f-e978ea14b774"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -127,7 +127,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="dfc7f157-06df-4c4e-a2b8-03b343ed8da8"/> + <id value="376f32a2-dec9-43b5-8b53-35629c772957"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -196,7 +196,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="71cb9e61-3379-462d-a289-ad66a34838e1"/> + <id value="692a6857-6964-4e95-b60f-b1574ac284ea"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9_ec6059d9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9_ec6059d9/input.xml new file mode 100644 index 00000000..3d059037 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9_ec6059d9/input.xml @@ -0,0 +1,444 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ec6059d9-72a0-4ba3-8535-6ffcc0c4279b"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.018.85"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/82fd748e-b721-491d-8e7d-681848e49a16"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="82fd748e-b721-491d-8e7d-681848e49a16"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <attester> + <mode value="legal"/> + <party> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </party> + </attester> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/b12e7181-39dd-4864-a63f-74bb81d643a1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/b12e7181-39dd-4864-a63f-74bb81d643a1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b12e7181-39dd-4864-a63f-74bb81d643a1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/aad9fb8b-2ec2-4cda-874a-82565c9d45ef"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/aad9fb8b-2ec2-4cda-874a-82565c9d45ef"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="aad9fb8b-2ec2-4cda-874a-82565c9d45ef"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="5682"/> + </coding> + <text value="Ibuprofen"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="600"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="04"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9_ec6059d9/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9_ec6059d9/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9_ec6059d9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9_ec6059d9/output.json new file mode 100644 index 00000000..0d52bb63 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9_ec6059d9/output.json @@ -0,0 +1,243 @@ +{ + "resourceType": "Parameters", + "id": "197a1108-5d73-4e28-955d-128383da7d5e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3a02e52f-e564-4359-b98d-b4f0f33fc85d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2767fc3e-7691-4144-912f-05f5c107ae95" + }, + "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": "2767fc3e-7691-4144-912f-05f5c107ae95", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "6506d0ab-3e32-4699-aa4e-8bd344e4920f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e2d4a854-654e-4c01-a992-18a9232c7ee0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ec6059d9_ec6059d9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9_ec6059d9/output.xml new file mode 100644 index 00000000..503b06c1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_ec6059d9_ec6059d9/output.xml @@ -0,0 +1,242 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="197a1108-5d73-4e28-955d-128383da7d5e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.018.85"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3a02e52f-e564-4359-b98d-b4f0f33fc85d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2767fc3e-7691-4144-912f-05f5c107ae95"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2767fc3e-7691-4144-912f-05f5c107ae95"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="5682"/> + </coding> + <text value="Ibuprofen"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="600"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6506d0ab-3e32-4699-aa4e-8bd344e4920f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e2d4a854-654e-4c01-a992-18a9232c7ee0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/output.json deleted file mode 100644 index b0423629..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "13646d24-4fb0-46ec-bb5f-dd706ec34286", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "178af28d-c2f3-4bd7-9f80-a15b169994a4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/fbb9618f-08d5-4ec6-8ba4-541da499113b" - }, - "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": "fbb9618f-08d5-4ec6-8ba4-541da499113b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "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": "2bb397bb-31ca-4e4b-aa1a-e1e5e83ecc73", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "570c0e63-d4a5-49eb-a599-5a2e4e7432ea", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/output.xml deleted file mode 100644 index 7529405c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="13646d24-4fb0-46ec-bb5f-dd706ec34286"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="178af28d-c2f3-4bd7-9f80-a15b169994a4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/fbb9618f-08d5-4ec6-8ba4-541da499113b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fbb9618f-08d5-4ec6-8ba4-541da499113b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2bb397bb-31ca-4e4b-aa1a-e1e5e83ecc73"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="570c0e63-d4a5-49eb-a599-5a2e4e7432ea"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5_9c85a2a5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5_9c85a2a5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5_9c85a2a5/output.json new file mode 100644 index 00000000..926e89e2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "0ec40910-6c8c-4c62-9433-4303ab7f7f63", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0ee1e9c7-2e48-4ca7-81de-a88e4be67609", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b6a284d4-4cb2-4d4c-924d-b9f6f4810110" + }, + "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": "b6a284d4-4cb2-4d4c-924d-b9f6f4810110", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "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": "7395a4bd-04e4-46a3-ad16-4866a63442cd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ae112670-3ae9-4fc6-a66c-065d6e817da9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5_9c85a2a5/output.xml new file mode 100644 index 00000000..4b501151 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458_9c85a2a5_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0ec40910-6c8c-4c62-9433-4303ab7f7f63"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0ee1e9c7-2e48-4ca7-81de-a88e4be67609"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b6a284d4-4cb2-4d4c-924d-b9f6f4810110"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b6a284d4-4cb2-4d4c-924d-b9f6f4810110"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7395a4bd-04e4-46a3-ad16-4866a63442cd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ae112670-3ae9-4fc6-a66c-065d6e817da9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.json index 752ce65f..4c369603 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "46b974bf-a1f9-4b73-a926-4bfed858aefa", + "id": "aac10990-e673-432d-acd8-206259c769b1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "ce92b068-0f49-4c72-82b4-5d6b5f252fd6", + "id": "dad1307c-3059-491e-9640-98aca026b8a4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/f8dbe94e-cffe-4759-a0af-834de12f0bae" + "reference": "Medication/7d65b837-cf64-4eb6-a1c9-14471a032010" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "f8dbe94e-cffe-4759-a0af-834de12f0bae", + "id": "7d65b837-cf64-4eb6-a1c9-14471a032010", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -139,7 +139,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "808143cf-e050-42a1-888d-4f1e61bbffc6", + "id": "c292d904-60c7-431a-89be-c7d6966fffbe", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -204,7 +204,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "22fc862e-8aeb-46f4-9fab-2af308608fea", + "id": "ddd77916-7a66-47b9-8cb1-7140b32124ca", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.xml index 708fa78f..802b9014 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="46b974bf-a1f9-4b73-a926-4bfed858aefa"/> + <id value="aac10990-e673-432d-acd8-206259c769b1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ce92b068-0f49-4c72-82b4-5d6b5f252fd6"/> + <id value="dad1307c-3059-491e-9640-98aca026b8a4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/f8dbe94e-cffe-4759-a0af-834de12f0bae"/> + <reference value="Medication/7d65b837-cf64-4eb6-a1c9-14471a032010"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="f8dbe94e-cffe-4759-a0af-834de12f0bae"/> + <id value="7d65b837-cf64-4eb6-a1c9-14471a032010"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -136,7 +136,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="808143cf-e050-42a1-888d-4f1e61bbffc6"/> + <id value="c292d904-60c7-431a-89be-c7d6966fffbe"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -204,7 +204,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="22fc862e-8aeb-46f4-9fab-2af308608fea"/> + <id value="ddd77916-7a66-47b9-8cb1-7140b32124ca"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5/input.xml new file mode 100644 index 00000000..8b011b26 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9c85a2a5-92ee-4a57-83cb-ba90a0df2a21"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a7eefdd-df71-4a72-8047-c158017534a1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin: Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5/output.json new file mode 100644 index 00000000..d4e30f55 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "d2b0c31f-6e6f-4854-868b-0e447500c534", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d3c47633-f1d4-42a7-b0ab-bd59eac47770", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/25d76d93-3cee-4ea3-b50a-5425e9e5e0b9" + }, + "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": "25d76d93-3cee-4ea3-b50a-5425e9e5e0b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "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": "e13fb36b-7fa0-4494-b3d0-208b7cf219f8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "80fc85a1-d50e-41e4-9fe8-17bad6f5cd42", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5/output.xml new file mode 100644 index 00000000..e485792a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_9c85a2a5_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d2b0c31f-6e6f-4854-868b-0e447500c534"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d3c47633-f1d4-42a7-b0ab-bd59eac47770"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/25d76d93-3cee-4ea3-b50a-5425e9e5e0b9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="25d76d93-3cee-4ea3-b50a-5425e9e5e0b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e13fb36b-7fa0-4494-b3d0-208b7cf219f8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="80fc85a1-d50e-41e4-9fe8-17bad6f5cd42"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.json index 4ac51e2b..3b34923e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "82ca1705-7723-43d1-81f7-34fd151b51e9", + "id": "024e511c-f6d2-433c-bac5-c0260b9ecac3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "d104697b-c79f-433a-b4a9-9a64f1507a8f", + "id": "de880323-48b4-452b-bddd-e457c801351d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/f40adf3d-05d3-46c9-b464-89e4a1928774" + "reference": "Medication/0f28994f-d627-419f-834a-4d5d08049c52" }, "subject": { "identifier": { @@ -54,7 +54,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "f40adf3d-05d3-46c9-b464-89e4a1928774", + "id": "0f28994f-d627-419f-834a-4d5d08049c52", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -170,7 +170,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "19d6be07-9c7a-4e36-ba3a-209dee895cff", + "id": "79eaba3a-6486-490c-b24b-a84789a8de62", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -237,7 +237,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "3ca96f8a-015b-4577-b3f5-93614ef3d83c", + "id": "4e4c47a7-2c2b-4543-af9d-4f41471239f6", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.xml index e539ea46..ffecb756 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="82ca1705-7723-43d1-81f7-34fd151b51e9"/> + <id value="024e511c-f6d2-433c-bac5-c0260b9ecac3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d104697b-c79f-433a-b4a9-9a64f1507a8f"/> + <id value="de880323-48b4-452b-bddd-e457c801351d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/f40adf3d-05d3-46c9-b464-89e4a1928774"/> + <reference value="Medication/0f28994f-d627-419f-834a-4d5d08049c52"/> </medicationReference> <subject> <identifier> @@ -55,7 +55,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="f40adf3d-05d3-46c9-b464-89e4a1928774"/> + <id value="0f28994f-d627-419f-834a-4d5d08049c52"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -164,7 +164,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="19d6be07-9c7a-4e36-ba3a-209dee895cff"/> + <id value="79eaba3a-6486-490c-b24b-a84789a8de62"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -233,7 +233,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="3ca96f8a-015b-4577-b3f5-93614ef3d83c"/> + <id value="4e4c47a7-2c2b-4543-af9d-4f41471239f6"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d_218b581d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d_218b581d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d_218b581d/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d_218b581d/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d_218b581d/output.json new file mode 100644 index 00000000..9fc160bf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d_218b581d/output.json @@ -0,0 +1,276 @@ +{ + "resourceType": "Parameters", + "id": "25323da3-5ce2-4d18-b12c-1c91668b43ef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4a0dddb9-0d99-4ad2-9c78-de09d434a65a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6f0f992b-d596-4ea4-9ee3-985f958c0122" + }, + "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": "6f0f992b-d596-4ea4-9ee3-985f958c0122", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "de5718eb-7577-4791-88e6-1be98c12f450", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f0c6ec00-1b79-4890-81b3-9b87250f2154", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d_218b581d/output.xml new file mode 100644 index 00000000..47025f7a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_218b581d_218b581d/output.xml @@ -0,0 +1,274 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="25323da3-5ce2-4d18-b12c-1c91668b43ef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a0dddb9-0d99-4ad2-9c78-de09d434a65a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6f0f992b-d596-4ea4-9ee3-985f958c0122"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6f0f992b-d596-4ea4-9ee3-985f958c0122"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="de5718eb-7577-4791-88e6-1be98c12f450"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f0c6ec00-1b79-4890-81b3-9b87250f2154"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/output.json deleted file mode 100644 index 5166a0e7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/output.json +++ /dev/null @@ -1,276 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "a4792774-f586-4cf6-bce3-442e9c86ed4a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "2d56b6a0-1120-4a35-8ca3-ad4d52c243cd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/72c08815-2077-42c9-b5a4-d73af695a0ca" - }, - "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": "72c08815-2077-42c9-b5a4-d73af695a0ca", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ecc567a3-37c1-4e00-b49a-d5d155b090c2", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "b7384025-8cbd-40da-8d9b-1db97dc7f6f1", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/output.xml deleted file mode 100644 index 9a934d44..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d/output.xml +++ /dev/null @@ -1,274 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a4792774-f586-4cf6-bce3-442e9c86ed4a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2d56b6a0-1120-4a35-8ca3-ad4d52c243cd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/72c08815-2077-42c9-b5a4-d73af695a0ca"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="72c08815-2077-42c9-b5a4-d73af695a0ca"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22308"/> - </coding> - <text value="Gabapentin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="300"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - <ingredient> - <itemCodeableConcept> - <text value="Gabapentin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="300"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ecc567a3-37c1-4e00-b49a-d5d155b090c2"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b7384025-8cbd-40da-8d9b-1db97dc7f6f1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d/input.xml new file mode 100644 index 00000000..1e87bdff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d/input.xml @@ -0,0 +1,428 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="218b581d-ccbe-480e-b8d7-f5f9b925e8c4"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/5c43d99a-64ba-436d-9b8c-6ee5156d7607"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5c43d99a-64ba-436d-9b8c-6ee5156d7607"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="4"/> + </valueCoding> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/e091f324-689b-4f3c-875d-050b525b09c5"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/e091f324-689b-4f3c-875d-050b525b09c5"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e091f324-689b-4f3c-875d-050b525b09c5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="BG"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Alternative_IK"> + <valueIdentifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="121191241"/> + </valueIdentifier> + </extension> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="Verwaltungs-BG"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d/output.json new file mode 100644 index 00000000..9f39ea0f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d/output.json @@ -0,0 +1,276 @@ +{ + "resourceType": "Parameters", + "id": "e3785a4d-91f7-440b-88c1-9a0bcb84085e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8bb4b99b-2478-4368-9455-ee8e870aaf5a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/749f0aac-95ee-43c9-8f07-3c756af170b2" + }, + "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": "749f0aac-95ee-43c9-8f07-3c756af170b2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dd0c9326-9f62-4de7-a6bb-26eb72165550", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "41475f32-7b64-4f79-9546-1b48a46ccccf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d/output.xml new file mode 100644 index 00000000..70aa95e2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f_218b581d_218b581d/output.xml @@ -0,0 +1,274 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e3785a4d-91f7-440b-88c1-9a0bcb84085e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8bb4b99b-2478-4368-9455-ee8e870aaf5a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/749f0aac-95ee-43c9-8f07-3c756af170b2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="749f0aac-95ee-43c9-8f07-3c756af170b2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + <ingredient> + <itemCodeableConcept> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dd0c9326-9f62-4de7-a6bb-26eb72165550"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="41475f32-7b64-4f79-9546-1b48a46ccccf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/output.json deleted file mode 100644 index bf3b92a2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/output.json +++ /dev/null @@ -1,242 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "661bf7be-51f3-411a-9629-90e09f760a26", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "684768c5-12e7-4a6c-ba4b-f9f5b9738f5a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/46500393-9afa-4274-9aa1-0750d29c46e5" - }, - "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": "46500393-9afa-4274-9aa1-0750d29c46e5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "32e7dc49-8ff2-4072-8ccb-29f3b08b21e7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "97fbf368-50e2-4d69-af6f-70c00fad3713", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/output.xml deleted file mode 100644 index 9b47a081..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/output.xml +++ /dev/null @@ -1,243 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="661bf7be-51f3-411a-9629-90e09f760a26"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.021.76"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="684768c5-12e7-4a6c-ba4b-f9f5b9738f5a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/46500393-9afa-4274-9aa1-0750d29c46e5"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="46500393-9afa-4274-9aa1-0750d29c46e5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <form> - <text value="Retardtabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="11900"/> - </coding> - <text value="Diclofenac-Natrium"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="75"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="32e7dc49-8ff2-4072-8ccb-29f3b08b21e7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="97fbf368-50e2-4d69-af6f-70c00fad3713"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980_cf0d4980/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980_cf0d4980/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980_cf0d4980/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980_cf0d4980/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980_cf0d4980/output.json new file mode 100644 index 00000000..31159f72 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980_cf0d4980/output.json @@ -0,0 +1,242 @@ +{ + "resourceType": "Parameters", + "id": "a373e0c6-ffb2-462c-b555-e65aaec8ef25", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "58cf8d3d-5eeb-4118-a427-d5935058cc40", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9e9ff900-34fe-4571-8e76-f8ddcfd4a5df" + }, + "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": "9e9ff900-34fe-4571-8e76-f8ddcfd4a5df", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5b0d6336-c670-4189-ba80-56892c9d2770", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "78799c82-afde-4808-a3a1-16bfff48a85e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cf0d4980_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980_cf0d4980/output.xml new file mode 100644 index 00000000..8af03d4b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af_cf0d4980_cf0d4980/output.xml @@ -0,0 +1,243 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a373e0c6-ffb2-462c-b555-e65aaec8ef25"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="58cf8d3d-5eeb-4118-a427-d5935058cc40"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9e9ff900-34fe-4571-8e76-f8ddcfd4a5df"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9e9ff900-34fe-4571-8e76-f8ddcfd4a5df"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <form> + <text value="Retardtabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="11900"/> + </coding> + <text value="Diclofenac-Natrium"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="75"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5b0d6336-c670-4189-ba80-56892c9d2770"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="78799c82-afde-4808-a3a1-16bfff48a85e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.json index 48395d33..0d342e7c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "7d90e3cf-f1ee-4ed1-b6f2-d7ee177f3b1b", + "id": "3154b234-f918-43e6-bc2e-ad9fa981551f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "8ed356f8-2e88-42f0-8446-af948574bdee", + "id": "2178b7dd-ed83-4a29-bfd9-d0983ceb1c77", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/5b083212-45d3-450d-85c6-3dea90e45fdb" + "reference": "Medication/80a55ed2-9248-42f6-a0ae-120b88f8222f" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5b083212-45d3-450d-85c6-3dea90e45fdb", + "id": "80a55ed2-9248-42f6-a0ae-120b88f8222f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -136,7 +136,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f59e3943-7bdf-4ba2-a62d-3894480eabdc", + "id": "1b3c1b5d-5da4-4aa0-b265-d594d7a85de8", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -203,7 +203,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "12ae92bd-3dc1-438b-a329-db60ead304a0", + "id": "8cd5820c-9bee-4790-8d49-ffa7fd80916e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.xml index d59b9313..e09eebbc 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="7d90e3cf-f1ee-4ed1-b6f2-d7ee177f3b1b"/> + <id value="3154b234-f918-43e6-bc2e-ad9fa981551f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8ed356f8-2e88-42f0-8446-af948574bdee"/> + <id value="2178b7dd-ed83-4a29-bfd9-d0983ceb1c77"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/5b083212-45d3-450d-85c6-3dea90e45fdb"/> + <reference value="Medication/80a55ed2-9248-42f6-a0ae-120b88f8222f"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5b083212-45d3-450d-85c6-3dea90e45fdb"/> + <id value="80a55ed2-9248-42f6-a0ae-120b88f8222f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -133,7 +133,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f59e3943-7bdf-4ba2-a62d-3894480eabdc"/> + <id value="1b3c1b5d-5da4-4aa0-b265-d594d7a85de8"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -202,7 +202,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="12ae92bd-3dc1-438b-a329-db60ead304a0"/> + <id value="8cd5820c-9bee-4790-8d49-ffa7fd80916e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980_cf0d4980/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980_cf0d4980/input.xml new file mode 100644 index 00000000..9faa4343 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980_cf0d4980/input.xml @@ -0,0 +1,406 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="cf0d4980-af01-44f4-a38c-d6bf14b82e07"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="7a0b2d5e-8660-47b2-b26a-0e3dbba4399d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/0886a530-68ef-4517-9999-b24f79b08da1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/0886a530-68ef-4517-9999-b24f79b08da1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0886a530-68ef-4517-9999-b24f79b08da1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="Unfalltag"> + <valueDate value="2021-04-01"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a3ccc266-b033-47cc-9361-98ec450f7db9"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a3ccc266-b033-47cc-9361-98ec450f7db9"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a3ccc266-b033-47cc-9361-98ec450f7db9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Retardtabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="11900"/> + </coding> + <text value="Diclofenac-Natrium"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="75"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980_cf0d4980/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980_cf0d4980/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980_cf0d4980/output.json new file mode 100644 index 00000000..48d4f832 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980_cf0d4980/output.json @@ -0,0 +1,242 @@ +{ + "resourceType": "Parameters", + "id": "44044d24-e840-412f-b7be-85468740734b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "188c86c1-5215-48d8-a84d-1c25dcb7f1f7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/662fc00e-63e3-4c59-9d90-3366ff8465ba" + }, + "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": "662fc00e-63e3-4c59-9d90-3366ff8465ba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cc0ad6bf-80be-48f9-a559-c8dbadda1439", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1a85f7d3-e5ae-4877-99c0-4c1b4253f84a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cf0d4980_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980_cf0d4980/output.xml new file mode 100644 index 00000000..0810eb15 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_cf0d4980_cf0d4980/output.xml @@ -0,0 +1,243 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="44044d24-e840-412f-b7be-85468740734b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="188c86c1-5215-48d8-a84d-1c25dcb7f1f7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/662fc00e-63e3-4c59-9d90-3366ff8465ba"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="662fc00e-63e3-4c59-9d90-3366ff8465ba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <form> + <text value="Retardtabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="11900"/> + </coding> + <text value="Diclofenac-Natrium"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="75"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cc0ad6bf-80be-48f9-a559-c8dbadda1439"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1a85f7d3-e5ae-4877-99c0-4c1b4253f84a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/output.json deleted file mode 100644 index 36a160d5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/output.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "20761000-802a-4cd2-ba0e-7c53205a0168", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "58297dba-e99e-4ca4-8b3d-3ab20b72f27b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/9c49b2d3-f5c7-40b1-9119-9539e148068f" - }, - "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": "9c49b2d3-f5c7-40b1-9119-9539e148068f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7a76eecb-68e3-43c0-b6da-e58bf66ea77c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "3e67e1ce-0cfe-419e-831f-68b3896b2846", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/output.xml deleted file mode 100644 index b98a2a3e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="20761000-802a-4cd2-ba0e-7c53205a0168"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.022.73"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-01"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="58297dba-e99e-4ca4-8b3d-3ab20b72f27b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="2"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2021-04-01"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/9c49b2d3-f5c7-40b1-9119-9539e148068f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-01"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9c49b2d3-f5c7-40b1-9119-9539e148068f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="23816"/> - </coding> - <text value="Simvastatin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="7a76eecb-68e3-43c0-b6da-e58bf66ea77c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="3e67e1ce-0cfe-419e-831f-68b3896b2846"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17_cd6d3a17/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17_cd6d3a17/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17_cd6d3a17/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17_cd6d3a17/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17_cd6d3a17/output.json new file mode 100644 index 00000000..7779159a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17_cd6d3a17/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "474383c7-f4c7-4bb0-98b3-887da68863f4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "cf15e6df-b4e5-4812-aa92-7df97ccf2513", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/3e8aa69c-bae3-4130-bc5a-23e05727622a" + }, + "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": "3e8aa69c-bae3-4130-bc5a-23e05727622a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0c691391-33b1-4044-a5ac-045f55ecdd91", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "50c399b5-7f90-4484-b93f-90979ebc435a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cd6d3a17_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17_cd6d3a17/output.xml new file mode 100644 index 00000000..6528659d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b_cd6d3a17_cd6d3a17/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="474383c7-f4c7-4bb0-98b3-887da68863f4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-01"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cf15e6df-b4e5-4812-aa92-7df97ccf2513"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2021-04-01"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3e8aa69c-bae3-4130-bc5a-23e05727622a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-01"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3e8aa69c-bae3-4130-bc5a-23e05727622a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0c691391-33b1-4044-a5ac-045f55ecdd91"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="50c399b5-7f90-4484-b93f-90979ebc435a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.json index 4ae84029..ec68813f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "3113a208-485b-4155-acd9-bb4fb9b55322", + "id": "fad1c499-bc00-4faa-b368-c3863556eb32", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "cc9fc24d-ff06-484a-87be-aeb19eef1ab9", + "id": "63645e3f-1044-4866-b426-d64d4c2ede55", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -54,7 +54,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/ccb3c2fe-5014-4565-bbf0-555981539e1a" + "reference": "Medication/03aea7ee-12f8-4f8b-8f0e-108d34debdce" }, "subject": { "identifier": { @@ -75,7 +75,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "ccb3c2fe-5014-4565-bbf0-555981539e1a", + "id": "03aea7ee-12f8-4f8b-8f0e-108d34debdce", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -142,7 +142,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "2ff70a0b-ca9b-4723-bbf2-c8d8dad96fc6", + "id": "876bfe5c-e1cd-4d3e-be11-42ebebe34c17", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -209,7 +209,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "dc04b80c-faad-4c33-acf5-0195027d3fe9", + "id": "7a25cf4c-8f3a-4a18-b915-3f95862b82e3", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.xml index c3b87fbe..79731895 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="3113a208-485b-4155-acd9-bb4fb9b55322"/> + <id value="fad1c499-bc00-4faa-b368-c3863556eb32"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="cc9fc24d-ff06-484a-87be-aeb19eef1ab9"/> + <id value="63645e3f-1044-4866-b426-d64d4c2ede55"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -53,7 +53,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/ccb3c2fe-5014-4565-bbf0-555981539e1a"/> + <reference value="Medication/03aea7ee-12f8-4f8b-8f0e-108d34debdce"/> </medicationReference> <subject> <identifier> @@ -76,7 +76,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="ccb3c2fe-5014-4565-bbf0-555981539e1a"/> + <id value="03aea7ee-12f8-4f8b-8f0e-108d34debdce"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -140,7 +140,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="2ff70a0b-ca9b-4723-bbf2-c8d8dad96fc6"/> + <id value="876bfe5c-e1cd-4d3e-be11-42ebebe34c17"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -209,7 +209,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="dc04b80c-faad-4c33-acf5-0195027d3fe9"/> + <id value="7a25cf4c-8f3a-4a18-b915-3f95862b82e3"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17/input.xml new file mode 100644 index 00000000..a0785b50 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="cd6d3a17-8105-4f1e-86ff-48cd5cebf245"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/dc55a629-9d26-467e-83be-55a5a21d6016"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="dc55a629-9d26-467e-83be-55a5a21d6016"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/f63578ab-c3d5-4364-ac13-e20873cb716c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/f63578ab-c3d5-4364-ac13-e20873cb716c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f63578ab-c3d5-4364-ac13-e20873cb716c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2021-04-01"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2021-04-01"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17/output.json new file mode 100644 index 00000000..e83239c5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "6304fd21-45ac-4c99-a647-7c8602e12998", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "75bcbe9a-bd08-4614-9a62-c595e6aec2ce", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/521c67e7-c719-4e99-8c53-e1c2faa58cb6" + }, + "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": "521c67e7-c719-4e99-8c53-e1c2faa58cb6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b23069fe-1e8b-493a-9a93-7c2123424bbf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8642972f-67e2-4760-9a8c-82a7161ee86f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cd6d3a17_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17/output.xml new file mode 100644 index 00000000..b224795e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_cd6d3a17_cd6d3a17/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6304fd21-45ac-4c99-a647-7c8602e12998"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-01"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="75bcbe9a-bd08-4614-9a62-c595e6aec2ce"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2021-04-01"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/521c67e7-c719-4e99-8c53-e1c2faa58cb6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-01"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="521c67e7-c719-4e99-8c53-e1c2faa58cb6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b23069fe-1e8b-493a-9a93-7c2123424bbf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8642972f-67e2-4760-9a8c-82a7161ee86f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/output.json deleted file mode 100644 index 152852fb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/output.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "3b05f092-8219-4635-8a62-7e4e14170a18", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "5952a54e-638a-4665-9643-5a5438c7ae7f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/aecfdd9f-c130-4d0d-b8a6-b09b5d2db036" - }, - "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": "aecfdd9f-c130-4d0d-b8a6-b09b5d2db036", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1a64a87d-d9c6-4c0e-a665-a3ff4370c1a8", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "009487a1-f6a6-4358-b2e4-23d51b25c58e", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/output.xml deleted file mode 100644 index 917ceffe..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="3b05f092-8219-4635-8a62-7e4e14170a18"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.027.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-01"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5952a54e-638a-4665-9643-5a5438c7ae7f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="2"/> - </numerator> - <denominator> - <value value="2"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2021-06-15"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/aecfdd9f-c130-4d0d-b8a6-b09b5d2db036"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-01"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="aecfdd9f-c130-4d0d-b8a6-b09b5d2db036"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="23816"/> - </coding> - <text value="Simvastatin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1a64a87d-d9c6-4c0e-a665-a3ff4370c1a8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="009487a1-f6a6-4358-b2e4-23d51b25c58e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05_d9118e05/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05_d9118e05/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05_d9118e05/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05_d9118e05/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05_d9118e05/output.json new file mode 100644 index 00000000..29afa8dc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05_d9118e05/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "3b7b2f65-d174-4106-b31e-e02d62b615b3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f1fa12d2-c9b9-4dc3-a08b-14ddcc14527f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/8f1d1097-362c-467e-bee9-d552ec9c4587" + }, + "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": "8f1d1097-362c-467e-bee9-d552ec9c4587", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "59e2ec08-5f91-42f0-9123-322ff449274a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9f620ff4-f516-45a5-b32a-7881da155106", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d9118e05_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05_d9118e05/output.xml new file mode 100644 index 00000000..d6e94874 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1_d9118e05_d9118e05/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3b7b2f65-d174-4106-b31e-e02d62b615b3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-01"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f1fa12d2-c9b9-4dc3-a08b-14ddcc14527f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2021-06-15"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8f1d1097-362c-467e-bee9-d552ec9c4587"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-01"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8f1d1097-362c-467e-bee9-d552ec9c4587"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="59e2ec08-5f91-42f0-9123-322ff449274a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9f620ff4-f516-45a5-b32a-7881da155106"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.json index 21451926..6eff5244 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "4995089a-d749-483b-b3cd-34d858fa8d63", + "id": "8f451f98-e21b-473b-94de-af1b52178068", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "c429c59f-e7a2-4f09-b1f6-cabb994d8de8", + "id": "ad445204-376e-4bfa-b12f-314b4f82bdab", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -54,7 +54,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/5ae420aa-00d0-4dcc-82d9-b4dd297b8959" + "reference": "Medication/ed90f682-1c63-49bf-a184-66bc7e947c26" }, "subject": { "identifier": { @@ -75,7 +75,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5ae420aa-00d0-4dcc-82d9-b4dd297b8959", + "id": "ed90f682-1c63-49bf-a184-66bc7e947c26", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -142,7 +142,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "70e4f2a5-51ac-4741-b34d-9d9024fe26c7", + "id": "a2b093d8-16d3-47d8-83b2-6a9b4e4f3a38", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -209,7 +209,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "81b67fe7-cb6d-4626-ad3e-98b203f77ff5", + "id": "e574f7ff-9df5-4bd4-b3dc-78ae26b70dc0", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.xml index aeeeec65..4c13b190 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="4995089a-d749-483b-b3cd-34d858fa8d63"/> + <id value="8f451f98-e21b-473b-94de-af1b52178068"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c429c59f-e7a2-4f09-b1f6-cabb994d8de8"/> + <id value="ad445204-376e-4bfa-b12f-314b4f82bdab"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -53,7 +53,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/5ae420aa-00d0-4dcc-82d9-b4dd297b8959"/> + <reference value="Medication/ed90f682-1c63-49bf-a184-66bc7e947c26"/> </medicationReference> <subject> <identifier> @@ -76,7 +76,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5ae420aa-00d0-4dcc-82d9-b4dd297b8959"/> + <id value="ed90f682-1c63-49bf-a184-66bc7e947c26"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -140,7 +140,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="70e4f2a5-51ac-4741-b34d-9d9024fe26c7"/> + <id value="a2b093d8-16d3-47d8-83b2-6a9b4e4f3a38"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -209,7 +209,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="81b67fe7-cb6d-4626-ad3e-98b203f77ff5"/> + <id value="e574f7ff-9df5-4bd4-b3dc-78ae26b70dc0"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05_d9118e05/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05_d9118e05/input.xml new file mode 100644 index 00000000..38d5e897 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05_d9118e05/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="d9118e05-6e13-4df6-af50-552401cf9ba2"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/d3a554f4-cb2c-4fb5-b03a-f22e8b0f8f70"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d3a554f4-cb2c-4fb5-b03a-f22e8b0f8f70"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/d45717d2-9bca-435c-94aa-56932d81d2cc"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/d45717d2-9bca-435c-94aa-56932d81d2cc"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d45717d2-9bca-435c-94aa-56932d81d2cc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2021-06-15"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2021-04-01"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05_d9118e05/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05_d9118e05/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05_d9118e05/output.json new file mode 100644 index 00000000..e1cb523b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05_d9118e05/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "2ea4d021-8fc9-43c5-8642-33d61e982e96", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1a8a582d-6163-47d2-9f1b-93e2a5288989", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/708d8ff6-5992-41ae-8492-5475f0b6cec4" + }, + "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": "708d8ff6-5992-41ae-8492-5475f0b6cec4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6aa3a5b1-a981-4542-bfcf-ec0fd22548a5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2f5e4d73-0329-448d-a029-54b833b2115a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d9118e05_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05_d9118e05/output.xml new file mode 100644 index 00000000..07fe330b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_d9118e05_d9118e05/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2ea4d021-8fc9-43c5-8642-33d61e982e96"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-01"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1a8a582d-6163-47d2-9f1b-93e2a5288989"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2021-06-15"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/708d8ff6-5992-41ae-8492-5475f0b6cec4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-01"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="708d8ff6-5992-41ae-8492-5475f0b6cec4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6aa3a5b1-a981-4542-bfcf-ec0fd22548a5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2f5e4d73-0329-448d-a029-54b833b2115a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.json index 3894f23c..88c683fa 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "2d0018d4-6770-4bd9-a7ac-27951233fba7", + "id": "25531588-2f95-49aa-a08e-376fc2aa7e48", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "70b91e56-7a81-4cd0-bfe7-1c53e059ed0e", + "id": "a5b5cd17-5853-4688-b3f8-78558be83a68", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/f175c89d-e893-4eea-9aea-2b8f390e52fc" + "reference": "Medication/e91d3c2a-364b-4fd7-abe3-391f557cf100" }, "subject": { "identifier": { @@ -54,7 +54,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "f175c89d-e893-4eea-9aea-2b8f390e52fc", + "id": "e91d3c2a-364b-4fd7-abe3-391f557cf100", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -121,7 +121,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "0a81f1db-a4b8-4682-adcc-1ca48a65d0a9", + "id": "35a948cb-069c-4e46-a5d7-8d10fa7dbbe0", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -188,7 +188,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "0ac55ff5-90f0-41f7-84bc-00398010a5b4", + "id": "17968d20-df5c-4193-8831-ba7b19c0bbda", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.xml index fe9a9f0e..8169e08d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="2d0018d4-6770-4bd9-a7ac-27951233fba7"/> + <id value="25531588-2f95-49aa-a08e-376fc2aa7e48"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="70b91e56-7a81-4cd0-bfe7-1c53e059ed0e"/> + <id value="a5b5cd17-5853-4688-b3f8-78558be83a68"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/f175c89d-e893-4eea-9aea-2b8f390e52fc"/> + <reference value="Medication/e91d3c2a-364b-4fd7-abe3-391f557cf100"/> </medicationReference> <subject> <identifier> @@ -55,7 +55,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="f175c89d-e893-4eea-9aea-2b8f390e52fc"/> + <id value="e91d3c2a-364b-4fd7-abe3-391f557cf100"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -119,7 +119,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="0a81f1db-a4b8-4682-adcc-1ca48a65d0a9"/> + <id value="35a948cb-069c-4e46-a5d7-8d10fa7dbbe0"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -188,7 +188,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="0ac55ff5-90f0-41f7-84bc-00398010a5b4"/> + <id value="17968d20-df5c-4193-8831-ba7b19c0bbda"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd_726e6cdd/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd_726e6cdd/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd_726e6cdd/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd_726e6cdd/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd_726e6cdd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd_726e6cdd/output.json new file mode 100644 index 00000000..e22d2525 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd_726e6cdd/output.json @@ -0,0 +1,227 @@ +{ + "resourceType": "Parameters", + "id": "edf97653-4f1e-4010-9127-1a1499474bd0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a56f0c7e-0ccb-4d75-8edf-5347c1aac2d2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e68faf7d-f631-4761-85c6-5637fa3a0a9e" + }, + "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": "e68faf7d-f631-4761-85c6-5637fa3a0a9e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "11abfdd3-98f3-40d8-9768-16087fc57e36", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "aac95103-a0b3-4562-a01f-47842a04c682", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_726e6cdd_726e6cdd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd_726e6cdd/output.xml new file mode 100644 index 00000000..31e57aa4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_726e6cdd_726e6cdd/output.xml @@ -0,0 +1,229 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="edf97653-4f1e-4010-9127-1a1499474bd0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.033.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a56f0c7e-0ccb-4d75-8edf-5347c1aac2d2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e68faf7d-f631-4761-85c6-5637fa3a0a9e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e68faf7d-f631-4761-85c6-5637fa3a0a9e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22339"/> + </coding> + <text value="Somatropin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="12"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="11abfdd3-98f3-40d8-9768-16087fc57e36"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="aac95103-a0b3-4562-a01f-47842a04c682"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/output.json deleted file mode 100644 index 2964de7a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/output.json +++ /dev/null @@ -1,227 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "b694cfd5-e453-4448-8698-884a3689da2f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "90a3bc01-5170-497d-913c-3a632dbd7362", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/4ef435aa-aeb2-4ee6-a67a-609f721fe43d" - }, - "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": "4ef435aa-aeb2-4ee6-a67a-609f721fe43d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f18d970d-5448-4ff4-a823-4cb1173e7939", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "704662c8-b8be-4b11-853f-d63c971ab8ee", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_726e6cdd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/output.xml deleted file mode 100644 index 2d8ef304..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd/output.xml +++ /dev/null @@ -1,229 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b694cfd5-e453-4448-8698-884a3689da2f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.033.40"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="90a3bc01-5170-497d-913c-3a632dbd7362"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/4ef435aa-aeb2-4ee6-a67a-609f721fe43d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4ef435aa-aeb2-4ee6-a67a-609f721fe43d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22339"/> - </coding> - <text value="Somatropin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="12"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f18d970d-5448-4ff4-a823-4cb1173e7939"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="704662c8-b8be-4b11-853f-d63c971ab8ee"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd/input.xml new file mode 100644 index 00000000..ad6d5c3d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd/input.xml @@ -0,0 +1,370 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="726e6cdd-c93d-418c-aeeb-1cfe60228916"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.033.40"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/aa3065d8-255d-4812-8fb4-c6e29bf54085"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="aa3065d8-255d-4812-8fb4-c6e29bf54085"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/a05364ab-29b1-4553-90b8-9657e2f5f5ed"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/a05364ab-29b1-4553-90b8-9657e2f5f5ed"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a05364ab-29b1-4553-90b8-9657e2f5f5ed"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/dc811d43-aad4-4c8d-a58c-2e0258710142"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/dc811d43-aad4-4c8d-a58c-2e0258710142"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dc811d43-aad4-4c8d-a58c-2e0258710142"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22339"/> + </coding> + <text value="Somatropin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="12"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd/output.json new file mode 100644 index 00000000..247db5ee --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd/output.json @@ -0,0 +1,227 @@ +{ + "resourceType": "Parameters", + "id": "a28777ad-f518-4b73-908b-4d9a59d2742e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "63a84442-dc8d-4e57-af7c-6571fc487caf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/57765dee-66fb-4a64-959e-be1404b999f3" + }, + "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": "57765dee-66fb-4a64-959e-be1404b999f3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "647d467d-d455-43e7-be12-82023492947d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "29369c99-9df3-4e3d-81ff-0be6b2235944", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_726e6cdd_726e6cdd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd/output.xml new file mode 100644 index 00000000..2573b45a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57_726e6cdd_726e6cdd/output.xml @@ -0,0 +1,229 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a28777ad-f518-4b73-908b-4d9a59d2742e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.033.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="63a84442-dc8d-4e57-af7c-6571fc487caf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/57765dee-66fb-4a64-959e-be1404b999f3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="57765dee-66fb-4a64-959e-be1404b999f3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22339"/> + </coding> + <text value="Somatropin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="12"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="647d467d-d455-43e7-be12-82023492947d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="29369c99-9df3-4e3d-81ff-0be6b2235944"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.json index 6be0a1d4..4d4781b2 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "586b8ee1-1e1d-4d21-b379-86e333d9f205", + "id": "d5b1ee29-0e65-4336-bb84-8f5224e13dac", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "420652f2-7b34-4461-88bf-a9117821f787", + "id": "6d9eee5f-1c65-4e01-a3cb-4fbbfd3f5963", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/d9dcf468-52e2-4374-a00f-632477ad401e" + "reference": "Medication/00d6b3c1-5d50-4e0e-9e37-3de94a11c245" }, "subject": { "identifier": { @@ -54,7 +54,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "d9dcf468-52e2-4374-a00f-632477ad401e", + "id": "00d6b3c1-5d50-4e0e-9e37-3de94a11c245", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -121,7 +121,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d5e3f147-44df-4f5c-95c2-4187517430c9", + "id": "2f0b4644-851f-471b-8c13-bfde2971332c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -188,7 +188,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "b693a47a-148a-49d2-ac8b-4ce3d628762c", + "id": "55e2cca0-3637-4ac7-9f65-92bd7b4913a3", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.xml index 13380b4b..dd20907d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="586b8ee1-1e1d-4d21-b379-86e333d9f205"/> + <id value="d5b1ee29-0e65-4336-bb84-8f5224e13dac"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="420652f2-7b34-4461-88bf-a9117821f787"/> + <id value="6d9eee5f-1c65-4e01-a3cb-4fbbfd3f5963"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/d9dcf468-52e2-4374-a00f-632477ad401e"/> + <reference value="Medication/00d6b3c1-5d50-4e0e-9e37-3de94a11c245"/> </medicationReference> <subject> <identifier> @@ -55,7 +55,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="d9dcf468-52e2-4374-a00f-632477ad401e"/> + <id value="00d6b3c1-5d50-4e0e-9e37-3de94a11c245"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -119,7 +119,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d5e3f147-44df-4f5c-95c2-4187517430c9"/> + <id value="2f0b4644-851f-471b-8c13-bfde2971332c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -188,7 +188,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b693a47a-148a-49d2-ac8b-4ce3d628762c"/> + <id value="55e2cca0-3637-4ac7-9f65-92bd7b4913a3"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b_9356774b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b_9356774b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b_9356774b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b_9356774b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b_9356774b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b_9356774b/output.json new file mode 100644 index 00000000..13a9c44e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b_9356774b/output.json @@ -0,0 +1,227 @@ +{ + "resourceType": "Parameters", + "id": "20e6645a-1665-4373-ad4f-b06fb2ade815", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "aa259c14-5a43-4597-94d2-959a14cc7f30", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2f25ca88-41b6-4a4a-b520-7ba228d28e0b" + }, + "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": "2f25ca88-41b6-4a4a-b520-7ba228d28e0b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "88caeee5-9e7e-40cb-a97e-5399cb355643", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "62b3c865-eb21-4e17-be12-7545106c1fd8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9356774b_9356774b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b_9356774b/output.xml new file mode 100644 index 00000000..3ec787a2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_9356774b_9356774b/output.xml @@ -0,0 +1,229 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="20e6645a-1665-4373-ad4f-b06fb2ade815"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.058.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="aa259c14-5a43-4597-94d2-959a14cc7f30"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2f25ca88-41b6-4a4a-b520-7ba228d28e0b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2f25ca88-41b6-4a4a-b520-7ba228d28e0b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Filmtabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="30150"/> + </coding> + <text value="Vardenafil"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="10"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="88caeee5-9e7e-40cb-a97e-5399cb355643"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="62b3c865-eb21-4e17-be12-7545106c1fd8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/output.json deleted file mode 100644 index a7b5fac8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/output.json +++ /dev/null @@ -1,227 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "c78afc7a-281b-461d-b17f-0d0318e96e73", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "edd528e6-012a-4d66-995c-27c20ac75d5c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/db9db620-c07f-4353-8e6a-d4c360ad5e8d" - }, - "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": "db9db620-c07f-4353-8e6a-d4c360ad5e8d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bd633c95-b3e9-43cc-bfed-c5443889556d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "39e68802-befe-46c3-b42a-d1ed2b2b55e4", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9356774b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/output.xml deleted file mode 100644 index 553e1578..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b/output.xml +++ /dev/null @@ -1,229 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c78afc7a-281b-461d-b17f-0d0318e96e73"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.058.62"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="edd528e6-012a-4d66-995c-27c20ac75d5c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/db9db620-c07f-4353-8e6a-d4c360ad5e8d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="db9db620-c07f-4353-8e6a-d4c360ad5e8d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <form> - <text value="Filmtabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="30150"/> - </coding> - <text value="Vardenafil"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="10"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bd633c95-b3e9-43cc-bfed-c5443889556d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="39e68802-befe-46c3-b42a-d1ed2b2b55e4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b/input.xml new file mode 100644 index 00000000..b710436f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b/input.xml @@ -0,0 +1,370 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9356774b-81cb-482b-b000-819685088248"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.058.62"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/af7de0b9-e866-4999-8d76-955bcf0ef6d6"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="af7de0b9-e866-4999-8d76-955bcf0ef6d6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/d916cbae-da4b-11eb-8d19-0242ac130003"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/d916cbae-da4b-11eb-8d19-0242ac130003"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d916cbae-da4b-11eb-8d19-0242ac130003"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/94e3dff6-da48-11eb-8d19-0242ac130003"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/94e3dff6-da48-11eb-8d19-0242ac130003"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="94e3dff6-da48-11eb-8d19-0242ac130003"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Filmtabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="30150"/> + </coding> + <text value="Vardenafil"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="10"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="SEL"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b/output.json new file mode 100644 index 00000000..58f150fc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b/output.json @@ -0,0 +1,227 @@ +{ + "resourceType": "Parameters", + "id": "026c9d69-58fb-4b87-9be1-de9ffc462553", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ce390f1d-6c2b-4151-a32d-35793eafdc34", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/eb8fe036-bd3b-4b52-bc14-3885ee3e9178" + }, + "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": "eb8fe036-bd3b-4b52-bc14-3885ee3e9178", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a509b28c-baf5-44b4-8e5f-b10bfeed3330", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "bee2fadf-d166-4e72-8484-5051784464f7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9356774b_9356774b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b/output.xml new file mode 100644 index 00000000..9dbe624d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a_9356774b_9356774b/output.xml @@ -0,0 +1,229 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="026c9d69-58fb-4b87-9be1-de9ffc462553"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.058.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ce390f1d-6c2b-4151-a32d-35793eafdc34"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/eb8fe036-bd3b-4b52-bc14-3885ee3e9178"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="eb8fe036-bd3b-4b52-bc14-3885ee3e9178"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Filmtabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="30150"/> + </coding> + <text value="Vardenafil"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="10"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a509b28c-baf5-44b4-8e5f-b10bfeed3330"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bee2fadf-d166-4e72-8484-5051784464f7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.json index 5c88980d..bfdf9b7a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ebf6de1c-770c-409f-ac23-8fe8f6e62e3f", + "id": "bbc4fab9-1a56-45f0-a06f-0c749ba497b9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "2fcf55c4-aab3-40c3-b183-1fc81a1947f8", + "id": "7a42c737-0333-4ea7-a504-bf7896eed611", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/f34b64d6-dbbd-4894-b08d-6acf610f46f7" + "reference": "Medication/96e4ff08-e33b-4606-8036-3ee44a178ce1" }, "subject": { "identifier": { @@ -54,7 +54,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "f34b64d6-dbbd-4894-b08d-6acf610f46f7", + "id": "96e4ff08-e33b-4606-8036-3ee44a178ce1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -133,7 +133,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "5334c50e-7bcd-47ec-8c75-ebb02af6e543", + "id": "7e5620d3-4596-4c15-b354-dda904776470", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -200,7 +200,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "164236a9-adf5-43f2-8bdb-693681003179", + "id": "05c9560f-bd56-4508-b5e9-3669a2022f6f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.xml index 2c0be574..7b024cd7 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="ebf6de1c-770c-409f-ac23-8fe8f6e62e3f"/> + <id value="bbc4fab9-1a56-45f0-a06f-0c749ba497b9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2fcf55c4-aab3-40c3-b183-1fc81a1947f8"/> + <id value="7a42c737-0333-4ea7-a504-bf7896eed611"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/f34b64d6-dbbd-4894-b08d-6acf610f46f7"/> + <reference value="Medication/96e4ff08-e33b-4606-8036-3ee44a178ce1"/> </medicationReference> <subject> <identifier> @@ -55,7 +55,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="f34b64d6-dbbd-4894-b08d-6acf610f46f7"/> + <id value="96e4ff08-e33b-4606-8036-3ee44a178ce1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -130,7 +130,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="5334c50e-7bcd-47ec-8c75-ebb02af6e543"/> + <id value="7e5620d3-4596-4c15-b354-dda904776470"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -199,7 +199,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="164236a9-adf5-43f2-8bdb-693681003179"/> + <id value="05c9560f-bd56-4508-b5e9-3669a2022f6f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d_218b581d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d_218b581d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d_218b581d/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d_218b581d/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d_218b581d/output.json new file mode 100644 index 00000000..b046aa01 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d_218b581d/output.json @@ -0,0 +1,239 @@ +{ + "resourceType": "Parameters", + "id": "3527bb4a-b58c-462c-ba26-8f1e566b1282", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ace34f94-a4d8-4b37-991b-5fbc28592c65", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/702f0609-f4fd-4407-951c-24c88dbe4216" + }, + "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": "702f0609-f4fd-4407-951c-24c88dbe4216", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "493d575a-cfe6-48bf-99af-8c173e2af6d2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f0f4ca30-a5c3-4e1c-9599-20e13a7ff338", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d_218b581d/output.xml new file mode 100644 index 00000000..c91cc211 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_218b581d_218b581d/output.xml @@ -0,0 +1,240 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3527bb4a-b58c-462c-ba26-8f1e566b1282"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ace34f94-a4d8-4b37-991b-5fbc28592c65"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/702f0609-f4fd-4407-951c-24c88dbe4216"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="702f0609-f4fd-4407-951c-24c88dbe4216"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="493d575a-cfe6-48bf-99af-8c173e2af6d2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f0f4ca30-a5c3-4e1c-9599-20e13a7ff338"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/output.json deleted file mode 100644 index 586a95d0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/output.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "21e1c356-926e-42be-8e64-d26340d174ee", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "7d756251-fab8-48ba-9d41-7834eeabaee3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/5919e67d-20e6-4ee9-b51f-f27eea9e93cf" - }, - "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": "5919e67d-20e6-4ee9-b51f-f27eea9e93cf", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2cabbf81-92c6-461b-ac12-fd013157a77b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "6d99e84c-11d8-456f-9b95-d8f23cddcefa", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/output.xml deleted file mode 100644 index a28f8aa9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/output.xml +++ /dev/null @@ -1,240 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="21e1c356-926e-42be-8e64-d26340d174ee"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7d756251-fab8-48ba-9d41-7834eeabaee3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/5919e67d-20e6-4ee9-b51f-f27eea9e93cf"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5919e67d-20e6-4ee9-b51f-f27eea9e93cf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22308"/> - </coding> - <text value="Gabapentin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="300"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2cabbf81-92c6-461b-ac12-fd013157a77b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6d99e84c-11d8-456f-9b95-d8f23cddcefa"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d_218b581d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d_218b581d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d_218b581d/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d_218b581d/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d_218b581d/output.json new file mode 100644 index 00000000..b08e34d5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d_218b581d/output.json @@ -0,0 +1,239 @@ +{ + "resourceType": "Parameters", + "id": "af2a548b-1818-4154-9942-e7ef9a29855f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "61c09202-f648-49f2-b597-5d0155a4be99", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/11b0ac77-199d-4e78-a1db-740e3ceb1449" + }, + "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": "11b0ac77-199d-4e78-a1db-740e3ceb1449", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "14e069ef-a413-485e-85eb-28697ce12fb7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "63fbcdb4-5118-44b7-a734-56562f982e7f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d_218b581d/output.xml new file mode 100644 index 00000000..26cefdfb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7_218b581d_218b581d/output.xml @@ -0,0 +1,240 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="af2a548b-1818-4154-9942-e7ef9a29855f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="61c09202-f648-49f2-b597-5d0155a4be99"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/11b0ac77-199d-4e78-a1db-740e3ceb1449"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="11b0ac77-199d-4e78-a1db-740e3ceb1449"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="14e069ef-a413-485e-85eb-28697ce12fb7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="63fbcdb4-5118-44b7-a734-56562f982e7f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/output.json deleted file mode 100644 index 75d7369d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/output.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "3765a2a2-bd59-4a35-b84a-ff12b2eef3f0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "2c24e915-9f2a-4eb5-afa6-83ad020fa4ec", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/78dd151b-8e56-47b8-8ece-d23061aa8f58" - }, - "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": "78dd151b-8e56-47b8-8ece-d23061aa8f58", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ed32661e-8b8c-41fe-b768-0e0823cdbfb0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "a7d7d348-ff08-4b09-919d-9bbe634b6064", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/output.xml deleted file mode 100644 index d55b8133..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d/output.xml +++ /dev/null @@ -1,240 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="3765a2a2-bd59-4a35-b84a-ff12b2eef3f0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2c24e915-9f2a-4eb5-afa6-83ad020fa4ec"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/78dd151b-8e56-47b8-8ece-d23061aa8f58"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="78dd151b-8e56-47b8-8ece-d23061aa8f58"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22308"/> - </coding> - <text value="Gabapentin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="300"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ed32661e-8b8c-41fe-b768-0e0823cdbfb0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a7d7d348-ff08-4b09-919d-9bbe634b6064"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d_218b581d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d_218b581d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d_218b581d/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d_218b581d/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d_218b581d/output.json new file mode 100644 index 00000000..6202e631 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d_218b581d/output.json @@ -0,0 +1,239 @@ +{ + "resourceType": "Parameters", + "id": "c58b0607-3ba9-4cd5-9c32-5d55e3f815f8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e588f122-52ca-4af7-8215-8d7da38238c9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/61ecbcc3-4848-404d-8a6d-9073a7ddcfa7" + }, + "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": "61ecbcc3-4848-404d-8a6d-9073a7ddcfa7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ee099fad-0461-4e16-958d-9831626a12f9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7d925c87-797f-44fc-9c62-506de1913ad6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d_218b581d/output.xml new file mode 100644 index 00000000..81fd239d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73_218b581d_218b581d/output.xml @@ -0,0 +1,240 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c58b0607-3ba9-4cd5-9c32-5d55e3f815f8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e588f122-52ca-4af7-8215-8d7da38238c9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/61ecbcc3-4848-404d-8a6d-9073a7ddcfa7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="61ecbcc3-4848-404d-8a6d-9073a7ddcfa7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ee099fad-0461-4e16-958d-9831626a12f9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7d925c87-797f-44fc-9c62-506de1913ad6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/output.json deleted file mode 100644 index cc797290..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/output.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "45db719d-e1d6-4473-b448-86f344e5cfe6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "bbf019b9-2166-41bc-97d3-55b52278dc03", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/821f0405-f057-4683-a6f1-f0bf200eb83a" - }, - "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": "821f0405-f057-4683-a6f1-f0bf200eb83a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d0a58aa5-1f44-4f58-8686-1980899e6dc7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "6d37dd6e-6e75-433a-a400-35f738eca4c2", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/output.xml deleted file mode 100644 index c8551b40..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/output.xml +++ /dev/null @@ -1,240 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="45db719d-e1d6-4473-b448-86f344e5cfe6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="bbf019b9-2166-41bc-97d3-55b52278dc03"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/821f0405-f057-4683-a6f1-f0bf200eb83a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="821f0405-f057-4683-a6f1-f0bf200eb83a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22308"/> - </coding> - <text value="Gabapentin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="300"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d0a58aa5-1f44-4f58-8686-1980899e6dc7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6d37dd6e-6e75-433a-a400-35f738eca4c2"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d_218b581d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d_218b581d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d_218b581d/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d_218b581d/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d_218b581d/output.json new file mode 100644 index 00000000..b3160eb5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d_218b581d/output.json @@ -0,0 +1,239 @@ +{ + "resourceType": "Parameters", + "id": "e06cac6f-ab99-425f-b8ab-f829ea52933d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "02d5d71e-327b-45e0-8c89-df136c9fb0a7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8c9fbf3f-1914-4393-8702-18aaf07ad1f2" + }, + "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": "8c9fbf3f-1914-4393-8702-18aaf07ad1f2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ac591100-8927-42e8-acd0-0ca0f057a33f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ad58c0b6-17fc-4a91-a498-47a162ed1b65", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d_218b581d/output.xml new file mode 100644 index 00000000..335d9ec9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38_218b581d_218b581d/output.xml @@ -0,0 +1,240 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e06cac6f-ab99-425f-b8ab-f829ea52933d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="02d5d71e-327b-45e0-8c89-df136c9fb0a7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8c9fbf3f-1914-4393-8702-18aaf07ad1f2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8c9fbf3f-1914-4393-8702-18aaf07ad1f2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ac591100-8927-42e8-acd0-0ca0f057a33f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ad58c0b6-17fc-4a91-a498-47a162ed1b65"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.json index aa5dd637..8fd1dda5 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "3a4fe12d-adf4-438d-b7bb-fbde6d96a7cd", + "id": "13d963cd-560e-4520-b64e-2e31cca2d6a7", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "a1cacdda-2b90-4d75-a198-03334539c099", + "id": "5ea35fcf-630a-4696-ae4f-ae4398c41734", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/8e88cd06-79f2-42ff-9452-7c666fbd4e38" + "reference": "Medication/eb7607fd-058c-4ff1-bd9b-cb77b20c1897" }, "subject": { "identifier": { @@ -54,7 +54,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "8e88cd06-79f2-42ff-9452-7c666fbd4e38", + "id": "eb7607fd-058c-4ff1-bd9b-cb77b20c1897", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -133,7 +133,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "9004face-1de8-4c9d-a8d9-6e7e55dfd0b0", + "id": "f8be3509-8113-4351-b175-8cdc211410bb", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -200,7 +200,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "f770c315-da83-4f5b-8890-07fb15dd3283", + "id": "5ef068ab-0fd5-44a1-ab0b-62668d10b5de", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.xml index 8b801ae6..bfde1505 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="3a4fe12d-adf4-438d-b7bb-fbde6d96a7cd"/> + <id value="13d963cd-560e-4520-b64e-2e31cca2d6a7"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a1cacdda-2b90-4d75-a198-03334539c099"/> + <id value="5ea35fcf-630a-4696-ae4f-ae4398c41734"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/8e88cd06-79f2-42ff-9452-7c666fbd4e38"/> + <reference value="Medication/eb7607fd-058c-4ff1-bd9b-cb77b20c1897"/> </medicationReference> <subject> <identifier> @@ -55,7 +55,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="8e88cd06-79f2-42ff-9452-7c666fbd4e38"/> + <id value="eb7607fd-058c-4ff1-bd9b-cb77b20c1897"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -130,7 +130,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="9004face-1de8-4c9d-a8d9-6e7e55dfd0b0"/> + <id value="f8be3509-8113-4351-b175-8cdc211410bb"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -199,7 +199,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f770c315-da83-4f5b-8890-07fb15dd3283"/> + <id value="5ef068ab-0fd5-44a1-ab0b-62668d10b5de"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d/input.xml new file mode 100644 index 00000000..4cd54e24 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d/input.xml @@ -0,0 +1,414 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="218b581d-ccbe-480e-b8d7-f5f9b925e8c4"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/5c43d99a-64ba-436d-9b8c-6ee5156d7607"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5c43d99a-64ba-436d-9b8c-6ee5156d7607"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="4"/> + </valueCoding> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/e091f324-689b-4f3c-875d-050b525b09c5"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/e091f324-689b-4f3c-875d-050b525b09c5"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e091f324-689b-4f3c-875d-050b525b09c5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"/> + </extension> + </family> + <given value="Friëdrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="BG"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Alternative_IK"> + <valueIdentifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="121191241"/> + </valueIdentifier> + </extension> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="Verwaltungs-BG"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d/output.json new file mode 100644 index 00000000..19e5a0fb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d/output.json @@ -0,0 +1,239 @@ +{ + "resourceType": "Parameters", + "id": "4ffcd6a0-d340-44bf-b3d2-c187f3063331", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "af5b0db0-4e07-4030-b7b7-bbe9f1a70dba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0a83b7c2-a2bc-4531-b72e-ae783d6f4a0d" + }, + "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": "0a83b7c2-a2bc-4531-b72e-ae783d6f4a0d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7c545448-9370-48c1-8e8e-b41d2234cfdb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "90858e97-9eef-482a-a21d-1dd0bde2e890", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d/output.xml new file mode 100644 index 00000000..ff57bda7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_218b581d_218b581d/output.xml @@ -0,0 +1,240 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4ffcd6a0-d340-44bf-b3d2-c187f3063331"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="af5b0db0-4e07-4030-b7b7-bbe9f1a70dba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0a83b7c2-a2bc-4531-b72e-ae783d6f4a0d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0a83b7c2-a2bc-4531-b72e-ae783d6f4a0d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7c545448-9370-48c1-8e8e-b41d2234cfdb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="90858e97-9eef-482a-a21d-1dd0bde2e890"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/output.json deleted file mode 100644 index 83d79c0e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/output.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "024ea201-89de-4666-9434-1d46616ba7c0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "84c96587-1c09-47dd-8ce6-fd546a091181", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/87c6ad34-623c-4c02-9c96-e8095a95ab83" - }, - "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": "87c6ad34-623c-4c02-9c96-e8095a95ab83", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5c930ca0-32e0-43b2-9755-725366731f90", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "e7279002-a59e-4ee5-9550-e8bbbcd0ef5b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/output.xml deleted file mode 100644 index 176aa139..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d/output.xml +++ /dev/null @@ -1,240 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="024ea201-89de-4666-9434-1d46616ba7c0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.020.79"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="84c96587-1c09-47dd-8ce6-fd546a091181"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/87c6ad34-623c-4c02-9c96-e8095a95ab83"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="87c6ad34-623c-4c02-9c96-e8095a95ab83"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22308"/> - </coding> - <text value="Gabapentin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="300"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5c930ca0-32e0-43b2-9755-725366731f90"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e7279002-a59e-4ee5-9550-e8bbbcd0ef5b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d/input.xml new file mode 100644 index 00000000..4cd54e24 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d/input.xml @@ -0,0 +1,414 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="218b581d-ccbe-480e-b8d7-f5f9b925e8c4"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/5c43d99a-64ba-436d-9b8c-6ee5156d7607"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5c43d99a-64ba-436d-9b8c-6ee5156d7607"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53344ec1-64ec-400a-b741-8ab1a4f1f07d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="4"/> + </valueCoding> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/e091f324-689b-4f3c-875d-050b525b09c5"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/e091f324-689b-4f3c-875d-050b525b09c5"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e091f324-689b-4f3c-875d-050b525b09c5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"/> + </extension> + </family> + <given value="Friëdrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="0099318c-c7a5-4bf9-a164-3365fb149a3f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="BG"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Alternative_IK"> + <valueIdentifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="121191241"/> + </valueIdentifier> + </extension> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="Verwaltungs-BG"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d/output.json new file mode 100644 index 00000000..9586d660 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d/output.json @@ -0,0 +1,239 @@ +{ + "resourceType": "Parameters", + "id": "c0b286d5-4e02-4a02-bf16-9ec7be7526df", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ff173794-77ad-49e7-b626-cf06cd6d1ce8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6baf13aa-84b4-49e2-8f6c-7f47c49668ed" + }, + "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": "6baf13aa-84b4-49e2-8f6c-7f47c49668ed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c7f5d232-b03b-4bea-a996-5abc387e17a8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f80cbbf5-5b87-4a4d-87b6-6eaa84173b8c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_218b581d_218b581d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d/output.xml new file mode 100644 index 00000000..895400d2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b_218b581d_218b581d/output.xml @@ -0,0 +1,240 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c0b286d5-4e02-4a02-bf16-9ec7be7526df"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.020.79"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ff173794-77ad-49e7-b626-cf06cd6d1ce8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6baf13aa-84b4-49e2-8f6c-7f47c49668ed"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6baf13aa-84b4-49e2-8f6c-7f47c49668ed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22308"/> + </coding> + <text value="Gabapentin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="300"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c7f5d232-b03b-4bea-a996-5abc387e17a8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f80cbbf5-5b87-4a4d-87b6-6eaa84173b8c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/output.json deleted file mode 100644 index 26e7b166..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/output.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "5188fbbe-f607-47ae-82b6-2e4380a05859", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "0532489a-4b18-4094-9d41-61086715de69", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/7ff7a9d1-ad13-473d-858c-0fa4df3146c5" - }, - "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": "7ff7a9d1-ad13-473d-858c-0fa4df3146c5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "849a3449-75ce-42f7-b607-913c590cb3aa", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "165245ff-8154-46af-9580-c923ea76dd0d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/output.xml deleted file mode 100644 index 4406d7d4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5188fbbe-f607-47ae-82b6-2e4380a05859"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.022.73"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0532489a-4b18-4094-9d41-61086715de69"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="2"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2023-07-27"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/7ff7a9d1-ad13-473d-858c-0fa4df3146c5"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7ff7a9d1-ad13-473d-858c-0fa4df3146c5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="23816"/> - </coding> - <text value="Simvastatin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="849a3449-75ce-42f7-b607-913c590cb3aa"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="165245ff-8154-46af-9580-c923ea76dd0d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17_cd6d3a17/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17_cd6d3a17/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17_cd6d3a17/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17_cd6d3a17/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17_cd6d3a17/output.json new file mode 100644 index 00000000..d26dfc35 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17_cd6d3a17/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "771fa3c3-c5d3-4e8a-b98e-02288a861913", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e3d2e2d2-4cb7-4bc6-a7f3-efd21276b824", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/26f87530-1178-48f2-984c-cd2f98457ec2" + }, + "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": "26f87530-1178-48f2-984c-cd2f98457ec2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "67dea0b6-dc77-40c2-869f-fa5bacd0b1c0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0ac5a0dd-895d-4805-91a6-140a6b468fd4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cd6d3a17_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17_cd6d3a17/output.xml new file mode 100644 index 00000000..41b90f8e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004_cd6d3a17_cd6d3a17/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="771fa3c3-c5d3-4e8a-b98e-02288a861913"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e3d2e2d2-4cb7-4bc6-a7f3-efd21276b824"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2023-07-27"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/26f87530-1178-48f2-984c-cd2f98457ec2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="26f87530-1178-48f2-984c-cd2f98457ec2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="67dea0b6-dc77-40c2-869f-fa5bacd0b1c0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0ac5a0dd-895d-4805-91a6-140a6b468fd4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/output.json deleted file mode 100644 index 8a92f42f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/output.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "24fa2c64-7e70-4bf1-89b1-6c5bc8ad7b73", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "e7cd3df3-c3ff-4c8f-9430-9aa4acf2ef03", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/fc06b830-5efe-4580-af3b-4e83f46e6510" - }, - "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": "fc06b830-5efe-4580-af3b-4e83f46e6510", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "81330e42-2d3f-470c-9f6c-9ca3f8d26396", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "629576ad-44fe-4b26-90d5-9cde48b9965c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/output.xml deleted file mode 100644 index 678b689f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="24fa2c64-7e70-4bf1-89b1-6c5bc8ad7b73"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.022.73"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e7cd3df3-c3ff-4c8f-9430-9aa4acf2ef03"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="2"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-11-27"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/fc06b830-5efe-4580-af3b-4e83f46e6510"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fc06b830-5efe-4580-af3b-4e83f46e6510"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="23816"/> - </coding> - <text value="Simvastatin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="81330e42-2d3f-470c-9f6c-9ca3f8d26396"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="629576ad-44fe-4b26-90d5-9cde48b9965c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17_cd6d3a17/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17_cd6d3a17/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17_cd6d3a17/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17_cd6d3a17/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17_cd6d3a17/output.json new file mode 100644 index 00000000..4c52092e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17_cd6d3a17/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "4ad1654d-749b-4a61-870c-6d9c8b6b1b58", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b0b70c23-825d-4772-80a6-800a85fabaec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/86458ee2-cd4c-4571-bb20-7cbc249909d8" + }, + "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": "86458ee2-cd4c-4571-bb20-7cbc249909d8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a44f78fc-57ec-4c82-92bb-e704ecd305f0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7e5510be-42bf-48e8-800a-97fd5509bcb0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cd6d3a17_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17_cd6d3a17/output.xml new file mode 100644 index 00000000..4a666f12 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce_cd6d3a17_cd6d3a17/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4ad1654d-749b-4a61-870c-6d9c8b6b1b58"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b0b70c23-825d-4772-80a6-800a85fabaec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-27"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/86458ee2-cd4c-4571-bb20-7cbc249909d8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86458ee2-cd4c-4571-bb20-7cbc249909d8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a44f78fc-57ec-4c82-92bb-e704ecd305f0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7e5510be-42bf-48e8-800a-97fd5509bcb0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.json index 89e06ad1..e36e114d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "d9a50d0d-b40d-4917-bfa0-dc8429a461ec", + "id": "6b83601c-555b-4a89-a360-018a0ba7c6f8", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "a4b61103-cf1d-41db-b9d9-9897eac90183", + "id": "3fcd5370-159c-49db-a918-241b63494be4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -54,7 +54,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/505ebcb8-c464-42d4-af15-c1d73932cc49" + "reference": "Medication/363bc5b8-ca91-403d-83cd-29e55438611c" }, "subject": { "identifier": { @@ -75,7 +75,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "505ebcb8-c464-42d4-af15-c1d73932cc49", + "id": "363bc5b8-ca91-403d-83cd-29e55438611c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -142,7 +142,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "437a1696-2876-4b1f-aa95-68a5437212d0", + "id": "c1849ac0-163e-472e-87fb-c464ac60b156", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -209,7 +209,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "2a696378-342c-41b6-9fd5-2b213823f5d2", + "id": "e68cb838-b47f-4ec4-88d3-247ffe57b234", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.xml index a838173c..818e08ac 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="d9a50d0d-b40d-4917-bfa0-dc8429a461ec"/> + <id value="6b83601c-555b-4a89-a360-018a0ba7c6f8"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a4b61103-cf1d-41db-b9d9-9897eac90183"/> + <id value="3fcd5370-159c-49db-a918-241b63494be4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -53,7 +53,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/505ebcb8-c464-42d4-af15-c1d73932cc49"/> + <reference value="Medication/363bc5b8-ca91-403d-83cd-29e55438611c"/> </medicationReference> <subject> <identifier> @@ -76,7 +76,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="505ebcb8-c464-42d4-af15-c1d73932cc49"/> + <id value="363bc5b8-ca91-403d-83cd-29e55438611c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -140,7 +140,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="437a1696-2876-4b1f-aa95-68a5437212d0"/> + <id value="c1849ac0-163e-472e-87fb-c464ac60b156"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -209,7 +209,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2a696378-342c-41b6-9fd5-2b213823f5d2"/> + <id value="e68cb838-b47f-4ec4-88d3-247ffe57b234"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17/input.xml new file mode 100644 index 00000000..17503370 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="cd6d3a17-8105-4f1e-86ff-48cd5cebf245"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/dc55a629-9d26-467e-83be-55a5a21d6016"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="dc55a629-9d26-467e-83be-55a5a21d6016"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/f63578ab-c3d5-4364-ac13-e20873cb716c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/f63578ab-c3d5-4364-ac13-e20873cb716c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f63578ab-c3d5-4364-ac13-e20873cb716c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-11-27"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost - Die Gesundheitskasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17/output.json new file mode 100644 index 00000000..3d8de79d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "6e919da6-60c2-4603-b56a-edbc68bd051d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "bd282436-9c6d-455b-af13-10d6844f1cc0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/71f0e963-a13f-469a-9d84-c48a5238d9f9" + }, + "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": "71f0e963-a13f-469a-9d84-c48a5238d9f9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3dd462bd-20f8-47a4-a0ff-760f43e6879d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "79bdfc7a-da62-496c-9e85-2d1fdb384694", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cd6d3a17_cd6d3a17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17/output.xml new file mode 100644 index 00000000..58e1a7eb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_cd6d3a17_cd6d3a17/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6e919da6-60c2-4603-b56a-edbc68bd051d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.022.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="bd282436-9c6d-455b-af13-10d6844f1cc0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-27"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/71f0e963-a13f-469a-9d84-c48a5238d9f9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="71f0e963-a13f-469a-9d84-c48a5238d9f9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3dd462bd-20f8-47a4-a0ff-760f43e6879d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="79bdfc7a-da62-496c-9e85-2d1fdb384694"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/output.json deleted file mode 100644 index 81dc1912..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/output.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "24a8bbf9-e394-49c3-b3a3-64d62fb8344a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "7e409c74-fbcc-4132-bbbf-d0dd7d665348", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/7cdf5eb5-8bc1-452b-ad9e-c714a6bb2136" - }, - "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": "7cdf5eb5-8bc1-452b-ad9e-c714a6bb2136", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "41830458-94b3-4b49-b09c-94c740c004de", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "439d1509-5973-4f4a-857f-a8ac684c9754", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/output.xml deleted file mode 100644 index 24da4ad5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="24a8bbf9-e394-49c3-b3a3-64d62fb8344a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.027.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7e409c74-fbcc-4132-bbbf-d0dd7d665348"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="2"/> - </numerator> - <denominator> - <value value="2"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2023-09-15"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/7cdf5eb5-8bc1-452b-ad9e-c714a6bb2136"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7cdf5eb5-8bc1-452b-ad9e-c714a6bb2136"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="23816"/> - </coding> - <text value="Simvastatin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="41830458-94b3-4b49-b09c-94c740c004de"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="439d1509-5973-4f4a-857f-a8ac684c9754"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05_d9118e05/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05_d9118e05/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05_d9118e05/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05_d9118e05/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05_d9118e05/output.json new file mode 100644 index 00000000..f3110312 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05_d9118e05/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "647025ff-a95e-4320-9333-0b4ee657055f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c65a8e13-70cb-4ca0-bbbf-161cf28210ba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/c86cd364-60d0-4c4c-995a-527ae725a64a" + }, + "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": "c86cd364-60d0-4c4c-995a-527ae725a64a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d25e2afb-14c0-44a3-8559-9db030f07296", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "582a679e-cc7b-4be5-a5c7-e8ea335c89cb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d9118e05_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05_d9118e05/output.xml new file mode 100644 index 00000000..4098039e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760_d9118e05_d9118e05/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="647025ff-a95e-4320-9333-0b4ee657055f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c65a8e13-70cb-4ca0-bbbf-161cf28210ba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2023-09-15"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c86cd364-60d0-4c4c-995a-527ae725a64a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c86cd364-60d0-4c4c-995a-527ae725a64a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d25e2afb-14c0-44a3-8559-9db030f07296"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="582a679e-cc7b-4be5-a5c7-e8ea335c89cb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/output.json deleted file mode 100644 index 3cba3cd6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/output.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "782e6550-a41d-41e0-a3af-67f585277e1f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "b1d9a145-cfe2-437f-a7de-304be807eb9b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/3fbc59ef-e458-476d-a1d1-87d914cbef72" - }, - "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": "3fbc59ef-e458-476d-a1d1-87d914cbef72", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bf5919d0-30fa-4ac5-a063-219bc688a282", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "a33458b9-6a84-45c3-ba52-fcf77b07d631", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/output.xml deleted file mode 100644 index 10330f56..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="782e6550-a41d-41e0-a3af-67f585277e1f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.027.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b1d9a145-cfe2-437f-a7de-304be807eb9b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="2"/> - </numerator> - <denominator> - <value value="2"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2025-01-15"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/3fbc59ef-e458-476d-a1d1-87d914cbef72"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3fbc59ef-e458-476d-a1d1-87d914cbef72"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="23816"/> - </coding> - <text value="Simvastatin"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="20"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bf5919d0-30fa-4ac5-a063-219bc688a282"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a33458b9-6a84-45c3-ba52-fcf77b07d631"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05_d9118e05/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05_d9118e05/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05_d9118e05/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05_d9118e05/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05_d9118e05/output.json new file mode 100644 index 00000000..d51c6d75 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05_d9118e05/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "9a2bc4a5-c241-40f5-9e08-9ae5f9269ec2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b3cc7453-436e-46ec-86a9-c006cf34e76f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/dfbb3501-15ed-43b7-adc6-012e511b657b" + }, + "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": "dfbb3501-15ed-43b7-adc6-012e511b657b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7e995d42-4bd4-4c91-a913-f3eb01a973c1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8ef02580-e980-4dd7-834c-26b62c2c6179", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d9118e05_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05_d9118e05/output.xml new file mode 100644 index 00000000..b3593bdd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f_d9118e05_d9118e05/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9a2bc4a5-c241-40f5-9e08-9ae5f9269ec2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b3cc7453-436e-46ec-86a9-c006cf34e76f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-01-15"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/dfbb3501-15ed-43b7-adc6-012e511b657b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dfbb3501-15ed-43b7-adc6-012e511b657b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7e995d42-4bd4-4c91-a913-f3eb01a973c1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8ef02580-e980-4dd7-834c-26b62c2c6179"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.json index b1870ffa..64634992 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "0aa887f3-dab1-4853-a79c-007821535699", + "id": "757cae02-295f-444a-a8f1-25f1ffce7a2d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "4f544c8e-91da-4971-aa5b-ccc0ed1a0bb7", + "id": "25b52242-0adb-4ba8-92af-e6813ef27dab", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -54,7 +54,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/0e66f66f-db60-4a37-949c-319638f26397" + "reference": "Medication/5a5f905e-cc3f-4168-aa80-e2654df54ff5" }, "subject": { "identifier": { @@ -75,7 +75,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "0e66f66f-db60-4a37-949c-319638f26397", + "id": "5a5f905e-cc3f-4168-aa80-e2654df54ff5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -142,7 +142,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "45c1b786-a0aa-495a-ae88-885893f6ee2c", + "id": "7a87deff-c685-4716-95ee-abd65fcb0c46", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -209,7 +209,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "6a992c30-c10d-4d99-878c-5bc751f680c4", + "id": "8ca5a626-b6c7-456c-ae67-aed3977a5aee", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.xml index d8d2ae6e..39e03522 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="0aa887f3-dab1-4853-a79c-007821535699"/> + <id value="757cae02-295f-444a-a8f1-25f1ffce7a2d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4f544c8e-91da-4971-aa5b-ccc0ed1a0bb7"/> + <id value="25b52242-0adb-4ba8-92af-e6813ef27dab"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -53,7 +53,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/0e66f66f-db60-4a37-949c-319638f26397"/> + <reference value="Medication/5a5f905e-cc3f-4168-aa80-e2654df54ff5"/> </medicationReference> <subject> <identifier> @@ -76,7 +76,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="0e66f66f-db60-4a37-949c-319638f26397"/> + <id value="5a5f905e-cc3f-4168-aa80-e2654df54ff5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -140,7 +140,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="45c1b786-a0aa-495a-ae88-885893f6ee2c"/> + <id value="7a87deff-c685-4716-95ee-abd65fcb0c46"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -209,7 +209,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6a992c30-c10d-4d99-878c-5bc751f680c4"/> + <id value="8ca5a626-b6c7-456c-ae67-aed3977a5aee"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05/input.xml new file mode 100644 index 00000000..1c835296 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="d9118e05-6e13-4df6-af50-552401cf9ba2"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/d3a554f4-cb2c-4fb5-b03a-f22e8b0f8f70"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d3a554f4-cb2c-4fb5-b03a-f22e8b0f8f70"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/d45717d2-9bca-435c-94aa-56932d81d2cc"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/d45717d2-9bca-435c-94aa-56932d81d2cc"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d45717d2-9bca-435c-94aa-56932d81d2cc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2025-01-15"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="255b49de-6cd5-4ac1-b6fb-c8d0128cf1b3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost - Die Gesundheitskasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05/output.json new file mode 100644 index 00000000..30168ced --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05/output.json @@ -0,0 +1,248 @@ +{ + "resourceType": "Parameters", + "id": "b3a0da13-4dd4-41f8-85e6-5170cd3c428c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "bdd01739-c20f-4932-a9d8-6dc45c4dd0d2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/96253b91-c1d4-44d1-be2f-f8280da97ac7" + }, + "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": "96253b91-c1d4-44d1-be2f-f8280da97ac7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "af59ef75-7f4d-4e7c-8657-c0b3dd7420a4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "64c31e92-7916-43b3-8e01-e05223e93b66", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d9118e05_d9118e05/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05/output.xml new file mode 100644 index 00000000..9e6d2cf6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d9118e05_d9118e05/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b3a0da13-4dd4-41f8-85e6-5170cd3c428c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.027.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="bdd01739-c20f-4932-a9d8-6dc45c4dd0d2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="2"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-01-15"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/96253b91-c1d4-44d1-be2f-f8280da97ac7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="96253b91-c1d4-44d1-be2f-f8280da97ac7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="23816"/> + </coding> + <text value="Simvastatin"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="20"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="af59ef75-7f4d-4e7c-8657-c0b3dd7420a4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="64c31e92-7916-43b3-8e01-e05223e93b66"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/output.json deleted file mode 100644 index aa3021ee..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/output.json +++ /dev/null @@ -1,242 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "1fd90b25-0efb-4c02-9e12-f3cce4ff6f11", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "86861219-edf3-4f10-8b6e-f89b22d23d6a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/9b06db56-0d80-4fb3-9469-79d2017844d5" - }, - "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": "9b06db56-0d80-4fb3-9469-79d2017844d5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8e188c28-9b38-44ca-8724-c1ba7ec15703", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "fbc72f1e-646d-4ac4-ac50-5dd76ba7ff8a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/output.xml deleted file mode 100644 index acde82fd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/output.xml +++ /dev/null @@ -1,243 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1fd90b25-0efb-4c02-9e12-f3cce4ff6f11"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.021.76"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="86861219-edf3-4f10-8b6e-f89b22d23d6a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/9b06db56-0d80-4fb3-9469-79d2017844d5"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9b06db56-0d80-4fb3-9469-79d2017844d5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <form> - <text value="Retardtabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="11900"/> - </coding> - <text value="Diclofenac-Natrium"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="75"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8e188c28-9b38-44ca-8724-c1ba7ec15703"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="fbc72f1e-646d-4ac4-ac50-5dd76ba7ff8a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980_cf0d4980/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980_cf0d4980/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980_cf0d4980/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980_cf0d4980/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980_cf0d4980/output.json new file mode 100644 index 00000000..4ec0c04c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980_cf0d4980/output.json @@ -0,0 +1,242 @@ +{ + "resourceType": "Parameters", + "id": "b5f4a063-a5a8-4ceb-a329-f616879253fd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f235f2b5-f5bd-4c5a-85b0-95eee6fe88d9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/de40a324-13bd-4b39-9428-ecc9a605198e" + }, + "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": "de40a324-13bd-4b39-9428-ecc9a605198e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e5e7b95e-fb8c-4c5a-8201-82211fa0a18d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "42a2f084-4fd7-4d0f-9ccd-f75684cfb204", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cf0d4980_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980_cf0d4980/output.xml new file mode 100644 index 00000000..7c727eda --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54_cf0d4980_cf0d4980/output.xml @@ -0,0 +1,243 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b5f4a063-a5a8-4ceb-a329-f616879253fd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f235f2b5-f5bd-4c5a-85b0-95eee6fe88d9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/de40a324-13bd-4b39-9428-ecc9a605198e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="de40a324-13bd-4b39-9428-ecc9a605198e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <form> + <text value="Retardtabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="11900"/> + </coding> + <text value="Diclofenac-Natrium"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="75"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e5e7b95e-fb8c-4c5a-8201-82211fa0a18d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="42a2f084-4fd7-4d0f-9ccd-f75684cfb204"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/output.json deleted file mode 100644 index 1366bda3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/output.json +++ /dev/null @@ -1,242 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "b91bea61-b379-4996-9eec-d2d6d63deca1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "9a5f3511-3ac2-4cbe-94b6-cd996694d4cb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/52f1920c-4109-492a-b3d6-ed772bc32461" - }, - "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": "52f1920c-4109-492a-b3d6-ed772bc32461", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cb7ffba0-ba04-415d-a726-299f529398b9", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "d526e0bb-ab4a-4804-ac63-2cc4d049888b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/output.xml deleted file mode 100644 index 2c1f4366..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/output.xml +++ /dev/null @@ -1,243 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b91bea61-b379-4996-9eec-d2d6d63deca1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.021.76"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9a5f3511-3ac2-4cbe-94b6-cd996694d4cb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/52f1920c-4109-492a-b3d6-ed772bc32461"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="52f1920c-4109-492a-b3d6-ed772bc32461"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <form> - <text value="Retardtabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="20"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="11900"/> - </coding> - <text value="Diclofenac-Natrium"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="75"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="cb7ffba0-ba04-415d-a726-299f529398b9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d526e0bb-ab4a-4804-ac63-2cc4d049888b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980_cf0d4980/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980_cf0d4980/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980_cf0d4980/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980_cf0d4980/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980_cf0d4980/output.json new file mode 100644 index 00000000..07d5272b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980_cf0d4980/output.json @@ -0,0 +1,242 @@ +{ + "resourceType": "Parameters", + "id": "0453ba9b-f80a-49ac-a416-e48122b6b84f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ad58119b-32d8-474b-8509-6f3afa8fd4ab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/914e76a6-098f-475e-9365-2b81efcf69a4" + }, + "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": "914e76a6-098f-475e-9365-2b81efcf69a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0571fa5d-83d5-4722-9c90-b9a08af5ad43", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5a0f8557-4c2e-4464-b223-35dd3c0e2d25", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cf0d4980_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980_cf0d4980/output.xml new file mode 100644 index 00000000..b7485841 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851_cf0d4980_cf0d4980/output.xml @@ -0,0 +1,243 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0453ba9b-f80a-49ac-a416-e48122b6b84f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ad58119b-32d8-474b-8509-6f3afa8fd4ab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/914e76a6-098f-475e-9365-2b81efcf69a4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="914e76a6-098f-475e-9365-2b81efcf69a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <form> + <text value="Retardtabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="11900"/> + </coding> + <text value="Diclofenac-Natrium"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="75"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0571fa5d-83d5-4722-9c90-b9a08af5ad43"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5a0f8557-4c2e-4464-b223-35dd3c0e2d25"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.json index 455f8232..9fa44787 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "166e5539-3e12-4de7-b145-2d81dece1c9a", + "id": "236f5b77-02a0-4b3b-a286-6fc4be2c10d6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "ae3c90cb-d370-4879-9d17-17b3df96671a", + "id": "8e7316a4-bb87-4a10-969a-47953e901c2e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/29ec90ed-ae95-4ab3-ac20-72f333004b9f" + "reference": "Medication/bf9e529f-e0f2-4cb2-b76f-7a1613d8802d" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "29ec90ed-ae95-4ab3-ac20-72f333004b9f", + "id": "bf9e529f-e0f2-4cb2-b76f-7a1613d8802d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -136,7 +136,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "93381fbf-1b8c-47be-acf8-9eac42087604", + "id": "bf3c7bbd-b9cb-42d9-baf1-dd75241ff1da", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -203,7 +203,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "6da775c1-8d4b-4a9b-b3c3-fc9a4fb9eb72", + "id": "4a2971a6-7b1b-401a-a833-d07335106cbf", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.xml index 27c7bb3f..1f26b2c0 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="166e5539-3e12-4de7-b145-2d81dece1c9a"/> + <id value="236f5b77-02a0-4b3b-a286-6fc4be2c10d6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ae3c90cb-d370-4879-9d17-17b3df96671a"/> + <id value="8e7316a4-bb87-4a10-969a-47953e901c2e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/29ec90ed-ae95-4ab3-ac20-72f333004b9f"/> + <reference value="Medication/bf9e529f-e0f2-4cb2-b76f-7a1613d8802d"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="29ec90ed-ae95-4ab3-ac20-72f333004b9f"/> + <id value="bf9e529f-e0f2-4cb2-b76f-7a1613d8802d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -133,7 +133,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="93381fbf-1b8c-47be-acf8-9eac42087604"/> + <id value="bf3c7bbd-b9cb-42d9-baf1-dd75241ff1da"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -202,7 +202,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6da775c1-8d4b-4a9b-b3c3-fc9a4fb9eb72"/> + <id value="4a2971a6-7b1b-401a-a833-d07335106cbf"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980/input.xml new file mode 100644 index 00000000..3c530cf0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980/input.xml @@ -0,0 +1,406 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="cf0d4980-af01-44f4-a38c-d6bf14b82e07"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="7a0b2d5e-8660-47b2-b26a-0e3dbba4399d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/0886a530-68ef-4517-9999-b24f79b08da1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/0886a530-68ef-4517-9999-b24f79b08da1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0886a530-68ef-4517-9999-b24f79b08da1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="Unfalltag"> + <valueDate value="2024-11-27"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a3ccc266-b033-47cc-9361-98ec450f7db9"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a3ccc266-b033-47cc-9361-98ec450f7db9"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a3ccc266-b033-47cc-9361-98ec450f7db9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Retardtabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="11900"/> + </coding> + <text value="Diclofenac-Natrium"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="75"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980/output.json new file mode 100644 index 00000000..479345d2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980/output.json @@ -0,0 +1,242 @@ +{ + "resourceType": "Parameters", + "id": "23659348-4201-4b16-b63f-dcd1189ebb1f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fa2f8777-c5de-489d-8fe3-81fa2772d181", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/53aced2c-5a9d-41c3-903b-99fea1e1f195" + }, + "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": "53aced2c-5a9d-41c3-903b-99fea1e1f195", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "eb0e0313-4455-4985-971f-41dc9a6db691", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3812d7dc-92d2-44d3-9a97-b731abacfad7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cf0d4980_cf0d4980/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980/output.xml new file mode 100644 index 00000000..7d1be942 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_cf0d4980_cf0d4980/output.xml @@ -0,0 +1,243 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="23659348-4201-4b16-b63f-dcd1189ebb1f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.021.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fa2f8777-c5de-489d-8fe3-81fa2772d181"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/53aced2c-5a9d-41c3-903b-99fea1e1f195"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="53aced2c-5a9d-41c3-903b-99fea1e1f195"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <form> + <text value="Retardtabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="20"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="11900"/> + </coding> + <text value="Diclofenac-Natrium"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="75"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="eb0e0313-4455-4985-971f-41dc9a6db691"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3812d7dc-92d2-44d3-9a97-b731abacfad7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/output.json deleted file mode 100644 index 46f14463..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "eabc9ff3-415a-4df0-8247-2d13b87484b6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "98d7ce52-1b6c-4947-8337-e0286c8a26c9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/3299a155-4b81-440d-a9ca-20e1b502944e" - }, - "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": "3299a155-4b81-440d-a9ca-20e1b502944e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2ac65b66-f050-4540-b543-9bfb7c86ec28", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "e318a4d2-d0d3-46a2-beb1-627ac0c4b5af", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/output.xml deleted file mode 100644 index 2aa85e89..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="eabc9ff3-415a-4df0-8247-2d13b87484b6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="98d7ce52-1b6c-4947-8337-e0286c8a26c9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/3299a155-4b81-440d-a9ca-20e1b502944e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3299a155-4b81-440d-a9ca-20e1b502944e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2ac65b66-f050-4540-b543-9bfb7c86ec28"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e318a4d2-d0d3-46a2-beb1-627ac0c4b5af"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5_9c85a2a5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5_9c85a2a5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5_9c85a2a5/output.json new file mode 100644 index 00000000..c10e79f1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "57eccfcc-54ec-4706-99b9-331e1d98bf77", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0ac5fcc8-c6b4-4fb2-9c02-48c0e1565a35", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d2aea046-61d8-4795-b996-81eae61104bd" + }, + "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": "d2aea046-61d8-4795-b996-81eae61104bd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "18f91c53-d235-4d57-a57f-fadea85c92a9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e8f00f62-5b02-47dd-b749-2694981c0ffe", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5_9c85a2a5/output.xml new file mode 100644 index 00000000..dc2aadf3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637_9c85a2a5_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="57eccfcc-54ec-4706-99b9-331e1d98bf77"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0ac5fcc8-c6b4-4fb2-9c02-48c0e1565a35"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d2aea046-61d8-4795-b996-81eae61104bd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d2aea046-61d8-4795-b996-81eae61104bd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="18f91c53-d235-4d57-a57f-fadea85c92a9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e8f00f62-5b02-47dd-b749-2694981c0ffe"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.json index ddab1c41..a58f4849 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "1f2044cc-fb89-414d-b047-06c2add92c86", + "id": "57b70ec3-2b7d-4dce-ac16-146572c8bfac", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "d889d47f-52d7-4c0f-97fb-defb17104da0", + "id": "174534ce-3c1f-4872-81e2-f60a9c47a46b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/c825f2b3-bed5-45f4-968d-f898497ef604" + "reference": "Medication/ac2be5f5-fecb-44b5-b371-d1e9f8898e10" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "c825f2b3-bed5-45f4-968d-f898497ef604", + "id": "ac2be5f5-fecb-44b5-b371-d1e9f8898e10", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -139,7 +139,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "58900c11-90dc-420b-8cef-0069863d477a", + "id": "71702e53-f812-4f88-8c33-7056cc44a980", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -204,7 +204,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "ec462b7f-6314-462c-9328-ba91515de8f0", + "id": "0c20251e-62f1-4ef6-974f-25911bd4b122", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.xml index 72b8633d..b775ddac 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="1f2044cc-fb89-414d-b047-06c2add92c86"/> + <id value="57b70ec3-2b7d-4dce-ac16-146572c8bfac"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d889d47f-52d7-4c0f-97fb-defb17104da0"/> + <id value="174534ce-3c1f-4872-81e2-f60a9c47a46b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/c825f2b3-bed5-45f4-968d-f898497ef604"/> + <reference value="Medication/ac2be5f5-fecb-44b5-b371-d1e9f8898e10"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="c825f2b3-bed5-45f4-968d-f898497ef604"/> + <id value="ac2be5f5-fecb-44b5-b371-d1e9f8898e10"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -136,7 +136,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="58900c11-90dc-420b-8cef-0069863d477a"/> + <id value="71702e53-f812-4f88-8c33-7056cc44a980"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -204,7 +204,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ec462b7f-6314-462c-9328-ba91515de8f0"/> + <id value="0c20251e-62f1-4ef6-974f-25911bd4b122"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5_9c85a2a5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5_9c85a2a5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5_9c85a2a5/output.json new file mode 100644 index 00000000..8c8ed566 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "ff4a4094-be1a-42d0-9ffe-b7b6e88463a3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0d9d7fdd-9e3e-4ba8-9348-7a65f997530b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/dcf1c5b4-8153-4ee4-93ba-e796622fc725" + }, + "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": "dcf1c5b4-8153-4ee4-93ba-e796622fc725", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "664a4c55-5d3c-4c88-86a2-e51a9f92b995", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9ff3ab4b-84cb-4529-8b16-99fb640cc8af", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5_9c85a2a5/output.xml new file mode 100644 index 00000000..5854fb3f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_9c85a2a5_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ff4a4094-be1a-42d0-9ffe-b7b6e88463a3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0d9d7fdd-9e3e-4ba8-9348-7a65f997530b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/dcf1c5b4-8153-4ee4-93ba-e796622fc725"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dcf1c5b4-8153-4ee4-93ba-e796622fc725"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="664a4c55-5d3c-4c88-86a2-e51a9f92b995"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9ff3ab4b-84cb-4529-8b16-99fb640cc8af"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/output.json deleted file mode 100644 index 62de1ac8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "6f76f2db-7b9a-4336-a571-9a842c2a25df", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "9af973b6-c9ea-4557-8786-357a7d3bbd38", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/ee8a6601-fecb-4300-9cfc-1dd2b9bbbc11" - }, - "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": "ee8a6601-fecb-4300-9cfc-1dd2b9bbbc11", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d221fd91-7199-436e-a58c-dd22c4ef1324", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "e8a27a4d-75b7-4f00-8328-36043018169b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/output.xml deleted file mode 100644 index 038959fb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6f76f2db-7b9a-4336-a571-9a842c2a25df"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9af973b6-c9ea-4557-8786-357a7d3bbd38"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/ee8a6601-fecb-4300-9cfc-1dd2b9bbbc11"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ee8a6601-fecb-4300-9cfc-1dd2b9bbbc11"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d221fd91-7199-436e-a58c-dd22c4ef1324"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e8a27a4d-75b7-4f00-8328-36043018169b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5_9c85a2a5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5_9c85a2a5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5_9c85a2a5/output.json new file mode 100644 index 00000000..4f2a088f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "190943ab-04a2-4424-a942-c9d858ae58e2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4d0592b6-fd30-429e-b251-32212f9b5164", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/731247eb-bdce-4033-8965-3048830c0671" + }, + "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": "731247eb-bdce-4033-8965-3048830c0671", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a9531536-c1d9-4832-963e-23e14ebdc1ac", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8cd2c03a-c678-4877-b8fd-63c274867bfa", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5_9c85a2a5/output.xml new file mode 100644 index 00000000..2e3d8a9e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f_9c85a2a5_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="190943ab-04a2-4424-a942-c9d858ae58e2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4d0592b6-fd30-429e-b251-32212f9b5164"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/731247eb-bdce-4033-8965-3048830c0671"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="731247eb-bdce-4033-8965-3048830c0671"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a9531536-c1d9-4832-963e-23e14ebdc1ac"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8cd2c03a-c678-4877-b8fd-63c274867bfa"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/output.json deleted file mode 100644 index ba2c70c2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "da487019-acff-44df-b73b-b9db5adf7aeb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "6ed9a07c-bb9c-4238-b751-c52639180d41", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/1dde4459-b86b-4552-9af3-471ee0fc1018" - }, - "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": "1dde4459-b86b-4552-9af3-471ee0fc1018", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c82b747e-a4d3-468e-a6fc-de883c0ec23d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "5084e79b-d581-4c96-b756-70c4e34aca4b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/output.xml deleted file mode 100644 index 0382e9da..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="da487019-acff-44df-b73b-b9db5adf7aeb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6ed9a07c-bb9c-4238-b751-c52639180d41"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/1dde4459-b86b-4552-9af3-471ee0fc1018"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1dde4459-b86b-4552-9af3-471ee0fc1018"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c82b747e-a4d3-468e-a6fc-de883c0ec23d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5084e79b-d581-4c96-b756-70c4e34aca4b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5_9c85a2a5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5_9c85a2a5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5_9c85a2a5/output.json new file mode 100644 index 00000000..02f522d6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "cce0a603-be94-4289-bfd7-7e5153fe50df", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f0b0a5e5-9c78-4676-88e7-dc4ea230e747", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4bcdb64f-8acf-4951-823e-8fd9b01d0fd6" + }, + "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": "4bcdb64f-8acf-4951-823e-8fd9b01d0fd6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2b79458f-74a7-47cf-a398-ba3d0a1b4248", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "90068fa7-7be0-48fa-9635-68685b578d86", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5_9c85a2a5/output.xml new file mode 100644 index 00000000..784e6da3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21_9c85a2a5_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="cce0a603-be94-4289-bfd7-7e5153fe50df"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f0b0a5e5-9c78-4676-88e7-dc4ea230e747"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4bcdb64f-8acf-4951-823e-8fd9b01d0fd6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4bcdb64f-8acf-4951-823e-8fd9b01d0fd6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2b79458f-74a7-47cf-a398-ba3d0a1b4248"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="90068fa7-7be0-48fa-9635-68685b578d86"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/output.json deleted file mode 100644 index df78cb23..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "a4e1718d-182c-4fa9-8b61-0b5f20354899", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "8bf13920-8afa-48f8-9210-44f8ab0e12ea", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/c63fde9d-3898-4976-8ae3-f3b8f4696c57" - }, - "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": "c63fde9d-3898-4976-8ae3-f3b8f4696c57", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "725202b2-2697-4c8f-bf4e-e086ce9c5573", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "84ea45a6-617a-4e5a-a819-53dd95d3851c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/output.xml deleted file mode 100644 index 78ef47cf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a4e1718d-182c-4fa9-8b61-0b5f20354899"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8bf13920-8afa-48f8-9210-44f8ab0e12ea"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/c63fde9d-3898-4976-8ae3-f3b8f4696c57"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c63fde9d-3898-4976-8ae3-f3b8f4696c57"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="725202b2-2697-4c8f-bf4e-e086ce9c5573"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="84ea45a6-617a-4e5a-a819-53dd95d3851c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5_9c85a2a5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5_9c85a2a5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5_9c85a2a5/output.json new file mode 100644 index 00000000..22e0ce85 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "1342d11d-cabd-49f4-b61f-1ae429a0900d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "07af907b-ae0e-4552-a88f-5a51103ff899", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e80b3077-00f4-414d-853c-c4b4fd2e5002" + }, + "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": "e80b3077-00f4-414d-853c-c4b4fd2e5002", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6de9db5e-c410-4be5-be88-3f7edb5280d4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ce1d9691-cc15-4d4a-961a-ce48ac4d7d6d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5_9c85a2a5/output.xml new file mode 100644 index 00000000..8546f169 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b_9c85a2a5_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1342d11d-cabd-49f4-b61f-1ae429a0900d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="07af907b-ae0e-4552-a88f-5a51103ff899"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e80b3077-00f4-414d-853c-c4b4fd2e5002"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e80b3077-00f4-414d-853c-c4b4fd2e5002"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6de9db5e-c410-4be5-be88-3f7edb5280d4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ce1d9691-cc15-4d4a-961a-ce48ac4d7d6d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.json index 2cc20c67..7fd7bd9e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "4c41affc-e872-4b8c-9769-f66f3977a4d2", + "id": "9340c618-3eef-4d81-9ac8-fbe525898d42", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "df8b6804-d2a6-4eb0-ae5b-f95013dc1225", + "id": "37376e9b-2130-4c24-ab35-995ef1d23d86", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/f6ad8a53-2f69-4cb8-ab89-3d52416ca940" + "reference": "Medication/738ea1f1-4332-41fd-8fc9-1063f0093939" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "f6ad8a53-2f69-4cb8-ab89-3d52416ca940", + "id": "738ea1f1-4332-41fd-8fc9-1063f0093939", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -139,7 +139,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d43cf100-b8d0-4377-8464-e2f0d1f65069", + "id": "3648f399-2c96-4e78-adf4-23766a75ff0b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -204,7 +204,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "948913a3-b68a-4805-9c92-24999bb28d00", + "id": "53a155a8-bc2e-409d-b5af-230b713b3215", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.xml index 304189ac..0d396b4d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="4c41affc-e872-4b8c-9769-f66f3977a4d2"/> + <id value="9340c618-3eef-4d81-9ac8-fbe525898d42"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="df8b6804-d2a6-4eb0-ae5b-f95013dc1225"/> + <id value="37376e9b-2130-4c24-ab35-995ef1d23d86"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/f6ad8a53-2f69-4cb8-ab89-3d52416ca940"/> + <reference value="Medication/738ea1f1-4332-41fd-8fc9-1063f0093939"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="f6ad8a53-2f69-4cb8-ab89-3d52416ca940"/> + <id value="738ea1f1-4332-41fd-8fc9-1063f0093939"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -136,7 +136,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d43cf100-b8d0-4377-8464-e2f0d1f65069"/> + <id value="3648f399-2c96-4e78-adf4-23766a75ff0b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -204,7 +204,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="948913a3-b68a-4805-9c92-24999bb28d00"/> + <id value="53a155a8-bc2e-409d-b5af-230b713b3215"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5_9c85a2a5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5_9c85a2a5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5_9c85a2a5/output.json new file mode 100644 index 00000000..04c70791 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "0954356b-fcb6-4f2c-a54b-fc56873f6746", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f337b1a5-4d35-4998-a2f0-ed0bd764925f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4cdd7bff-178f-4664-b851-2b8bcf9f0db7" + }, + "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": "4cdd7bff-178f-4664-b851-2b8bcf9f0db7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2f907ec1-2172-4c34-9ac8-b7ef5e6a94b8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b91ed642-9248-4602-9760-fe9949cced92", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5_9c85a2a5/output.xml new file mode 100644 index 00000000..0aa0dce3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_9c85a2a5_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0954356b-fcb6-4f2c-a54b-fc56873f6746"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f337b1a5-4d35-4998-a2f0-ed0bd764925f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4cdd7bff-178f-4664-b851-2b8bcf9f0db7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4cdd7bff-178f-4664-b851-2b8bcf9f0db7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2f907ec1-2172-4c34-9ac8-b7ef5e6a94b8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b91ed642-9248-4602-9760-fe9949cced92"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.json index 96df570f..42156394 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "a14eb2c0-63ee-4c6c-9faa-0e9de79617df", + "id": "7728eb35-096d-434a-a0a9-10947cd1da61", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "8a717b60-24b6-41c3-86e8-87298d93499f", + "id": "18d0402a-ea7e-49bf-93e8-3af9fcdb29ef", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/dd11f103-1157-4f9f-9c5e-a5dc5e4b941a" + "reference": "Medication/a0b13e14-ee31-4628-bd96-5b1a785cff97" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "dd11f103-1157-4f9f-9c5e-a5dc5e4b941a", + "id": "a0b13e14-ee31-4628-bd96-5b1a785cff97", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -139,7 +139,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e92691fb-73ad-4a61-896d-e5cbd71117b3", + "id": "a465caa5-a4bd-4474-8de3-a97e5008975f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -204,7 +204,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "79cbb171-699a-4c3c-9ca3-97f01c909b1a", + "id": "5beffe50-32dd-48a9-9d47-1c92e4b469e3", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.xml index 655e2f88..7cfc928d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="a14eb2c0-63ee-4c6c-9faa-0e9de79617df"/> + <id value="7728eb35-096d-434a-a0a9-10947cd1da61"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8a717b60-24b6-41c3-86e8-87298d93499f"/> + <id value="18d0402a-ea7e-49bf-93e8-3af9fcdb29ef"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/dd11f103-1157-4f9f-9c5e-a5dc5e4b941a"/> + <reference value="Medication/a0b13e14-ee31-4628-bd96-5b1a785cff97"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="dd11f103-1157-4f9f-9c5e-a5dc5e4b941a"/> + <id value="a0b13e14-ee31-4628-bd96-5b1a785cff97"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -136,7 +136,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e92691fb-73ad-4a61-896d-e5cbd71117b3"/> + <id value="a465caa5-a4bd-4474-8de3-a97e5008975f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -204,7 +204,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="79cbb171-699a-4c3c-9ca3-97f01c909b1a"/> + <id value="5beffe50-32dd-48a9-9d47-1c92e4b469e3"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5/input.xml new file mode 100644 index 00000000..b44c7f76 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9c85a2a5-92ee-4a57-83cb-ba90a0df2a21"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a7eefdd-df71-4a72-8047-c158017534a1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin mit dem Schwerpunkt Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5/output.json new file mode 100644 index 00000000..c18e3a78 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "98ac340b-ed4d-46f8-9517-68d71ee4dea1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ff3c05bd-4c16-4f90-8a80-3ffea7e96b90", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/192ffd7b-1ae5-4e6b-8333-34d9b51e91f8" + }, + "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": "192ffd7b-1ae5-4e6b-8333-34d9b51e91f8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "99ed4aa4-4aba-4997-bc2f-a42275d9b91d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "76fc7194-f1e1-4308-ae02-40f07d979f22", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5/output.xml new file mode 100644 index 00000000..a4bd30cf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_9c85a2a5_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="98ac340b-ed4d-46f8-9517-68d71ee4dea1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ff3c05bd-4c16-4f90-8a80-3ffea7e96b90"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/192ffd7b-1ae5-4e6b-8333-34d9b51e91f8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="192ffd7b-1ae5-4e6b-8333-34d9b51e91f8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="99ed4aa4-4aba-4997-bc2f-a42275d9b91d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="76fc7194-f1e1-4308-ae02-40f07d979f22"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/output.json deleted file mode 100644 index 38ba294d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "f3fd7b10-11bc-4776-bd31-5cdb4808764f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "0a2f2b61-9edb-46a1-bbc7-104d2d75a021", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/2ec2c41a-a303-4730-8c21-a533332320d4" - }, - "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": "2ec2c41a-a303-4730-8c21-a533332320d4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7de8e52b-aa26-46c7-8aa8-9eeac4522b00", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "d59e3cd4-a264-47b2-9f03-9107056d8d24", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/output.xml deleted file mode 100644 index 76235b49..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f3fd7b10-11bc-4776-bd31-5cdb4808764f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0a2f2b61-9edb-46a1-bbc7-104d2d75a021"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/2ec2c41a-a303-4730-8c21-a533332320d4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2ec2c41a-a303-4730-8c21-a533332320d4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="7de8e52b-aa26-46c7-8aa8-9eeac4522b00"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d59e3cd4-a264-47b2-9f03-9107056d8d24"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5_9c85a2a5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5_9c85a2a5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5_9c85a2a5/output.json new file mode 100644 index 00000000..4585d24c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "c4f1295b-bbe7-4e01-ab09-5dc3aa1781c6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e43c69fc-10e4-4c0b-902b-3e5a9deb152b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/aa1ecd70-8d7c-4a87-8ff7-9104f4bcecaa" + }, + "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": "aa1ecd70-8d7c-4a87-8ff7-9104f4bcecaa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8d492128-3861-4357-84fb-8e1ded0a4d04", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7a8e7034-5946-413c-a25d-20823fde2d8c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5_9c85a2a5/output.xml new file mode 100644 index 00000000..e55bc38e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844_9c85a2a5_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c4f1295b-bbe7-4e01-ab09-5dc3aa1781c6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e43c69fc-10e4-4c0b-902b-3e5a9deb152b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/aa1ecd70-8d7c-4a87-8ff7-9104f4bcecaa"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="aa1ecd70-8d7c-4a87-8ff7-9104f4bcecaa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8d492128-3861-4357-84fb-8e1ded0a4d04"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7a8e7034-5946-413c-a25d-20823fde2d8c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/output.json deleted file mode 100644 index 9c8a4d71..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "00638d71-24df-44cb-b145-a246ecc3a439", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "ec59ece6-bda8-484b-9cac-afcfeb29bffe", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/1c02fb67-3d1f-43fc-a668-33221a910e99" - }, - "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": "1c02fb67-3d1f-43fc-a668-33221a910e99", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d27d6cf4-c616-4188-933f-6e60eb044221", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "b83c5f8c-3e38-4cb1-85c9-9a80ba1e31c6", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/output.xml deleted file mode 100644 index dcdeb0f3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="00638d71-24df-44cb-b145-a246ecc3a439"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ec59ece6-bda8-484b-9cac-afcfeb29bffe"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/1c02fb67-3d1f-43fc-a668-33221a910e99"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1c02fb67-3d1f-43fc-a668-33221a910e99"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d27d6cf4-c616-4188-933f-6e60eb044221"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b83c5f8c-3e38-4cb1-85c9-9a80ba1e31c6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5/input.xml new file mode 100644 index 00000000..b44c7f76 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9c85a2a5-92ee-4a57-83cb-ba90a0df2a21"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a7eefdd-df71-4a72-8047-c158017534a1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin mit dem Schwerpunkt Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5/output.json new file mode 100644 index 00000000..fb5ab793 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "3d0c2821-c104-426c-bb7c-5928414550fd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f3311c8c-aa00-4c83-bbf5-f4ded2d77cec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/78f5dbd4-74f8-4352-aaf7-0fc90a180110" + }, + "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": "78f5dbd4-74f8-4352-aaf7-0fc90a180110", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "41db681a-13f5-4747-a97b-c7bbfdf6419f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c88701e8-64d4-45cb-926f-a6a55a2018e5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5/output.xml new file mode 100644 index 00000000..417eb7a6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903_9c85a2a5_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3d0c2821-c104-426c-bb7c-5928414550fd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f3311c8c-aa00-4c83-bbf5-f4ded2d77cec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/78f5dbd4-74f8-4352-aaf7-0fc90a180110"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="78f5dbd4-74f8-4352-aaf7-0fc90a180110"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="41db681a-13f5-4747-a97b-c7bbfdf6419f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c88701e8-64d4-45cb-926f-a6a55a2018e5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.json index 22e85686..9e03c53e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "45773436-f380-4843-9825-bd11ff84e724", + "id": "134e650f-be99-45e6-b01d-4b5da06ad6b1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "46ac3dcf-676a-473f-9319-c10c4fe1673f", + "id": "2ea47cba-7dd4-4f73-a068-2b8eab2f4f75", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/3d7ada46-c92f-4d26-8799-b8cebba667fa" + "reference": "Medication/d140e169-cadf-4a02-bc17-65f2ee3cd4c2" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "3d7ada46-c92f-4d26-8799-b8cebba667fa", + "id": "d140e169-cadf-4a02-bc17-65f2ee3cd4c2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -139,7 +139,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "dbebb974-0dc1-440d-a5ba-f6d743160108", + "id": "675cedce-65ea-4688-9725-8c2ed1a6fed4", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -204,7 +204,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "c79c22b4-982d-41cc-9b81-15d38ce29153", + "id": "1e87fcf7-e4e0-43c3-938e-7231c17de3bf", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.xml index 891aab8d..37b46b4c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="45773436-f380-4843-9825-bd11ff84e724"/> + <id value="134e650f-be99-45e6-b01d-4b5da06ad6b1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="46ac3dcf-676a-473f-9319-c10c4fe1673f"/> + <id value="2ea47cba-7dd4-4f73-a068-2b8eab2f4f75"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/3d7ada46-c92f-4d26-8799-b8cebba667fa"/> + <reference value="Medication/d140e169-cadf-4a02-bc17-65f2ee3cd4c2"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="3d7ada46-c92f-4d26-8799-b8cebba667fa"/> + <id value="d140e169-cadf-4a02-bc17-65f2ee3cd4c2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -136,7 +136,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="dbebb974-0dc1-440d-a5ba-f6d743160108"/> + <id value="675cedce-65ea-4688-9725-8c2ed1a6fed4"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -204,7 +204,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c79c22b4-982d-41cc-9b81-15d38ce29153"/> + <id value="1e87fcf7-e4e0-43c3-938e-7231c17de3bf"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5/input.xml new file mode 100644 index 00000000..b44c7f76 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9c85a2a5-92ee-4a57-83cb-ba90a0df2a21"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a7eefdd-df71-4a72-8047-c158017534a1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin mit dem Schwerpunkt Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5/output.json new file mode 100644 index 00000000..50657b0f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "7818e6d6-d03c-41d0-828e-7fc70deea269", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b54efff8-f6be-4274-8501-898a2ca879ce", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/78b14299-7e32-4a82-b9be-c13fae900bae" + }, + "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": "78b14299-7e32-4a82-b9be-c13fae900bae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "605cf93c-de83-40cb-b650-932248861ea8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8e699397-f8d8-4f7a-b2f5-f171f2a3ff42", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5/output.xml new file mode 100644 index 00000000..8a78af15 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_9c85a2a5_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7818e6d6-d03c-41d0-828e-7fc70deea269"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b54efff8-f6be-4274-8501-898a2ca879ce"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/78b14299-7e32-4a82-b9be-c13fae900bae"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="78b14299-7e32-4a82-b9be-c13fae900bae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="605cf93c-de83-40cb-b650-932248861ea8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8e699397-f8d8-4f7a-b2f5-f171f2a3ff42"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/output.json deleted file mode 100644 index 78ca99a5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "4443fb51-9e68-4b1f-b26d-3a660ac0f115", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "0aba6432-0363-4fef-b469-c548bb392a76", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/9893a502-396d-4772-b0a0-faec986f08cd" - }, - "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": "9893a502-396d-4772-b0a0-faec986f08cd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dc50aea2-75d3-48f5-8b4f-fdbccca176c6", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "07c04d91-ff95-4f1f-aeff-6f63a3545b7c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/output.xml deleted file mode 100644 index 24eb4eb9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4443fb51-9e68-4b1f-b26d-3a660ac0f115"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0aba6432-0363-4fef-b469-c548bb392a76"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/9893a502-396d-4772-b0a0-faec986f08cd"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9893a502-396d-4772-b0a0-faec986f08cd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="dc50aea2-75d3-48f5-8b4f-fdbccca176c6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="07c04d91-ff95-4f1f-aeff-6f63a3545b7c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5_9c85a2a5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5_9c85a2a5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5_9c85a2a5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5_9c85a2a5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5_9c85a2a5/output.json new file mode 100644 index 00000000..87df32d1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "7a20c557-e7eb-47d8-9cbd-fa8c48d0801a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "98170d01-2d2c-44ad-a3ae-060713b18bec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/057db49c-a55d-4484-9899-cc7cf43859f2" + }, + "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": "057db49c-a55d-4484-9899-cc7cf43859f2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "427c05d2-d947-431b-9d3c-a429ef8f3c79", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f8993743-758d-4e67-9ab4-bd4ac580faf7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5_9c85a2a5/output.xml new file mode 100644 index 00000000..f21e88a8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f_9c85a2a5_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7a20c557-e7eb-47d8-9cbd-fa8c48d0801a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="98170d01-2d2c-44ad-a3ae-060713b18bec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/057db49c-a55d-4484-9899-cc7cf43859f2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="057db49c-a55d-4484-9899-cc7cf43859f2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="427c05d2-d947-431b-9d3c-a429ef8f3c79"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f8993743-758d-4e67-9ab4-bd4ac580faf7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/output.json deleted file mode 100644 index 13774aa2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/output.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "75ffea31-1b10-447f-9d2c-4dc3dd433ca1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "bfeb502d-531d-4000-ac50-07fcccace755", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/8f1b73a8-8289-473b-8f9a-20a7cdcc91eb" - }, - "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": "8f1b73a8-8289-473b-8f9a-20a7cdcc91eb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ba78c270-2277-411f-b211-7155ed8b5020", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "e9fb31c3-5643-4b9f-adff-e9a74afa30f6", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/output.xml deleted file mode 100644 index 1143517a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5/output.xml +++ /dev/null @@ -1,250 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="75ffea31-1b10-447f-9d2c-4dc3dd433ca1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.019.82"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="bfeb502d-531d-4000-ac50-07fcccace755"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/8f1b73a8-8289-473b-8f9a-20a7cdcc91eb"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <note> - <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> - </note> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8f1b73a8-8289-473b-8f9a-20a7cdcc91eb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <form> - <text value="Tabletten"/> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="Stück"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - <ingredient> - <itemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ask"/> - <code value="22686"/> - </coding> - <text value="Ramipril"/> - </itemCodeableConcept> - <strength> - <numerator> - <value value="5"/> - <unit value="mg"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </numerator> - <denominator> - <value value="1"/> - <system> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </system> - <code> - <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> - <valueCode value="unknown"/> - </extension> - </code> - </denominator> - </strength> - </ingredient> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ba78c270-2277-411f-b211-7155ed8b5020"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e9fb31c3-5643-4b9f-adff-e9a74afa30f6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5/input.xml new file mode 100644 index 00000000..b44c7f76 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9c85a2a5-92ee-4a57-83cb-ba90a0df2a21"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4ca03203-b01b-4b4c-aeac-c36adb30ea34"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/4a7eefdd-df71-4a72-8047-c158017534a1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a7eefdd-df71-4a72-8047-c158017534a1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86fa62c7-06a0-418e-ba26-e99baa053c07"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/> + <code value="wirkstoff"/> + </coding> + </code> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin mit dem Schwerpunkt Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5/output.json new file mode 100644 index 00000000..159dcde8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5/output.json @@ -0,0 +1,250 @@ +{ + "resourceType": "Parameters", + "id": "070e7b38-86d3-4523-a9a7-7bd602206db6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f6cdd134-df27-42df-b9cd-46c45bdfb3d9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/86d254c9-cfca-4391-aebf-581cc64edfc5" + }, + "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": "86d254c9-cfca-4391-aebf-581cc64edfc5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2e260905-e7ba-4e2d-9ccc-1349474b77ac", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b9edd5b0-5d15-4198-b64d-b56e5dc9ed18", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c85a2a5_9c85a2a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5/output.xml new file mode 100644 index 00000000..93e67b12 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220_9c85a2a5_9c85a2a5/output.xml @@ -0,0 +1,250 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="070e7b38-86d3-4523-a9a7-7bd602206db6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.019.82"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f6cdd134-df27-42df-b9cd-46c45bdfb3d9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/86d254c9-cfca-4391-aebf-581cc64edfc5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."/> + </note> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86d254c9-cfca-4391-aebf-581cc64edfc5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <form> + <text value="Tabletten"/> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="Stück"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ask"/> + <code value="22686"/> + </coding> + <text value="Ramipril"/> + </itemCodeableConcept> + <strength> + <numerator> + <value value="5"/> + <unit value="mg"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </numerator> + <denominator> + <value value="1"/> + <system> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </system> + <code> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </code> + </denominator> + </strength> + </ingredient> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2e260905-e7ba-4e2d-9ccc-1349474b77ac"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b9edd5b0-5d15-4198-b64d-b56e5dc9ed18"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.json index 3ffb1d36..f8a60156 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "e39de544-dbd3-447c-9f70-11269f04761b", + "id": "0d6cc8c9-e4db-44fd-93ee-306486b5378f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "74937ab7-4784-4177-aa45-2d2bd1db6455", + "id": "8d1a45cc-4bec-43f7-9dfb-c168cb84bdb8", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/d4ff53b4-23f4-42ca-bf21-75c9a2426e2f" + "reference": "Medication/66004d8c-c293-4785-9dba-10bdb87ae62b" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "d4ff53b4-23f4-42ca-bf21-75c9a2426e2f", + "id": "66004d8c-c293-4785-9dba-10bdb87ae62b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "3a35f067-8e13-4e2a-97a7-528f3a70cd6b", + "id": "91111010-1234-4259-bba0-c90ea4708544", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "d0c130e2-36b2-450f-b4b8-cb734488c9cf", + "id": "42078d42-cc0a-4ebe-b650-da3aec624cbc", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.xml index 142ac925..21094f19 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="e39de544-dbd3-447c-9f70-11269f04761b"/> + <id value="0d6cc8c9-e4db-44fd-93ee-306486b5378f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="74937ab7-4784-4177-aa45-2d2bd1db6455"/> + <id value="8d1a45cc-4bec-43f7-9dfb-c168cb84bdb8"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/d4ff53b4-23f4-42ca-bf21-75c9a2426e2f"/> + <reference value="Medication/66004d8c-c293-4785-9dba-10bdb87ae62b"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="d4ff53b4-23f4-42ca-bf21-75c9a2426e2f"/> + <id value="66004d8c-c293-4785-9dba-10bdb87ae62b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="3a35f067-8e13-4e2a-97a7-528f3a70cd6b"/> + <id value="91111010-1234-4259-bba0-c90ea4708544"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d0c130e2-36b2-450f-b4b8-cb734488c9cf"/> + <id value="42078d42-cc0a-4ebe-b650-da3aec624cbc"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11_02ad9b11/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11_02ad9b11/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11_02ad9b11/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11_02ad9b11/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11_02ad9b11/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11_02ad9b11/output.json new file mode 100644 index 00000000..46d5133c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11_02ad9b11/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "0f1db919-e726-44e3-bea7-236c111d19f4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "243ce18d-381b-4683-a737-b71b5cb0d647", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4effc780-ed99-40c0-b134-cbb3234d9909" + }, + "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": "4effc780-ed99-40c0-b134-cbb3234d9909", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5322cb39-f8ed-4ebe-85a4-d16c6bf5b363", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "88fcdb27-a5c8-4eaa-a36c-d74128d02f10", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_02ad9b11_02ad9b11/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11_02ad9b11/output.xml new file mode 100644 index 00000000..e7927a8a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02ad9b11_02ad9b11/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0f1db919-e726-44e3-bea7-236c111d19f4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.849.51"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="243ce18d-381b-4683-a737-b71b5cb0d647"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4effc780-ed99-40c0-b134-cbb3234d9909"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4effc780-ed99-40c0-b134-cbb3234d9909"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5322cb39-f8ed-4ebe-85a4-d16c6bf5b363"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="557235300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0799) 538609283"/> + </telecom> + <telecom> + <system value="email"/> + <value value="annabelle.hertel@helmke.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Auf'm Kamp 223"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="223"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf'm Kamp"/> + </extension> + </line> + <city value="Neu Helenheim"/> + <postalCode value="41048"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="88fcdb27-a5c8-4eaa-a36c-d74128d02f10"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="207670259"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/output.json deleted file mode 100644 index 2c40bee0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/output.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "9011dc52-4829-4b84-a9f1-8224f977dacd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "e05760d4-4d33-42f9-aa34-4e0d81a0f766", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/f41badff-5fbe-49c3-bfa9-48ae13e56dcc" - }, - "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": "f41badff-5fbe-49c3-bfa9-48ae13e56dcc", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8a773c96-1ef7-447c-980f-a9f210629085", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "25e6c0b2-7649-4511-9ac3-5dc78b8bd6f3", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_475e9667/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/output.xml deleted file mode 100644 index e8cef5b9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/output.xml +++ /dev/null @@ -1,236 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9011dc52-4829-4b84-a9f1-8224f977dacd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.797.78"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e05760d4-4d33-42f9-aa34-4e0d81a0f766"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-02-08"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:13061707"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/f41badff-5fbe-49c3-bfa9-48ae13e56dcc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f41badff-5fbe-49c3-bfa9-48ae13e56dcc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="45323114"/> - </coding> - <text value="Hydvofloxnin"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8a773c96-1ef7-447c-980f-a9f210629085"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="711020854"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0340) 561450343"/> - </telecom> - <telecom> - <system value="email"/> - <value value="saphira.schaffarzik@jungbluth.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Am Arenzberg 46b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="46b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Am Arenzberg"/> - </extension> - </line> - <city value="Jessicafeld"/> - <postalCode value="12141"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="25e6c0b2-7649-4511-9ac3-5dc78b8bd6f3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="616562658"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667_475e9667/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667_475e9667/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667_475e9667/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667_475e9667/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667_475e9667/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667_475e9667/output.json new file mode 100644 index 00000000..c06b76ff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667_475e9667/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "b037d6af-2478-4928-a5be-613e51b73b88", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f9b6e143-da6b-4f49-9785-31cbbc0d22ca", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/cc304ab6-34fa-494d-8885-0b2235db6583" + }, + "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": "cc304ab6-34fa-494d-8885-0b2235db6583", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1d5a86e5-1e10-4414-9504-cdda11e0c325", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f8ca01fd-2dc2-4dfc-9e69-a24b70dc7f51", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_475e9667_475e9667/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667_475e9667/output.xml new file mode 100644 index 00000000..2572a8ce --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5_475e9667_475e9667/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b037d6af-2478-4928-a5be-613e51b73b88"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.797.78"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f9b6e143-da6b-4f49-9785-31cbbc0d22ca"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-02-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/cc304ab6-34fa-494d-8885-0b2235db6583"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cc304ab6-34fa-494d-8885-0b2235db6583"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="45323114"/> + </coding> + <text value="Hydvofloxnin"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1d5a86e5-1e10-4414-9504-cdda11e0c325"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f8ca01fd-2dc2-4dfc-9e69-a24b70dc7f51"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.json index 11c70043..3537f754 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "f755d338-8655-490e-a87d-b9250cd7f017", + "id": "de0ba7d6-54b0-4b76-af17-a584f3e0e57f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "6959dbd2-6664-4b3b-9cf5-c31b009950c9", + "id": "16adc6dc-a4c0-4c61-9a31-49646025fc8b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/a2b2a952-2282-4e17-a6bf-404f6e02a6b9" + "reference": "Medication/5a14c480-3b1f-49ac-b143-e20712f0b306" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a2b2a952-2282-4e17-a6bf-404f6e02a6b9", + "id": "5a14c480-3b1f-49ac-b143-e20712f0b306", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e73a36d6-ad65-413b-9e6e-23a56461b3a8", + "id": "bfc16ccc-b155-4a81-b841-cd6a0c8e480f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "2d47de49-9d0d-4e01-8c71-4462abd2f9c3", + "id": "cd46d632-56ce-41ad-bc7d-a8778d5fcf7e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.xml index 21ab285d..674195da 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="f755d338-8655-490e-a87d-b9250cd7f017"/> + <id value="de0ba7d6-54b0-4b76-af17-a584f3e0e57f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6959dbd2-6664-4b3b-9cf5-c31b009950c9"/> + <id value="16adc6dc-a4c0-4c61-9a31-49646025fc8b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/a2b2a952-2282-4e17-a6bf-404f6e02a6b9"/> + <reference value="Medication/5a14c480-3b1f-49ac-b143-e20712f0b306"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a2b2a952-2282-4e17-a6bf-404f6e02a6b9"/> + <id value="5a14c480-3b1f-49ac-b143-e20712f0b306"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e73a36d6-ad65-413b-9e6e-23a56461b3a8"/> + <id value="bfc16ccc-b155-4a81-b841-cd6a0c8e480f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2d47de49-9d0d-4e01-8c71-4462abd2f9c3"/> + <id value="cd46d632-56ce-41ad-bc7d-a8778d5fcf7e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195_05168195/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195_05168195/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195_05168195/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195_05168195/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195_05168195/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195_05168195/output.json new file mode 100644 index 00000000..3d80b1bd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195_05168195/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "f03521b2-b031-4302-ad02-df2df64edbc0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "19c8f17f-787c-46d9-90cb-37736c6b13f0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0a5539c1-bb11-4bb4-8aa2-538c5500c4a4" + }, + "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": "0a5539c1-bb11-4bb4-8aa2-538c5500c4a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6c530b04-735d-41f8-9afc-c0bfaeab58af", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b3e1ae03-bd69-4fd8-b8a6-56f503676b0c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_05168195_05168195/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195_05168195/output.xml new file mode 100644 index 00000000..6d924747 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_05168195_05168195/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f03521b2-b031-4302-ad02-df2df64edbc0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.994.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="19c8f17f-787c-46d9-90cb-37736c6b13f0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0a5539c1-bb11-4bb4-8aa2-538c5500c4a4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0a5539c1-bb11-4bb4-8aa2-538c5500c4a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="93081505"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6c530b04-735d-41f8-9afc-c0bfaeab58af"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="024545375"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09883) 7244642"/> + </telecom> + <telecom> + <system value="email"/> + <value value="arne.griese@vogt.de"/> + </telecom> + <address> + <type value="both"/> + <line value="An der Evangelischen Kirche 399"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="399"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="An der Evangelischen Kirche"/> + </extension> + </line> + <city value="West Evastadt"/> + <postalCode value="45627"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b3e1ae03-bd69-4fd8-b8a6-56f503676b0c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="097388053"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/output.json deleted file mode 100644 index 39a85a49..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "6d26d6aa-4587-4427-829d-272bebf05a6a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "a0848e46-ecee-473f-b47d-11de7e9d51fa", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/05fdb67a-dd59-4797-b564-af31b190db6c" - }, - "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": "05fdb67a-dd59-4797-b564-af31b190db6c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e63d9a7e-1b4d-4480-ae18-7aed51d7ae93", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "1f5a82ee-d1ae-4e10-8601-aeb581f817e6", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_fce076cc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/output.xml deleted file mode 100644 index 8c82a12e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6d26d6aa-4587-4427-829d-272bebf05a6a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.758.98"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a0848e46-ecee-473f-b47d-11de7e9d51fa"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/05fdb67a-dd59-4797-b564-af31b190db6c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="05fdb67a-dd59-4797-b564-af31b190db6c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e63d9a7e-1b4d-4480-ae18-7aed51d7ae93"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="015446034"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-929-6020489"/> - </telecom> - <telecom> - <system value="email"/> - <value value="johannes.ahrens@bogdashin.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Köttershof 163"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="163"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Köttershof"/> - </extension> - </line> - <city value="Lyafeld"/> - <postalCode value="17418"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1f5a82ee-d1ae-4e10-8601-aeb581f817e6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="088952773"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc_fce076cc/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc_fce076cc/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc_fce076cc/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc_fce076cc/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc_fce076cc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc_fce076cc/output.json new file mode 100644 index 00000000..aeff7960 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc_fce076cc/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "673e7c17-aa5d-4f1b-99f3-f7f1ff5920bb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e980678e-608a-48fe-bb22-d3f6b5e797d1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f581b049-0817-44f5-9540-dd2bb6b4a0ae" + }, + "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": "f581b049-0817-44f5-9540-dd2bb6b4a0ae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f2194c4a-728f-47c3-bffd-fbed11995369", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3f421103-74f4-4d5a-8c27-f67d3fa760de", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_fce076cc_fce076cc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc_fce076cc/output.xml new file mode 100644 index 00000000..db63ae0a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a_fce076cc_fce076cc/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="673e7c17-aa5d-4f1b-99f3-f7f1ff5920bb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.758.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e980678e-608a-48fe-bb22-d3f6b5e797d1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f581b049-0817-44f5-9540-dd2bb6b4a0ae"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f581b049-0817-44f5-9540-dd2bb6b4a0ae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f2194c4a-728f-47c3-bffd-fbed11995369"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="015446034"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-929-6020489"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johannes.ahrens@bogdashin.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Köttershof 163"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="163"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Köttershof"/> + </extension> + </line> + <city value="Lyafeld"/> + <postalCode value="17418"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3f421103-74f4-4d5a-8c27-f67d3fa760de"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="088952773"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/output.json deleted file mode 100644 index b5721dc1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "035c74be-2402-46e6-a91c-d694f35304de", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "daf96dd7-02f2-42da-a459-b4c101cb0954", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/f66c4029-c745-47e5-8f21-b518342c0b2c" - }, - "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": "f66c4029-c745-47e5-8f21-b518342c0b2c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "668fd270-02c4-4fa8-8330-53ec6c294bc7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "c2c5ecb6-11db-438b-8e4b-1e30bc8a250b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_45a9ad90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/output.xml deleted file mode 100644 index a25a671f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="035c74be-2402-46e6-a91c-d694f35304de"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.743.46"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="daf96dd7-02f2-42da-a459-b4c101cb0954"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/f66c4029-c745-47e5-8f21-b518342c0b2c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f66c4029-c745-47e5-8f21-b518342c0b2c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="668fd270-02c4-4fa8-8330-53ec6c294bc7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="525817115"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0901) 412592712"/> - </telecom> - <telecom> - <system value="email"/> - <value value="dilara.kahl@klinger.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Schießbergstr. 3"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="3"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Schießbergstr."/> - </extension> - </line> - <city value="Emiliahagen"/> - <postalCode value="70859"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c2c5ecb6-11db-438b-8e4b-1e30bc8a250b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="367206462"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90_45a9ad90/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90_45a9ad90/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90_45a9ad90/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90_45a9ad90/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90_45a9ad90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90_45a9ad90/output.json new file mode 100644 index 00000000..53b22661 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90_45a9ad90/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "f1a031c5-3bda-44a3-a4fa-a6b493856182", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f29e29fc-07b2-49d9-beb9-c1742d91ca2c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a27fca6b-7c30-410e-985b-ecc090eea16f" + }, + "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": "a27fca6b-7c30-410e-985b-ecc090eea16f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c8026f2c-8efc-4fe0-ba38-dbf546a2be1a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8d4bba37-fe6f-4408-9aa7-40f33e943a6b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_45a9ad90_45a9ad90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90_45a9ad90/output.xml new file mode 100644 index 00000000..327edb64 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269_45a9ad90_45a9ad90/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f1a031c5-3bda-44a3-a4fa-a6b493856182"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.743.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f29e29fc-07b2-49d9-beb9-c1742d91ca2c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a27fca6b-7c30-410e-985b-ecc090eea16f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a27fca6b-7c30-410e-985b-ecc090eea16f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c8026f2c-8efc-4fe0-ba38-dbf546a2be1a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="525817115"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0901) 412592712"/> + </telecom> + <telecom> + <system value="email"/> + <value value="dilara.kahl@klinger.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Schießbergstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schießbergstr."/> + </extension> + </line> + <city value="Emiliahagen"/> + <postalCode value="70859"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8d4bba37-fe6f-4408-9aa7-40f33e943a6b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="367206462"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.json index 6b03fb88..87767644 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "770015b1-1440-4078-9394-0bef57c8bb04", + "id": "a415c09a-c864-4501-bb39-d7d0fe5e7cc3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "758e454b-54f9-4ed5-9707-05ae9e0d8c70", + "id": "c70773f0-7fc5-486b-96c3-7360e452db31", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/0f733bf2-108e-4a6d-9414-c84ab358d2d4" + "reference": "Medication/b995526a-9a4a-4c3b-8e96-2c5b5805b81f" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "0f733bf2-108e-4a6d-9414-c84ab358d2d4", + "id": "b995526a-9a4a-4c3b-8e96-2c5b5805b81f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d70fa6b7-3ef9-4baa-ba33-6c82e74190e4", + "id": "c1af2922-8e19-4f90-9691-2e5263572c88", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "277f2b53-02a8-4ea9-9648-9436cb0d3a35", + "id": "9c1688de-19f2-4368-9580-f6b27c4db1a1", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.xml index 68e1cb6b..333d7599 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="770015b1-1440-4078-9394-0bef57c8bb04"/> + <id value="a415c09a-c864-4501-bb39-d7d0fe5e7cc3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="758e454b-54f9-4ed5-9707-05ae9e0d8c70"/> + <id value="c70773f0-7fc5-486b-96c3-7360e452db31"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/0f733bf2-108e-4a6d-9414-c84ab358d2d4"/> + <reference value="Medication/b995526a-9a4a-4c3b-8e96-2c5b5805b81f"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="0f733bf2-108e-4a6d-9414-c84ab358d2d4"/> + <id value="b995526a-9a4a-4c3b-8e96-2c5b5805b81f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d70fa6b7-3ef9-4baa-ba33-6c82e74190e4"/> + <id value="c1af2922-8e19-4f90-9691-2e5263572c88"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="277f2b53-02a8-4ea9-9648-9436cb0d3a35"/> + <id value="9c1688de-19f2-4368-9580-f6b27c4db1a1"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103_09e5d103/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103_09e5d103/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103_09e5d103/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103_09e5d103/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103_09e5d103/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103_09e5d103/output.json new file mode 100644 index 00000000..21cce359 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103_09e5d103/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "5ebaa01b-23e3-44a9-9d60-a5cf27fd5de0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f3ff39ef-52f4-41c7-a1cf-3177031b291e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9c9087ae-6b1a-4c3f-a302-d872806e66f7" + }, + "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": "9c9087ae-6b1a-4c3f-a302-d872806e66f7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "54359bb1-9605-4b04-aaac-80c3e22c7990", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "55d9a8ee-139e-41b2-a0c3-4a15ccbedc57", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_09e5d103_09e5d103/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103_09e5d103/output.xml new file mode 100644 index 00000000..130eb940 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09e5d103_09e5d103/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5ebaa01b-23e3-44a9-9d60-a5cf27fd5de0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.690.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f3ff39ef-52f4-41c7-a1cf-3177031b291e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9c9087ae-6b1a-4c3f-a302-d872806e66f7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9c9087ae-6b1a-4c3f-a302-d872806e66f7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="47126688"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="54359bb1-9605-4b04-aaac-80c3e22c7990"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="029576346"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(01397) 5739283"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lydia.gaba@proske.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Piet-Mondrian-Str. 852"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="852"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Piet-Mondrian-Str."/> + </extension> + </line> + <city value="Schön Charlotta"/> + <postalCode value="92584"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="55d9a8ee-139e-41b2-a0c3-4a15ccbedc57"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="570752613"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.json index fa7ae5a7..3d01f64f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "573c3f43-7964-4c44-b64a-a727e6fbefdf", + "id": "5ea2003c-68d6-4366-a8e5-fc51cb7b55d3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "e9dcbce8-f009-481f-865f-eb3660b86397", + "id": "e346815e-8897-4546-ae9d-7cf4b42dc246", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/90a0d16f-a93e-4432-9105-717a6bc3ca76" + "reference": "Medication/7a5e4c82-f68e-4035-aa9e-9f5fc2b1ef03" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "90a0d16f-a93e-4432-9105-717a6bc3ca76", + "id": "7a5e4c82-f68e-4035-aa9e-9f5fc2b1ef03", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "b8eef714-e539-4dd0-b3ed-2cd21b217365", + "id": "3b0c1c13-4b52-4c2b-b490-dd8ea7913ebe", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "54ebdcfd-5353-485f-8f83-36a896512ada", + "id": "fee12bfc-ccce-4879-8d7c-31a79d08c4ed", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.xml index b395eff9..e291562f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="573c3f43-7964-4c44-b64a-a727e6fbefdf"/> + <id value="5ea2003c-68d6-4366-a8e5-fc51cb7b55d3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e9dcbce8-f009-481f-865f-eb3660b86397"/> + <id value="e346815e-8897-4546-ae9d-7cf4b42dc246"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/90a0d16f-a93e-4432-9105-717a6bc3ca76"/> + <reference value="Medication/7a5e4c82-f68e-4035-aa9e-9f5fc2b1ef03"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="90a0d16f-a93e-4432-9105-717a6bc3ca76"/> + <id value="7a5e4c82-f68e-4035-aa9e-9f5fc2b1ef03"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="b8eef714-e539-4dd0-b3ed-2cd21b217365"/> + <id value="3b0c1c13-4b52-4c2b-b490-dd8ea7913ebe"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="54ebdcfd-5353-485f-8f83-36a896512ada"/> + <id value="fee12bfc-ccce-4879-8d7c-31a79d08c4ed"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f_0b82f30f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f_0b82f30f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f_0b82f30f/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f_0b82f30f/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f_0b82f30f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f_0b82f30f/output.json new file mode 100644 index 00000000..9b10cfae --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f_0b82f30f/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "a6a40c01-d6bd-4681-8ffb-055c8b4de75f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f130c559-f892-4120-9d21-5195fdeb1deb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c917bdfd-d38a-43de-b643-ca72cbad4370" + }, + "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": "c917bdfd-d38a-43de-b643-ca72cbad4370", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9c11f1c4-a43f-4ef1-ae73-332469953c6a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "64f4bf4f-2640-40ea-8b12-4bb4f953e014", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0b82f30f_0b82f30f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f_0b82f30f/output.xml new file mode 100644 index 00000000..9d687f5d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0b82f30f_0b82f30f/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a6a40c01-d6bd-4681-8ffb-055c8b4de75f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.741.52"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f130c559-f892-4120-9d21-5195fdeb1deb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c917bdfd-d38a-43de-b643-ca72cbad4370"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c917bdfd-d38a-43de-b643-ca72cbad4370"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9c11f1c4-a43f-4ef1-ae73-332469953c6a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="201216337"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0734) 924483515"/> + </telecom> + <telecom> + <system value="email"/> + <value value="marah.jahnke@kleinmann.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Dechant-Fein-Str. 29b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dechant-Fein-Str."/> + </extension> + </line> + <city value="Burgerburg"/> + <postalCode value="36436"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="64f4bf4f-2640-40ea-8b12-4bb4f953e014"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="890977542"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/output.json deleted file mode 100644 index f1b9e3f1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/output.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "6d01b865-92b2-4a05-9262-004224c1f7a0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "c1d82837-c968-4815-91f9-7831e7f823be", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/278c5017-e2aa-4886-8484-77f7988b845b" - }, - "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": "278c5017-e2aa-4886-8484-77f7988b845b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ce569136-6b6c-4846-b9c9-45103e486feb", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "00411af5-c53b-441c-b855-e900debb3a45", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_bddb1f9e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/output.xml deleted file mode 100644 index b7ccd381..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/output.xml +++ /dev/null @@ -1,236 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6d01b865-92b2-4a05-9262-004224c1f7a0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.694.65"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c1d82837-c968-4815-91f9-7831e7f823be"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-11-04"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:e554a5a0-47a2-42dd-8b34-a6dd1e84b8b7"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/278c5017-e2aa-4886-8484-77f7988b845b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="278c5017-e2aa-4886-8484-77f7988b845b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09700354"/> - </coding> - <text value="Adavomilcain"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ce569136-6b6c-4846-b9c9-45103e486feb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="209739478"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(02711) 4600399"/> - </telecom> - <telecom> - <system value="email"/> - <value value="rené.uhrig@engel.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Heinrich-von-Kleist-Str. 75b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="75b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Heinrich-von-Kleist-Str."/> - </extension> - </line> - <city value="Ehmbrunn"/> - <postalCode value="75097"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="00411af5-c53b-441c-b855-e900debb3a45"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="238658744"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e_bddb1f9e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e_bddb1f9e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e_bddb1f9e/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e_bddb1f9e/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e_bddb1f9e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e_bddb1f9e/output.json new file mode 100644 index 00000000..c8ce59a4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e_bddb1f9e/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "c12046ae-8e98-4df9-ab3b-17ed0463d4ad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5ba21dcb-bc9c-4864-a9dd-9868eab6317a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/19d450d3-f691-47e5-a443-e18c728cd5af" + }, + "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": "19d450d3-f691-47e5-a443-e18c728cd5af", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2eec2518-a73d-4fc9-98e2-20aeecfb70a0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c0243653-7119-4723-b457-340db09870e5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bddb1f9e_bddb1f9e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e_bddb1f9e/output.xml new file mode 100644 index 00000000..4dbf108b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4_bddb1f9e_bddb1f9e/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c12046ae-8e98-4df9-ab3b-17ed0463d4ad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.694.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5ba21dcb-bc9c-4864-a9dd-9868eab6317a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:e554a5a0-47a2-42dd-8b34-a6dd1e84b8b7"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/19d450d3-f691-47e5-a443-e18c728cd5af"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="19d450d3-f691-47e5-a443-e18c728cd5af"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09700354"/> + </coding> + <text value="Adavomilcain"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2eec2518-a73d-4fc9-98e2-20aeecfb70a0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="209739478"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02711) 4600399"/> + </telecom> + <telecom> + <system value="email"/> + <value value="rené.uhrig@engel.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Heinrich-von-Kleist-Str. 75b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heinrich-von-Kleist-Str."/> + </extension> + </line> + <city value="Ehmbrunn"/> + <postalCode value="75097"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c0243653-7119-4723-b457-340db09870e5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="238658744"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.json index 96776b6e..b853b9f2 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "8ed80d43-2d85-4448-b232-b2dcc7586d8a", + "id": "af3ed7c5-9864-446f-bf91-823297e9cbd8", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "1401df03-7f09-4d8c-9e2c-cdeea0007d29", + "id": "652d052c-8258-449d-89f5-37d56ffb16a9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/6ed686ef-779c-4a04-b03a-4d72b73297cf" + "reference": "Medication/7bb62974-473d-4ddf-8da8-dc7bd5c092e6" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "6ed686ef-779c-4a04-b03a-4d72b73297cf", + "id": "7bb62974-473d-4ddf-8da8-dc7bd5c092e6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "0094ca58-410e-4d96-b461-0ee422f9913e", + "id": "f767f605-5277-428e-a03b-e6b235aa30ef", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "6d532077-70bc-435f-9b71-65e14265dade", + "id": "46b07a97-6e8f-400a-bffd-7e424a4a0ed6", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.xml index ff3c8531..3438223e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="8ed80d43-2d85-4448-b232-b2dcc7586d8a"/> + <id value="af3ed7c5-9864-446f-bf91-823297e9cbd8"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1401df03-7f09-4d8c-9e2c-cdeea0007d29"/> + <id value="652d052c-8258-449d-89f5-37d56ffb16a9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/6ed686ef-779c-4a04-b03a-4d72b73297cf"/> + <reference value="Medication/7bb62974-473d-4ddf-8da8-dc7bd5c092e6"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="6ed686ef-779c-4a04-b03a-4d72b73297cf"/> + <id value="7bb62974-473d-4ddf-8da8-dc7bd5c092e6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="0094ca58-410e-4d96-b461-0ee422f9913e"/> + <id value="f767f605-5277-428e-a03b-e6b235aa30ef"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6d532077-70bc-435f-9b71-65e14265dade"/> + <id value="46b07a97-6e8f-400a-bffd-7e424a4a0ed6"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8_0d9bb3b8/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8_0d9bb3b8/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8_0d9bb3b8/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8_0d9bb3b8/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8_0d9bb3b8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8_0d9bb3b8/output.json new file mode 100644 index 00000000..379703d3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8_0d9bb3b8/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "5be1f3c2-b42e-4aee-87e5-53e0bb89e24e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7f11ff9d-8f5d-455d-b367-94145c98ac06", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9ee34b2a-097a-49ec-898f-6de8254c522c" + }, + "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": "9ee34b2a-097a-49ec-898f-6de8254c522c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bff55d08-b84f-4f17-86e8-f30659bad631", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f63c9006-88c6-4eee-ba57-0e0b0eced829", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0d9bb3b8_0d9bb3b8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8_0d9bb3b8/output.xml new file mode 100644 index 00000000..de3473bd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d9bb3b8_0d9bb3b8/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5be1f3c2-b42e-4aee-87e5-53e0bb89e24e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7f11ff9d-8f5d-455d-b367-94145c98ac06"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9ee34b2a-097a-49ec-898f-6de8254c522c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9ee34b2a-097a-49ec-898f-6de8254c522c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bff55d08-b84f-4f17-86e8-f30659bad631"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="173654881"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(07189) 9689975"/> + </telecom> + <telecom> + <system value="email"/> + <value value="pius.bethke@morhelfer.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Mozartstr. 252"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="252"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Mozartstr."/> + </extension> + </line> + <city value="Forststadt"/> + <postalCode value="48325"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f63c9006-88c6-4eee-ba57-0e0b0eced829"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="246042887"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.json index be4cdfc0..3c9882ea 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ca1e4e61-ceb3-499d-8de1-f593d4856038", + "id": "b09eb6d4-a91d-41e1-9d52-2b9fe682c315", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "5d1cb3cb-980d-444e-b3db-eff5085208ed", + "id": "4ce52880-a4d0-46ff-9be8-5f30ed42dcf6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/496dac2e-488d-46b2-b828-546f95eea410" + "reference": "Medication/3b5ac730-9b6d-479c-bb0c-8645c05b9ad1" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "496dac2e-488d-46b2-b828-546f95eea410", + "id": "3b5ac730-9b6d-479c-bb0c-8645c05b9ad1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d5182edb-f9f7-49c4-a63f-d3e89c005a1c", + "id": "3615725a-d6fc-4544-b923-bdea7dc13215", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "e11b1c3f-68d1-4622-994a-0047d56474ce", + "id": "d3febac7-172b-499b-97af-3e17efa80381", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.xml index 2c93a0e7..eadae4bc 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="ca1e4e61-ceb3-499d-8de1-f593d4856038"/> + <id value="b09eb6d4-a91d-41e1-9d52-2b9fe682c315"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5d1cb3cb-980d-444e-b3db-eff5085208ed"/> + <id value="4ce52880-a4d0-46ff-9be8-5f30ed42dcf6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/496dac2e-488d-46b2-b828-546f95eea410"/> + <reference value="Medication/3b5ac730-9b6d-479c-bb0c-8645c05b9ad1"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="496dac2e-488d-46b2-b828-546f95eea410"/> + <id value="3b5ac730-9b6d-479c-bb0c-8645c05b9ad1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d5182edb-f9f7-49c4-a63f-d3e89c005a1c"/> + <id value="3615725a-d6fc-4544-b923-bdea7dc13215"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e11b1c3f-68d1-4622-994a-0047d56474ce"/> + <id value="d3febac7-172b-499b-97af-3e17efa80381"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04_0fdadb04/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04_0fdadb04/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04_0fdadb04/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04_0fdadb04/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04_0fdadb04/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04_0fdadb04/output.json new file mode 100644 index 00000000..d6ef5846 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04_0fdadb04/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "814a79a5-667a-4105-b69c-fa6b720406b5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "58e5d666-84ce-4ab3-bbfe-9860dd08add3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fb60479b-6e35-4546-8b2b-d7755ffc12ae" + }, + "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": "fb60479b-6e35-4546-8b2b-d7755ffc12ae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f60f1ed0-9665-4e20-8cf3-ff3ffe8be710", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "42cd978a-2f52-45df-a8dc-c01c95f3e5d8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0fdadb04_0fdadb04/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04_0fdadb04/output.xml new file mode 100644 index 00000000..f808be23 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0fdadb04_0fdadb04/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="814a79a5-667a-4105-b69c-fa6b720406b5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.746.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="58e5d666-84ce-4ab3-bbfe-9860dd08add3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fb60479b-6e35-4546-8b2b-d7755ffc12ae"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fb60479b-6e35-4546-8b2b-d7755ffc12ae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f60f1ed0-9665-4e20-8cf3-ff3ffe8be710"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="612914060"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0061) 349909615"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ronja.boruschewski@assmus.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Elbestr. 917"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="917"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Elbestr."/> + </extension> + </line> + <city value="Güldemeisterheim"/> + <postalCode value="78118"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="42cd978a-2f52-45df-a8dc-c01c95f3e5d8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="935884750"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.json index cbbffeba..b629f3b4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "61351664-1b74-4a3b-9af8-e482fd1e9f68", + "id": "79d43d90-c04a-436f-8dba-35b4d6a52c65", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "3bc08cbb-1c4c-4bcf-9e5c-8badd30073ee", + "id": "7cf2d24f-ffe5-43fc-9232-626b02ee1beb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/2d35401c-fe45-4621-8ef5-55c2e8be4f6e" + "reference": "Medication/57c5012a-65e8-468f-86da-4f2947a8988e" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "2d35401c-fe45-4621-8ef5-55c2e8be4f6e", + "id": "57c5012a-65e8-468f-86da-4f2947a8988e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e0eaa55f-4d5f-4b5c-be58-53824bf931c3", + "id": "575aba4a-19fd-4324-aad5-fc2a7df33da9", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "b5872fce-05fd-4abd-b9b3-9a49f4924d79", + "id": "d153757d-e6f4-4aec-85d4-b9960603526a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.xml index 6f6c6007..78ed37de 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="61351664-1b74-4a3b-9af8-e482fd1e9f68"/> + <id value="79d43d90-c04a-436f-8dba-35b4d6a52c65"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3bc08cbb-1c4c-4bcf-9e5c-8badd30073ee"/> + <id value="7cf2d24f-ffe5-43fc-9232-626b02ee1beb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/2d35401c-fe45-4621-8ef5-55c2e8be4f6e"/> + <reference value="Medication/57c5012a-65e8-468f-86da-4f2947a8988e"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="2d35401c-fe45-4621-8ef5-55c2e8be4f6e"/> + <id value="57c5012a-65e8-468f-86da-4f2947a8988e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e0eaa55f-4d5f-4b5c-be58-53824bf931c3"/> + <id value="575aba4a-19fd-4324-aad5-fc2a7df33da9"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b5872fce-05fd-4abd-b9b3-9a49f4924d79"/> + <id value="d153757d-e6f4-4aec-85d4-b9960603526a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e_10feb16e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e_10feb16e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e_10feb16e/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e_10feb16e/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e_10feb16e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e_10feb16e/output.json new file mode 100644 index 00000000..2f209107 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e_10feb16e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "6cdcc64f-d0cd-4b87-b555-3cb4aa478498", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4edacf47-5c92-477e-bf63-8ec46fe9cbfb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/13d11264-fb43-4718-aa93-8a493c26e0ec" + }, + "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": "13d11264-fb43-4718-aa93-8a493c26e0ec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4808c547-2037-4a7c-bfa8-7dac8a1012da", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "22951bd3-b74d-44bc-b246-f191aedb985f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_10feb16e_10feb16e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e_10feb16e/output.xml new file mode 100644 index 00000000..decea984 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_10feb16e_10feb16e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6cdcc64f-d0cd-4b87-b555-3cb4aa478498"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.760.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4edacf47-5c92-477e-bf63-8ec46fe9cbfb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/13d11264-fb43-4718-aa93-8a493c26e0ec"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="13d11264-fb43-4718-aa93-8a493c26e0ec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4808c547-2037-4a7c-bfa8-7dac8a1012da"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="470426554"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0379) 822340692"/> + </telecom> + <telecom> + <system value="email"/> + <value value="fabian.bienasch@just.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Weizkamp 877"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="877"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weizkamp"/> + </extension> + </line> + <city value="Groß Ruben"/> + <postalCode value="68177"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="22951bd3-b74d-44bc-b246-f191aedb985f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="439856521"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/output.json deleted file mode 100644 index 20beb622..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "91d71191-4522-4287-9a07-48f2d89ea499", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "993384fc-5559-42f0-9ba7-8f06edbd6653", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/b8cea273-015f-42ad-91d6-53f081dacfc3" - }, - "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": "b8cea273-015f-42ad-91d6-53f081dacfc3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fbe9ee53-5ba1-4388-a8ce-3214a790177a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "d895e513-9498-43d5-9aa0-d2b4fa0d0069", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_09e5d103/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/output.xml deleted file mode 100644 index 4cd4c6cd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="91d71191-4522-4287-9a07-48f2d89ea499"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.690.77"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="993384fc-5559-42f0-9ba7-8f06edbd6653"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/b8cea273-015f-42ad-91d6-53f081dacfc3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b8cea273-015f-42ad-91d6-53f081dacfc3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="47126688"/> - </coding> - <text value="Zytostatika"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="fbe9ee53-5ba1-4388-a8ce-3214a790177a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="029576346"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(01397) 5739283"/> - </telecom> - <telecom> - <system value="email"/> - <value value="lydia.gaba@proske.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Piet-Mondrian-Str. 852"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="852"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Piet-Mondrian-Str."/> - </extension> - </line> - <city value="Schön Charlotta"/> - <postalCode value="92584"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d895e513-9498-43d5-9aa0-d2b4fa0d0069"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="570752613"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103_09e5d103/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103_09e5d103/input.xml new file mode 100644 index 00000000..d0859f6f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103_09e5d103/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="09e5d103-158c-4926-b043-50aeaa06951e"/> + <meta> + <lastUpdated value="2024-02-08T19:07:57.112+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.690.77"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:07:57.112+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/65d091bf-c7cc-474f-b1c7-59788e420e60"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="65d091bf-c7cc-474f-b1c7-59788e420e60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/f6f0a3e5-bc11-4444-a52c-eaddacadb291"/> + </subject> + <date value="2024-02-08T19:07:57+01:00"/> + <author> + <reference value="Practitioner/8d36b557-4568-41b9-9e67-6cbd89d783b1"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/77ab1ef2-82b9-4954-ab5d-807d33b33258"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/b9af01b1-37e3-4445-8e0b-ab0e04c236aa"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/eef73e6f-fe8a-485c-aa13-537070311ebc"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/5d524fd1-9f6f-4a89-b14e-7c2b14bc0c24"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5d524fd1-9f6f-4a89-b14e-7c2b14bc0c24"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="47126688"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/f6f0a3e5-bc11-4444-a52c-eaddacadb291"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="f6f0a3e5-bc11-4444-a52c-eaddacadb291"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1990-02-03"/> + <address> + <type value="both"/> + <line value="Am Heidkamp 65b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="65b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Heidkamp"/> + </extension> + </line> + <city value="Groß Ianstadt"/> + <postalCode value="34551"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/77ab1ef2-82b9-4954-ab5d-807d33b33258"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="77ab1ef2-82b9-4954-ab5d-807d33b33258"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="029576346"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(01397) 5739283"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lydia.gaba@proske.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Piet-Mondrian-Str. 852"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="852"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Piet-Mondrian-Str."/> + </extension> + </line> + <city value="Schön Charlotta"/> + <postalCode value="92584"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/b9af01b1-37e3-4445-8e0b-ab0e04c236aa"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="b9af01b1-37e3-4445-8e0b-ab0e04c236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="88"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/2ae86d18-a95a-407b-94a8-680a330f3547"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108833355"/> + </identifier> + <display value="BKK Akzo Nobel ‐Bayern‐"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/8d36b557-4568-41b9-9e67-6cbd89d783b1"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8d36b557-4568-41b9-9e67-6cbd89d783b1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="570752613"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/eef73e6f-fe8a-485c-aa13-537070311ebc"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="eef73e6f-fe8a-485c-aa13-537070311ebc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5d524fd1-9f6f-4a89-b14e-7c2b14bc0c24"/> + </medicationReference> + <subject> + <reference value="Patient/f6f0a3e5-bc11-4444-a52c-eaddacadb291"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/8d36b557-4568-41b9-9e67-6cbd89d783b1"/> + </requester> + <insurance> + <reference value="Coverage/b9af01b1-37e3-4445-8e0b-ab0e04c236aa"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103_09e5d103/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103_09e5d103/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103_09e5d103/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103_09e5d103/output.json new file mode 100644 index 00000000..89e9b845 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103_09e5d103/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "e712ce19-d8d2-4ce1-8bca-b00976b5322a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e5e91478-c41a-4210-b1b8-38c10827a4ec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/422f97d7-5e00-4211-ac18-52f40211cae9" + }, + "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": "422f97d7-5e00-4211-ac18-52f40211cae9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "64172e36-3ac4-469f-9d88-012a21dd3efa", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6bf9f60b-ecbf-44e5-8275-ac537b06b485", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_09e5d103_09e5d103/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103_09e5d103/output.xml new file mode 100644 index 00000000..bead6e15 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c_09e5d103_09e5d103/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e712ce19-d8d2-4ce1-8bca-b00976b5322a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.690.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e5e91478-c41a-4210-b1b8-38c10827a4ec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/422f97d7-5e00-4211-ac18-52f40211cae9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="422f97d7-5e00-4211-ac18-52f40211cae9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="47126688"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="64172e36-3ac4-469f-9d88-012a21dd3efa"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="029576346"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(01397) 5739283"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lydia.gaba@proske.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Piet-Mondrian-Str. 852"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="852"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Piet-Mondrian-Str."/> + </extension> + </line> + <city value="Schön Charlotta"/> + <postalCode value="92584"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6bf9f60b-ecbf-44e5-8275-ac537b06b485"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="570752613"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.json index 29c5c25b..1c00febb 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "92a641d3-cc43-4184-bb91-bae1f8eb3465", + "id": "9c28f05f-94e2-440e-a9f7-19611f6e5552", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "c5dc8dd7-8a4c-4b39-af58-e121c0d31554", + "id": "9d585406-e1d5-4cd6-9dbf-ca163f49195b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/3fd34d31-4518-46f7-8c06-e192dff42938" + "reference": "Medication/52717cac-6a5d-4ee1-8f78-d34a24fcee27" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "3fd34d31-4518-46f7-8c06-e192dff42938", + "id": "52717cac-6a5d-4ee1-8f78-d34a24fcee27", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "0807fbac-7610-4964-8cd3-0ea030d2e1da", + "id": "9ee20988-f0a9-4821-b88b-0c1a0a798246", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "5b83b62f-1c2b-4327-bdad-eaba3c588f83", + "id": "cc1ebeb8-adbe-4c7a-ad35-4d8ea35550c5", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.xml index 0e37af97..b38c3332 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="92a641d3-cc43-4184-bb91-bae1f8eb3465"/> + <id value="9c28f05f-94e2-440e-a9f7-19611f6e5552"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c5dc8dd7-8a4c-4b39-af58-e121c0d31554"/> + <id value="9d585406-e1d5-4cd6-9dbf-ca163f49195b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/3fd34d31-4518-46f7-8c06-e192dff42938"/> + <reference value="Medication/52717cac-6a5d-4ee1-8f78-d34a24fcee27"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="3fd34d31-4518-46f7-8c06-e192dff42938"/> + <id value="52717cac-6a5d-4ee1-8f78-d34a24fcee27"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="0807fbac-7610-4964-8cd3-0ea030d2e1da"/> + <id value="9ee20988-f0a9-4821-b88b-0c1a0a798246"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5b83b62f-1c2b-4327-bdad-eaba3c588f83"/> + <id value="cc1ebeb8-adbe-4c7a-ad35-4d8ea35550c5"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066_12931066/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066_12931066/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066_12931066/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066_12931066/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066_12931066/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066_12931066/output.json new file mode 100644 index 00000000..8c8cbecf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066_12931066/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "f3ba1f24-d261-4038-820c-0a41c75f2d02", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c3c3997b-510a-4831-9aa1-b8f46dc4eef8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4e283113-e8e9-4da3-a793-32d5c1e9f4b5" + }, + "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": "4e283113-e8e9-4da3-a793-32d5c1e9f4b5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bef59e97-b418-4fcf-b09b-67ede2213221", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "28e9b75b-f663-4c30-9836-76b384dda21e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_12931066_12931066/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066_12931066/output.xml new file mode 100644 index 00000000..74221438 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_12931066_12931066/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f3ba1f24-d261-4038-820c-0a41c75f2d02"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.771.59"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c3c3997b-510a-4831-9aa1-b8f46dc4eef8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4e283113-e8e9-4da3-a793-32d5c1e9f4b5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4e283113-e8e9-4da3-a793-32d5c1e9f4b5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bef59e97-b418-4fcf-b09b-67ede2213221"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="886581532"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0713) 038011891"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kalle.finke@grothkopp.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Voigtslach 329"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="329"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Voigtslach"/> + </extension> + </line> + <city value="Dennisheim"/> + <postalCode value="94140"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="28e9b75b-f663-4c30-9836-76b384dda21e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="059579535"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/output.json deleted file mode 100644 index 18219698..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "33f0590e-40fa-4474-a449-edbf62bfa25e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "da5eafd1-e579-4f93-8940-c2fa0829156c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/3e617772-728e-4a16-aa22-5a8d2920218b" - }, - "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": "3e617772-728e-4a16-aa22-5a8d2920218b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8120c506-d37d-4d38-bb55-bc9c8a72d41f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "2bf7043d-edc8-4554-a4c4-08444289c21d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_df4a4b64/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/output.xml deleted file mode 100644 index 0e483fc6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="33f0590e-40fa-4474-a449-edbf62bfa25e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.474.837.87"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-13"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="da5eafd1-e579-4f93-8940-c2fa0829156c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/3e617772-728e-4a16-aa22-5a8d2920218b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-13"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3e617772-728e-4a16-aa22-5a8d2920218b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8120c506-d37d-4d38-bb55-bc9c8a72d41f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="017186060"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-381-2710885"/> - </telecom> - <telecom> - <system value="email"/> - <value value="sam.kisabaka@gamper.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Heidehöhe 26"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="26"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Heidehöhe"/> - </extension> - </line> - <city value="Bigdelifeld"/> - <postalCode value="07258"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2bf7043d-edc8-4554-a4c4-08444289c21d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="421218808"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64_df4a4b64/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64_df4a4b64/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64_df4a4b64/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64_df4a4b64/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64_df4a4b64/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64_df4a4b64/output.json new file mode 100644 index 00000000..33ef16d2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64_df4a4b64/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "74055305-adf3-41d2-9f35-b6f6460ddd1c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "79b66c80-e3c3-41fb-bf8d-f5e72ac2288c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/dee8f095-e853-4cda-b5ad-bf7a4b167569" + }, + "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": "dee8f095-e853-4cda-b5ad-bf7a4b167569", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c2a355b1-cf45-41b2-b8b0-f1b8ba3c3ca5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2c3ce830-da99-4a86-a9e2-ab20262f4d5a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_df4a4b64_df4a4b64/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64_df4a4b64/output.xml new file mode 100644 index 00000000..2f33d185 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed_df4a4b64_df4a4b64/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="74055305-adf3-41d2-9f35-b6f6460ddd1c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.837.87"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="79b66c80-e3c3-41fb-bf8d-f5e72ac2288c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/dee8f095-e853-4cda-b5ad-bf7a4b167569"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dee8f095-e853-4cda-b5ad-bf7a4b167569"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c2a355b1-cf45-41b2-b8b0-f1b8ba3c3ca5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="017186060"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-381-2710885"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sam.kisabaka@gamper.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Heidehöhe 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heidehöhe"/> + </extension> + </line> + <city value="Bigdelifeld"/> + <postalCode value="07258"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2c3ce830-da99-4a86-a9e2-ab20262f4d5a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="421218808"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/output.json deleted file mode 100644 index 602ef2d2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "2661a3bf-fc38-41c2-9da7-cd979c4d88cd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "df032489-2d0c-4ce2-9c6f-0c74286a602b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/6031420c-3631-41dd-834a-a983857ec256" - }, - "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": "6031420c-3631-41dd-834a-a983857ec256", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "73c98a71-e9d8-4ceb-ac09-a0e708e2f176", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "ec7d3e64-8a0f-428e-b5a2-23aeac549a5b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_617b672a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/output.xml deleted file mode 100644 index 4501e8d4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2661a3bf-fc38-41c2-9da7-cd979c4d88cd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.763.83"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="df032489-2d0c-4ce2-9c6f-0c74286a602b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/6031420c-3631-41dd-834a-a983857ec256"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6031420c-3631-41dd-834a-a983857ec256"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="73c98a71-e9d8-4ceb-ac09-a0e708e2f176"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="628598894"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-5469-02854941"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mareike.schaffarzik@neupert.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Hamberger Str. 0"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="0"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Hamberger Str."/> - </extension> - </line> - <city value="Klein Veronika"/> - <postalCode value="87026"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ec7d3e64-8a0f-428e-b5a2-23aeac549a5b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="271120832"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a_617b672a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a_617b672a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a_617b672a/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a_617b672a/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a_617b672a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a_617b672a/output.json new file mode 100644 index 00000000..65264b44 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a_617b672a/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "932fcfad-af69-42ab-8615-96a5ff4603db", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a2a19b9c-5134-4127-9d9d-13903916b1be", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/faf2c1fe-759f-4526-9e30-55b2ff40b4af" + }, + "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": "faf2c1fe-759f-4526-9e30-55b2ff40b4af", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7924c66d-5551-4588-b146-019a1046eae0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4d7d2865-e027-470e-b0f2-74b862390cce", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_617b672a_617b672a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a_617b672a/output.xml new file mode 100644 index 00000000..6cc20990 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95_617b672a_617b672a/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="932fcfad-af69-42ab-8615-96a5ff4603db"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.763.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a2a19b9c-5134-4127-9d9d-13903916b1be"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/faf2c1fe-759f-4526-9e30-55b2ff40b4af"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="faf2c1fe-759f-4526-9e30-55b2ff40b4af"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7924c66d-5551-4588-b146-019a1046eae0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="628598894"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5469-02854941"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mareike.schaffarzik@neupert.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Hamberger Str. 0"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="0"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hamberger Str."/> + </extension> + </line> + <city value="Klein Veronika"/> + <postalCode value="87026"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4d7d2865-e027-470e-b0f2-74b862390cce"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="271120832"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.json index 512df96a..b175a05a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "f2343f17-0a06-4b05-a02d-42ee214f718a", + "id": "8e13fd52-0652-4d08-a5fe-88487c09b0af", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "7e6c69b5-bf77-42fe-b2ae-e3c34c945389", + "id": "86c75443-97c1-4197-ba8c-c5493209afd5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/f4fe27e4-014f-4ae1-a671-c643bb244160" + "reference": "Medication/91eb0939-d8d2-432a-9be4-1ba8443521ba" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "f4fe27e4-014f-4ae1-a671-c643bb244160", + "id": "91eb0939-d8d2-432a-9be4-1ba8443521ba", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "6ae763e8-1c37-4b2d-9b24-4abe12297875", + "id": "a4680d6d-6fce-4c2c-b1c5-f5be85c01b63", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "04a6bea6-88d8-4d23-89d2-de7c24f552e1", + "id": "474d48c4-73bd-46ac-9fb7-73d5a67a5451", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.xml index ca392eaf..36117292 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="f2343f17-0a06-4b05-a02d-42ee214f718a"/> + <id value="8e13fd52-0652-4d08-a5fe-88487c09b0af"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7e6c69b5-bf77-42fe-b2ae-e3c34c945389"/> + <id value="86c75443-97c1-4197-ba8c-c5493209afd5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/f4fe27e4-014f-4ae1-a671-c643bb244160"/> + <reference value="Medication/91eb0939-d8d2-432a-9be4-1ba8443521ba"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="f4fe27e4-014f-4ae1-a671-c643bb244160"/> + <id value="91eb0939-d8d2-432a-9be4-1ba8443521ba"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="6ae763e8-1c37-4b2d-9b24-4abe12297875"/> + <id value="a4680d6d-6fce-4c2c-b1c5-f5be85c01b63"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="04a6bea6-88d8-4d23-89d2-de7c24f552e1"/> + <id value="474d48c4-73bd-46ac-9fb7-73d5a67a5451"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3_14d9b2f3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3_14d9b2f3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3_14d9b2f3/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3_14d9b2f3/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3_14d9b2f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3_14d9b2f3/output.json new file mode 100644 index 00000000..95c6f298 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3_14d9b2f3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "fe455636-5075-4f06-aa2a-9c31f78a7e7e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "36b98249-c13e-4882-97fe-ec6b7780e2db", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d3883c8a-e886-4418-91df-65fc409993a7" + }, + "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": "d3883c8a-e886-4418-91df-65fc409993a7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "20c14b12-9cac-484d-92d7-0677ca1df1c0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "83b3ee96-5131-4926-8458-b8a9e484718c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_14d9b2f3_14d9b2f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3_14d9b2f3/output.xml new file mode 100644 index 00000000..e0bd8403 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_14d9b2f3_14d9b2f3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fe455636-5075-4f06-aa2a-9c31f78a7e7e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.749.28"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="36b98249-c13e-4882-97fe-ec6b7780e2db"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d3883c8a-e886-4418-91df-65fc409993a7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d3883c8a-e886-4418-91df-65fc409993a7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="20c14b12-9cac-484d-92d7-0677ca1df1c0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="483945359"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0980) 607271140"/> + </telecom> + <telecom> + <system value="email"/> + <value value="robert.gunther@ranz.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Hemmelrather Hof 59a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="59a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Hemmelrather Hof"/> + </extension> + </line> + <city value="Honzburg"/> + <postalCode value="40382"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="83b3ee96-5131-4926-8458-b8a9e484718c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="768593806"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.json index 4e2c4b92..b0edf002 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "b9eda41b-12ac-459c-9203-89085134682c", + "id": "aeb383c7-d195-4240-87c0-a33b5ae58d42", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "1de64b9d-36dd-4e70-b27e-2f28a2066113", + "id": "0072e398-73a6-41cf-bc07-302d47041110", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/f6e5c0cd-cd63-4979-ae64-8ea397ebec44" + "reference": "Medication/763522f3-8930-4f49-a032-bde1518915db" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "f6e5c0cd-cd63-4979-ae64-8ea397ebec44", + "id": "763522f3-8930-4f49-a032-bde1518915db", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "7da508d6-277f-43af-ac2f-041d7b3dd53a", + "id": "e47e915e-abe1-4d72-8fc4-ebd81e4de150", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "ee7d3695-1fa7-4050-9cc7-4995d2de5919", + "id": "2e355c4a-f4dd-4eb9-bf1b-cffd8ac656f1", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.xml index 156a0221..7e2c9082 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="b9eda41b-12ac-459c-9203-89085134682c"/> + <id value="aeb383c7-d195-4240-87c0-a33b5ae58d42"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1de64b9d-36dd-4e70-b27e-2f28a2066113"/> + <id value="0072e398-73a6-41cf-bc07-302d47041110"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/f6e5c0cd-cd63-4979-ae64-8ea397ebec44"/> + <reference value="Medication/763522f3-8930-4f49-a032-bde1518915db"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="f6e5c0cd-cd63-4979-ae64-8ea397ebec44"/> + <id value="763522f3-8930-4f49-a032-bde1518915db"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="7da508d6-277f-43af-ac2f-041d7b3dd53a"/> + <id value="e47e915e-abe1-4d72-8fc4-ebd81e4de150"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ee7d3695-1fa7-4050-9cc7-4995d2de5919"/> + <id value="2e355c4a-f4dd-4eb9-bf1b-cffd8ac656f1"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573_16b1f573/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573_16b1f573/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573_16b1f573/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573_16b1f573/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573_16b1f573/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573_16b1f573/output.json new file mode 100644 index 00000000..58d92dba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573_16b1f573/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "f4db29b9-230c-437b-9c2f-30f0de36a421", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e4e2a8e1-6635-442c-8c60-be462fd969c5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/82200e16-ba6f-4cf4-a4ba-bf41e313f315" + }, + "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": "82200e16-ba6f-4cf4-a4ba-bf41e313f315", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1412e602-f014-43ee-a0c1-2390afc009e5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c8f2e6fd-bb30-494d-8ede-996ce24a0830", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_16b1f573_16b1f573/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573_16b1f573/output.xml new file mode 100644 index 00000000..3e6944aa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16b1f573_16b1f573/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f4db29b9-230c-437b-9c2f-30f0de36a421"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.756.07"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e4e2a8e1-6635-442c-8c60-be462fd969c5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/82200e16-ba6f-4cf4-a4ba-bf41e313f315"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="82200e16-ba6f-4cf4-a4ba-bf41e313f315"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1412e602-f014-43ee-a0c1-2390afc009e5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="460007921"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3117-51449999"/> + </telecom> + <telecom> + <system value="email"/> + <value value="meik.tonat@herrmann.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Windthorststr. 57a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Windthorststr."/> + </extension> + </line> + <city value="Pinnockland"/> + <postalCode value="14407"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c8f2e6fd-bb30-494d-8ede-996ce24a0830"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="699637007"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/output.json deleted file mode 100644 index 48b70ead..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "9c81fea7-df08-47bf-82cf-1fda27a9032d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "bb6aedbc-37c1-4b51-a9d8-6af6ba00a256", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/8baff364-19c2-4a84-b477-feceb1871cba" - }, - "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": "8baff364-19c2-4a84-b477-feceb1871cba", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "35c5fb51-9099-4eb6-902d-fa0a10c6ffd2", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "c33d1531-a143-4241-afcc-5997ed6bf46a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_5d6fae1d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/output.xml deleted file mode 100644 index 1d92a68c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9c81fea7-df08-47bf-82cf-1fda27a9032d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.740.55"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="bb6aedbc-37c1-4b51-a9d8-6af6ba00a256"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/8baff364-19c2-4a84-b477-feceb1871cba"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8baff364-19c2-4a84-b477-feceb1871cba"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="35c5fb51-9099-4eb6-902d-fa0a10c6ffd2"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="739445767"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0222) 778778860"/> - </telecom> - <telecom> - <system value="email"/> - <value value="tina.filipowski@xn--tpfer-jua.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Moosweg 68c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="68c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Moosweg"/> - </extension> - </line> - <city value="Süd Marek"/> - <postalCode value="48927"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c33d1531-a143-4241-afcc-5997ed6bf46a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="755566422"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d_5d6fae1d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d_5d6fae1d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d_5d6fae1d/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d_5d6fae1d/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d_5d6fae1d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d_5d6fae1d/output.json new file mode 100644 index 00000000..3ed1f680 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d_5d6fae1d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "9c13960e-b126-4e58-bcd0-e3380e92872a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "947e19ae-81e4-4f19-b846-1b148c2ac642", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ed5aa229-c609-47c4-95f3-d4dc456b1daa" + }, + "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": "ed5aa229-c609-47c4-95f3-d4dc456b1daa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d55d5f5d-0b55-43be-9a59-5969cfd82be8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "570d40fb-c2f0-4557-9bcd-2b30cabf3e54", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5d6fae1d_5d6fae1d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d_5d6fae1d/output.xml new file mode 100644 index 00000000..b1bbbd68 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24_5d6fae1d_5d6fae1d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9c13960e-b126-4e58-bcd0-e3380e92872a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.740.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="947e19ae-81e4-4f19-b846-1b148c2ac642"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ed5aa229-c609-47c4-95f3-d4dc456b1daa"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ed5aa229-c609-47c4-95f3-d4dc456b1daa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d55d5f5d-0b55-43be-9a59-5969cfd82be8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="739445767"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0222) 778778860"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tina.filipowski@xn--tpfer-jua.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Moosweg 68c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="68c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Moosweg"/> + </extension> + </line> + <city value="Süd Marek"/> + <postalCode value="48927"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="570d40fb-c2f0-4557-9bcd-2b30cabf3e54"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="755566422"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.json index 338f2f33..4c93f723 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "d2f8e839-66c7-46af-a58d-97403a4d556b", + "id": "01d4c2ad-a972-4223-b905-4168655e0ad9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "c60e14f7-339d-4f55-b68d-090ffc67d867", + "id": "f61dc693-fde0-484d-9127-103c97260b56", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/2c8373fd-8fbb-48fe-9366-ed20217e5e39" + "reference": "Medication/69c3f2ca-4695-4700-ba86-18b402eecca7" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "2c8373fd-8fbb-48fe-9366-ed20217e5e39", + "id": "69c3f2ca-4695-4700-ba86-18b402eecca7", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "ced1fe32-42f5-41e4-a0ef-98058706bd25", + "id": "fb8fe135-697c-4e21-9f05-1952dabee384", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "61dedbcf-04b1-485e-87c9-c9a0bf5607e8", + "id": "504f63c6-5d0c-42ff-bc18-4ea55bb549bc", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.xml index d0751f4f..42a12e70 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="d2f8e839-66c7-46af-a58d-97403a4d556b"/> + <id value="01d4c2ad-a972-4223-b905-4168655e0ad9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c60e14f7-339d-4f55-b68d-090ffc67d867"/> + <id value="f61dc693-fde0-484d-9127-103c97260b56"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/2c8373fd-8fbb-48fe-9366-ed20217e5e39"/> + <reference value="Medication/69c3f2ca-4695-4700-ba86-18b402eecca7"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="2c8373fd-8fbb-48fe-9366-ed20217e5e39"/> + <id value="69c3f2ca-4695-4700-ba86-18b402eecca7"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="ced1fe32-42f5-41e4-a0ef-98058706bd25"/> + <id value="fb8fe135-697c-4e21-9f05-1952dabee384"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="61dedbcf-04b1-485e-87c9-c9a0bf5607e8"/> + <id value="504f63c6-5d0c-42ff-bc18-4ea55bb549bc"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211_1906d211/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211_1906d211/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211_1906d211/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211_1906d211/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211_1906d211/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211_1906d211/output.json new file mode 100644 index 00000000..7814a087 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211_1906d211/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "471c197d-ee72-446b-bec0-9fc4e5cd39b5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e759d853-f52b-417d-b934-78a70be9aba0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3e47fcc2-c83f-4d3f-a7b0-fc973e568f99" + }, + "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": "3e47fcc2-c83f-4d3f-a7b0-fc973e568f99", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "99131e27-1021-4747-bfaf-53bfd13326f4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "05175526-2f6f-4c42-b04a-78d7e26e5389", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_1906d211_1906d211/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211_1906d211/output.xml new file mode 100644 index 00000000..dead5bfa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1906d211_1906d211/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="471c197d-ee72-446b-bec0-9fc4e5cd39b5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.999.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e759d853-f52b-417d-b934-78a70be9aba0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3e47fcc2-c83f-4d3f-a7b0-fc973e568f99"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3e47fcc2-c83f-4d3f-a7b0-fc973e568f99"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27318836"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="99131e27-1021-4747-bfaf-53bfd13326f4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="609731540"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(04575) 9941676"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mirac.gruszecki@knut.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Auf der Weide 54"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="54"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf der Weide"/> + </extension> + </line> + <city value="West Jella"/> + <postalCode value="50049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="05175526-2f6f-4c42-b04a-78d7e26e5389"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="960975636"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/output.json deleted file mode 100644 index 0c443142..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "d6fb3397-2f9a-4120-a1f7-1f776cca3e2a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "3780cff4-a8fe-4a0d-b259-2fa6482fc106", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/e274827b-f397-4fe5-9d9d-5d8d62b24316" - }, - "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": "e274827b-f397-4fe5-9d9d-5d8d62b24316", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bc132899-03c0-4371-a588-91c24fc18fa6", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "d61dbd7a-8d12-4916-9baf-734fbd326ff8", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_0d9bb3b8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/output.xml deleted file mode 100644 index b4d29cfd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d6fb3397-2f9a-4120-a1f7-1f776cca3e2a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.766.74"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3780cff4-a8fe-4a0d-b259-2fa6482fc106"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/e274827b-f397-4fe5-9d9d-5d8d62b24316"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e274827b-f397-4fe5-9d9d-5d8d62b24316"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bc132899-03c0-4371-a588-91c24fc18fa6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="173654881"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(07189) 9689975"/> - </telecom> - <telecom> - <system value="email"/> - <value value="pius.bethke@morhelfer.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Mozartstr. 252"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="252"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Mozartstr."/> - </extension> - </line> - <city value="Forststadt"/> - <postalCode value="48325"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d61dbd7a-8d12-4916-9baf-734fbd326ff8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="246042887"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8/input.xml new file mode 100644 index 00000000..28d2e711 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="0d9bb3b8-f143-435d-9518-c4e59201662f"/> + <meta> + <lastUpdated value="2024-02-08T19:05:20.485+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:05:20.485+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/839322d9-d2f7-4549-8644-b5a0d1b1d562"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="839322d9-d2f7-4549-8644-b5a0d1b1d562"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/cdca531a-574b-4c55-bc6e-ec156641b91d"/> + </subject> + <date value="2024-02-08T19:05:20+01:00"/> + <author> + <reference value="Practitioner/7e475265-db07-4448-8665-c8a07ab730b8"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5eab3edb-d017-42c2-952f-2544ecedcd60"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/3eb0db45-5cca-473b-b800-2519f918e92b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/db8141f7-d56e-4b62-83f1-07626c48bfb6"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/5390eeb6-cf71-4d6d-bf2a-179bdd86773b"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5390eeb6-cf71-4d6d-bf2a-179bdd86773b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/cdca531a-574b-4c55-bc6e-ec156641b91d"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="cdca531a-574b-4c55-bc6e-ec156641b91d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1977-05-16"/> + <address> + <type value="both"/> + <line value="Siemensstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siemensstr."/> + </extension> + </line> + <city value="Teufelscheid"/> + <postalCode value="95865"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/5eab3edb-d017-42c2-952f-2544ecedcd60"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5eab3edb-d017-42c2-952f-2544ecedcd60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="173654881"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(07189) 9689975"/> + </telecom> + <telecom> + <system value="email"/> + <value value="pius.bethke@morhelfer.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Mozartstr. 252"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="252"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Mozartstr."/> + </extension> + </line> + <city value="Forststadt"/> + <postalCode value="48325"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/3eb0db45-5cca-473b-b800-2519f918e92b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="3eb0db45-5cca-473b-b800-2519f918e92b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/8e3fa63f-f9f6-45c0-aad2-a4e05a8dc425"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="102137985"/> + </identifier> + <display value="TUI BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/7e475265-db07-4448-8665-c8a07ab730b8"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7e475265-db07-4448-8665-c8a07ab730b8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="246042887"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/db8141f7-d56e-4b62-83f1-07626c48bfb6"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="db8141f7-d56e-4b62-83f1-07626c48bfb6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5390eeb6-cf71-4d6d-bf2a-179bdd86773b"/> + </medicationReference> + <subject> + <reference value="Patient/cdca531a-574b-4c55-bc6e-ec156641b91d"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/7e475265-db07-4448-8665-c8a07ab730b8"/> + </requester> + <insurance> + <reference value="Coverage/3eb0db45-5cca-473b-b800-2519f918e92b"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8/output.json new file mode 100644 index 00000000..a5e32058 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "2f854a42-c555-417d-9484-b9d08ff90113", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8b8a9774-26bd-4336-8e4d-bec160314b33", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/103e0179-3cd6-463e-aae2-ec8093308c99" + }, + "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": "103e0179-3cd6-463e-aae2-ec8093308c99", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6fa09421-08fa-4245-9306-17e7291faa2f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "16bfe23b-92c1-4485-a77d-aabcd7c2a107", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0d9bb3b8_0d9bb3b8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8/output.xml new file mode 100644 index 00000000..3c0c34b6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6_0d9bb3b8_0d9bb3b8/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2f854a42-c555-417d-9484-b9d08ff90113"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.766.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8b8a9774-26bd-4336-8e4d-bec160314b33"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/103e0179-3cd6-463e-aae2-ec8093308c99"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="103e0179-3cd6-463e-aae2-ec8093308c99"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6fa09421-08fa-4245-9306-17e7291faa2f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="173654881"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(07189) 9689975"/> + </telecom> + <telecom> + <system value="email"/> + <value value="pius.bethke@morhelfer.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Mozartstr. 252"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="252"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Mozartstr."/> + </extension> + </line> + <city value="Forststadt"/> + <postalCode value="48325"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="16bfe23b-92c1-4485-a77d-aabcd7c2a107"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="246042887"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/output.json deleted file mode 100644 index f6de4c19..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "81e667db-26bc-40e4-8067-a6dc3056e36b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "23eeeaae-8669-4626-a826-147d96c6280c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/931a7759-7cfa-4203-8fc4-f9558f5955f9" - }, - "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": "931a7759-7cfa-4203-8fc4-f9558f5955f9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "410d3a66-f178-4708-90a5-f6e9a0bd3957", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "85f544df-f0ea-416b-a33c-3fa5466aa48c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_fb9ea88e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/output.xml deleted file mode 100644 index 713a0da0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="81e667db-26bc-40e4-8067-a6dc3056e36b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.761.89"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="23eeeaae-8669-4626-a826-147d96c6280c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/931a7759-7cfa-4203-8fc4-f9558f5955f9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="931a7759-7cfa-4203-8fc4-f9558f5955f9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="410d3a66-f178-4708-90a5-f6e9a0bd3957"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="710988584"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-882-3423799"/> - </telecom> - <telecom> - <system value="email"/> - <value value="samia.hingst@lohmann.ch"/> - </telecom> - <address> - <type value="both"/> - <line value="In der Dasladen 80"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="80"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="In der Dasladen"/> - </extension> - </line> - <city value="Nord Sarahscheid"/> - <postalCode value="97709"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="85f544df-f0ea-416b-a33c-3fa5466aa48c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="662556538"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e_fb9ea88e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e_fb9ea88e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e_fb9ea88e/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e_fb9ea88e/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e_fb9ea88e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e_fb9ea88e/output.json new file mode 100644 index 00000000..7328929f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e_fb9ea88e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "9bd119f9-fc07-467e-8612-63c183519b79", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c98681ce-0120-4c88-aa87-9bc8e9d1d5e7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f80bed3d-67a5-49d1-a600-be801839c7c4" + }, + "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": "f80bed3d-67a5-49d1-a600-be801839c7c4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "53a28d50-5f04-4cb8-a2be-531d6714797e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6501780b-8de7-46fa-ab19-76d295d2c423", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_fb9ea88e_fb9ea88e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e_fb9ea88e/output.xml new file mode 100644 index 00000000..72a08966 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c_fb9ea88e_fb9ea88e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9bd119f9-fc07-467e-8612-63c183519b79"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.761.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c98681ce-0120-4c88-aa87-9bc8e9d1d5e7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f80bed3d-67a5-49d1-a600-be801839c7c4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f80bed3d-67a5-49d1-a600-be801839c7c4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="53a28d50-5f04-4cb8-a2be-531d6714797e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="710988584"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-882-3423799"/> + </telecom> + <telecom> + <system value="email"/> + <value value="samia.hingst@lohmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="In der Dasladen 80"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="80"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="In der Dasladen"/> + </extension> + </line> + <city value="Nord Sarahscheid"/> + <postalCode value="97709"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6501780b-8de7-46fa-ab19-76d295d2c423"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="662556538"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.json index d9da3a9a..63277061 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "2bf53174-047b-452a-9d87-14ca432ce424", + "id": "02b5c463-88f3-4eac-b34c-99d0d35c5623", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "97525f3a-49bd-456d-8e43-feaf19ab6001", + "id": "ec95f855-0781-4300-b7ea-5d20fb2fe65b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/3f9833a4-e3a1-4d62-bb06-3074f551af34" + "reference": "Medication/2a7ca8b5-5eac-4076-bb8b-9acd6833efc8" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "3f9833a4-e3a1-4d62-bb06-3074f551af34", + "id": "2a7ca8b5-5eac-4076-bb8b-9acd6833efc8", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "9d13934f-d735-453f-a9e4-346227c66fff", + "id": "c0e1dc74-16bc-4904-ae09-3997aca5cffc", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "a7fea336-4d55-4a75-bb20-bb6cedd48d64", + "id": "f37beb08-6a5f-42f6-9401-bc4d83a7cfc8", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.xml index a2c5d954..59a4887d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="2bf53174-047b-452a-9d87-14ca432ce424"/> + <id value="02b5c463-88f3-4eac-b34c-99d0d35c5623"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="97525f3a-49bd-456d-8e43-feaf19ab6001"/> + <id value="ec95f855-0781-4300-b7ea-5d20fb2fe65b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/3f9833a4-e3a1-4d62-bb06-3074f551af34"/> + <reference value="Medication/2a7ca8b5-5eac-4076-bb8b-9acd6833efc8"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="3f9833a4-e3a1-4d62-bb06-3074f551af34"/> + <id value="2a7ca8b5-5eac-4076-bb8b-9acd6833efc8"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="9d13934f-d735-453f-a9e4-346227c66fff"/> + <id value="c0e1dc74-16bc-4904-ae09-3997aca5cffc"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a7fea336-4d55-4a75-bb20-bb6cedd48d64"/> + <id value="f37beb08-6a5f-42f6-9401-bc4d83a7cfc8"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5_1be382e5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5_1be382e5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5_1be382e5/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5_1be382e5/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5_1be382e5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5_1be382e5/output.json new file mode 100644 index 00000000..92f64a75 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5_1be382e5/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "a96d3b5c-39f1-4d52-b699-fefbd255ce0f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9b2e840c-8a75-48b3-ad7d-884c90577fb8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/db1cd8f0-51bb-4c16-9ee0-780a75bf29a7" + }, + "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": "db1cd8f0-51bb-4c16-9ee0-780a75bf29a7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ae3a727c-996c-4122-b52f-2ecb8ad8f1cd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "85edd5b5-6428-4cef-aa8e-b0a2af1f275e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_1be382e5_1be382e5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5_1be382e5/output.xml new file mode 100644 index 00000000..6f9efac7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1be382e5_1be382e5/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a96d3b5c-39f1-4d52-b699-fefbd255ce0f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.687.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9b2e840c-8a75-48b3-ad7d-884c90577fb8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/db1cd8f0-51bb-4c16-9ee0-780a75bf29a7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="db1cd8f0-51bb-4c16-9ee0-780a75bf29a7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60537835"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ae3a727c-996c-4122-b52f-2ecb8ad8f1cd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="384514918"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09898) 0577227"/> + </telecom> + <telecom> + <system value="email"/> + <value value="daniel.engelen@lewke.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Kneippstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kneippstr."/> + </extension> + </line> + <city value="Neu Ricardoheim"/> + <postalCode value="46562"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="85edd5b5-6428-4cef-aa8e-b0a2af1f275e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="417223439"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/output.json deleted file mode 100644 index 62e82af1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "07a3d8cb-796b-4750-9bd2-37456bdcdfd1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "3810aa6b-f61d-47d5-9856-7dfe1c143929", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/44dd3515-e454-44fb-8f05-a59f95214f33" - }, - "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": "44dd3515-e454-44fb-8f05-a59f95214f33", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4abffbbf-78c4-4c49-9f23-17e87583a2a9", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "a92984a6-f140-4062-862f-6cb47f4001fd", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_4149362e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/output.xml deleted file mode 100644 index aac4d490..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="07a3d8cb-796b-4750-9bd2-37456bdcdfd1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.765.77"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3810aa6b-f61d-47d5-9856-7dfe1c143929"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/44dd3515-e454-44fb-8f05-a59f95214f33"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="44dd3515-e454-44fb-8f05-a59f95214f33"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4abffbbf-78c4-4c49-9f23-17e87583a2a9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="600372833"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0682) 787150898"/> - </telecom> - <telecom> - <system value="email"/> - <value value="alessio.ehrig@behnke.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Am Gesundheitspark 31c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="31c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Am Gesundheitspark"/> - </extension> - </line> - <city value="Groß Annagrün"/> - <postalCode value="34652"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a92984a6-f140-4062-862f-6cb47f4001fd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="386029325"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e_4149362e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e_4149362e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e_4149362e/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e_4149362e/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e_4149362e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e_4149362e/output.json new file mode 100644 index 00000000..c7500bdc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e_4149362e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "87eb13f9-d7cd-40cc-8ac7-ae1098884ead", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8f86bf4b-a44a-4045-9e28-2cad0db398a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8dd17bd4-a56f-415a-ad5c-59bc6c705ece" + }, + "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": "8dd17bd4-a56f-415a-ad5c-59bc6c705ece", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "396fff9c-2ab6-422a-9fcf-ec6021beb9ff", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "58b653cf-fc55-4a26-873d-45011bcc25ed", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4149362e_4149362e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e_4149362e/output.xml new file mode 100644 index 00000000..93a262a2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7_4149362e_4149362e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="87eb13f9-d7cd-40cc-8ac7-ae1098884ead"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8f86bf4b-a44a-4045-9e28-2cad0db398a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8dd17bd4-a56f-415a-ad5c-59bc6c705ece"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8dd17bd4-a56f-415a-ad5c-59bc6c705ece"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="396fff9c-2ab6-422a-9fcf-ec6021beb9ff"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="600372833"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0682) 787150898"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alessio.ehrig@behnke.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Gesundheitspark 31c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="31c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Gesundheitspark"/> + </extension> + </line> + <city value="Groß Annagrün"/> + <postalCode value="34652"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="58b653cf-fc55-4a26-873d-45011bcc25ed"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="386029325"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/output.json deleted file mode 100644 index 1a02efc9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "bb7ea7e4-743f-4fbd-9983-adaed03850b1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "867252f0-69fd-4e8e-baff-2215acbefaca", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/8b711af0-d30c-4c6b-aff6-e2bb38457b5e" - }, - "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": "8b711af0-d30c-4c6b-aff6-e2bb38457b5e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "81f3274c-d4e1-458c-9b37-d05b3a09fb4e", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "6b7aab55-3d0e-4011-95ef-e85aeaa68868", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_37c652cb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/output.xml deleted file mode 100644 index 9f119316..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bb7ea7e4-743f-4fbd-9983-adaed03850b1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.777.41"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="867252f0-69fd-4e8e-baff-2215acbefaca"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/8b711af0-d30c-4c6b-aff6-e2bb38457b5e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="50"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8b711af0-d30c-4c6b-aff6-e2bb38457b5e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="11648419"/> - </coding> - <text value="IBUFLAM akut"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="81f3274c-d4e1-458c-9b37-d05b3a09fb4e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="505323366"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0283) 686271780"/> - </telecom> - <telecom> - <system value="email"/> - <value value="alexa.newton@salzmann.ch"/> - </telecom> - <address> - <type value="both"/> - <line value="Potsdamer Str. 01c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="01c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Potsdamer Str."/> - </extension> - </line> - <city value="Alt Elianastadt"/> - <postalCode value="41650"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6b7aab55-3d0e-4011-95ef-e85aeaa68868"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="826335247"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb_37c652cb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb_37c652cb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb_37c652cb/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb_37c652cb/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb_37c652cb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb_37c652cb/output.json new file mode 100644 index 00000000..0f30c04e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb_37c652cb/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "d2b3514a-5f8c-4627-9652-37a86a6f4b1a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fbd54f24-3001-4996-bbd7-a6f015cef801", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/cb35d9e4-c21c-4835-aceb-af34776c1ba1" + }, + "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": "cb35d9e4-c21c-4835-aceb-af34776c1ba1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d41a6120-7680-4be0-8808-d2a5f3b38a1d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "dc5ff458-580f-47fd-b463-512315c60c0a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_37c652cb_37c652cb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb_37c652cb/output.xml new file mode 100644 index 00000000..2c6abc8f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8_37c652cb_37c652cb/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d2b3514a-5f8c-4627-9652-37a86a6f4b1a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.777.41"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fbd54f24-3001-4996-bbd7-a6f015cef801"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/cb35d9e4-c21c-4835-aceb-af34776c1ba1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="50"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cb35d9e4-c21c-4835-aceb-af34776c1ba1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11648419"/> + </coding> + <text value="IBUFLAM akut"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d41a6120-7680-4be0-8808-d2a5f3b38a1d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="505323366"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0283) 686271780"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alexa.newton@salzmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Potsdamer Str. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Potsdamer Str."/> + </extension> + </line> + <city value="Alt Elianastadt"/> + <postalCode value="41650"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dc5ff458-580f-47fd-b463-512315c60c0a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="826335247"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.json index c4c6ce6f..4d54ffbb 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c5a001c6-7f31-489d-99ec-332ad4b43655", + "id": "75089a2f-347b-456b-bd0c-c19d56ddad7c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "995e83d3-7040-4bb2-b774-6bd4a2d5c25d", + "id": "8317ee6e-77b7-46d5-b41e-ac1d10ad8697", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/5fcbccee-2522-4118-87a4-0ccdb6463233" + "reference": "Medication/fd027e2c-6a03-4795-bf2f-7f3655aa0d90" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5fcbccee-2522-4118-87a4-0ccdb6463233", + "id": "fd027e2c-6a03-4795-bf2f-7f3655aa0d90", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "2a4ca217-ab52-467d-966d-0a136df41a8a", + "id": "bcd5ec1b-5bc5-4414-b427-4b5a2e0a3797", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "7c0004b1-407b-460a-ae0c-d3cb936a5da6", + "id": "9b0ff503-eb64-4d24-a35c-14349887e9cd", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.xml index 70e96010..091a83fb 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c5a001c6-7f31-489d-99ec-332ad4b43655"/> + <id value="75089a2f-347b-456b-bd0c-c19d56ddad7c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="995e83d3-7040-4bb2-b774-6bd4a2d5c25d"/> + <id value="8317ee6e-77b7-46d5-b41e-ac1d10ad8697"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/5fcbccee-2522-4118-87a4-0ccdb6463233"/> + <reference value="Medication/fd027e2c-6a03-4795-bf2f-7f3655aa0d90"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5fcbccee-2522-4118-87a4-0ccdb6463233"/> + <id value="fd027e2c-6a03-4795-bf2f-7f3655aa0d90"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="2a4ca217-ab52-467d-966d-0a136df41a8a"/> + <id value="bcd5ec1b-5bc5-4414-b427-4b5a2e0a3797"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7c0004b1-407b-460a-ae0c-d3cb936a5da6"/> + <id value="9b0ff503-eb64-4d24-a35c-14349887e9cd"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009_230dc009/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009_230dc009/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009_230dc009/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009_230dc009/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009_230dc009/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009_230dc009/output.json new file mode 100644 index 00000000..e17008d2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009_230dc009/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "472740fc-7381-4013-8336-07b675a80c20", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "86ad09c0-4351-4823-8d7e-88ea8dd5b5e5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7e489eea-b2ed-4ad5-ba86-57e11cfa803f" + }, + "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": "7e489eea-b2ed-4ad5-ba86-57e11cfa803f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "149d4fa1-fdce-402d-a8fe-08ac56ad423b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ac75ac71-be13-4f9c-b53a-1b63e44b7c65", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_230dc009_230dc009/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009_230dc009/output.xml new file mode 100644 index 00000000..2f446216 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_230dc009_230dc009/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="472740fc-7381-4013-8336-07b675a80c20"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.555.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="86ad09c0-4351-4823-8d7e-88ea8dd5b5e5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7e489eea-b2ed-4ad5-ba86-57e11cfa803f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7e489eea-b2ed-4ad5-ba86-57e11cfa803f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="149d4fa1-fdce-402d-a8fe-08ac56ad423b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="496255531"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-197-7069529"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tara.pollmächer@xn--dck-hoa.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Augustastr. 27"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Augustastr."/> + </extension> + </line> + <city value="Logandorf"/> + <postalCode value="84236"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ac75ac71-be13-4f9c-b53a-1b63e44b7c65"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="368352769"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/output.json deleted file mode 100644 index 09c8655c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "a7dd4af9-8e72-48eb-b553-dd1d92e3bd01", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "6ffe2d1b-75b7-4766-a925-1b825720990e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/c29186a2-ed8f-42af-a894-d7a7f7f209f0" - }, - "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": "c29186a2-ed8f-42af-a894-d7a7f7f209f0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9800746f-b58f-48af-84ea-760811dfdcc7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "c8f3be86-eff8-4a14-b4af-652d5ecdb0d5", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_4ff8a848/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/output.xml deleted file mode 100644 index 7f083b88..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a7dd4af9-8e72-48eb-b553-dd1d92e3bd01"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.996.31"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6ffe2d1b-75b7-4766-a925-1b825720990e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/c29186a2-ed8f-42af-a894-d7a7f7f209f0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c29186a2-ed8f-42af-a894-d7a7f7f209f0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="48094708"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9800746f-b58f-48af-84ea-760811dfdcc7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="889081004"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-8265-38308644"/> - </telecom> - <telecom> - <system value="email"/> - <value value="karlo.benner@wilts.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Kalkstr. 7"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="7"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Kalkstr."/> - </extension> - </line> - <city value="Rohländerstadt"/> - <postalCode value="98861"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c8f3be86-eff8-4a14-b4af-652d5ecdb0d5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="892116208"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848_4ff8a848/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848_4ff8a848/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848_4ff8a848/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848_4ff8a848/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848_4ff8a848/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848_4ff8a848/output.json new file mode 100644 index 00000000..643f701f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848_4ff8a848/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "29ad29dc-bc90-48d6-b1cc-5e3e2edae827", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "28a93ae8-ea17-4294-afb9-b14c84f0b3c8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a66d2b11-36dd-4a2c-9a70-fd374c27e2a4" + }, + "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": "a66d2b11-36dd-4a2c-9a70-fd374c27e2a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8a4ef513-6b06-4f94-8ae7-75b9f9957f4c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "93a5ded3-ed1e-4943-b7fa-e50678baf230", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4ff8a848_4ff8a848/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848_4ff8a848/output.xml new file mode 100644 index 00000000..75e61e0e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953_4ff8a848_4ff8a848/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="29ad29dc-bc90-48d6-b1cc-5e3e2edae827"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.996.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="28a93ae8-ea17-4294-afb9-b14c84f0b3c8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a66d2b11-36dd-4a2c-9a70-fd374c27e2a4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a66d2b11-36dd-4a2c-9a70-fd374c27e2a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="48094708"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8a4ef513-6b06-4f94-8ae7-75b9f9957f4c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="889081004"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8265-38308644"/> + </telecom> + <telecom> + <system value="email"/> + <value value="karlo.benner@wilts.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Kalkstr. 7"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="7"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kalkstr."/> + </extension> + </line> + <city value="Rohländerstadt"/> + <postalCode value="98861"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="93a5ded3-ed1e-4943-b7fa-e50678baf230"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="892116208"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.json index fd938f3a..9a824af2 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "1ff79f3d-cb91-4b6f-97a9-781e1b47b5d8", + "id": "90f893e3-6198-4018-a44a-9428aa37b7a2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "3e41f8b0-de26-427d-9c24-cc718dbd7301", + "id": "3916e75a-ad0f-452b-85eb-68f0d7a0b1f8", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/c778f342-8422-4bab-8879-21d024d1a101" + "reference": "Medication/b1696eb7-238c-48b9-8c6e-617e66629473" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "c778f342-8422-4bab-8879-21d024d1a101", + "id": "b1696eb7-238c-48b9-8c6e-617e66629473", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "8de82f5e-df94-4705-9497-4c2ee1b072c9", + "id": "b2651975-ac96-4eab-aea1-02044ea34300", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "0c809101-5a83-4851-b194-3373be82823c", + "id": "b51a48c5-60c9-43ba-8481-db33e210a965", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.xml index 638f8994..c83fd5ff 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="1ff79f3d-cb91-4b6f-97a9-781e1b47b5d8"/> + <id value="90f893e3-6198-4018-a44a-9428aa37b7a2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3e41f8b0-de26-427d-9c24-cc718dbd7301"/> + <id value="3916e75a-ad0f-452b-85eb-68f0d7a0b1f8"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/c778f342-8422-4bab-8879-21d024d1a101"/> + <reference value="Medication/b1696eb7-238c-48b9-8c6e-617e66629473"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="c778f342-8422-4bab-8879-21d024d1a101"/> + <id value="b1696eb7-238c-48b9-8c6e-617e66629473"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="8de82f5e-df94-4705-9497-4c2ee1b072c9"/> + <id value="b2651975-ac96-4eab-aea1-02044ea34300"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="0c809101-5a83-4851-b194-3373be82823c"/> + <id value="b51a48c5-60c9-43ba-8481-db33e210a965"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0_29aa5ba0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0_29aa5ba0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0_29aa5ba0/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0_29aa5ba0/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0_29aa5ba0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0_29aa5ba0/output.json new file mode 100644 index 00000000..db89312f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0_29aa5ba0/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "fd3fe33e-96e7-4e44-8883-3725dc0711c0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ed35f1b3-948f-4c3c-ac1f-c5b68cafb197", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/22be06eb-1e33-4a7d-ac2c-d4d2c90be085" + }, + "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": "22be06eb-1e33-4a7d-ac2c-d4d2c90be085", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ab4844b3-7a29-435e-b287-d03272578c13", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3ca5a2df-734f-408d-8719-11668689d35b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_29aa5ba0_29aa5ba0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0_29aa5ba0/output.xml new file mode 100644 index 00000000..7bdb4fab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_29aa5ba0_29aa5ba0/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fd3fe33e-96e7-4e44-8883-3725dc0711c0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.751.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ed35f1b3-948f-4c3c-ac1f-c5b68cafb197"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/22be06eb-1e33-4a7d-ac2c-d4d2c90be085"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="22be06eb-1e33-4a7d-ac2c-d4d2c90be085"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ab4844b3-7a29-435e-b287-d03272578c13"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="506889695"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3700-72846964"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sophie.schönfeld@nagel.com"/> + </telecom> + <address> + <type value="both"/> + <line value="In der Dasladen 30a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="30a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="In der Dasladen"/> + </extension> + </line> + <city value="Thustheim"/> + <postalCode value="47051"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3ca5a2df-734f-408d-8719-11668689d35b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="180212463"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/output.json deleted file mode 100644 index 8cf68fdd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "d1773abc-f0af-4ef5-b726-3e68d4b213fd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "703c5539-049d-47ab-bf70-604ed8b218ab", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/da490c1e-9c3a-46e5-986b-b3f57de26d9c" - }, - "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": "da490c1e-9c3a-46e5-986b-b3f57de26d9c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a9e63735-bead-4946-b2b9-504fd490d84f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "c0249fa4-7f4e-4bf8-afba-94dc8b0d4aec", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_4c861d6d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/output.xml deleted file mode 100644 index a7a9f1be..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d1773abc-f0af-4ef5-b726-3e68d4b213fd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.807.48"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="703c5539-049d-47ab-bf70-604ed8b218ab"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/da490c1e-9c3a-46e5-986b-b3f57de26d9c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="da490c1e-9c3a-46e5-986b-b3f57de26d9c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a9e63735-bead-4946-b2b9-504fd490d84f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="623514458"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-832-4027347"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hamza.hübl@adam.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Insterstr. 93c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="93c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Insterstr."/> - </extension> - </line> - <city value="Koubaastadt"/> - <postalCode value="64092"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c0249fa4-7f4e-4bf8-afba-94dc8b0d4aec"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="806233722"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d_4c861d6d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d_4c861d6d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d_4c861d6d/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d_4c861d6d/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d_4c861d6d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d_4c861d6d/output.json new file mode 100644 index 00000000..3de58ec4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d_4c861d6d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "48c32883-3466-4e5e-b9f5-66fe68508f8e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "eef192c9-33b3-4558-881d-d72f734ae392", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/cb6e7584-9da7-46b9-968a-87f24bfa28d4" + }, + "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": "cb6e7584-9da7-46b9-968a-87f24bfa28d4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2fc50f07-cece-45e6-9c3d-1ec57899a538", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "05df06ee-5e4e-4bfb-91a9-d7c42d218956", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4c861d6d_4c861d6d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d_4c861d6d/output.xml new file mode 100644 index 00000000..92b4a436 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325_4c861d6d_4c861d6d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="48c32883-3466-4e5e-b9f5-66fe68508f8e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.807.48"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="eef192c9-33b3-4558-881d-d72f734ae392"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/cb6e7584-9da7-46b9-968a-87f24bfa28d4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cb6e7584-9da7-46b9-968a-87f24bfa28d4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2fc50f07-cece-45e6-9c3d-1ec57899a538"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="623514458"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-832-4027347"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hamza.hübl@adam.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Insterstr. 93c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="93c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Insterstr."/> + </extension> + </line> + <city value="Koubaastadt"/> + <postalCode value="64092"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="05df06ee-5e4e-4bfb-91a9-d7c42d218956"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="806233722"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/output.json deleted file mode 100644 index 3320cf08..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "12133412-c330-4069-b6bc-47c0b3d8a322", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "77a41a3c-7e10-48d7-9d5a-7052aa1e503e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/02fb189c-e2a5-4a60-bbce-7d0044bd7676" - }, - "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": "02fb189c-e2a5-4a60-bbce-7d0044bd7676", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "571ebf65-0274-42db-a140-14c246283b36", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "accdc258-854d-44e7-a281-454b1d7b87f8", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_902668fe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/output.xml deleted file mode 100644 index 8cea0443..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="12133412-c330-4069-b6bc-47c0b3d8a322"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.747.34"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="77a41a3c-7e10-48d7-9d5a-7052aa1e503e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/02fb189c-e2a5-4a60-bbce-7d0044bd7676"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="02fb189c-e2a5-4a60-bbce-7d0044bd7676"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="571ebf65-0274-42db-a140-14c246283b36"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="011361824"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-9570-93669717"/> - </telecom> - <telecom> - <system value="email"/> - <value value="amir.einert@abraham.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Weizkamp 5"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="5"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Weizkamp"/> - </extension> - </line> - <city value="Henkelheim"/> - <postalCode value="71075"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="accdc258-854d-44e7-a281-454b1d7b87f8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="884700727"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe_902668fe/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe_902668fe/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe_902668fe/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe_902668fe/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe_902668fe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe_902668fe/output.json new file mode 100644 index 00000000..d73eea0f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe_902668fe/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "1dbb84a6-fda2-492f-97c7-85ea820d832e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e68f0e15-49e0-4941-8306-90b5efcdc8d1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ece78890-f8a5-4a41-878f-4ea0b2a86d00" + }, + "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": "ece78890-f8a5-4a41-878f-4ea0b2a86d00", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "eaa1f70a-58a3-4ebf-b2f4-ffd5f62254e1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "834fd026-82ed-45a0-8b9a-27069e83d352", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_902668fe_902668fe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe_902668fe/output.xml new file mode 100644 index 00000000..6934bbba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e_902668fe_902668fe/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1dbb84a6-fda2-492f-97c7-85ea820d832e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.747.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e68f0e15-49e0-4941-8306-90b5efcdc8d1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ece78890-f8a5-4a41-878f-4ea0b2a86d00"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ece78890-f8a5-4a41-878f-4ea0b2a86d00"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="eaa1f70a-58a3-4ebf-b2f4-ffd5f62254e1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="011361824"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-9570-93669717"/> + </telecom> + <telecom> + <system value="email"/> + <value value="amir.einert@abraham.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Weizkamp 5"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="5"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weizkamp"/> + </extension> + </line> + <city value="Henkelheim"/> + <postalCode value="71075"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="834fd026-82ed-45a0-8b9a-27069e83d352"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="884700727"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.json index 1b1e0a75..feb8ee97 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "19db6509-fb9d-4e23-b9e1-6e3a853557c3", + "id": "8553da66-e24f-4b32-b7a5-721afcb8eb2d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "e1163f47-fa8d-4e48-9657-788c1b0714a2", + "id": "f0720435-ce8c-4eeb-901f-720d69befa5b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/ea89e880-b1ba-476f-9b7f-1236141dcd85" + "reference": "Medication/17ec74ea-4b28-4328-ae21-2d44d6e67d67" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "ea89e880-b1ba-476f-9b7f-1236141dcd85", + "id": "17ec74ea-4b28-4328-ae21-2d44d6e67d67", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "dfa8d4d7-fda9-42ad-9718-c2acf0e000eb", + "id": "195cea7f-3528-4fd1-b271-b47382443217", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "1da2320f-ccdb-4c86-a5fd-ce0bb202f538", + "id": "4fb6c208-272f-4202-827a-73efa1a66058", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.xml index df1e75bb..129c4202 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="19db6509-fb9d-4e23-b9e1-6e3a853557c3"/> + <id value="8553da66-e24f-4b32-b7a5-721afcb8eb2d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e1163f47-fa8d-4e48-9657-788c1b0714a2"/> + <id value="f0720435-ce8c-4eeb-901f-720d69befa5b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/ea89e880-b1ba-476f-9b7f-1236141dcd85"/> + <reference value="Medication/17ec74ea-4b28-4328-ae21-2d44d6e67d67"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="ea89e880-b1ba-476f-9b7f-1236141dcd85"/> + <id value="17ec74ea-4b28-4328-ae21-2d44d6e67d67"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="dfa8d4d7-fda9-42ad-9718-c2acf0e000eb"/> + <id value="195cea7f-3528-4fd1-b271-b47382443217"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1da2320f-ccdb-4c86-a5fd-ce0bb202f538"/> + <id value="4fb6c208-272f-4202-827a-73efa1a66058"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b_2b62d10b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b_2b62d10b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b_2b62d10b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b_2b62d10b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b_2b62d10b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b_2b62d10b/output.json new file mode 100644 index 00000000..0656ed2f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b_2b62d10b/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "99d6f423-6b8d-449e-b925-62e19a0b8400", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "37b2aaad-895b-49dc-ab6a-332601fa525e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/aec7dd74-8e5f-483c-99be-4a8c22041080" + }, + "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": "aec7dd74-8e5f-483c-99be-4a8c22041080", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dcc8abac-b7fb-4adf-884b-853184023fe5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "72c6d9ff-4772-4115-9b94-7a59892ece85", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_2b62d10b_2b62d10b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b_2b62d10b/output.xml new file mode 100644 index 00000000..d6f1e42e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2b62d10b_2b62d10b/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="99d6f423-6b8d-449e-b925-62e19a0b8400"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.993.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="37b2aaad-895b-49dc-ab6a-332601fa525e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/aec7dd74-8e5f-483c-99be-4a8c22041080"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="aec7dd74-8e5f-483c-99be-4a8c22041080"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="86732221"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dcc8abac-b7fb-4adf-884b-853184023fe5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="482117907"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-535-4011988"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tristan.linden@bruder.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Berliner Str. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Str."/> + </extension> + </line> + <city value="Stollestadt"/> + <postalCode value="66216"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="72c6d9ff-4772-4115-9b94-7a59892ece85"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="218194094"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/output.json deleted file mode 100644 index c548af91..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "c641a0a3-b3ae-4764-84c0-e1ce432865be", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "ffa003b0-6f40-4ffa-9546-49d34217c894", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/1a7a1826-cbfa-4513-9976-fc9ec2cc4a69" - }, - "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": "1a7a1826-cbfa-4513-9976-fc9ec2cc4a69", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "97b3d95e-18d1-4c90-907b-12749c91f14b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "e3e613dd-b698-4437-9a65-2f29e62a1751", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_2b62d10b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/output.xml deleted file mode 100644 index dfff5309..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c641a0a3-b3ae-4764-84c0-e1ce432865be"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.993.40"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ffa003b0-6f40-4ffa-9546-49d34217c894"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/1a7a1826-cbfa-4513-9976-fc9ec2cc4a69"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1a7a1826-cbfa-4513-9976-fc9ec2cc4a69"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="86732221"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="97b3d95e-18d1-4c90-907b-12749c91f14b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="482117907"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-535-4011988"/> - </telecom> - <telecom> - <system value="email"/> - <value value="tristan.linden@bruder.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Berliner Str. 9"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="9"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Berliner Str."/> - </extension> - </line> - <city value="Stollestadt"/> - <postalCode value="66216"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e3e613dd-b698-4437-9a65-2f29e62a1751"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="218194094"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b_2b62d10b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b_2b62d10b/input.xml new file mode 100644 index 00000000..cf0b4421 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b_2b62d10b/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="2b62d10b-9e89-4862-aac0-f86289215236"/> + <meta> + <lastUpdated value="2024-02-08T19:20:55.669+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.993.40"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:20:55.669+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/08452da3-5e0e-4f79-8f26-18e9ab419359"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="08452da3-5e0e-4f79-8f26-18e9ab419359"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/7a889c59-dee1-4614-9008-9d18a903b707"/> + </subject> + <date value="2024-02-08T19:20:55+01:00"/> + <author> + <reference value="Practitioner/df062986-77e8-4830-80f4-6d4f78c19eed"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/ce35e6b5-17eb-4aee-81a5-a8b00020ef60"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/ed60ea09-ba96-46e9-a288-05bd87e594e7"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/fc6a383b-d7d6-4262-9468-41b40b969f19"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/44e01efe-2e01-4a3c-9245-08e4046e73e1"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="44e01efe-2e01-4a3c-9245-08e4046e73e1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="86732221"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/7a889c59-dee1-4614-9008-9d18a903b707"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="7a889c59-dee1-4614-9008-9d18a903b707"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1973-07-29"/> + <address> + <type value="both"/> + <line value="Kuhlmannweg 502"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="502"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kuhlmannweg"/> + </extension> + </line> + <city value="Gamperscheid"/> + <postalCode value="07607"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/ce35e6b5-17eb-4aee-81a5-a8b00020ef60"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ce35e6b5-17eb-4aee-81a5-a8b00020ef60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="482117907"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-535-4011988"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tristan.linden@bruder.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Berliner Str. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Str."/> + </extension> + </line> + <city value="Stollestadt"/> + <postalCode value="66216"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/ed60ea09-ba96-46e9-a288-05bd87e594e7"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="ed60ea09-ba96-46e9-a288-05bd87e594e7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="52"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/a9b0eddf-4d26-47c8-9373-85f967a82527"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140028"/> + </identifier> + <display value="SIGNAL IDUNA Krankenversicherung a.G."/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/df062986-77e8-4830-80f4-6d4f78c19eed"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="df062986-77e8-4830-80f4-6d4f78c19eed"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="218194094"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/fc6a383b-d7d6-4262-9468-41b40b969f19"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fc6a383b-d7d6-4262-9468-41b40b969f19"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/44e01efe-2e01-4a3c-9245-08e4046e73e1"/> + </medicationReference> + <subject> + <reference value="Patient/7a889c59-dee1-4614-9008-9d18a903b707"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/df062986-77e8-4830-80f4-6d4f78c19eed"/> + </requester> + <insurance> + <reference value="Coverage/ed60ea09-ba96-46e9-a288-05bd87e594e7"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b_2b62d10b/log.txt similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/log.txt rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b_2b62d10b/log.txt diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b_2b62d10b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b_2b62d10b/output.json new file mode 100644 index 00000000..cf6fda2d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b_2b62d10b/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "fa060534-7c39-4d49-b09a-955c3e8f74a0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fc3beed0-4a28-4f8e-9a13-8f3759b8e61d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/41e6532e-1df4-4643-aad3-11d7ef427f52" + }, + "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": "41e6532e-1df4-4643-aad3-11d7ef427f52", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2f4794cb-24e2-421d-a0e2-ab9812b214b5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "40363aed-d626-4c34-b5b5-3db3fae13ee5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_2b62d10b_2b62d10b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b_2b62d10b/output.xml new file mode 100644 index 00000000..97cae1f3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c_2b62d10b_2b62d10b/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fa060534-7c39-4d49-b09a-955c3e8f74a0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.993.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fc3beed0-4a28-4f8e-9a13-8f3759b8e61d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/41e6532e-1df4-4643-aad3-11d7ef427f52"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="41e6532e-1df4-4643-aad3-11d7ef427f52"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="86732221"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2f4794cb-24e2-421d-a0e2-ab9812b214b5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="482117907"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-535-4011988"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tristan.linden@bruder.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Berliner Str. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Str."/> + </extension> + </line> + <city value="Stollestadt"/> + <postalCode value="66216"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="40363aed-d626-4c34-b5b5-3db3fae13ee5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="218194094"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/output.json deleted file mode 100644 index c2048b4c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "1425ce3f-c041-46cf-9565-bc47f3f8d59c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "7e4774fd-2af6-40c8-89a1-e88a79ddcef4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/a028814e-bf1f-498b-bec2-fc7c70db0d36" - }, - "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": "a028814e-bf1f-498b-bec2-fc7c70db0d36", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bce0e899-130f-40d4-b9ae-663de62b2322", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "109e1e75-d5f2-43c3-aa8b-d872c421316d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_f88786be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/output.xml deleted file mode 100644 index 21198278..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1425ce3f-c041-46cf-9565-bc47f3f8d59c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.772.56"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7e4774fd-2af6-40c8-89a1-e88a79ddcef4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/a028814e-bf1f-498b-bec2-fc7c70db0d36"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a028814e-bf1f-498b-bec2-fc7c70db0d36"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="37914278"/> - </coding> - <text value="Ilopterproston"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bce0e899-130f-40d4-b9ae-663de62b2322"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="032584845"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(05736) 6284866"/> - </telecom> - <telecom> - <system value="email"/> - <value value="lene.soller@schuhaj.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Pestalozzistr. 49c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="49c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Pestalozzistr."/> - </extension> - </line> - <city value="Joannastadt"/> - <postalCode value="59066"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="109e1e75-d5f2-43c3-aa8b-d872c421316d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="180405337"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be_f88786be/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be_f88786be/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be_f88786be/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be_f88786be/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be_f88786be/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be_f88786be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be_f88786be/output.json new file mode 100644 index 00000000..ab0b484d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be_f88786be/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "0eaa76dc-c7cc-490f-a072-073f2f2e5993", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ccbc0aa6-962e-422b-8999-c888d277bdef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/df2d6b0f-e1c8-4713-b71d-70209a4eb702" + }, + "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": "df2d6b0f-e1c8-4713-b71d-70209a4eb702", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6deeaa59-f77c-445c-a3ce-ea72c3923b00", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c6e1cb23-3f89-4c83-8f0c-0f3e2843e0f4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f88786be_f88786be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be_f88786be/output.xml new file mode 100644 index 00000000..d13658b0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916_f88786be_f88786be/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0eaa76dc-c7cc-490f-a072-073f2f2e5993"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.772.56"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ccbc0aa6-962e-422b-8999-c888d277bdef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/df2d6b0f-e1c8-4713-b71d-70209a4eb702"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="df2d6b0f-e1c8-4713-b71d-70209a4eb702"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="37914278"/> + </coding> + <text value="Ilopterproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6deeaa59-f77c-445c-a3ce-ea72c3923b00"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="032584845"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05736) 6284866"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lene.soller@schuhaj.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Pestalozzistr. 49c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="49c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pestalozzistr."/> + </extension> + </line> + <city value="Joannastadt"/> + <postalCode value="59066"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c6e1cb23-3f89-4c83-8f0c-0f3e2843e0f4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="180405337"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.json index 6d0a8e11..25a467d6 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "1cd14fef-77d2-40dd-bfce-9b38deef114f", + "id": "a4d857e7-afd9-4602-97a8-657d1d824923", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "0e5023f3-0019-45bc-a811-4a3b4568c382", + "id": "75424b59-25e8-42cf-87f7-4374adc51f2f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -54,7 +54,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/03f17a3b-85fb-40f2-b308-81d1c08eacba" + "reference": "Medication/c6900165-e2ad-43d5-aa53-2c2e1464817a" }, "subject": { "identifier": { @@ -78,7 +78,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "03f17a3b-85fb-40f2-b308-81d1c08eacba", + "id": "c6900165-e2ad-43d5-aa53-2c2e1464817a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -125,7 +125,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "2ff828d1-d872-4710-a983-58e7f1e7f627", + "id": "f0afa09d-ad1d-425a-b44a-1671d2e71dcd", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -187,7 +187,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "f520b0b7-4998-4b46-85fa-abb3e2404a25", + "id": "a9c1d78d-85de-4db1-9eef-034b98c40794", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.xml index 70af35fa..ffad78f4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="1cd14fef-77d2-40dd-bfce-9b38deef114f"/> + <id value="a4d857e7-afd9-4602-97a8-657d1d824923"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0e5023f3-0019-45bc-a811-4a3b4568c382"/> + <id value="75424b59-25e8-42cf-87f7-4374adc51f2f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -53,7 +53,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/03f17a3b-85fb-40f2-b308-81d1c08eacba"/> + <reference value="Medication/c6900165-e2ad-43d5-aa53-2c2e1464817a"/> </medicationReference> <subject> <identifier> @@ -79,7 +79,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="03f17a3b-85fb-40f2-b308-81d1c08eacba"/> + <id value="c6900165-e2ad-43d5-aa53-2c2e1464817a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -126,7 +126,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="2ff828d1-d872-4710-a983-58e7f1e7f627"/> + <id value="f0afa09d-ad1d-425a-b44a-1671d2e71dcd"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -190,7 +190,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f520b0b7-4998-4b46-85fa-abb3e2404a25"/> + <id value="a9c1d78d-85de-4db1-9eef-034b98c40794"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15_2ddcab15/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15_2ddcab15/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15_2ddcab15/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15_2ddcab15/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15_2ddcab15/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15_2ddcab15/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15_2ddcab15/output.json new file mode 100644 index 00000000..c8b5ca81 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15_2ddcab15/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "43694143-93c1-4205-900e-2c8f37a6eafb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "cd5909c6-dda5-4469-a5dc-4c8e66e37fea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/ae1af10a-d83e-4775-8ce9-61cceeb0db3c" + }, + "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": "ae1af10a-d83e-4775-8ce9-61cceeb0db3c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "29df520f-760e-4289-b42a-88087e93aefd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0058f549-eaec-4dcf-9394-0c56b1532304", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_2ddcab15_2ddcab15/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15_2ddcab15/output.xml new file mode 100644 index 00000000..5f78961d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2ddcab15_2ddcab15/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="43694143-93c1-4205-900e-2c8f37a6eafb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.781.29"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cd5909c6-dda5-4469-a5dc-4c8e66e37fea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:5cd52661-eea8-4da7-aca7-bc1ae61f5d0f"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ae1af10a-d83e-4775-8ce9-61cceeb0db3c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ae1af10a-d83e-4775-8ce9-61cceeb0db3c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16403786"/> + </coding> + <text value="Belglucofen"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="29df520f-760e-4289-b42a-88087e93aefd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="478570881"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8195-22746056"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johann.morgenstern@albrecht.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Hütte 73a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="73a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hütte"/> + </extension> + </line> + <city value="Neu Talealand"/> + <postalCode value="87121"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0058f549-eaec-4dcf-9394-0c56b1532304"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="395405673"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/output.json deleted file mode 100644 index 0346c3b6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/output.json +++ /dev/null @@ -1,234 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "675aa9ab-d9aa-44ed-8668-035c4da32371", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "acdc7f6b-e350-4508-9b35-65a7727bc8c6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/0986557a-a3ef-49c0-8213-592c2251860f" - }, - "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": "0986557a-a3ef-49c0-8213-592c2251860f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4bc5d972-36f0-4551-bb46-3ababc123136", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "d9469a45-857d-4f9d-9e7b-483318795dae", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_4f51deff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/output.xml deleted file mode 100644 index c9ea0cd8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/output.xml +++ /dev/null @@ -1,237 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="675aa9ab-d9aa-44ed-8668-035c4da32371"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.524.76"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="acdc7f6b-e350-4508-9b35-65a7727bc8c6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-11-04"/> - <end value="2025-02-02"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:7bb30620-cb76-4f3a-a459-5ad4c4b63b14"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/0986557a-a3ef-49c0-8213-592c2251860f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0986557a-a3ef-49c0-8213-592c2251860f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="61892969"/> - </coding> - <text value="Hepabraproston"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4bc5d972-36f0-4551-bb46-3ababc123136"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="558753276"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-6491-96705367"/> - </telecom> - <telecom> - <system value="email"/> - <value value="flora.lauckner@orthmann.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Böcklerstr. 43b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="43b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Böcklerstr."/> - </extension> - </line> - <city value="Groß Finnjadorf"/> - <postalCode value="78873"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d9469a45-857d-4f9d-9e7b-483318795dae"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="642521068"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff_4f51deff/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff_4f51deff/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff_4f51deff/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff_4f51deff/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff_4f51deff/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff_4f51deff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff_4f51deff/output.json new file mode 100644 index 00000000..bd69d52b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff_4f51deff/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "19157e93-1210-4b2c-b7db-11ae4b2041af", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c3350d57-c058-431e-8611-dd980677ea8d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/fdaaa5f9-ef74-40dc-a412-fc2a02002e4a" + }, + "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": "fdaaa5f9-ef74-40dc-a412-fc2a02002e4a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "313f4bc0-7bb7-4db1-b865-e9a52f62b2e5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7f88c85a-89ca-4c14-bbe8-961adfa62d06", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4f51deff_4f51deff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff_4f51deff/output.xml new file mode 100644 index 00000000..36c1db46 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67_4f51deff_4f51deff/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="19157e93-1210-4b2c-b7db-11ae4b2041af"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.524.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c3350d57-c058-431e-8611-dd980677ea8d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + <end value="2025-02-02"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:7bb30620-cb76-4f3a-a459-5ad4c4b63b14"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fdaaa5f9-ef74-40dc-a412-fc2a02002e4a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fdaaa5f9-ef74-40dc-a412-fc2a02002e4a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61892969"/> + </coding> + <text value="Hepabraproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="313f4bc0-7bb7-4db1-b865-e9a52f62b2e5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="558753276"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-6491-96705367"/> + </telecom> + <telecom> + <system value="email"/> + <value value="flora.lauckner@orthmann.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Böcklerstr. 43b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="43b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Böcklerstr."/> + </extension> + </line> + <city value="Groß Finnjadorf"/> + <postalCode value="78873"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7f88c85a-89ca-4c14-bbe8-961adfa62d06"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="642521068"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.json index d63d9822..c1445844 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "483e951d-7cc4-4cc1-b761-099d49df67ae", + "id": "a845238e-ea0e-42fe-8796-5be57dd9c061", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "32639dd3-d085-472b-ae77-63f4c3d19198", + "id": "8e3c9c03-171a-47ab-835f-d51c18dc2c57", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/49447380-5c99-4d56-b626-138e41102872" + "reference": "Medication/ace136c7-d1a0-4bd5-806f-282de194a202" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "49447380-5c99-4d56-b626-138e41102872", + "id": "ace136c7-d1a0-4bd5-806f-282de194a202", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "52b7796d-19ce-42b4-b387-fc71d820366a", + "id": "9cd7950c-c388-4c27-800d-99d73026085a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "8713d00d-850a-4359-a5f8-1ec3a9b9a48e", + "id": "92c84707-1d2d-4e7e-a144-2dc2eedf7a08", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.xml index db9e36ea..c86e7c19 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="483e951d-7cc4-4cc1-b761-099d49df67ae"/> + <id value="a845238e-ea0e-42fe-8796-5be57dd9c061"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="32639dd3-d085-472b-ae77-63f4c3d19198"/> + <id value="8e3c9c03-171a-47ab-835f-d51c18dc2c57"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/49447380-5c99-4d56-b626-138e41102872"/> + <reference value="Medication/ace136c7-d1a0-4bd5-806f-282de194a202"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="49447380-5c99-4d56-b626-138e41102872"/> + <id value="ace136c7-d1a0-4bd5-806f-282de194a202"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="52b7796d-19ce-42b4-b387-fc71d820366a"/> + <id value="9cd7950c-c388-4c27-800d-99d73026085a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="8713d00d-850a-4359-a5f8-1ec3a9b9a48e"/> + <id value="92c84707-1d2d-4e7e-a144-2dc2eedf7a08"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770_35469770/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770_35469770/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770_35469770/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770_35469770/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770_35469770/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770_35469770/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770_35469770/output.json new file mode 100644 index 00000000..7afd7eeb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770_35469770/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "13de5ee3-6b86-4dac-ab30-4cf77ef3e913", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "df4e472f-1c43-4b6c-a8c7-c54fb32d3e0c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0e6ac0c1-29d9-484e-b02d-cd233e1edbd7" + }, + "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": "0e6ac0c1-29d9-484e-b02d-cd233e1edbd7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c64a1f5d-594b-4888-8d2c-0d9feca8db2f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0104b615-05d8-4797-a142-a2e6c9d599de", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_35469770_35469770/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770_35469770/output.xml new file mode 100644 index 00000000..36de2976 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_35469770_35469770/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="13de5ee3-6b86-4dac-ab30-4cf77ef3e913"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.754.13"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="df4e472f-1c43-4b6c-a8c7-c54fb32d3e0c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0e6ac0c1-29d9-484e-b02d-cd233e1edbd7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0e6ac0c1-29d9-484e-b02d-cd233e1edbd7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c64a1f5d-594b-4888-8d2c-0d9feca8db2f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="469861049"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-868-7658755"/> + </telecom> + <telecom> + <system value="email"/> + <value value="milo.roggatz@kette.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Ilmstr. 86"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="86"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ilmstr."/> + </extension> + </line> + <city value="Klein Jack"/> + <postalCode value="92689"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0104b615-05d8-4797-a142-a2e6c9d599de"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="793794444"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.json index cc22b2b0..2c7c31d1 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "acc5ecbd-27e3-480f-bbb5-792672d657be", + "id": "c634aa2b-6617-464b-82de-df2b0265c29f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "60462ab8-8402-44e5-b2f2-cd72dc5a6986", + "id": "6ac6597c-396f-44af-80b4-c5271c064526", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/e7cc0c06-4e8e-4d8f-8318-0e2f74797567" + "reference": "Medication/64de51ec-7f7e-4c00-8bf0-03cd5494233e" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "e7cc0c06-4e8e-4d8f-8318-0e2f74797567", + "id": "64de51ec-7f7e-4c00-8bf0-03cd5494233e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "71fe69a8-5b41-4fe7-9363-938eea37055e", + "id": "38175617-c0ea-47a4-83dc-0934f4ec5f0f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "7ebb13ab-e349-4328-b8d6-5769fc01e261", + "id": "7fb2574d-b377-4541-a903-7b161471e6a1", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.xml index f81531e4..6f0b38ad 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="acc5ecbd-27e3-480f-bbb5-792672d657be"/> + <id value="c634aa2b-6617-464b-82de-df2b0265c29f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="60462ab8-8402-44e5-b2f2-cd72dc5a6986"/> + <id value="6ac6597c-396f-44af-80b4-c5271c064526"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/e7cc0c06-4e8e-4d8f-8318-0e2f74797567"/> + <reference value="Medication/64de51ec-7f7e-4c00-8bf0-03cd5494233e"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="e7cc0c06-4e8e-4d8f-8318-0e2f74797567"/> + <id value="64de51ec-7f7e-4c00-8bf0-03cd5494233e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="71fe69a8-5b41-4fe7-9363-938eea37055e"/> + <id value="38175617-c0ea-47a4-83dc-0934f4ec5f0f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7ebb13ab-e349-4328-b8d6-5769fc01e261"/> + <id value="7fb2574d-b377-4541-a903-7b161471e6a1"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/input.xml new file mode 100644 index 00000000..472a5571 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="37c652cb-7289-4335-abf0-3c5e6a0c810a"/> + <meta> + <lastUpdated value="2024-02-08T19:07:19.035+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.777.41"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:07:19.035+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/8b8723dc-cfe9-40d5-b725-f12f78808bcd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8b8723dc-cfe9-40d5-b725-f12f78808bcd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/36b168a7-617e-4260-b021-a0c9b3f8ff9a"/> + </subject> + <date value="2024-02-08T19:07:19+01:00"/> + <author> + <reference value="Practitioner/1448974f-2444-444e-aee7-72be480f0729"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/6a90c2e0-038f-49c6-b4ae-dcdaad5b3c36"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/556b0843-bf3c-4f36-86f6-bd2b53cb4676"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/fa002435-4e02-4fa2-8895-d1bba2efbb2a"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/59004187-ab21-4702-9966-5d1b9a32b5ac"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="59004187-ab21-4702-9966-5d1b9a32b5ac"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11648419"/> + </coding> + <text value="IBUFLAM akut"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/36b168a7-617e-4260-b021-a0c9b3f8ff9a"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="36b168a7-617e-4260-b021-a0c9b3f8ff9a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="2004-02-19"/> + <address> + <type value="both"/> + <line value="Lucasstr. 90b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="90b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lucasstr."/> + </extension> + </line> + <city value="Ahmaddorf"/> + <postalCode value="94082"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/6a90c2e0-038f-49c6-b4ae-dcdaad5b3c36"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6a90c2e0-038f-49c6-b4ae-dcdaad5b3c36"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="505323366"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0283) 686271780"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alexa.newton@salzmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Potsdamer Str. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Potsdamer Str."/> + </extension> + </line> + <city value="Alt Elianastadt"/> + <postalCode value="41650"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/556b0843-bf3c-4f36-86f6-bd2b53cb4676"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="556b0843-bf3c-4f36-86f6-bd2b53cb4676"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/4adac281-9915-4c72-96e4-e80f37662ab0"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="100602360"/> + </identifier> + <display value="IKK Brandenburg und Berlin"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/1448974f-2444-444e-aee7-72be480f0729"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1448974f-2444-444e-aee7-72be480f0729"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="826335247"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/fa002435-4e02-4fa2-8895-d1bba2efbb2a"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fa002435-4e02-4fa2-8895-d1bba2efbb2a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/59004187-ab21-4702-9966-5d1b9a32b5ac"/> + </medicationReference> + <subject> + <reference value="Patient/36b168a7-617e-4260-b021-a0c9b3f8ff9a"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/1448974f-2444-444e-aee7-72be480f0729"/> + </requester> + <insurance> + <reference value="Coverage/556b0843-bf3c-4f36-86f6-bd2b53cb4676"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="50"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/output.json new file mode 100644 index 00000000..a0cf5bff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "52d17e0d-dc9a-4464-a0bf-6f0aa90665fe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d9d479e6-69cd-4b75-bc10-fb3dc36a7e04", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d536432c-a971-41b2-b7eb-8acbd8653524" + }, + "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": "d536432c-a971-41b2-b7eb-8acbd8653524", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3a4cbcf3-dbb6-4f95-8d09-de47966a22be", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f2de9d68-1bf4-4405-af81-f0abc885db6f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_37c652cb_37c652cb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/output.xml new file mode 100644 index 00000000..bd38c51e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_37c652cb_37c652cb/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="52d17e0d-dc9a-4464-a0bf-6f0aa90665fe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.777.41"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d9d479e6-69cd-4b75-bc10-fb3dc36a7e04"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d536432c-a971-41b2-b7eb-8acbd8653524"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="50"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d536432c-a971-41b2-b7eb-8acbd8653524"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11648419"/> + </coding> + <text value="IBUFLAM akut"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3a4cbcf3-dbb6-4f95-8d09-de47966a22be"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="505323366"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0283) 686271780"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alexa.newton@salzmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Potsdamer Str. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Potsdamer Str."/> + </extension> + </line> + <city value="Alt Elianastadt"/> + <postalCode value="41650"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f2de9d68-1bf4-4405-af81-f0abc885db6f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="826335247"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/output.json deleted file mode 100644 index 47195355..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "4c890e17-5610-4374-8e55-702c7d374fd0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "b1347c1f-276a-4306-b0e0-a0798f902ed0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/2dd3e5a4-8840-4cc5-bc24-502b8783032c" - }, - "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": "2dd3e5a4-8840-4cc5-bc24-502b8783032c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a209461b-b329-473f-ae5b-ddef050b88d5", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "4937b056-2eaf-4957-aac7-7ea8cb7e94d8", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_a3c77b03/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/output.xml deleted file mode 100644 index d0dded17..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4c890e17-5610-4374-8e55-702c7d374fd0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.752.19"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b1347c1f-276a-4306-b0e0-a0798f902ed0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/2dd3e5a4-8840-4cc5-bc24-502b8783032c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2dd3e5a4-8840-4cc5-bc24-502b8783032c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a209461b-b329-473f-ae5b-ddef050b88d5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="712972127"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(07022) 9438121"/> - </telecom> - <telecom> - <system value="email"/> - <value value="jeremy.benninger@riekmann.ch"/> - </telecom> - <address> - <type value="both"/> - <line value="Cranachstr. 392"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="392"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Cranachstr."/> - </extension> - </line> - <city value="Bussestadt"/> - <postalCode value="00355"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4937b056-2eaf-4957-aac7-7ea8cb7e94d8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="379988496"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03/output.json new file mode 100644 index 00000000..d042b06d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "c51d7b3c-089f-4ce5-b12e-b594a3f1684a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c1d232f5-32c4-47a6-bcbd-3e315aad7279", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7bdd527c-7327-4a6e-adf1-2ab5a22928c7" + }, + "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": "7bdd527c-7327-4a6e-adf1-2ab5a22928c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a329228a-90b1-40f9-b10f-08a1ad18b4f8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1db12b6a-c99d-4314-afca-366ec8f454ea", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a3c77b03_a3c77b03/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03/output.xml new file mode 100644 index 00000000..b6cbc090 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8_a3c77b03_a3c77b03/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c51d7b3c-089f-4ce5-b12e-b594a3f1684a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.752.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c1d232f5-32c4-47a6-bcbd-3e315aad7279"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7bdd527c-7327-4a6e-adf1-2ab5a22928c7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7bdd527c-7327-4a6e-adf1-2ab5a22928c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a329228a-90b1-40f9-b10f-08a1ad18b4f8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="712972127"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(07022) 9438121"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jeremy.benninger@riekmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Cranachstr. 392"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="392"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Cranachstr."/> + </extension> + </line> + <city value="Bussestadt"/> + <postalCode value="00355"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1db12b6a-c99d-4314-afca-366ec8f454ea"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="379988496"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/output.json deleted file mode 100644 index 1e25e756..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "5c6c726c-7ca6-4567-9dfe-8192817d4e9d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "9c6a7445-01a6-487e-be95-cee08055e5f7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/e2005908-6878-4f85-be79-df342e1599cc" - }, - "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": "e2005908-6878-4f85-be79-df342e1599cc", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "447c8383-b353-4b28-9084-3da251878fc7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "a78412b0-b978-4ec8-aca9-42dffd8bc0c7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_e17e8259/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/output.xml deleted file mode 100644 index 7e72b51b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5c6c726c-7ca6-4567-9dfe-8192817d4e9d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.998.25"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9c6a7445-01a6-487e-be95-cee08055e5f7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/e2005908-6878-4f85-be79-df342e1599cc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e2005908-6878-4f85-be79-df342e1599cc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="73951654"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="447c8383-b353-4b28-9084-3da251878fc7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="714643725"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-247-4772661"/> - </telecom> - <telecom> - <system value="email"/> - <value value="lina.mallmann@zaituc.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Rückertstr. 78c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="78c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Rückertstr."/> - </extension> - </line> - <city value="Wollmannheim"/> - <postalCode value="08712"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a78412b0-b978-4ec8-aca9-42dffd8bc0c7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="434355951"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259_e17e8259/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259_e17e8259/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259_e17e8259/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259_e17e8259/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259_e17e8259/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259_e17e8259/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259_e17e8259/output.json new file mode 100644 index 00000000..c605c699 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259_e17e8259/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "4f3efa13-e4f3-427f-ae13-96cc280c339d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a98284ac-3d08-49da-8d42-7b4bd02b0fda", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/835ab29a-0655-4ad6-9042-f83a76ca355c" + }, + "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": "835ab29a-0655-4ad6-9042-f83a76ca355c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d0cc382e-458a-46c3-b8f4-c8afbccf0704", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f74f2263-0924-4edb-827c-d44968b201ef", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e17e8259_e17e8259/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259_e17e8259/output.xml new file mode 100644 index 00000000..795df947 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f_e17e8259_e17e8259/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4f3efa13-e4f3-427f-ae13-96cc280c339d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.998.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a98284ac-3d08-49da-8d42-7b4bd02b0fda"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/835ab29a-0655-4ad6-9042-f83a76ca355c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="835ab29a-0655-4ad6-9042-f83a76ca355c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="73951654"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d0cc382e-458a-46c3-b8f4-c8afbccf0704"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="714643725"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-247-4772661"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lina.mallmann@zaituc.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Rückertstr. 78c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="78c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Rückertstr."/> + </extension> + </line> + <city value="Wollmannheim"/> + <postalCode value="08712"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f74f2263-0924-4edb-827c-d44968b201ef"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="434355951"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.json index 517cf1d2..a1fdba9f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "70bd017e-fdbd-4093-970a-693e09248017", + "id": "0f5353d8-4c92-4007-be10-57495d812ee1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "ff1a5733-6047-4f7f-b927-2890e27da199", + "id": "d906fdec-5055-4e2d-9312-6267c75abae3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/8ee2523e-f98d-4fcf-90ce-2770e5ddc490" + "reference": "Medication/b8d97b29-d40a-4adc-88d7-092c5bee375f" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "8ee2523e-f98d-4fcf-90ce-2770e5ddc490", + "id": "b8d97b29-d40a-4adc-88d7-092c5bee375f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "4777680a-aa9d-4d2a-8f23-4e4be10b1820", + "id": "0c61741b-d9c0-4daa-8f71-5863995921ec", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "c56f3391-ac7d-476e-a1c7-5ce95a675f37", + "id": "6d6b2046-1e9a-4d49-b24b-0d720e9cd3a1", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.xml index a04d79ba..1e3079fa 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="70bd017e-fdbd-4093-970a-693e09248017"/> + <id value="0f5353d8-4c92-4007-be10-57495d812ee1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ff1a5733-6047-4f7f-b927-2890e27da199"/> + <id value="d906fdec-5055-4e2d-9312-6267c75abae3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/8ee2523e-f98d-4fcf-90ce-2770e5ddc490"/> + <reference value="Medication/b8d97b29-d40a-4adc-88d7-092c5bee375f"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="8ee2523e-f98d-4fcf-90ce-2770e5ddc490"/> + <id value="b8d97b29-d40a-4adc-88d7-092c5bee375f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="4777680a-aa9d-4d2a-8f23-4e4be10b1820"/> + <id value="0c61741b-d9c0-4daa-8f71-5863995921ec"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c56f3391-ac7d-476e-a1c7-5ce95a675f37"/> + <id value="6d6b2046-1e9a-4d49-b24b-0d720e9cd3a1"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/input.xml new file mode 100644 index 00000000..d3438cf5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4149362e-f739-4912-b8cf-84b7c560cfa8"/> + <meta> + <lastUpdated value="2024-02-08T19:05:02.287+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:05:02.287+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/ab3e55e0-a523-4fa2-a0b7-70aed02c4b88"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ab3e55e0-a523-4fa2-a0b7-70aed02c4b88"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/d2a58934-6bcf-4efb-8251-44a6f3066927"/> + </subject> + <date value="2024-02-08T19:05:02+01:00"/> + <author> + <reference value="Practitioner/ba3f86fc-f00a-4335-8615-61c7d18b9dee"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/8e7aa328-ef87-4d90-8f4e-32ebc1fbd4ab"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/cbd29358-bfce-4086-83b4-b345fe7e1aec"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/d8493c0d-9a81-4e7d-a98e-8f693bb8e612"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/8e061f5f-d969-4642-b6fc-1fd835f0e282"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8e061f5f-d969-4642-b6fc-1fd835f0e282"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/d2a58934-6bcf-4efb-8251-44a6f3066927"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="d2a58934-6bcf-4efb-8251-44a6f3066927"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1972-12-05"/> + <address> + <type value="both"/> + <line value="Schwalbenweg 88a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schwalbenweg"/> + </extension> + </line> + <city value="Ost Friedrich"/> + <postalCode value="42778"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/8e7aa328-ef87-4d90-8f4e-32ebc1fbd4ab"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8e7aa328-ef87-4d90-8f4e-32ebc1fbd4ab"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="600372833"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0682) 787150898"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alessio.ehrig@behnke.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Gesundheitspark 31c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="31c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Gesundheitspark"/> + </extension> + </line> + <city value="Groß Annagrün"/> + <postalCode value="34652"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/cbd29358-bfce-4086-83b4-b345fe7e1aec"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="cbd29358-bfce-4086-83b4-b345fe7e1aec"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="48"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/8a3f8bea-7edc-4069-bc7f-c44d57c5adac"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101570104"/> + </identifier> + <display value="Hanseatische Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/ba3f86fc-f00a-4335-8615-61c7d18b9dee"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ba3f86fc-f00a-4335-8615-61c7d18b9dee"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="386029325"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/d8493c0d-9a81-4e7d-a98e-8f693bb8e612"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d8493c0d-9a81-4e7d-a98e-8f693bb8e612"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/8e061f5f-d969-4642-b6fc-1fd835f0e282"/> + </medicationReference> + <subject> + <reference value="Patient/d2a58934-6bcf-4efb-8251-44a6f3066927"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/ba3f86fc-f00a-4335-8615-61c7d18b9dee"/> + </requester> + <insurance> + <reference value="Coverage/cbd29358-bfce-4086-83b4-b345fe7e1aec"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/output.json new file mode 100644 index 00000000..ae9166ff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "e1a66f5c-5bd3-412a-aef9-74dbc198d840", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8baa3981-ab0a-413b-be35-2b34caa044db", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2f2c15a6-a037-4f23-9c6a-3d5fccc5b262" + }, + "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": "2f2c15a6-a037-4f23-9c6a-3d5fccc5b262", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7548f374-da73-495f-a6dc-879efedbb542", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "cacdcb7f-dafc-453f-b10f-09267d3af4ed", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4149362e_4149362e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/output.xml new file mode 100644 index 00000000..4aee42aa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4149362e_4149362e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e1a66f5c-5bd3-412a-aef9-74dbc198d840"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.765.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8baa3981-ab0a-413b-be35-2b34caa044db"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2f2c15a6-a037-4f23-9c6a-3d5fccc5b262"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2f2c15a6-a037-4f23-9c6a-3d5fccc5b262"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7548f374-da73-495f-a6dc-879efedbb542"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="600372833"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0682) 787150898"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alessio.ehrig@behnke.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Gesundheitspark 31c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="31c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Gesundheitspark"/> + </extension> + </line> + <city value="Groß Annagrün"/> + <postalCode value="34652"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cacdcb7f-dafc-453f-b10f-09267d3af4ed"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="386029325"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.json index f5eb22eb..6ebd8d56 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "28093659-4d21-4fdb-960c-675afb481dfa", + "id": "df47e596-1e78-469b-a38d-34b6dc38d5bd", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "421d8f8f-8dc6-4a0f-9ebc-966e615206a5", + "id": "17aa4179-b98c-4670-9e55-eb9451baaf4d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/7af3deb3-84a8-4999-b19f-d5ba2a1ca96b" + "reference": "Medication/3e30bd0a-2713-45c3-aa67-b9d595904576" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "7af3deb3-84a8-4999-b19f-d5ba2a1ca96b", + "id": "3e30bd0a-2713-45c3-aa67-b9d595904576", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "7e658e47-de3d-49f7-8023-711421e6efb6", + "id": "963250b6-b255-4621-9407-ae3230627080", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "82c2f742-28d4-4271-b24f-862243038d43", + "id": "02cc5982-b4e1-4298-b015-ef5a4ce9a99b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.xml index d322b423..6590cff7 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="28093659-4d21-4fdb-960c-675afb481dfa"/> + <id value="df47e596-1e78-469b-a38d-34b6dc38d5bd"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="421d8f8f-8dc6-4a0f-9ebc-966e615206a5"/> + <id value="17aa4179-b98c-4670-9e55-eb9451baaf4d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/7af3deb3-84a8-4999-b19f-d5ba2a1ca96b"/> + <reference value="Medication/3e30bd0a-2713-45c3-aa67-b9d595904576"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="7af3deb3-84a8-4999-b19f-d5ba2a1ca96b"/> + <id value="3e30bd0a-2713-45c3-aa67-b9d595904576"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="7e658e47-de3d-49f7-8023-711421e6efb6"/> + <id value="963250b6-b255-4621-9407-ae3230627080"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="82c2f742-28d4-4271-b24f-862243038d43"/> + <id value="02cc5982-b4e1-4298-b015-ef5a4ce9a99b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7_41ecb9a7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7_41ecb9a7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7_41ecb9a7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7_41ecb9a7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7_41ecb9a7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7_41ecb9a7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7_41ecb9a7/output.json new file mode 100644 index 00000000..546537cf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7_41ecb9a7/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "a64c05f6-3b7c-4d15-889d-b222c2b5b9b4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f28c7b4f-82a6-4bac-9062-574460468176", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3f55d3e8-4c80-404c-bdcf-809368c94d24" + }, + "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": "3f55d3e8-4c80-404c-bdcf-809368c94d24", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a2cc5159-e6fe-43fd-b057-f19361d41143", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c7bf3d1e-d78b-4ee5-ad8b-bd3b74e2e5d1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_41ecb9a7_41ecb9a7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7_41ecb9a7/output.xml new file mode 100644 index 00000000..29bbbffa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_41ecb9a7_41ecb9a7/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a64c05f6-3b7c-4d15-889d-b222c2b5b9b4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.753.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f28c7b4f-82a6-4bac-9062-574460468176"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3f55d3e8-4c80-404c-bdcf-809368c94d24"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3f55d3e8-4c80-404c-bdcf-809368c94d24"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a2cc5159-e6fe-43fd-b057-f19361d41143"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="200088168"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0758) 645067737"/> + </telecom> + <telecom> + <system value="email"/> + <value value="immanuel.seigel@hoffman.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Carstens-Ring 57b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Carstens-Ring"/> + </extension> + </line> + <city value="Gatzkabrunn"/> + <postalCode value="71914"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c7bf3d1e-d78b-4ee5-ad8b-bd3b74e2e5d1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="309203716"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.json index 5c798a78..1674fa8f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c378b16e-b608-4611-9180-e538d55902ab", + "id": "7013f575-e64c-435b-909f-5a0429f58fb1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "b265eb88-ced7-4782-b67b-7d6ec08a7ee1", + "id": "1b9c59a9-fd7b-42ec-95c3-fb26e98b220b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/6286519e-e295-4e75-91c0-376c32475d91" + "reference": "Medication/065946dc-712a-4e2c-9400-ec91bea32601" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "6286519e-e295-4e75-91c0-376c32475d91", + "id": "065946dc-712a-4e2c-9400-ec91bea32601", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "3eb8b6d0-2d11-4458-9782-68212562b0cc", + "id": "a0c2b60f-8cb5-4b9a-8c21-ad2a8114dc6c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "4d4ef81f-2d82-4bdf-bf62-384efc5d636d", + "id": "d3eb1f4f-2c91-4e42-96c9-42b755476b17", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.xml index d6dac4d6..c18ce7f0 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c378b16e-b608-4611-9180-e538d55902ab"/> + <id value="7013f575-e64c-435b-909f-5a0429f58fb1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b265eb88-ced7-4782-b67b-7d6ec08a7ee1"/> + <id value="1b9c59a9-fd7b-42ec-95c3-fb26e98b220b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/6286519e-e295-4e75-91c0-376c32475d91"/> + <reference value="Medication/065946dc-712a-4e2c-9400-ec91bea32601"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="6286519e-e295-4e75-91c0-376c32475d91"/> + <id value="065946dc-712a-4e2c-9400-ec91bea32601"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="3eb8b6d0-2d11-4458-9782-68212562b0cc"/> + <id value="a0c2b60f-8cb5-4b9a-8c21-ad2a8114dc6c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4d4ef81f-2d82-4bdf-bf62-384efc5d636d"/> + <id value="d3eb1f4f-2c91-4e42-96c9-42b755476b17"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/input.xml new file mode 100644 index 00000000..8909d21d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="45a9ad90-cd13-47ce-979b-03b3eb68e4d1"/> + <meta> + <lastUpdated value="2024-02-08T19:01:20.654+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.743.46"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:01:20.654+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/2bb80506-72d4-4a0c-b961-7e95e620f6ff"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="2bb80506-72d4-4a0c-b961-7e95e620f6ff"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/cb57a234-a70e-4b09-a2ce-269bdc6dc427"/> + </subject> + <date value="2024-02-08T19:01:20+01:00"/> + <author> + <reference value="Practitioner/e36eaabf-7ea4-46c7-b876-afc2b94800b7"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/495a6929-56cb-4428-b911-ec9de279b884"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/b12df018-0540-4a68-b8fc-1288dc83e9bd"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/cffcc37f-beeb-4f1a-bdff-c0d1c3099943"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/98670442-3d6e-4199-a1a7-45011daa2d53"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="98670442-3d6e-4199-a1a7-45011daa2d53"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/cb57a234-a70e-4b09-a2ce-269bdc6dc427"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="cb57a234-a70e-4b09-a2ce-269bdc6dc427"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1968-08-23"/> + <address> + <type value="both"/> + <line value="Lohrstr. 15c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lohrstr."/> + </extension> + </line> + <city value="Bestberg"/> + <postalCode value="20862"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/495a6929-56cb-4428-b911-ec9de279b884"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="495a6929-56cb-4428-b911-ec9de279b884"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="525817115"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0901) 412592712"/> + </telecom> + <telecom> + <system value="email"/> + <value value="dilara.kahl@klinger.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Schießbergstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schießbergstr."/> + </extension> + </line> + <city value="Emiliahagen"/> + <postalCode value="70859"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/b12df018-0540-4a68-b8fc-1288dc83e9bd"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="b12df018-0540-4a68-b8fc-1288dc83e9bd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="02"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/356617a2-fae6-4fd1-aedc-1486da84440e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104224634"/> + </identifier> + <display value="BKK Deutsche Bank AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/e36eaabf-7ea4-46c7-b876-afc2b94800b7"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e36eaabf-7ea4-46c7-b876-afc2b94800b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="367206462"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/cffcc37f-beeb-4f1a-bdff-c0d1c3099943"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cffcc37f-beeb-4f1a-bdff-c0d1c3099943"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/98670442-3d6e-4199-a1a7-45011daa2d53"/> + </medicationReference> + <subject> + <reference value="Patient/cb57a234-a70e-4b09-a2ce-269bdc6dc427"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/e36eaabf-7ea4-46c7-b876-afc2b94800b7"/> + </requester> + <insurance> + <reference value="Coverage/b12df018-0540-4a68-b8fc-1288dc83e9bd"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/output.json new file mode 100644 index 00000000..528d46f9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "431e2c21-ee77-4b5f-8651-846a5e0b7b72", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4f1b1724-0607-4307-b3bc-a78c9ebb9a1f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b2fb217e-96eb-4c1f-a861-96029fae4167" + }, + "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": "b2fb217e-96eb-4c1f-a861-96029fae4167", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a54f22ac-ee71-47ed-aa14-97cf49368803", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a5d396cb-3b91-40a9-8738-87ab0aada017", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_45a9ad90_45a9ad90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/output.xml new file mode 100644 index 00000000..01af4bf6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_45a9ad90_45a9ad90/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="431e2c21-ee77-4b5f-8651-846a5e0b7b72"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.743.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4f1b1724-0607-4307-b3bc-a78c9ebb9a1f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b2fb217e-96eb-4c1f-a861-96029fae4167"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b2fb217e-96eb-4c1f-a861-96029fae4167"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a54f22ac-ee71-47ed-aa14-97cf49368803"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="525817115"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0901) 412592712"/> + </telecom> + <telecom> + <system value="email"/> + <value value="dilara.kahl@klinger.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Schießbergstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schießbergstr."/> + </extension> + </line> + <city value="Emiliahagen"/> + <postalCode value="70859"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a5d396cb-3b91-40a9-8738-87ab0aada017"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="367206462"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.json index d15bc428..e6e2e07c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "df05f8ce-0a55-4e84-bdad-f5cd7c6d2c3c", + "id": "7b52fabd-cd5b-4bce-b981-c9c17115fe67", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "89a93f06-24f9-443a-b118-36b8e825761a", + "id": "615c38f2-caca-47c4-afc9-61af1d4aa756", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -54,7 +54,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/7c10566b-f9e2-4711-a58e-b43a9ae2db09" + "reference": "Medication/4b9cb995-668e-4eae-90d2-7e4748b6d72e" }, "subject": { "identifier": { @@ -78,7 +78,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "7c10566b-f9e2-4711-a58e-b43a9ae2db09", + "id": "4b9cb995-668e-4eae-90d2-7e4748b6d72e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -125,7 +125,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "3a63ca43-c163-47d6-aac8-6da6e838fbe0", + "id": "9d5530ce-3886-4be0-b26d-4a70850bde39", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -187,7 +187,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "89a2153e-c670-4851-8353-7d05dce6be0c", + "id": "2caa907b-6630-41a3-8f31-a7ce0c3ef3de", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.xml index 7597e96f..8327d87a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="df05f8ce-0a55-4e84-bdad-f5cd7c6d2c3c"/> + <id value="7b52fabd-cd5b-4bce-b981-c9c17115fe67"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="89a93f06-24f9-443a-b118-36b8e825761a"/> + <id value="615c38f2-caca-47c4-afc9-61af1d4aa756"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -53,7 +53,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/7c10566b-f9e2-4711-a58e-b43a9ae2db09"/> + <reference value="Medication/4b9cb995-668e-4eae-90d2-7e4748b6d72e"/> </medicationReference> <subject> <identifier> @@ -79,7 +79,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="7c10566b-f9e2-4711-a58e-b43a9ae2db09"/> + <id value="4b9cb995-668e-4eae-90d2-7e4748b6d72e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -126,7 +126,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="3a63ca43-c163-47d6-aac8-6da6e838fbe0"/> + <id value="9d5530ce-3886-4be0-b26d-4a70850bde39"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -190,7 +190,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="89a2153e-c670-4851-8353-7d05dce6be0c"/> + <id value="2caa907b-6630-41a3-8f31-a7ce0c3ef3de"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/input.xml new file mode 100644 index 00000000..da6a5834 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/input.xml @@ -0,0 +1,402 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="475e9667-6035-46f7-93a0-b5670db0d9e4"/> + <meta> + <lastUpdated value="2024-02-08T19:12:22.040+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.797.78"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:12:22.040+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/0160de5b-87dd-44fa-8d35-1d63f95e3f2b"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="0160de5b-87dd-44fa-8d35-1d63f95e3f2b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <date value="2024-02-08T19:12:22+01:00"/> + <author> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/9b1df1a4-e4fc-40ac-8bdd-d838a414eff6"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/7050c523-c612-4440-a6f9-d07f3ac52b5e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7050c523-c612-4440-a6f9-d07f3ac52b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="45323114"/> + </coding> + <text value="Hydvofloxnin"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1963-08-18"/> + <address> + <type value="both"/> + <line value="Friedrich-List-Str. 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Friedrich-List-Str."/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="40934"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="268d5615-319b-448d-884a-ce034b70d01c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="47"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/e11c162b-d22c-4576-88e2-21a9c878c33e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108433248"/> + </identifier> + <display value="Siemens‐Betriebskrankenkasse SBK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/9b1df1a4-e4fc-40ac-8bdd-d838a414eff6"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9b1df1a4-e4fc-40ac-8bdd-d838a414eff6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-02-08"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/7050c523-c612-4440-a6f9-d07f3ac52b5e"/> + </medicationReference> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + </requester> + <insurance> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/output.json new file mode 100644 index 00000000..057c32fb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "c68d819b-cf86-4c0c-9b0d-8b7335b05db3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "846f3a40-a96c-48a0-adc5-5a198f036bb6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/5fd6104b-884d-45bf-b841-d07d8f821e41" + }, + "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": "5fd6104b-884d-45bf-b841-d07d8f821e41", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b3ca9c68-c49b-438b-a592-8a33e0c57fa8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0975c306-ac91-4026-a7c8-a341b0712d0d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_475e9667_475e9667/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/output.xml new file mode 100644 index 00000000..5511610d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_475e9667_475e9667/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c68d819b-cf86-4c0c-9b0d-8b7335b05db3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.797.78"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="846f3a40-a96c-48a0-adc5-5a198f036bb6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-02-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5fd6104b-884d-45bf-b841-d07d8f821e41"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5fd6104b-884d-45bf-b841-d07d8f821e41"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="45323114"/> + </coding> + <text value="Hydvofloxnin"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b3ca9c68-c49b-438b-a592-8a33e0c57fa8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0975c306-ac91-4026-a7c8-a341b0712d0d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.json index c4ad8256..e5984a58 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "3d9aff51-8734-43c5-a5a9-7bebebddab24", + "id": "2f51713e-0ecb-4f27-bf0d-c025e288ad92", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "b52fc533-280f-4280-9b48-94ad4f93a40d", + "id": "0701bc21-a7b1-4041-9ad9-8cb444546621", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/e57b7c98-9726-4193-81f3-6f26c7de58d8" + "reference": "Medication/7aa422cc-f295-4616-9341-199e2064b5a0" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "e57b7c98-9726-4193-81f3-6f26c7de58d8", + "id": "7aa422cc-f295-4616-9341-199e2064b5a0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "235eda2b-aeb3-4f96-afcf-2b3f632216fa", + "id": "867e078d-917d-4a6d-bb24-8c8b5d6e4bce", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "e938d1f2-7198-4af2-8b81-58a819b6a12b", + "id": "fc72a429-a067-4584-b228-d18f21b0816f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.xml index 0e3e4ff6..0e69cf21 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="3d9aff51-8734-43c5-a5a9-7bebebddab24"/> + <id value="2f51713e-0ecb-4f27-bf0d-c025e288ad92"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b52fc533-280f-4280-9b48-94ad4f93a40d"/> + <id value="0701bc21-a7b1-4041-9ad9-8cb444546621"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/e57b7c98-9726-4193-81f3-6f26c7de58d8"/> + <reference value="Medication/7aa422cc-f295-4616-9341-199e2064b5a0"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="e57b7c98-9726-4193-81f3-6f26c7de58d8"/> + <id value="7aa422cc-f295-4616-9341-199e2064b5a0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="235eda2b-aeb3-4f96-afcf-2b3f632216fa"/> + <id value="867e078d-917d-4a6d-bb24-8c8b5d6e4bce"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e938d1f2-7198-4af2-8b81-58a819b6a12b"/> + <id value="fc72a429-a067-4584-b228-d18f21b0816f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/input.xml new file mode 100644 index 00000000..ba541286 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4c861d6d-69cc-4f3f-9ef2-d294f63dc408"/> + <meta> + <lastUpdated value="2024-02-08T19:13:06.426+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.807.48"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:13:06.426+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/a1a35ee0-1972-45d1-a1c2-439e359d4a01"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a1a35ee0-1972-45d1-a1c2-439e359d4a01"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/7f489f10-5bc7-47da-a60a-d5230ba517a4"/> + </subject> + <date value="2024-02-08T19:13:06+01:00"/> + <author> + <reference value="Practitioner/de76c437-4555-45a6-b4ad-ec1e1fadde41"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/369088ec-c775-4b28-a028-8ec3fafce3d1"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/2d6b1d33-9c02-46fc-9379-9638ae84d3af"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/15ba04da-90df-41c9-9225-38de3a68d36c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/05e937fd-3b04-4422-acb5-ec31f39109c9"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="05e937fd-3b04-4422-acb5-ec31f39109c9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/7f489f10-5bc7-47da-a60a-d5230ba517a4"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="7f489f10-5bc7-47da-a60a-d5230ba517a4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1978-04-23"/> + <address> + <type value="both"/> + <line value="Ulrichstr. 29b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ulrichstr."/> + </extension> + </line> + <city value="Rikefeld"/> + <postalCode value="82333"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/369088ec-c775-4b28-a028-8ec3fafce3d1"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="369088ec-c775-4b28-a028-8ec3fafce3d1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="623514458"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-832-4027347"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hamza.hübl@adam.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Insterstr. 93c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="93c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Insterstr."/> + </extension> + </line> + <city value="Koubaastadt"/> + <postalCode value="64092"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/2d6b1d33-9c02-46fc-9379-9638ae84d3af"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="2d6b1d33-9c02-46fc-9379-9638ae84d3af"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="88"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/b76541f3-2440-4d42-a0c3-d279d63bb9f7"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104926702"/> + </identifier> + <display value="DIE BERGISCHE KRANKENKASSE"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/de76c437-4555-45a6-b4ad-ec1e1fadde41"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="de76c437-4555-45a6-b4ad-ec1e1fadde41"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="806233722"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/15ba04da-90df-41c9-9225-38de3a68d36c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="15ba04da-90df-41c9-9225-38de3a68d36c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/05e937fd-3b04-4422-acb5-ec31f39109c9"/> + </medicationReference> + <subject> + <reference value="Patient/7f489f10-5bc7-47da-a60a-d5230ba517a4"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/de76c437-4555-45a6-b4ad-ec1e1fadde41"/> + </requester> + <insurance> + <reference value="Coverage/2d6b1d33-9c02-46fc-9379-9638ae84d3af"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/output.json new file mode 100644 index 00000000..5595fead --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "282bdd71-1846-4e93-9a26-800851a75f41", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a6e99cea-fc25-45e1-a7a0-723d7a3ae0a6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6fba52af-e1b0-4dd4-8aba-a995e8f633d0" + }, + "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": "6fba52af-e1b0-4dd4-8aba-a995e8f633d0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "89db6804-b124-4f1b-afcf-60f7aceab914", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "44cd1c9f-be52-4590-bc7f-266eadc64bca", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4c861d6d_4c861d6d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/output.xml new file mode 100644 index 00000000..abca4f1e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4c861d6d_4c861d6d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="282bdd71-1846-4e93-9a26-800851a75f41"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.807.48"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a6e99cea-fc25-45e1-a7a0-723d7a3ae0a6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6fba52af-e1b0-4dd4-8aba-a995e8f633d0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6fba52af-e1b0-4dd4-8aba-a995e8f633d0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="89db6804-b124-4f1b-afcf-60f7aceab914"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="623514458"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-832-4027347"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hamza.hübl@adam.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Insterstr. 93c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="93c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Insterstr."/> + </extension> + </line> + <city value="Koubaastadt"/> + <postalCode value="64092"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="44cd1c9f-be52-4590-bc7f-266eadc64bca"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="806233722"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/output.json deleted file mode 100644 index 0a1f84f9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "daa63258-cc4a-45d1-a8db-4333d97ffcee", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "0df92635-b8c9-4a8d-bb1c-4d4f83014880", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/261ca99f-5108-4fe0-a032-e734274251f2" - }, - "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": "261ca99f-5108-4fe0-a032-e734274251f2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "df27c5e1-794b-41ac-8e09-661752024370", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "23e05c30-dbcf-4c43-b783-0aded0de6418", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9c9429a1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/output.xml deleted file mode 100644 index 0267ccf3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="daa63258-cc4a-45d1-a8db-4333d97ffcee"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.995.34"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0df92635-b8c9-4a8d-bb1c-4d4f83014880"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/261ca99f-5108-4fe0-a032-e734274251f2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="261ca99f-5108-4fe0-a032-e734274251f2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="46260462"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="df27c5e1-794b-41ac-8e09-661752024370"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="382601542"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-902-0356405"/> - </telecom> - <telecom> - <system value="email"/> - <value value="jan.leschnik@lichtenfeld.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Liebigstr. 9"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="9"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Liebigstr."/> - </extension> - </line> - <city value="Ost Marius"/> - <postalCode value="85692"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="23e05c30-dbcf-4c43-b783-0aded0de6418"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="804424206"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1_9c9429a1/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1_9c9429a1/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1_9c9429a1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1_9c9429a1/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1_9c9429a1/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1_9c9429a1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1_9c9429a1/output.json new file mode 100644 index 00000000..93b2c1ed --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1_9c9429a1/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "be099f22-6901-4c37-9d8d-756e32faeb5c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3fd40ef6-3f25-42bd-b5a5-46d7b0ebc43b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e6143c40-3306-4971-b162-e428c4099f33" + }, + "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": "e6143c40-3306-4971-b162-e428c4099f33", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0f9e0f29-8a21-4da3-a6e5-ca8ed15aec3a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "27c59a6e-4d87-4cad-a2e2-fe08032cc028", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c9429a1_9c9429a1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1_9c9429a1/output.xml new file mode 100644 index 00000000..e374ad08 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6_9c9429a1_9c9429a1/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="be099f22-6901-4c37-9d8d-756e32faeb5c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.995.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3fd40ef6-3f25-42bd-b5a5-46d7b0ebc43b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e6143c40-3306-4971-b162-e428c4099f33"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e6143c40-3306-4971-b162-e428c4099f33"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="46260462"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0f9e0f29-8a21-4da3-a6e5-ca8ed15aec3a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="382601542"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-902-0356405"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jan.leschnik@lichtenfeld.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Liebigstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Liebigstr."/> + </extension> + </line> + <city value="Ost Marius"/> + <postalCode value="85692"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="27c59a6e-4d87-4cad-a2e2-fe08032cc028"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="804424206"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.json index 52485335..4ae505cc 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "438026cb-b276-487c-b658-585d50d02725", + "id": "2758c1f9-5bf1-4839-9d0d-a027df3bd1f9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "dc573af6-fe26-4d8e-a538-fda040df54c3", + "id": "37416e13-911b-4697-8b8f-591c9d6fdbb2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -55,7 +55,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/54c07cb6-5f2f-4326-8d24-001f7bff81cd" + "reference": "Medication/f3f73379-ebc6-49a1-ba96-d7c82700630a" }, "subject": { "identifier": { @@ -79,7 +79,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "54c07cb6-5f2f-4326-8d24-001f7bff81cd", + "id": "f3f73379-ebc6-49a1-ba96-d7c82700630a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -126,7 +126,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "96e1b575-6a12-4109-b7f9-fdd16712522a", + "id": "df86c109-559f-4f10-bac8-23f9cfa230da", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -188,7 +188,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "7c3b3fe8-b60f-4382-adad-737b0dbe08c0", + "id": "45189904-39ce-4dfb-880f-53dc842d40a7", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.xml index 5fa9e88e..957902b3 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="438026cb-b276-487c-b658-585d50d02725"/> + <id value="2758c1f9-5bf1-4839-9d0d-a027df3bd1f9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="dc573af6-fe26-4d8e-a538-fda040df54c3"/> + <id value="37416e13-911b-4697-8b8f-591c9d6fdbb2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -54,7 +54,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/54c07cb6-5f2f-4326-8d24-001f7bff81cd"/> + <reference value="Medication/f3f73379-ebc6-49a1-ba96-d7c82700630a"/> </medicationReference> <subject> <identifier> @@ -80,7 +80,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="54c07cb6-5f2f-4326-8d24-001f7bff81cd"/> + <id value="f3f73379-ebc6-49a1-ba96-d7c82700630a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -127,7 +127,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="96e1b575-6a12-4109-b7f9-fdd16712522a"/> + <id value="df86c109-559f-4f10-bac8-23f9cfa230da"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -191,7 +191,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7c3b3fe8-b60f-4382-adad-737b0dbe08c0"/> + <id value="45189904-39ce-4dfb-880f-53dc842d40a7"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/input.xml new file mode 100644 index 00000000..ebac57ff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/input.xml @@ -0,0 +1,403 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4f51deff-9ab0-4535-88ad-ad3558cdb029"/> + <meta> + <lastUpdated value="2024-02-08T19:08:46.196+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.524.76"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:08:46.196+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/8248823c-4d32-4acb-8093-1a0dca2e4958"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8248823c-4d32-4acb-8093-1a0dca2e4958"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/548a50d9-ccba-49c8-bb93-f01e7e382180"/> + </subject> + <date value="2024-02-08T19:08:46+01:00"/> + <author> + <reference value="Practitioner/c012b5ce-943d-4ffd-ba46-aad411a3318b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/be5472bd-bb65-49a5-9d29-0d9bc4668232"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/bf7efc39-ede1-4b41-ada7-1ace947958f6"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/ddbccc8c-9b70-49eb-a3c7-9f7cb6fda02b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/ddc36347-ec0e-4c74-9320-af6410313905"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ddc36347-ec0e-4c74-9320-af6410313905"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61892969"/> + </coding> + <text value="Hepabraproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/548a50d9-ccba-49c8-bb93-f01e7e382180"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="548a50d9-ccba-49c8-bb93-f01e7e382180"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1993-03-09"/> + <address> + <type value="both"/> + <line value="Peschstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Peschstr."/> + </extension> + </line> + <city value="Klein Josiebrunn"/> + <postalCode value="35925"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/be5472bd-bb65-49a5-9d29-0d9bc4668232"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="be5472bd-bb65-49a5-9d29-0d9bc4668232"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="558753276"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-6491-96705367"/> + </telecom> + <telecom> + <system value="email"/> + <value value="flora.lauckner@orthmann.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Böcklerstr. 43b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="43b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Böcklerstr."/> + </extension> + </line> + <city value="Groß Finnjadorf"/> + <postalCode value="78873"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/bf7efc39-ede1-4b41-ada7-1ace947958f6"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="bf7efc39-ede1-4b41-ada7-1ace947958f6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="71"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/e81257c3-6322-4862-a2f2-d05598f0dbdf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="950585030"/> + </identifier> + <display value="PBeaKK Postbeamtenkrankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/c012b5ce-943d-4ffd-ba46-aad411a3318b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c012b5ce-943d-4ffd-ba46-aad411a3318b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="642521068"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/ddbccc8c-9b70-49eb-a3c7-9f7cb6fda02b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ddbccc8c-9b70-49eb-a3c7-9f7cb6fda02b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-11-04"/> + <end value="2025-02-02"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:7bb30620-cb76-4f3a-a459-5ad4c4b63b14"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/ddc36347-ec0e-4c74-9320-af6410313905"/> + </medicationReference> + <subject> + <reference value="Patient/548a50d9-ccba-49c8-bb93-f01e7e382180"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/c012b5ce-943d-4ffd-ba46-aad411a3318b"/> + </requester> + <insurance> + <reference value="Coverage/bf7efc39-ede1-4b41-ada7-1ace947958f6"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/output.json new file mode 100644 index 00000000..2e6ccb26 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "ee4bb9a8-2005-4da0-84d0-d17cd0376f82", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4eb9eca2-4334-4e6e-8494-3b4eb5624caa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/0a46146f-0c38-41b7-895a-866b9a3e2fbe" + }, + "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": "0a46146f-0c38-41b7-895a-866b9a3e2fbe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "965fa550-07cc-4c7c-9df4-e54ccd6cebe0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a30cb5e9-9145-43b2-99b2-160f270cd33e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4f51deff_4f51deff/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/output.xml new file mode 100644 index 00000000..2ef276da --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4f51deff_4f51deff/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ee4bb9a8-2005-4da0-84d0-d17cd0376f82"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.524.76"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4eb9eca2-4334-4e6e-8494-3b4eb5624caa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + <end value="2025-02-02"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:7bb30620-cb76-4f3a-a459-5ad4c4b63b14"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0a46146f-0c38-41b7-895a-866b9a3e2fbe"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0a46146f-0c38-41b7-895a-866b9a3e2fbe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61892969"/> + </coding> + <text value="Hepabraproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="965fa550-07cc-4c7c-9df4-e54ccd6cebe0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="558753276"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-6491-96705367"/> + </telecom> + <telecom> + <system value="email"/> + <value value="flora.lauckner@orthmann.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Böcklerstr. 43b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="43b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Böcklerstr."/> + </extension> + </line> + <city value="Groß Finnjadorf"/> + <postalCode value="78873"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a30cb5e9-9145-43b2-99b2-160f270cd33e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="642521068"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.json index ed5b2b26..7dc02ec8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "33f630b7-8b7d-4612-9a37-502aca3c9756", + "id": "40581c9e-2521-442e-9208-ee707fa60e9b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "a07ac8b3-e5fd-4bcc-9a11-ec8953d8e3f6", + "id": "75ca4539-0bd0-4eca-8ed3-0d4a633d2812", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/90407384-bb72-44d0-8062-5a2a7773580f" + "reference": "Medication/3e64df38-056c-49ed-97de-64f0c3849e94" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "90407384-bb72-44d0-8062-5a2a7773580f", + "id": "3e64df38-056c-49ed-97de-64f0c3849e94", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e4df7461-bb2e-4f5a-9a69-5a6f9b933928", + "id": "b22e855e-f2c9-4888-b73e-3ff4f96872ae", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "6596d023-ab6e-4987-b2af-e8cad8fd1ac6", + "id": "88b0ef9c-e19e-463a-8a6c-6fe2e986f45a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.xml index fb33d7f9..6201a1d4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="33f630b7-8b7d-4612-9a37-502aca3c9756"/> + <id value="40581c9e-2521-442e-9208-ee707fa60e9b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a07ac8b3-e5fd-4bcc-9a11-ec8953d8e3f6"/> + <id value="75ca4539-0bd0-4eca-8ed3-0d4a633d2812"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/90407384-bb72-44d0-8062-5a2a7773580f"/> + <reference value="Medication/3e64df38-056c-49ed-97de-64f0c3849e94"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="90407384-bb72-44d0-8062-5a2a7773580f"/> + <id value="3e64df38-056c-49ed-97de-64f0c3849e94"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e4df7461-bb2e-4f5a-9a69-5a6f9b933928"/> + <id value="b22e855e-f2c9-4888-b73e-3ff4f96872ae"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6596d023-ab6e-4987-b2af-e8cad8fd1ac6"/> + <id value="88b0ef9c-e19e-463a-8a6c-6fe2e986f45a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/input.xml new file mode 100644 index 00000000..547376e4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4ff8a848-53cb-42dc-a7ac-3f90bacd2e1d"/> + <meta> + <lastUpdated value="2024-02-08T19:21:25.693+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.996.31"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:21:25.693+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/3e75dbf0-505e-426a-b0d1-7c48b8838dc8"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="3e75dbf0-505e-426a-b0d1-7c48b8838dc8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/11c7df44-c880-464e-bec1-a0169d8a2d23"/> + </subject> + <date value="2024-02-08T19:21:25+01:00"/> + <author> + <reference value="Practitioner/fe11c397-5ee6-475a-b27a-497fb946b1f2"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2533ab91-11e3-4272-84a5-36077b8b1d6f"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/915cf042-7168-437d-9c10-d87aa67d2516"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/22c85c7b-ef57-48d0-8c16-05e705b37719"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/979f9f1b-d9d5-4784-9c1e-0b1abe22d2ea"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="979f9f1b-d9d5-4784-9c1e-0b1abe22d2ea"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="48094708"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/11c7df44-c880-464e-bec1-a0169d8a2d23"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="11c7df44-c880-464e-bec1-a0169d8a2d23"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1975-01-22"/> + <address> + <type value="both"/> + <line value="Wüstenhof 7"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="7"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wüstenhof"/> + </extension> + </line> + <city value="Neu Youssefhagen"/> + <postalCode value="80809"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/2533ab91-11e3-4272-84a5-36077b8b1d6f"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2533ab91-11e3-4272-84a5-36077b8b1d6f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="889081004"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8265-38308644"/> + </telecom> + <telecom> + <system value="email"/> + <value value="karlo.benner@wilts.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Kalkstr. 7"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="7"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kalkstr."/> + </extension> + </line> + <city value="Rohländerstadt"/> + <postalCode value="98861"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/915cf042-7168-437d-9c10-d87aa67d2516"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="915cf042-7168-437d-9c10-d87aa67d2516"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/f65b8aec-c039-4f18-ad69-1636ae6dffcd"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141461"/> + </identifier> + <display value="ottonova Krankenversicherung AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/fe11c397-5ee6-475a-b27a-497fb946b1f2"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="fe11c397-5ee6-475a-b27a-497fb946b1f2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="892116208"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/22c85c7b-ef57-48d0-8c16-05e705b37719"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="22c85c7b-ef57-48d0-8c16-05e705b37719"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/979f9f1b-d9d5-4784-9c1e-0b1abe22d2ea"/> + </medicationReference> + <subject> + <reference value="Patient/11c7df44-c880-464e-bec1-a0169d8a2d23"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/fe11c397-5ee6-475a-b27a-497fb946b1f2"/> + </requester> + <insurance> + <reference value="Coverage/915cf042-7168-437d-9c10-d87aa67d2516"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/output.json new file mode 100644 index 00000000..9a0dc549 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "45d1da53-47e3-495a-8724-83a908295f8a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "be4b7060-ca9a-4e2a-832a-a5997d2e1f65", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fb7a3e24-320e-4408-9c5c-41fc653d73da" + }, + "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": "fb7a3e24-320e-4408-9c5c-41fc653d73da", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "40192426-b344-4c6e-8460-ee0bb6cdd8a9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "afd883c8-b66c-4217-8a0d-9d70feb38dcd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4ff8a848_4ff8a848/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/output.xml new file mode 100644 index 00000000..984c347a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ff8a848_4ff8a848/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="45d1da53-47e3-495a-8724-83a908295f8a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.996.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="be4b7060-ca9a-4e2a-832a-a5997d2e1f65"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fb7a3e24-320e-4408-9c5c-41fc653d73da"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fb7a3e24-320e-4408-9c5c-41fc653d73da"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="48094708"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="40192426-b344-4c6e-8460-ee0bb6cdd8a9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="889081004"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8265-38308644"/> + </telecom> + <telecom> + <system value="email"/> + <value value="karlo.benner@wilts.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Kalkstr. 7"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="7"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kalkstr."/> + </extension> + </line> + <city value="Rohländerstadt"/> + <postalCode value="98861"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="afd883c8-b66c-4217-8a0d-9d70feb38dcd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="892116208"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.json index 6cef6898..c7c5c693 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "19768e3a-e78e-411d-9bb4-c5a8b6b746d8", + "id": "1d6578d2-b70a-47cf-9aa3-85d5d1bc8ee1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "a99b1006-b16e-4b0f-beab-cea92524c83a", + "id": "f1aa39c4-5fdb-46ba-af7b-01ca5638aa68", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/5bd3b09e-e8b2-43e0-92a6-0596d1621671" + "reference": "Medication/ae7ff0d7-2823-4b0c-8006-0e6aea509097" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5bd3b09e-e8b2-43e0-92a6-0596d1621671", + "id": "ae7ff0d7-2823-4b0c-8006-0e6aea509097", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "c09d74a8-625d-4285-9a4d-cb0abeee0831", + "id": "47a67358-0609-4674-b940-5efcc2d621c2", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "57000251-5119-4909-b30c-d1e32d756f65", + "id": "137dc5fe-bfa9-4d2d-9521-12343603af34", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.xml index e103073a..3c6c2954 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="19768e3a-e78e-411d-9bb4-c5a8b6b746d8"/> + <id value="1d6578d2-b70a-47cf-9aa3-85d5d1bc8ee1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a99b1006-b16e-4b0f-beab-cea92524c83a"/> + <id value="f1aa39c4-5fdb-46ba-af7b-01ca5638aa68"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/5bd3b09e-e8b2-43e0-92a6-0596d1621671"/> + <reference value="Medication/ae7ff0d7-2823-4b0c-8006-0e6aea509097"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5bd3b09e-e8b2-43e0-92a6-0596d1621671"/> + <id value="ae7ff0d7-2823-4b0c-8006-0e6aea509097"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="c09d74a8-625d-4285-9a4d-cb0abeee0831"/> + <id value="47a67358-0609-4674-b940-5efcc2d621c2"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="57000251-5119-4909-b30c-d1e32d756f65"/> + <id value="137dc5fe-bfa9-4d2d-9521-12343603af34"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab_5093c3ab/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab_5093c3ab/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab_5093c3ab/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab_5093c3ab/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab_5093c3ab/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab_5093c3ab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab_5093c3ab/output.json new file mode 100644 index 00000000..f3679381 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab_5093c3ab/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "24726b98-446b-443f-8e95-c5bbcf52139d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fd854094-8b9d-4759-a5a2-ab7cdc3b3585", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b957f23d-8cc2-4405-8bf7-b13ef3f3f7bf" + }, + "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": "b957f23d-8cc2-4405-8bf7-b13ef3f3f7bf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ee5b1b09-44aa-4175-ac29-4524f25c9e86", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4095fd3a-6c58-46dc-ad2a-27a4e464127a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5093c3ab_5093c3ab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab_5093c3ab/output.xml new file mode 100644 index 00000000..84b86450 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5093c3ab_5093c3ab/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="24726b98-446b-443f-8e95-c5bbcf52139d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.764.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fd854094-8b9d-4759-a5a2-ab7cdc3b3585"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b957f23d-8cc2-4405-8bf7-b13ef3f3f7bf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b957f23d-8cc2-4405-8bf7-b13ef3f3f7bf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ee5b1b09-44aa-4175-ac29-4524f25c9e86"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="035362503"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-514-9983229"/> + </telecom> + <telecom> + <system value="email"/> + <value value="erik.gauder@borsch.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Ortelsburger Str. 75a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ortelsburger Str."/> + </extension> + </line> + <city value="Illinggrün"/> + <postalCode value="36070"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4095fd3a-6c58-46dc-ad2a-27a4e464127a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="333698756"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/output.json deleted file mode 100644 index f92a7642..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "1ecd70e8-901a-429f-b3c5-1025f8032441", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "fb7073b0-3b06-4348-9680-f716a8d0bb94", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/e6b54ef8-decb-42ba-aede-651c4193663b" - }, - "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": "e6b54ef8-decb-42ba-aede-651c4193663b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fefa202b-f4e9-40e9-82a5-815b55283271", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "fa876e7c-5c73-4c2c-9c09-5a2245b3a015", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_bbc51505/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/output.xml deleted file mode 100644 index 0c073f64..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1ecd70e8-901a-429f-b3c5-1025f8032441"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.768.68"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="fb7073b0-3b06-4348-9680-f716a8d0bb94"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/e6b54ef8-decb-42ba-aede-651c4193663b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e6b54ef8-decb-42ba-aede-651c4193663b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="fefa202b-f4e9-40e9-82a5-815b55283271"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="206219256"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0011) 867656050"/> - </telecom> - <telecom> - <system value="email"/> - <value value="jolie.deckert@tepper.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Leichlinger Str. 86"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="86"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Leichlinger Str."/> - </extension> - </line> - <city value="Schön Magdalena"/> - <postalCode value="75443"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="fa876e7c-5c73-4c2c-9c09-5a2245b3a015"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="279711745"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505_bbc51505/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505_bbc51505/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505_bbc51505/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505_bbc51505/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505_bbc51505/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505_bbc51505/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505_bbc51505/output.json new file mode 100644 index 00000000..adb52150 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505_bbc51505/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "d76813b9-35c4-4040-918b-1ad2ebd9e163", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9e324a08-92f1-4a6c-b46b-31d1c483a44e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b56fccbc-f143-43b6-a4ce-9fc184f2153f" + }, + "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": "b56fccbc-f143-43b6-a4ce-9fc184f2153f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5260cff0-645f-423b-b704-ef9b3c15c9b4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f9ee781f-32bf-4133-a4f1-178c33a87c09", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bbc51505_bbc51505/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505_bbc51505/output.xml new file mode 100644 index 00000000..b517f21c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973_bbc51505_bbc51505/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d76813b9-35c4-4040-918b-1ad2ebd9e163"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.768.68"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9e324a08-92f1-4a6c-b46b-31d1c483a44e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b56fccbc-f143-43b6-a4ce-9fc184f2153f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b56fccbc-f143-43b6-a4ce-9fc184f2153f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5260cff0-645f-423b-b704-ef9b3c15c9b4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="206219256"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0011) 867656050"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jolie.deckert@tepper.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Leichlinger Str. 86"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="86"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Leichlinger Str."/> + </extension> + </line> + <city value="Schön Magdalena"/> + <postalCode value="75443"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f9ee781f-32bf-4133-a4f1-178c33a87c09"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="279711745"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/output.json deleted file mode 100644 index c4df0d87..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "9cf56184-2a3f-44eb-937a-0cf462b56967", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "f7306f04-178e-40c0-967d-975bd0e589c7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/bc80b86f-3bd6-480a-8019-10021fbf032a" - }, - "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": "bc80b86f-3bd6-480a-8019-10021fbf032a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "80382aff-e3a1-40ef-a67a-aae22c7ab82b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "23ef6492-4a86-4df2-929c-a08ae28a4a3f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_5f3e877b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/output.xml deleted file mode 100644 index 5a759492..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9cf56184-2a3f-44eb-937a-0cf462b56967"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.474.839.81"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-13"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="f7306f04-178e-40c0-967d-975bd0e589c7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/bc80b86f-3bd6-480a-8019-10021fbf032a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-13"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bc80b86f-3bd6-480a-8019-10021fbf032a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="80382aff-e3a1-40ef-a67a-aae22c7ab82b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="729642118"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0622) 265074965"/> - </telecom> - <telecom> - <system value="email"/> - <value value="miray.lokar@patzwahl.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Marie-Schlei-Str. 67"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="67"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Marie-Schlei-Str."/> - </extension> - </line> - <city value="Nageldorf"/> - <postalCode value="44392"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="23ef6492-4a86-4df2-929c-a08ae28a4a3f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="547425702"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b_5f3e877b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b_5f3e877b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b_5f3e877b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b_5f3e877b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b_5f3e877b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b_5f3e877b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b_5f3e877b/output.json new file mode 100644 index 00000000..9bd34145 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b_5f3e877b/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ad5d7a5f-3fab-4b64-af2e-9aa5bd7bbb31", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d9b37996-86df-44d3-8cb0-79c52110be5b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ed0c500a-5bde-4bc7-a2bb-2ca58a955477" + }, + "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": "ed0c500a-5bde-4bc7-a2bb-2ca58a955477", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2756cfa6-7da4-455e-b71f-30ec8cbdef76", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2784a6a4-d9ec-4626-8561-62bebee0d7a1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f3e877b_5f3e877b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b_5f3e877b/output.xml new file mode 100644 index 00000000..a9ad10bf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43_5f3e877b_5f3e877b/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ad5d7a5f-3fab-4b64-af2e-9aa5bd7bbb31"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.839.81"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d9b37996-86df-44d3-8cb0-79c52110be5b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ed0c500a-5bde-4bc7-a2bb-2ca58a955477"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ed0c500a-5bde-4bc7-a2bb-2ca58a955477"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2756cfa6-7da4-455e-b71f-30ec8cbdef76"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="729642118"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0622) 265074965"/> + </telecom> + <telecom> + <system value="email"/> + <value value="miray.lokar@patzwahl.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Marie-Schlei-Str. 67"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="67"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Marie-Schlei-Str."/> + </extension> + </line> + <city value="Nageldorf"/> + <postalCode value="44392"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2784a6a4-d9ec-4626-8561-62bebee0d7a1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="547425702"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/output.json deleted file mode 100644 index 197face7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e89f408e-4a11-49a4-bef9-c19ec553faa8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "6576e0c9-2eb7-40e2-94e7-53cf468b078a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/5d27fc7b-9159-49de-8f02-caa4878378be" - }, - "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": "5d27fc7b-9159-49de-8f02-caa4878378be", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0721f171-8e9e-4ebc-8354-2d4d70cd5891", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "69379799-a5bd-4acd-ac21-5f25b723b6bb", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_90d5dd65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/output.xml deleted file mode 100644 index 8b82a6a1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e89f408e-4a11-49a4-bef9-c19ec553faa8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.474.838.84"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-13"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6576e0c9-2eb7-40e2-94e7-53cf468b078a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/5d27fc7b-9159-49de-8f02-caa4878378be"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-13"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5d27fc7b-9159-49de-8f02-caa4878378be"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0721f171-8e9e-4ebc-8354-2d4d70cd5891"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="475308196"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0958) 130707809"/> - </telecom> - <telecom> - <system value="email"/> - <value value="wilhelm.welz@kofferschlager.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Schopenhauerstr. 35c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="35c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Schopenhauerstr."/> - </extension> - </line> - <city value="Hamzafeld"/> - <postalCode value="15855"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="69379799-a5bd-4acd-ac21-5f25b723b6bb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="183015301"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65_90d5dd65/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65_90d5dd65/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65_90d5dd65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65_90d5dd65/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65_90d5dd65/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65_90d5dd65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65_90d5dd65/output.json new file mode 100644 index 00000000..28261ee0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65_90d5dd65/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "b9ad234b-1ee8-4bdd-aa7f-7f889a5a4f82", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "29bab86d-ef40-44f1-8756-8e8a76a368df", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ebe94316-dc14-4d03-a750-d1b0f4d05bf5" + }, + "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": "ebe94316-dc14-4d03-a750-d1b0f4d05bf5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dd921c6a-d1dc-437f-9d66-d119247a9b00", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0d7c1a3c-e3d6-482d-98d8-7359945b979d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_90d5dd65_90d5dd65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65_90d5dd65/output.xml new file mode 100644 index 00000000..8d837936 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f_90d5dd65_90d5dd65/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b9ad234b-1ee8-4bdd-aa7f-7f889a5a4f82"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.838.84"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="29bab86d-ef40-44f1-8756-8e8a76a368df"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ebe94316-dc14-4d03-a750-d1b0f4d05bf5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ebe94316-dc14-4d03-a750-d1b0f4d05bf5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dd921c6a-d1dc-437f-9d66-d119247a9b00"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="475308196"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0958) 130707809"/> + </telecom> + <telecom> + <system value="email"/> + <value value="wilhelm.welz@kofferschlager.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Schopenhauerstr. 35c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="35c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schopenhauerstr."/> + </extension> + </line> + <city value="Hamzafeld"/> + <postalCode value="15855"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0d7c1a3c-e3d6-482d-98d8-7359945b979d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="183015301"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.json index 883db3d6..dc2dc800 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "2430c5f9-e99a-43df-aae7-a43e163e113d", + "id": "d3ad647b-d977-41c1-a9ac-48e3c8aa0516", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "bd11a3d3-fd1d-4357-a149-549739d9170d", + "id": "82507e41-96c1-4668-9e21-5a221d596658", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/b7675398-e0f1-4e3e-8ab8-a927ee60085d" + "reference": "Medication/5b8a6f94-6048-49d5-8944-28b27773517d" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "b7675398-e0f1-4e3e-8ab8-a927ee60085d", + "id": "5b8a6f94-6048-49d5-8944-28b27773517d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "421ea83e-810b-453e-b9d5-ba98a044a6e4", + "id": "959668c5-dfbd-4a16-bfb6-30d1b2716cd9", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "8d2e63ad-a584-45c8-abec-ce1519009aeb", + "id": "aaada2c2-f34e-405c-a4c4-36eb2afbe245", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.xml index 8d9eb495..0b48b93e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="2430c5f9-e99a-43df-aae7-a43e163e113d"/> + <id value="d3ad647b-d977-41c1-a9ac-48e3c8aa0516"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="bd11a3d3-fd1d-4357-a149-549739d9170d"/> + <id value="82507e41-96c1-4668-9e21-5a221d596658"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/b7675398-e0f1-4e3e-8ab8-a927ee60085d"/> + <reference value="Medication/5b8a6f94-6048-49d5-8944-28b27773517d"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="b7675398-e0f1-4e3e-8ab8-a927ee60085d"/> + <id value="5b8a6f94-6048-49d5-8944-28b27773517d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="421ea83e-810b-453e-b9d5-ba98a044a6e4"/> + <id value="959668c5-dfbd-4a16-bfb6-30d1b2716cd9"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="8d2e63ad-a584-45c8-abec-ce1519009aeb"/> + <id value="aaada2c2-f34e-405c-a4c4-36eb2afbe245"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/input.xml new file mode 100644 index 00000000..b4455cc7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5d6fae1d-0122-44ab-b697-aa740f389624"/> + <meta> + <lastUpdated value="2024-02-08T19:00:13.562+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.740.55"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:00:13.562+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/57151291-0629-4c86-ad85-4e264cc9d162"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="57151291-0629-4c86-ad85-4e264cc9d162"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/dda1ced0-80d2-4248-bce6-a0474f688b56"/> + </subject> + <date value="2024-02-08T19:00:13+01:00"/> + <author> + <reference value="Practitioner/809cb76c-01d7-405b-b788-176e3b8528eb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/37148422-0e59-40e1-b9fd-8cf03be9f37f"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/1dbdf07f-d8de-44e9-9a83-b512dd0f808c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/9c283609-db40-408c-9563-862b9b03e4a9"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/6cbfa774-2875-4c4e-a158-0b01299011fc"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6cbfa774-2875-4c4e-a158-0b01299011fc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/dda1ced0-80d2-4248-bce6-a0474f688b56"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="dda1ced0-80d2-4248-bce6-a0474f688b56"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="2005-04-30"/> + <address> + <type value="both"/> + <line value="Maria-Terwiel-Str. 96a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="96a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Maria-Terwiel-Str."/> + </extension> + </line> + <city value="West Janek"/> + <postalCode value="66396"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/37148422-0e59-40e1-b9fd-8cf03be9f37f"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="37148422-0e59-40e1-b9fd-8cf03be9f37f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="739445767"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0222) 778778860"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tina.filipowski@xn--tpfer-jua.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Moosweg 68c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="68c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Moosweg"/> + </extension> + </line> + <city value="Süd Marek"/> + <postalCode value="48927"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/1dbdf07f-d8de-44e9-9a83-b512dd0f808c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1dbdf07f-d8de-44e9-9a83-b512dd0f808c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/9a75a23d-c00d-4cc3-96ad-4fd93c754876"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101320043"/> + </identifier> + <display value="BKK Schleswig‐Holstein"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/809cb76c-01d7-405b-b788-176e3b8528eb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="809cb76c-01d7-405b-b788-176e3b8528eb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="755566422"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/9c283609-db40-408c-9563-862b9b03e4a9"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9c283609-db40-408c-9563-862b9b03e4a9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/6cbfa774-2875-4c4e-a158-0b01299011fc"/> + </medicationReference> + <subject> + <reference value="Patient/dda1ced0-80d2-4248-bce6-a0474f688b56"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/809cb76c-01d7-405b-b788-176e3b8528eb"/> + </requester> + <insurance> + <reference value="Coverage/1dbdf07f-d8de-44e9-9a83-b512dd0f808c"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/output.json new file mode 100644 index 00000000..b987a8b7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "3b0e9046-475f-49f2-bdde-0118990da240", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d73640cd-2fe3-40e1-ab3a-0c0236ee37cb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/196bc673-7fd1-4875-af4c-56ad4b7776be" + }, + "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": "196bc673-7fd1-4875-af4c-56ad4b7776be", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0b9734d9-b65a-409a-a35f-585cde6b1947", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b7bf9a89-5248-43d6-bde4-5467f6d17a20", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5d6fae1d_5d6fae1d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/output.xml new file mode 100644 index 00000000..0d27cfee --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5d6fae1d_5d6fae1d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3b0e9046-475f-49f2-bdde-0118990da240"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.740.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d73640cd-2fe3-40e1-ab3a-0c0236ee37cb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/196bc673-7fd1-4875-af4c-56ad4b7776be"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="196bc673-7fd1-4875-af4c-56ad4b7776be"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0b9734d9-b65a-409a-a35f-585cde6b1947"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="739445767"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0222) 778778860"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tina.filipowski@xn--tpfer-jua.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Moosweg 68c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="68c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Moosweg"/> + </extension> + </line> + <city value="Süd Marek"/> + <postalCode value="48927"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b7bf9a89-5248-43d6-bde4-5467f6d17a20"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="755566422"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/output.json deleted file mode 100644 index 73944135..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "f5cdcd46-dcec-4de1-b233-e41f1274c4bd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "5294062f-44f6-41e3-bcbf-bf9c23538ee3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/2a469c62-04fd-483a-856d-a04d4b86b9e2" - }, - "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": "2a469c62-04fd-483a-856d-a04d4b86b9e2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "34e34c82-320c-4891-ab1c-9488de611a10", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "fc99e631-313e-4479-970a-1fdc4cb7c322", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_41ecb9a7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/output.xml deleted file mode 100644 index c1f18d74..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f5cdcd46-dcec-4de1-b233-e41f1274c4bd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.753.16"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5294062f-44f6-41e3-bcbf-bf9c23538ee3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/2a469c62-04fd-483a-856d-a04d4b86b9e2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2a469c62-04fd-483a-856d-a04d4b86b9e2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="34e34c82-320c-4891-ab1c-9488de611a10"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="200088168"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0758) 645067737"/> - </telecom> - <telecom> - <system value="email"/> - <value value="immanuel.seigel@hoffman.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Karl-Carstens-Ring 57b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="57b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Karl-Carstens-Ring"/> - </extension> - </line> - <city value="Gatzkabrunn"/> - <postalCode value="71914"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="fc99e631-313e-4479-970a-1fdc4cb7c322"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="309203716"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/input.xml new file mode 100644 index 00000000..06cceaa0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="41ecb9a7-be48-4100-99a1-ba07858db65e"/> + <meta> + <lastUpdated value="2024-02-08T19:03:21.057+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.753.16"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:03:21.057+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/4dc602e6-7c33-417b-925a-e5f7503e9e15"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4dc602e6-7c33-417b-925a-e5f7503e9e15"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/97b2fe9b-a0c2-4fa8-91b7-9923fadb2d4e"/> + </subject> + <date value="2024-02-08T19:03:21+01:00"/> + <author> + <reference value="Practitioner/6faefd86-bea8-4e76-b52c-a11eea2f0435"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/a30a377b-74e2-47de-ba10-738de88cdb44"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/0e2b1a9b-4baa-43dc-8ebc-dfc1b2fa5456"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/b4e54c5a-395f-459a-b7e9-2585e41f98eb"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/8b58a971-50ea-412e-b5d0-5fc7a314e626"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8b58a971-50ea-412e-b5d0-5fc7a314e626"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/97b2fe9b-a0c2-4fa8-91b7-9923fadb2d4e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="97b2fe9b-a0c2-4fa8-91b7-9923fadb2d4e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1988-04-08"/> + <address> + <type value="both"/> + <line value="Ilmstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ilmstr."/> + </extension> + </line> + <city value="Trauthscheid"/> + <postalCode value="03912"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/a30a377b-74e2-47de-ba10-738de88cdb44"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a30a377b-74e2-47de-ba10-738de88cdb44"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="200088168"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0758) 645067737"/> + </telecom> + <telecom> + <system value="email"/> + <value value="immanuel.seigel@hoffman.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Carstens-Ring 57b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Carstens-Ring"/> + </extension> + </line> + <city value="Gatzkabrunn"/> + <postalCode value="71914"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/0e2b1a9b-4baa-43dc-8ebc-dfc1b2fa5456"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="0e2b1a9b-4baa-43dc-8ebc-dfc1b2fa5456"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="83"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/4b416261-bf60-4f18-b8c5-426d594f175f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035576"/> + </identifier> + <display value="BKK Scheufelen"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/6faefd86-bea8-4e76-b52c-a11eea2f0435"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6faefd86-bea8-4e76-b52c-a11eea2f0435"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="309203716"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/b4e54c5a-395f-459a-b7e9-2585e41f98eb"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b4e54c5a-395f-459a-b7e9-2585e41f98eb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/8b58a971-50ea-412e-b5d0-5fc7a314e626"/> + </medicationReference> + <subject> + <reference value="Patient/97b2fe9b-a0c2-4fa8-91b7-9923fadb2d4e"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/6faefd86-bea8-4e76-b52c-a11eea2f0435"/> + </requester> + <insurance> + <reference value="Coverage/0e2b1a9b-4baa-43dc-8ebc-dfc1b2fa5456"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/output.json new file mode 100644 index 00000000..99de4da2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "bf29f62c-001c-42d8-8125-cd21bc319e6e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "14ea999a-430a-47e1-8efa-6175bb5ebcdd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3f7bae9e-1cf2-4517-bcbd-3d0465660098" + }, + "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": "3f7bae9e-1cf2-4517-bcbd-3d0465660098", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2e82bdea-00c7-4365-a9b5-f7504acdfd2c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "028c565c-6133-44cb-a14c-95dbabbf75bf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_41ecb9a7_41ecb9a7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/output.xml new file mode 100644 index 00000000..66516bd8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f_41ecb9a7_41ecb9a7/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bf29f62c-001c-42d8-8125-cd21bc319e6e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.753.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="14ea999a-430a-47e1-8efa-6175bb5ebcdd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3f7bae9e-1cf2-4517-bcbd-3d0465660098"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3f7bae9e-1cf2-4517-bcbd-3d0465660098"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2e82bdea-00c7-4365-a9b5-f7504acdfd2c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="200088168"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0758) 645067737"/> + </telecom> + <telecom> + <system value="email"/> + <value value="immanuel.seigel@hoffman.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Carstens-Ring 57b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Carstens-Ring"/> + </extension> + </line> + <city value="Gatzkabrunn"/> + <postalCode value="71914"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="028c565c-6133-44cb-a14c-95dbabbf75bf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="309203716"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/output.json deleted file mode 100644 index 2be1beba..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "dbc5ce1d-a64c-428a-8467-7344aa14668e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "488053f0-ab1a-4d5c-8fe6-dd59d4504fd8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/6df02b67-c2f3-466f-83d4-2ffdcfd6a1ed" - }, - "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": "6df02b67-c2f3-466f-83d4-2ffdcfd6a1ed", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2a2c7268-b852-4104-b1b5-2c46157fa0c2", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "f1de5c36-4321-4a9e-b1c3-d91fd3966a02", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_c88ccdf7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/output.xml deleted file mode 100644 index abe2a74e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="dbc5ce1d-a64c-428a-8467-7344aa14668e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.748.31"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="488053f0-ab1a-4d5c-8fe6-dd59d4504fd8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/6df02b67-c2f3-466f-83d4-2ffdcfd6a1ed"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6df02b67-c2f3-466f-83d4-2ffdcfd6a1ed"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2a2c7268-b852-4104-b1b5-2c46157fa0c2"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="384664925"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-3412-28869735"/> - </telecom> - <telecom> - <system value="email"/> - <value value="sinan.pietsch@rau.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Weiherstr. 07c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="07c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Weiherstr."/> - </extension> - </line> - <city value="Klein Calvinburg"/> - <postalCode value="92983"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f1de5c36-4321-4a9e-b1c3-d91fd3966a02"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="757953135"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7/output.json new file mode 100644 index 00000000..1c2d7b71 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "d66e878f-33d4-4341-be04-057baa7bf70b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "daa4bb0a-3553-4bad-883c-ad6a5842d4af", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b150d627-f1bc-4370-a7af-1ea745ee1762" + }, + "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": "b150d627-f1bc-4370-a7af-1ea745ee1762", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "91ef5c64-dd3f-4f7a-820e-e128a9699425", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a21871d3-868b-4d8b-8650-dde5055038a3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c88ccdf7_c88ccdf7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7/output.xml new file mode 100644 index 00000000..158c0466 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd_c88ccdf7_c88ccdf7/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d66e878f-33d4-4341-be04-057baa7bf70b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.748.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="daa4bb0a-3553-4bad-883c-ad6a5842d4af"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b150d627-f1bc-4370-a7af-1ea745ee1762"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b150d627-f1bc-4370-a7af-1ea745ee1762"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="91ef5c64-dd3f-4f7a-820e-e128a9699425"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="384664925"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3412-28869735"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sinan.pietsch@rau.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Weiherstr. 07c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="07c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weiherstr."/> + </extension> + </line> + <city value="Klein Calvinburg"/> + <postalCode value="92983"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a21871d3-868b-4d8b-8650-dde5055038a3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="757953135"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.json index 274f57b0..ac2276b8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "68c6cb9e-ac12-46cc-98be-3b8811331b68", + "id": "855dccf3-b0d0-407c-827e-af6d699432ba", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "1e68a71a-3a94-4747-868c-8ef9ce6c4000", + "id": "8c55dca0-3fd1-4fef-8059-a1aaeb122ed1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/3a426203-9304-444d-b363-d2d244f38025" + "reference": "Medication/15422d7e-1d40-49f6-9950-6425b429cafc" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "3a426203-9304-444d-b363-d2d244f38025", + "id": "15422d7e-1d40-49f6-9950-6425b429cafc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f6fdb602-3a35-4bc5-921b-5c7b8d15bfd2", + "id": "f4df99cc-38bf-42d6-92e8-d3ea4df4af70", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "04f02728-c8b7-4726-bf1c-1c241596e5d5", + "id": "e8d9c885-7147-48f2-873e-5a35f9cff7bd", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.xml index 3ff7ca1b..c14ce157 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="68c6cb9e-ac12-46cc-98be-3b8811331b68"/> + <id value="855dccf3-b0d0-407c-827e-af6d699432ba"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1e68a71a-3a94-4747-868c-8ef9ce6c4000"/> + <id value="8c55dca0-3fd1-4fef-8059-a1aaeb122ed1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/3a426203-9304-444d-b363-d2d244f38025"/> + <reference value="Medication/15422d7e-1d40-49f6-9950-6425b429cafc"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="3a426203-9304-444d-b363-d2d244f38025"/> + <id value="15422d7e-1d40-49f6-9950-6425b429cafc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f6fdb602-3a35-4bc5-921b-5c7b8d15bfd2"/> + <id value="f4df99cc-38bf-42d6-92e8-d3ea4df4af70"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="04f02728-c8b7-4726-bf1c-1c241596e5d5"/> + <id value="e8d9c885-7147-48f2-873e-5a35f9cff7bd"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/input.xml new file mode 100644 index 00000000..c9d931b6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5f3e877b-bdc8-4166-8d13-123156f5ba3c"/> + <meta> + <lastUpdated value="2024-02-13T11:24:23.186+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.839.81"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-13T11:24:23.186+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/14debb01-19ca-47b1-b531-f23a5247a231"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="14debb01-19ca-47b1-b531-f23a5247a231"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/9464f5bb-72c6-45ad-97eb-a197c47c7246"/> + </subject> + <date value="2024-02-13T11:24:23+01:00"/> + <author> + <reference value="Practitioner/a7c10125-eb41-433b-aad5-0cc622bf83a3"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/96104855-2546-43ac-b236-d58a67831b7f"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/96f1cbfe-9743-4857-9ac5-e9b19ec62b88"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/f9ac880b-b8b7-4851-94f0-e0f7b76aeb46"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/df050e5c-b920-4933-b6e3-f231a205ec3b"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="df050e5c-b920-4933-b6e3-f231a205ec3b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/9464f5bb-72c6-45ad-97eb-a197c47c7246"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="9464f5bb-72c6-45ad-97eb-a197c47c7246"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + <name> + <use value="official"/> + <family value="Gondern"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Gondern"/> + </extension> + </family> + <given value="Aenna"/> + </name> + <birthDate value="1969-02-04"/> + <address> + <type value="both"/> + <line value="Erich-Klausener-Str. 35"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="35"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Erich-Klausener-Str."/> + </extension> + </line> + <city value="Alt Jack"/> + <postalCode value="81404"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/96104855-2546-43ac-b236-d58a67831b7f"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="96104855-2546-43ac-b236-d58a67831b7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="729642118"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0622) 265074965"/> + </telecom> + <telecom> + <system value="email"/> + <value value="miray.lokar@patzwahl.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Marie-Schlei-Str. 67"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="67"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Marie-Schlei-Str."/> + </extension> + </line> + <city value="Nageldorf"/> + <postalCode value="44392"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/96f1cbfe-9743-4857-9ac5-e9b19ec62b88"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="96f1cbfe-9743-4857-9ac5-e9b19ec62b88"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="71"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fdd2b6a3-b2ad-4a0e-a8a7-734017bd80e6"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="106431572"/> + </identifier> + <display value="BKK der G. M. PFAFF AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/a7c10125-eb41-433b-aad5-0cc622bf83a3"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a7c10125-eb41-433b-aad5-0cc622bf83a3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="547425702"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/f9ac880b-b8b7-4851-94f0-e0f7b76aeb46"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f9ac880b-b8b7-4851-94f0-e0f7b76aeb46"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/df050e5c-b920-4933-b6e3-f231a205ec3b"/> + </medicationReference> + <subject> + <reference value="Patient/9464f5bb-72c6-45ad-97eb-a197c47c7246"/> + </subject> + <authoredOn value="2024-02-13"/> + <requester> + <reference value="Practitioner/a7c10125-eb41-433b-aad5-0cc622bf83a3"/> + </requester> + <insurance> + <reference value="Coverage/96f1cbfe-9743-4857-9ac5-e9b19ec62b88"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/output.json new file mode 100644 index 00000000..56e81955 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "72ec81c9-b557-4b79-a677-5ba15569e087", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e5a92f90-e600-4c83-b1e7-bd0b81f97ccb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/47ce2d3c-3a7e-4ebd-8c9d-61edcdf4abdf" + }, + "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": "47ce2d3c-3a7e-4ebd-8c9d-61edcdf4abdf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6d8f602f-c6d4-4701-b6d2-b65126bfe2a1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "64e42ddc-1255-4693-916f-05bdc168b8f2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f3e877b_5f3e877b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/output.xml new file mode 100644 index 00000000..0b0302fd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5f3e877b_5f3e877b/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="72ec81c9-b557-4b79-a677-5ba15569e087"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.839.81"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e5a92f90-e600-4c83-b1e7-bd0b81f97ccb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/47ce2d3c-3a7e-4ebd-8c9d-61edcdf4abdf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="47ce2d3c-3a7e-4ebd-8c9d-61edcdf4abdf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6d8f602f-c6d4-4701-b6d2-b65126bfe2a1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="729642118"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0622) 265074965"/> + </telecom> + <telecom> + <system value="email"/> + <value value="miray.lokar@patzwahl.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Marie-Schlei-Str. 67"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="67"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Marie-Schlei-Str."/> + </extension> + </line> + <city value="Nageldorf"/> + <postalCode value="44392"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="64e42ddc-1255-4693-916f-05bdc168b8f2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="547425702"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.json index 4ee45a4c..be885dab 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "6003fcfe-409b-47c5-9e44-d3c3112c8122", + "id": "56659a56-eee8-4b97-8ced-db765d2f1cbd", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "bbb7507b-70cb-453b-b928-e951469fdc5a", + "id": "6d759465-f729-4c7e-9712-8de3a099b43e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/7668c045-1107-4661-bab2-84ceb5669a0e" + "reference": "Medication/0d1fe85b-e2b9-45f2-a4c7-0f12f3e0dc13" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "7668c045-1107-4661-bab2-84ceb5669a0e", + "id": "0d1fe85b-e2b9-45f2-a4c7-0f12f3e0dc13", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "fb284dec-da04-4bf2-acf6-9282183b153d", + "id": "974fe2f9-71d3-4db1-b3c0-632d98ae1c64", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "cc81d137-ae25-4618-b005-759cc18d0330", + "id": "343629b6-5e0a-478e-b9fb-43a744856a6d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.xml index 8003f061..385af863 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="6003fcfe-409b-47c5-9e44-d3c3112c8122"/> + <id value="56659a56-eee8-4b97-8ced-db765d2f1cbd"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="bbb7507b-70cb-453b-b928-e951469fdc5a"/> + <id value="6d759465-f729-4c7e-9712-8de3a099b43e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/7668c045-1107-4661-bab2-84ceb5669a0e"/> + <reference value="Medication/0d1fe85b-e2b9-45f2-a4c7-0f12f3e0dc13"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="7668c045-1107-4661-bab2-84ceb5669a0e"/> + <id value="0d1fe85b-e2b9-45f2-a4c7-0f12f3e0dc13"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="fb284dec-da04-4bf2-acf6-9282183b153d"/> + <id value="974fe2f9-71d3-4db1-b3c0-632d98ae1c64"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="cc81d137-ae25-4618-b005-759cc18d0330"/> + <id value="343629b6-5e0a-478e-b9fb-43a744856a6d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/input.xml new file mode 100644 index 00000000..896a4bc6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="617b672a-49b7-44ea-bf57-45549fc16c7a"/> + <meta> + <lastUpdated value="2024-02-08T19:04:47.509+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.763.83"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:04:47.509+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/59a4c284-e20f-4cf4-b798-817a60a75ba3"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="59a4c284-e20f-4cf4-b798-817a60a75ba3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/7af161cf-1e2f-4f7a-b215-892123cf0d67"/> + </subject> + <date value="2024-02-08T19:04:47+01:00"/> + <author> + <reference value="Practitioner/611c56d3-1475-4aec-890b-bf7caa277d53"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/8fa4b481-d173-4a0f-b363-fa4cd71886ae"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/90d9635b-bda9-45cb-a771-edfaf26166ae"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/240b740a-38a0-45fb-93af-3c0db018d511"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/4e2900dc-cee2-4343-84cd-a07347018b68"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4e2900dc-cee2-4343-84cd-a07347018b68"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/7af161cf-1e2f-4f7a-b215-892123cf0d67"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="7af161cf-1e2f-4f7a-b215-892123cf0d67"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1982-10-18"/> + <address> + <type value="both"/> + <line value="In der Wüste 62b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="62b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="In der Wüste"/> + </extension> + </line> + <city value="Alt Janhagen"/> + <postalCode value="53605"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/8fa4b481-d173-4a0f-b363-fa4cd71886ae"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8fa4b481-d173-4a0f-b363-fa4cd71886ae"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="628598894"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5469-02854941"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mareike.schaffarzik@neupert.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Hamberger Str. 0"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="0"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hamberger Str."/> + </extension> + </line> + <city value="Klein Veronika"/> + <postalCode value="87026"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/90d9635b-bda9-45cb-a771-edfaf26166ae"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="90d9635b-bda9-45cb-a771-edfaf26166ae"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="47"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/2a5ac829-ef63-4e6b-a5d8-959e8a49477e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="106329225"/> + </identifier> + <display value="Debeka BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/611c56d3-1475-4aec-890b-bf7caa277d53"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="611c56d3-1475-4aec-890b-bf7caa277d53"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="271120832"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/240b740a-38a0-45fb-93af-3c0db018d511"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="240b740a-38a0-45fb-93af-3c0db018d511"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/4e2900dc-cee2-4343-84cd-a07347018b68"/> + </medicationReference> + <subject> + <reference value="Patient/7af161cf-1e2f-4f7a-b215-892123cf0d67"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/611c56d3-1475-4aec-890b-bf7caa277d53"/> + </requester> + <insurance> + <reference value="Coverage/90d9635b-bda9-45cb-a771-edfaf26166ae"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/output.json new file mode 100644 index 00000000..508eef47 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "3eb79747-3107-4239-a674-8c871d9b05e4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6e71fb9b-58e7-47fa-b3f1-a698bb063a45", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/42c80c8a-2b47-4ee6-9a17-321e308a75d1" + }, + "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": "42c80c8a-2b47-4ee6-9a17-321e308a75d1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "df294f09-a3c7-4c70-994b-b1a97718f56e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d33bb3b4-416f-4ffc-9c1b-38c2f176e67a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_617b672a_617b672a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/output.xml new file mode 100644 index 00000000..10895f44 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_617b672a_617b672a/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3eb79747-3107-4239-a674-8c871d9b05e4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.763.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6e71fb9b-58e7-47fa-b3f1-a698bb063a45"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/42c80c8a-2b47-4ee6-9a17-321e308a75d1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="42c80c8a-2b47-4ee6-9a17-321e308a75d1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="df294f09-a3c7-4c70-994b-b1a97718f56e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="628598894"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5469-02854941"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mareike.schaffarzik@neupert.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Hamberger Str. 0"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="0"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hamberger Str."/> + </extension> + </line> + <city value="Klein Veronika"/> + <postalCode value="87026"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d33bb3b4-416f-4ffc-9c1b-38c2f176e67a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="271120832"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.json index 8484a79f..e1977e80 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "08582723-6ea8-4060-be7e-299e85efee8d", + "id": "0f461851-9004-49e2-8b07-fa690ca950e0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "d3097901-3ecd-4371-bd02-370ad8d20d94", + "id": "6d1d5ef4-b260-4138-ae56-f6c902dffb5b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/3968afa0-2451-4411-8800-cb6a340650e9" + "reference": "Medication/fe1f5be5-13c4-4bb9-8af7-36b77fa4b01a" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "3968afa0-2451-4411-8800-cb6a340650e9", + "id": "fe1f5be5-13c4-4bb9-8af7-36b77fa4b01a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "8b3b1dcb-1a13-4a22-9695-13a92e2d03e7", + "id": "e45f13a5-62c6-4e33-8f0b-cffe7695778c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "b6bbb3e9-2de0-48c9-9ca2-e796cd11cf0f", + "id": "ff71a1e8-3a4a-4a47-875f-fe941feaa0af", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.xml index 3f23ed3c..ebf656ba 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="08582723-6ea8-4060-be7e-299e85efee8d"/> + <id value="0f461851-9004-49e2-8b07-fa690ca950e0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d3097901-3ecd-4371-bd02-370ad8d20d94"/> + <id value="6d1d5ef4-b260-4138-ae56-f6c902dffb5b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/3968afa0-2451-4411-8800-cb6a340650e9"/> + <reference value="Medication/fe1f5be5-13c4-4bb9-8af7-36b77fa4b01a"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="3968afa0-2451-4411-8800-cb6a340650e9"/> + <id value="fe1f5be5-13c4-4bb9-8af7-36b77fa4b01a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="8b3b1dcb-1a13-4a22-9695-13a92e2d03e7"/> + <id value="e45f13a5-62c6-4e33-8f0b-cffe7695778c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b6bbb3e9-2de0-48c9-9ca2-e796cd11cf0f"/> + <id value="ff71a1e8-3a4a-4a47-875f-fe941feaa0af"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004_62dd6004/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004_62dd6004/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004_62dd6004/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004_62dd6004/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004_62dd6004/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004_62dd6004/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004_62dd6004/output.json new file mode 100644 index 00000000..aac2f671 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004_62dd6004/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "5e005fcc-9567-4588-b16c-79f298a0eafd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "58e82acd-bc97-4a20-b77d-4ffc0b4ab2ea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b3a15389-6f28-4c4a-b1e9-eaa08aa8834c" + }, + "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": "b3a15389-6f28-4c4a-b1e9-eaa08aa8834c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f07a11d1-8607-4b9e-8b98-c6d37edbcffb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7a45bdfa-c781-438e-999a-bcb4096eb10e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_62dd6004_62dd6004/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004_62dd6004/output.xml new file mode 100644 index 00000000..1d0af71e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_62dd6004_62dd6004/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5e005fcc-9567-4588-b16c-79f298a0eafd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.767.71"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="58e82acd-bc97-4a20-b77d-4ffc0b4ab2ea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b3a15389-6f28-4c4a-b1e9-eaa08aa8834c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b3a15389-6f28-4c4a-b1e9-eaa08aa8834c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f07a11d1-8607-4b9e-8b98-c6d37edbcffb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="021082808"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-4306-82643876"/> + </telecom> + <telecom> + <system value="email"/> + <value value="friederike.raukuc@ruch.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Kolberger Str. 4"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="4"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kolberger Str."/> + </extension> + </line> + <city value="Ferdinandfeld"/> + <postalCode value="34234"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7a45bdfa-c781-438e-999a-bcb4096eb10e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="489959499"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/output.json deleted file mode 100644 index db13aae4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "03136736-ddef-4f0b-9e54-57a94c22013e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "92e98a29-6379-464c-a0f8-c37b427efae3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/aa0da2d3-3419-4981-aebe-e47e54664eef" - }, - "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": "aa0da2d3-3419-4981-aebe-e47e54664eef", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0957923c-fc1d-4fda-acce-c7aac94c1031", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "f47a96e6-b147-4044-852c-3498584e1398", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_1906d211/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/output.xml deleted file mode 100644 index 892d9b95..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="03136736-ddef-4f0b-9e54-57a94c22013e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.999.22"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="92e98a29-6379-464c-a0f8-c37b427efae3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/aa0da2d3-3419-4981-aebe-e47e54664eef"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="aa0da2d3-3419-4981-aebe-e47e54664eef"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="27318836"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0957923c-fc1d-4fda-acce-c7aac94c1031"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="609731540"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(04575) 9941676"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mirac.gruszecki@knut.ch"/> - </telecom> - <address> - <type value="both"/> - <line value="Auf der Weide 54"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="54"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Auf der Weide"/> - </extension> - </line> - <city value="West Jella"/> - <postalCode value="50049"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f47a96e6-b147-4044-852c-3498584e1398"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="960975636"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/input.xml new file mode 100644 index 00000000..9971193c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="1906d211-d8ca-4635-867e-2b1308755ac1"/> + <meta> + <lastUpdated value="2024-02-08T19:21:53.935+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.999.22"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:21:53.935+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/1fd47752-1a27-4eb6-8d21-5a7a13ead2b1"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1fd47752-1a27-4eb6-8d21-5a7a13ead2b1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/f9cf3a5b-f688-4820-ba61-6d943f1c65b7"/> + </subject> + <date value="2024-02-08T19:21:53+01:00"/> + <author> + <reference value="Practitioner/a17e0c31-44d2-4bec-ab26-0524c849e7d3"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/e2c97d75-fbda-4663-97db-fa6c558078d1"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/4e632510-ed5d-482a-94da-79e9551f078d"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/5a9612fd-eb52-42fa-a3cf-1837ff35a26d"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/44a2f90f-39d2-407b-9ff6-d85f733885de"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="44a2f90f-39d2-407b-9ff6-d85f733885de"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27318836"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/f9cf3a5b-f688-4820-ba61-6d943f1c65b7"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="f9cf3a5b-f688-4820-ba61-6d943f1c65b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1987-03-26"/> + <address> + <type value="both"/> + <line value="Bahnallee 20b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="20b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bahnallee"/> + </extension> + </line> + <city value="Bad Matti"/> + <postalCode value="97961"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/e2c97d75-fbda-4663-97db-fa6c558078d1"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e2c97d75-fbda-4663-97db-fa6c558078d1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="609731540"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(04575) 9941676"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mirac.gruszecki@knut.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Auf der Weide 54"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="54"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf der Weide"/> + </extension> + </line> + <city value="West Jella"/> + <postalCode value="50049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/4e632510-ed5d-482a-94da-79e9551f078d"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="4e632510-ed5d-482a-94da-79e9551f078d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/a288621a-893e-4c15-8329-2ff974908493"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141450"/> + </identifier> + <display value="INTER"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/a17e0c31-44d2-4bec-ab26-0524c849e7d3"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a17e0c31-44d2-4bec-ab26-0524c849e7d3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="960975636"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/5a9612fd-eb52-42fa-a3cf-1837ff35a26d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5a9612fd-eb52-42fa-a3cf-1837ff35a26d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/44a2f90f-39d2-407b-9ff6-d85f733885de"/> + </medicationReference> + <subject> + <reference value="Patient/f9cf3a5b-f688-4820-ba61-6d943f1c65b7"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/a17e0c31-44d2-4bec-ab26-0524c849e7d3"/> + </requester> + <insurance> + <reference value="Coverage/4e632510-ed5d-482a-94da-79e9551f078d"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/output.json new file mode 100644 index 00000000..aa1b93a6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "1a931d29-7a8c-4ece-9f0b-4c61e998c3d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8feb0da5-9f87-4c2f-af98-ad6e5292b694", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b96822c4-f6c1-4df7-800a-cd8a39c8afc8" + }, + "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": "b96822c4-f6c1-4df7-800a-cd8a39c8afc8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ed50ecb2-b770-4dbb-a3e8-b8528c180cc2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "57746379-fcd1-49e9-820a-4c7caf0fd2ae", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_1906d211_1906d211/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/output.xml new file mode 100644 index 00000000..de339dfc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd_1906d211_1906d211/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1a931d29-7a8c-4ece-9f0b-4c61e998c3d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.999.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8feb0da5-9f87-4c2f-af98-ad6e5292b694"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b96822c4-f6c1-4df7-800a-cd8a39c8afc8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b96822c4-f6c1-4df7-800a-cd8a39c8afc8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27318836"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ed50ecb2-b770-4dbb-a3e8-b8528c180cc2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="609731540"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(04575) 9941676"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mirac.gruszecki@knut.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Auf der Weide 54"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="54"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf der Weide"/> + </extension> + </line> + <city value="West Jella"/> + <postalCode value="50049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="57746379-fcd1-49e9-820a-4c7caf0fd2ae"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="960975636"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/output.json deleted file mode 100644 index adb9f0ee..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "fa1224b8-0220-40a8-bc26-ef515a01c86f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "192024d5-def1-4058-8f7a-a549b3e473e5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/503d2578-b2d9-4ccc-b888-0dafe8ffd8e8" - }, - "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": "503d2578-b2d9-4ccc-b888-0dafe8ffd8e8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6be48e10-4e98-45c0-af79-a44c4ae24f32", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "80b46b20-ce7a-4fd1-b161-86e9f7de1d57", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_b4bf1696/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/output.xml deleted file mode 100644 index 1689e0b7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="fa1224b8-0220-40a8-bc26-ef515a01c86f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.033.000.19"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="192024d5-def1-4058-8f7a-a549b3e473e5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/503d2578-b2d9-4ccc-b888-0dafe8ffd8e8"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="503d2578-b2d9-4ccc-b888-0dafe8ffd8e8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="27677334"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6be48e10-4e98-45c0-af79-a44c4ae24f32"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="476736714"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0048) 622241522"/> - </telecom> - <telecom> - <system value="email"/> - <value value="ismael.riethmüller@brauer.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Kanalstr. 01c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="01c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Kanalstr."/> - </extension> - </line> - <city value="Griemburg"/> - <postalCode value="85414"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="80b46b20-ce7a-4fd1-b161-86e9f7de1d57"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="874457048"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696_b4bf1696/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696_b4bf1696/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696_b4bf1696/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696_b4bf1696/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696_b4bf1696/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696_b4bf1696/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696_b4bf1696/output.json new file mode 100644 index 00000000..029f8c9e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696_b4bf1696/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "39d493b4-80d8-461e-81e5-15bd2c5d05bf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e2588da0-05da-41fb-bcdb-cc02ea26baf8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/834576e6-9e48-48b2-ac3e-17bea271771b" + }, + "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": "834576e6-9e48-48b2-ac3e-17bea271771b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4abf51e1-e4ef-466e-b590-5c6cd93bd3f6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "034e888f-03a5-40af-abf4-b593cbd5b1ab", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b4bf1696_b4bf1696/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696_b4bf1696/output.xml new file mode 100644 index 00000000..b424d323 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033_b4bf1696_b4bf1696/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="39d493b4-80d8-461e-81e5-15bd2c5d05bf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.033.000.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e2588da0-05da-41fb-bcdb-cc02ea26baf8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/834576e6-9e48-48b2-ac3e-17bea271771b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="834576e6-9e48-48b2-ac3e-17bea271771b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27677334"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4abf51e1-e4ef-466e-b590-5c6cd93bd3f6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="476736714"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0048) 622241522"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ismael.riethmüller@brauer.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Kanalstr. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kanalstr."/> + </extension> + </line> + <city value="Griemburg"/> + <postalCode value="85414"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="034e888f-03a5-40af-abf4-b593cbd5b1ab"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="874457048"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/output.json deleted file mode 100644 index fc251aaa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "a0ec6f86-ab8f-4adc-ace5-f782f6a34700", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "269cafa5-8bb2-45d4-9427-defb1d9a573e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/e12f5f9e-3ef9-4fb9-a30b-7a69c91a9597" - }, - "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": "e12f5f9e-3ef9-4fb9-a30b-7a69c91a9597", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "69df5fb7-da02-458c-9cc4-d77e8c8f0543", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "bbdaf098-20fa-423e-b543-8330111bccec", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_05168195/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/output.xml deleted file mode 100644 index 6fe2be95..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a0ec6f86-ab8f-4adc-ace5-f782f6a34700"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.994.37"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="269cafa5-8bb2-45d4-9427-defb1d9a573e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/e12f5f9e-3ef9-4fb9-a30b-7a69c91a9597"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e12f5f9e-3ef9-4fb9-a30b-7a69c91a9597"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="93081505"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="69df5fb7-da02-458c-9cc4-d77e8c8f0543"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="024545375"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(09883) 7244642"/> - </telecom> - <telecom> - <system value="email"/> - <value value="arne.griese@vogt.de"/> - </telecom> - <address> - <type value="both"/> - <line value="An der Evangelischen Kirche 399"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="399"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="An der Evangelischen Kirche"/> - </extension> - </line> - <city value="West Evastadt"/> - <postalCode value="45627"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="bbdaf098-20fa-423e-b543-8330111bccec"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="097388053"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/input.xml new file mode 100644 index 00000000..1a1a24f7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="05168195-7a18-423f-97b7-4281a99396ae"/> + <meta> + <lastUpdated value="2024-02-08T19:21:00.107+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.994.37"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:21:00.107+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/a5a79e57-e05e-425d-a72b-7f6b857e1dca"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a5a79e57-e05e-425d-a72b-7f6b857e1dca"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ab199aec-bfd6-4b35-9e8a-77806c142b9b"/> + </subject> + <date value="2024-02-08T19:21:00+01:00"/> + <author> + <reference value="Practitioner/e256a490-76dd-4fe9-b624-d0bb9101449e"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/8e688089-d4b2-4dcb-a245-511942ff25be"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/bddaebe6-bd60-4180-a7a5-5a7396edd0d6"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/715981a5-7222-4b26-b5a9-dfde9a05c8a5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/86ea5ae2-bb11-4e5d-827e-f2ca5dcb291b"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="86ea5ae2-bb11-4e5d-827e-f2ca5dcb291b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="93081505"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/ab199aec-bfd6-4b35-9e8a-77806c142b9b"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ab199aec-bfd6-4b35-9e8a-77806c142b9b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2001-01-27"/> + <address> + <type value="both"/> + <line value="Günther-Weisenborn-Str. 92b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="92b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Günther-Weisenborn-Str."/> + </extension> + </line> + <city value="Cedricland"/> + <postalCode value="27129"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/8e688089-d4b2-4dcb-a245-511942ff25be"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8e688089-d4b2-4dcb-a245-511942ff25be"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="024545375"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09883) 7244642"/> + </telecom> + <telecom> + <system value="email"/> + <value value="arne.griese@vogt.de"/> + </telecom> + <address> + <type value="both"/> + <line value="An der Evangelischen Kirche 399"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="399"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="An der Evangelischen Kirche"/> + </extension> + </line> + <city value="West Evastadt"/> + <postalCode value="45627"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/bddaebe6-bd60-4180-a7a5-5a7396edd0d6"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="bddaebe6-bd60-4180-a7a5-5a7396edd0d6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="02"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/76f4e134-aa0b-406c-9730-63244eead690"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141358"/> + </identifier> + <display value="Provinzial"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/e256a490-76dd-4fe9-b624-d0bb9101449e"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e256a490-76dd-4fe9-b624-d0bb9101449e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="097388053"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/715981a5-7222-4b26-b5a9-dfde9a05c8a5"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="715981a5-7222-4b26-b5a9-dfde9a05c8a5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/86ea5ae2-bb11-4e5d-827e-f2ca5dcb291b"/> + </medicationReference> + <subject> + <reference value="Patient/ab199aec-bfd6-4b35-9e8a-77806c142b9b"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/e256a490-76dd-4fe9-b624-d0bb9101449e"/> + </requester> + <insurance> + <reference value="Coverage/bddaebe6-bd60-4180-a7a5-5a7396edd0d6"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/output.json new file mode 100644 index 00000000..c61e4257 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "06ee49f5-8957-4a31-b7d1-4e02de4ba40e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a20a7b4d-6525-4292-b8c1-b9b9171763e7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4411d9fd-ac38-4fda-ad65-0c707d732d2b" + }, + "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": "4411d9fd-ac38-4fda-ad65-0c707d732d2b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c9d32520-3a50-4206-acb1-86a82d96353f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3623720c-4c32-45b6-8b91-4e0bb8ac622d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_05168195_05168195/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/output.xml new file mode 100644 index 00000000..806fdb89 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58_05168195_05168195/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="06ee49f5-8957-4a31-b7d1-4e02de4ba40e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.994.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a20a7b4d-6525-4292-b8c1-b9b9171763e7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4411d9fd-ac38-4fda-ad65-0c707d732d2b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4411d9fd-ac38-4fda-ad65-0c707d732d2b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="93081505"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c9d32520-3a50-4206-acb1-86a82d96353f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="024545375"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09883) 7244642"/> + </telecom> + <telecom> + <system value="email"/> + <value value="arne.griese@vogt.de"/> + </telecom> + <address> + <type value="both"/> + <line value="An der Evangelischen Kirche 399"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="399"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="An der Evangelischen Kirche"/> + </extension> + </line> + <city value="West Evastadt"/> + <postalCode value="45627"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3623720c-4c32-45b6-8b91-4e0bb8ac622d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="097388053"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/output.json deleted file mode 100644 index 77e9c4d1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "97cfc866-bac5-49af-b75e-734a9d74b7f3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "24309b7f-17d0-48a3-942b-09a10a895e67", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/5971f4a6-fe06-4c09-b7cb-df79fba3737e" - }, - "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": "5971f4a6-fe06-4c09-b7cb-df79fba3737e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1747e840-59f2-4a3b-93cf-52e7969edd08", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "a09aed6e-7440-403e-af55-229f6d8fa8fd", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_02ad9b11/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/output.xml deleted file mode 100644 index 2bbfc070..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="97cfc866-bac5-49af-b75e-734a9d74b7f3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.474.849.51"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-13"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="24309b7f-17d0-48a3-942b-09a10a895e67"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/5971f4a6-fe06-4c09-b7cb-df79fba3737e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-13"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5971f4a6-fe06-4c09-b7cb-df79fba3737e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1747e840-59f2-4a3b-93cf-52e7969edd08"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="557235300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0799) 538609283"/> - </telecom> - <telecom> - <system value="email"/> - <value value="annabelle.hertel@helmke.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Auf'm Kamp 223"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="223"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Auf'm Kamp"/> - </extension> - </line> - <city value="Neu Helenheim"/> - <postalCode value="41048"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a09aed6e-7440-403e-af55-229f6d8fa8fd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="207670259"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/input.xml new file mode 100644 index 00000000..8859e5c9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="02ad9b11-4b60-48b2-a40a-08a13fbfa698"/> + <meta> + <lastUpdated value="2024-02-13T11:25:46.097+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.849.51"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-13T11:25:46.097+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/70600d26-5c79-46d8-b596-5314d6d1da7d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="70600d26-5c79-46d8-b596-5314d6d1da7d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/a9bf401a-57fe-47b2-af60-c41477f1f367"/> + </subject> + <date value="2024-02-13T11:25:46+01:00"/> + <author> + <reference value="Practitioner/f3e3bd37-94b3-4df7-9932-b8b596913ba0"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/f12f19c8-c236-402d-b176-236e97328b39"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/9ceddd83-1852-4f4a-b976-d52330f48dfe"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/b9ef75cb-6c6f-4a46-a562-22ab56be3d6f"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/f8db2a4c-5a5a-491c-b649-f6fcf8af12ca"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f8db2a4c-5a5a-491c-b649-f6fcf8af12ca"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/a9bf401a-57fe-47b2-af60-c41477f1f367"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="a9bf401a-57fe-47b2-af60-c41477f1f367"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="C020222113"/> + </identifier> + <name> + <use value="official"/> + <family value="Fox"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Fox"/> + </extension> + </family> + <given value="Lucius"/> + </name> + <birthDate value="1959-10-21"/> + <address> + <type value="both"/> + <line value="Myliusstr. 17b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Myliusstr."/> + </extension> + </line> + <city value="Schön Lucahagen"/> + <postalCode value="14615"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/f12f19c8-c236-402d-b176-236e97328b39"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f12f19c8-c236-402d-b176-236e97328b39"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="557235300"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0799) 538609283"/> + </telecom> + <telecom> + <system value="email"/> + <value value="annabelle.hertel@helmke.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Auf'm Kamp 223"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="223"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf'm Kamp"/> + </extension> + </line> + <city value="Neu Helenheim"/> + <postalCode value="41048"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/9ceddd83-1852-4f4a-b976-d52330f48dfe"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="9ceddd83-1852-4f4a-b976-d52330f48dfe"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="98"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/40dc2fdf-dfc8-48dd-8024-b87082ea3506"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="105230101"/> + </identifier> + <display value="HEAG BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/f3e3bd37-94b3-4df7-9932-b8b596913ba0"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f3e3bd37-94b3-4df7-9932-b8b596913ba0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="207670259"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/b9ef75cb-6c6f-4a46-a562-22ab56be3d6f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b9ef75cb-6c6f-4a46-a562-22ab56be3d6f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/f8db2a4c-5a5a-491c-b649-f6fcf8af12ca"/> + </medicationReference> + <subject> + <reference value="Patient/a9bf401a-57fe-47b2-af60-c41477f1f367"/> + </subject> + <authoredOn value="2024-02-13"/> + <requester> + <reference value="Practitioner/f3e3bd37-94b3-4df7-9932-b8b596913ba0"/> + </requester> + <insurance> + <reference value="Coverage/9ceddd83-1852-4f4a-b976-d52330f48dfe"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/output.json new file mode 100644 index 00000000..cb1e5d5a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "2c291125-8816-4929-801e-6c24f64f2e6a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "08cc32c1-ba4a-4efc-99ed-4fa6b5817e7d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/43143779-5707-400e-8999-86411a70a37b" + }, + "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": "43143779-5707-400e-8999-86411a70a37b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "75b54faa-5abe-4de5-9cce-509e44db9ca1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "820d9198-73bd-4683-bb51-f8628963323e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_02ad9b11_02ad9b11/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/output.xml new file mode 100644 index 00000000..b51a32db --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81_02ad9b11_02ad9b11/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2c291125-8816-4929-801e-6c24f64f2e6a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.849.51"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="08cc32c1-ba4a-4efc-99ed-4fa6b5817e7d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/43143779-5707-400e-8999-86411a70a37b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="43143779-5707-400e-8999-86411a70a37b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="75b54faa-5abe-4de5-9cce-509e44db9ca1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="557235300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0799) 538609283"/> + </telecom> + <telecom> + <system value="email"/> + <value value="annabelle.hertel@helmke.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Auf'm Kamp 223"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="223"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf'm Kamp"/> + </extension> + </line> + <city value="Neu Helenheim"/> + <postalCode value="41048"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="820d9198-73bd-4683-bb51-f8628963323e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="207670259"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/output.json deleted file mode 100644 index e53effa7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "6bb5debb-650c-41a5-9b6c-94896ade2af2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "aed7683b-0c8f-485c-8313-96d616e19c6e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/a2443777-03bf-4ff2-aecf-7ea47d78fece" - }, - "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": "a2443777-03bf-4ff2-aecf-7ea47d78fece", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "40fe4a0c-3a7d-432a-910e-5c4fe1a24466", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "1a753b11-193c-4976-a23e-e4e66499c9e3", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_5093c3ab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/output.xml deleted file mode 100644 index 3325787d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6bb5debb-650c-41a5-9b6c-94896ade2af2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.764.80"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="aed7683b-0c8f-485c-8313-96d616e19c6e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/a2443777-03bf-4ff2-aecf-7ea47d78fece"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a2443777-03bf-4ff2-aecf-7ea47d78fece"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="40fe4a0c-3a7d-432a-910e-5c4fe1a24466"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="035362503"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-514-9983229"/> - </telecom> - <telecom> - <system value="email"/> - <value value="erik.gauder@borsch.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Ortelsburger Str. 75a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="75a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Ortelsburger Str."/> - </extension> - </line> - <city value="Illinggrün"/> - <postalCode value="36070"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1a753b11-193c-4976-a23e-e4e66499c9e3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="333698756"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/input.xml new file mode 100644 index 00000000..086090a9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5093c3ab-b34d-4d1a-9b12-47396c7779ef"/> + <meta> + <lastUpdated value="2024-02-08T19:04:54.903+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.764.80"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:04:54.903+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/5a943779-7455-4ab6-b9d6-34db310d62f2"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5a943779-7455-4ab6-b9d6-34db310d62f2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/c72488fe-8f3c-4a64-82a8-aa63a1e4514b"/> + </subject> + <date value="2024-02-08T19:04:54+01:00"/> + <author> + <reference value="Practitioner/e103913e-3b51-4197-a728-678e00e90aef"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/4a1a12b5-520f-41d7-8705-173fb3a318ad"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/b4d55984-4b2c-4b3a-b633-17c732eb001f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/0a477b86-cd17-4c37-90e4-89117b735a14"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/59321cad-29d5-4873-9f7e-d4e9460578fa"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="59321cad-29d5-4873-9f7e-d4e9460578fa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/c72488fe-8f3c-4a64-82a8-aa63a1e4514b"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="c72488fe-8f3c-4a64-82a8-aa63a1e4514b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1996-08-30"/> + <address> + <type value="both"/> + <line value="Friedensstr. 7"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="7"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Friedensstr."/> + </extension> + </line> + <city value="Henrikedorf"/> + <postalCode value="16975"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/4a1a12b5-520f-41d7-8705-173fb3a318ad"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4a1a12b5-520f-41d7-8705-173fb3a318ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="035362503"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-514-9983229"/> + </telecom> + <telecom> + <system value="email"/> + <value value="erik.gauder@borsch.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Ortelsburger Str. 75a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ortelsburger Str."/> + </extension> + </line> + <city value="Illinggrün"/> + <postalCode value="36070"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/b4d55984-4b2c-4b3a-b633-17c732eb001f"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="b4d55984-4b2c-4b3a-b633-17c732eb001f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="20"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/204924b7-57b3-46ed-bf4e-17cd6fdca2b3"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="103525909"/> + </identifier> + <display value="BKK Achenbach Buschhütten"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/e103913e-3b51-4197-a728-678e00e90aef"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e103913e-3b51-4197-a728-678e00e90aef"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="333698756"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/0a477b86-cd17-4c37-90e4-89117b735a14"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0a477b86-cd17-4c37-90e4-89117b735a14"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/59321cad-29d5-4873-9f7e-d4e9460578fa"/> + </medicationReference> + <subject> + <reference value="Patient/c72488fe-8f3c-4a64-82a8-aa63a1e4514b"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/e103913e-3b51-4197-a728-678e00e90aef"/> + </requester> + <insurance> + <reference value="Coverage/b4d55984-4b2c-4b3a-b633-17c732eb001f"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/output.json new file mode 100644 index 00000000..893162ec --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "f335990b-386b-472a-bfa3-b68b35f5c813", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "adb7b8be-f27a-40de-b8fa-bd8013aff211", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/cb8efb55-5b2d-4204-82e4-ff5eebdb5c5b" + }, + "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": "cb8efb55-5b2d-4204-82e4-ff5eebdb5c5b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "359b7da3-6756-4b97-8794-4acfe3390f27", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "657dc7d6-e856-41ab-bc83-5160a33cb0e1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5093c3ab_5093c3ab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/output.xml new file mode 100644 index 00000000..d84e1cf1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504_5093c3ab_5093c3ab/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f335990b-386b-472a-bfa3-b68b35f5c813"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.764.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="adb7b8be-f27a-40de-b8fa-bd8013aff211"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/cb8efb55-5b2d-4204-82e4-ff5eebdb5c5b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cb8efb55-5b2d-4204-82e4-ff5eebdb5c5b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="359b7da3-6756-4b97-8794-4acfe3390f27"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="035362503"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-514-9983229"/> + </telecom> + <telecom> + <system value="email"/> + <value value="erik.gauder@borsch.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Ortelsburger Str. 75a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ortelsburger Str."/> + </extension> + </line> + <city value="Illinggrün"/> + <postalCode value="36070"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="657dc7d6-e856-41ab-bc83-5160a33cb0e1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="333698756"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.json index eb87db7d..f164bba8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "9338e5d7-ac52-4b8e-b975-fc1a93d154af", + "id": "d2fba21c-cefa-449f-a928-a27247bf1f0b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "612c0c25-b6d2-4c71-8cce-e256295cf9c3", + "id": "329ef5b3-a729-4c57-b22c-816449ceca50", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/b96b4321-2fa3-47f6-be5f-294886670281" + "reference": "Medication/4d35af6e-5be6-4e13-98b6-a8ad34f8a078" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "b96b4321-2fa3-47f6-be5f-294886670281", + "id": "4d35af6e-5be6-4e13-98b6-a8ad34f8a078", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "74c455d4-69b2-4f18-bd85-efaac6fe54c1", + "id": "5381ee25-bb03-49bf-9a0c-519136cb0e41", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "41b0f409-c5a7-4c34-949a-88018c2e986a", + "id": "463235b5-b454-48f1-b0b3-14bd22bce59b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.xml index ad884473..5e39f5a0 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="9338e5d7-ac52-4b8e-b975-fc1a93d154af"/> + <id value="d2fba21c-cefa-449f-a928-a27247bf1f0b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="612c0c25-b6d2-4c71-8cce-e256295cf9c3"/> + <id value="329ef5b3-a729-4c57-b22c-816449ceca50"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/b96b4321-2fa3-47f6-be5f-294886670281"/> + <reference value="Medication/4d35af6e-5be6-4e13-98b6-a8ad34f8a078"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="b96b4321-2fa3-47f6-be5f-294886670281"/> + <id value="4d35af6e-5be6-4e13-98b6-a8ad34f8a078"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="74c455d4-69b2-4f18-bd85-efaac6fe54c1"/> + <id value="5381ee25-bb03-49bf-9a0c-519136cb0e41"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="41b0f409-c5a7-4c34-949a-88018c2e986a"/> + <id value="463235b5-b454-48f1-b0b3-14bd22bce59b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984_7c15a984/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984_7c15a984/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984_7c15a984/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984_7c15a984/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984_7c15a984/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984_7c15a984/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984_7c15a984/output.json new file mode 100644 index 00000000..27397739 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984_7c15a984/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "38c7e482-1c5a-4ce6-9101-d231ca3b5f2a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7d346974-dae0-4a38-8bbb-7e01274a5c4c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9d4db903-78f0-4d2b-8d00-24c7554135e2" + }, + "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": "9d4db903-78f0-4d2b-8d00-24c7554135e2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a8b0d7ab-b578-4d9f-b899-e0bba35eb18c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "69f986c1-ffee-486a-bab3-0b9b8e5f5f3c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7c15a984_7c15a984/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984_7c15a984/output.xml new file mode 100644 index 00000000..684c47b9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7c15a984_7c15a984/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="38c7e482-1c5a-4ce6-9101-d231ca3b5f2a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.759.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7d346974-dae0-4a38-8bbb-7e01274a5c4c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9d4db903-78f0-4d2b-8d00-24c7554135e2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9d4db903-78f0-4d2b-8d00-24c7554135e2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a8b0d7ab-b578-4d9f-b899-e0bba35eb18c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="729708749"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05891) 9020530"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tyler.schultz@striezel.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Maria-Terwiel-Str. 45a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="45a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Maria-Terwiel-Str."/> + </extension> + </line> + <city value="Nabeinland"/> + <postalCode value="32786"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="69f986c1-ffee-486a-bab3-0b9b8e5f5f3c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="763324597"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.json index 6e84b5b5..dc64c79a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "68183ede-0347-4308-bd7e-ffbcbcd6cc7a", + "id": "df3203ce-16fc-490d-8d00-f28028f22204", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "1e746d65-1ae2-43c6-86e4-37a9e1312042", + "id": "f3b52473-0740-45b1-b90f-6d12e5deea3f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/1bdb3783-509c-4766-a9c6-5bdc207de09e" + "reference": "Medication/fb516c4f-d85e-4ea4-a4ab-73c901237b44" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "1bdb3783-509c-4766-a9c6-5bdc207de09e", + "id": "fb516c4f-d85e-4ea4-a4ab-73c901237b44", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "3a251d1d-2965-4366-b86f-0d6384289900", + "id": "524db354-b536-46c4-aa9a-1a8cff5fce3d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "b142e0a7-4c18-42c9-ac38-807c052b90ac", + "id": "a1693a50-276a-44a0-b5a1-3a72669a7745", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.xml index fa497b04..50de671b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="68183ede-0347-4308-bd7e-ffbcbcd6cc7a"/> + <id value="df3203ce-16fc-490d-8d00-f28028f22204"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1e746d65-1ae2-43c6-86e4-37a9e1312042"/> + <id value="f3b52473-0740-45b1-b90f-6d12e5deea3f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/1bdb3783-509c-4766-a9c6-5bdc207de09e"/> + <reference value="Medication/fb516c4f-d85e-4ea4-a4ab-73c901237b44"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="1bdb3783-509c-4766-a9c6-5bdc207de09e"/> + <id value="fb516c4f-d85e-4ea4-a4ab-73c901237b44"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="3a251d1d-2965-4366-b86f-0d6384289900"/> + <id value="524db354-b536-46c4-aa9a-1a8cff5fce3d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b142e0a7-4c18-42c9-ac38-807c052b90ac"/> + <id value="a1693a50-276a-44a0-b5a1-3a72669a7745"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d_7fe0b57d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d_7fe0b57d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d_7fe0b57d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d_7fe0b57d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d_7fe0b57d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d_7fe0b57d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d_7fe0b57d/output.json new file mode 100644 index 00000000..9132b1e4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d_7fe0b57d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ae39700c-2485-497b-b4ad-c92974029a4b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1e3fbcd3-7744-4d4d-a7f1-db6b072ffd37", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2bb25335-d71c-464e-afc0-a7a98697a202" + }, + "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": "2bb25335-d71c-464e-afc0-a7a98697a202", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a99c8801-5c14-4167-bab9-5b2e2d464b79", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4724a351-520c-452f-8511-70a46ccb1bb4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7fe0b57d_7fe0b57d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d_7fe0b57d/output.xml new file mode 100644 index 00000000..6ebe9cdd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7fe0b57d_7fe0b57d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ae39700c-2485-497b-b4ad-c92974029a4b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.997.28"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1e3fbcd3-7744-4d4d-a7f1-db6b072ffd37"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2bb25335-d71c-464e-afc0-a7a98697a202"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2bb25335-d71c-464e-afc0-a7a98697a202"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64536028"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a99c8801-5c14-4167-bab9-5b2e2d464b79"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="529873977"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-479-7901020"/> + </telecom> + <telecom> + <system value="email"/> + <value value="dana.meisch@kolokas.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Bohofsweg 52"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="52"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bohofsweg"/> + </extension> + </line> + <city value="Winterhagen"/> + <postalCode value="08005"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4724a351-520c-452f-8511-70a46ccb1bb4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="866731615"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.json index b653e901..76b221a9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "b1664453-ec6b-479c-a355-3ffadd06ee76", + "id": "cc578097-4e6c-41f9-a132-bfae11b97d0c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "55ef594c-17ed-47eb-8e6e-173813e970a2", + "id": "729312c3-c59e-4db4-b11a-caf91814c016", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/8297caa1-428d-4297-b852-97ee9067b4ed" + "reference": "Medication/07cac091-80c1-444c-bd63-33667032d536" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "8297caa1-428d-4297-b852-97ee9067b4ed", + "id": "07cac091-80c1-444c-bd63-33667032d536", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "a7705078-68f3-4da2-b2df-f2604af83f0c", + "id": "d9e2a24d-42e9-4378-a8e5-91a78593af6c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "162f381f-6fbf-483f-b0aa-8529ae0de327", + "id": "e51abc24-a180-417b-9053-2272d3f88ae1", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.xml index 7d73b2d3..4cefbbc5 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="b1664453-ec6b-479c-a355-3ffadd06ee76"/> + <id value="cc578097-4e6c-41f9-a132-bfae11b97d0c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="55ef594c-17ed-47eb-8e6e-173813e970a2"/> + <id value="729312c3-c59e-4db4-b11a-caf91814c016"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/8297caa1-428d-4297-b852-97ee9067b4ed"/> + <reference value="Medication/07cac091-80c1-444c-bd63-33667032d536"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="8297caa1-428d-4297-b852-97ee9067b4ed"/> + <id value="07cac091-80c1-444c-bd63-33667032d536"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="a7705078-68f3-4da2-b2df-f2604af83f0c"/> + <id value="d9e2a24d-42e9-4378-a8e5-91a78593af6c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="162f381f-6fbf-483f-b0aa-8529ae0de327"/> + <id value="e51abc24-a180-417b-9053-2272d3f88ae1"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33_80a43c33/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33_80a43c33/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33_80a43c33/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33_80a43c33/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33_80a43c33/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33_80a43c33/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33_80a43c33/output.json new file mode 100644 index 00000000..0d2ab8e0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33_80a43c33/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "bcba2b59-55c6-4ef0-9ec2-f4573a680760", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "040a5877-10cd-4db9-a72b-9862b41249ed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7ae4ee21-8972-4bfb-b3eb-6612607b879c" + }, + "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": "7ae4ee21-8972-4bfb-b3eb-6612607b879c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dea31448-0e23-487f-a5b9-b9996f12a328", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "605b9fa6-a056-48c9-81f9-4356ea698ee3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_80a43c33_80a43c33/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33_80a43c33/output.xml new file mode 100644 index 00000000..8d2bffae --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_80a43c33_80a43c33/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bcba2b59-55c6-4ef0-9ec2-f4573a680760"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.755.10"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="040a5877-10cd-4db9-a72b-9862b41249ed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7ae4ee21-8972-4bfb-b3eb-6612607b879c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7ae4ee21-8972-4bfb-b3eb-6612607b879c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dea31448-0e23-487f-a5b9-b9996f12a328"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="737599264"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(08673) 2510563"/> + </telecom> + <telecom> + <system value="email"/> + <value value="nadine.karhoff@huckestein.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Erftstr. 57"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Erftstr."/> + </extension> + </line> + <city value="Lehmannstadt"/> + <postalCode value="05982"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="605b9fa6-a056-48c9-81f9-4356ea698ee3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="408698026"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/output.json deleted file mode 100644 index 501930f5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e1501ffa-8a23-4d7e-a86d-f2faba2ed031", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "2e2d7b86-5776-4514-80e8-9609add5d7fe", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/b629b6a2-c9a8-4f40-94d9-20fcdfdf3e7b" - }, - "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": "b629b6a2-c9a8-4f40-94d9-20fcdfdf3e7b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "691a5cef-888d-4967-b9eb-3c50f2dccafc", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "018f41b7-8582-49ef-a1d3-21bbc5e9f15b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_dac55c3e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/output.xml deleted file mode 100644 index 2b4b467a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e1501ffa-8a23-4d7e-a86d-f2faba2ed031"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.770.62"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2e2d7b86-5776-4514-80e8-9609add5d7fe"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/b629b6a2-c9a8-4f40-94d9-20fcdfdf3e7b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b629b6a2-c9a8-4f40-94d9-20fcdfdf3e7b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="61252891"/> - </coding> - <text value="Gemvomilsäure"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="691a5cef-888d-4967-b9eb-3c50f2dccafc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="614137063"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Arzt"/> - <telecom> - <system value="phone"/> - <value value="+49-073-0437663"/> - </telecom> - <telecom> - <system value="email"/> - <value value="teresa.roggatz@evers.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Burgweg 88"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="88"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Burgweg"/> - </extension> - </line> - <city value="Jonland"/> - <postalCode value="15501"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="018f41b7-8582-49ef-a1d3-21bbc5e9f15b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="176464353"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Kein Arzt"/> - <family value="Arzt"/> - <given value="Kein"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e_dac55c3e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e_dac55c3e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e_dac55c3e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e_dac55c3e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e_dac55c3e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e_dac55c3e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e_dac55c3e/output.json new file mode 100644 index 00000000..33e83485 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e_dac55c3e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "3b4cbdc0-b81e-4ba8-8811-f02e28b236e6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "bcc06dd8-53ee-4968-b09c-4e43af9a141e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8892b2a3-ff67-47ee-826e-df0f401fdd46" + }, + "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": "8892b2a3-ff67-47ee-826e-df0f401fdd46", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c468b175-de7e-4d7e-a3d7-32037f904772", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e285b59a-63b2-4ec9-8325-91e9384468dc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dac55c3e_dac55c3e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e_dac55c3e/output.xml new file mode 100644 index 00000000..b7415e01 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d_dac55c3e_dac55c3e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3b4cbdc0-b81e-4ba8-8811-f02e28b236e6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.770.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="bcc06dd8-53ee-4968-b09c-4e43af9a141e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8892b2a3-ff67-47ee-826e-df0f401fdd46"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8892b2a3-ff67-47ee-826e-df0f401fdd46"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61252891"/> + </coding> + <text value="Gemvomilsäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c468b175-de7e-4d7e-a3d7-32037f904772"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614137063"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Arzt"/> + <telecom> + <system value="phone"/> + <value value="+49-073-0437663"/> + </telecom> + <telecom> + <system value="email"/> + <value value="teresa.roggatz@evers.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Burgweg 88"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Burgweg"/> + </extension> + </line> + <city value="Jonland"/> + <postalCode value="15501"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e285b59a-63b2-4ec9-8325-91e9384468dc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="176464353"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Kein Arzt"/> + <family value="Arzt"/> + <given value="Kein"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/output.json deleted file mode 100644 index e45cb59e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/output.json +++ /dev/null @@ -1,234 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "1eccd4d8-9f1f-45b3-80ba-c426ddc2659b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "eb182db1-57c1-477f-bf33-fcc965ca185d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/eb18098e-fa16-4baa-b463-ce579938e5c7" - }, - "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": "eb18098e-fa16-4baa-b463-ce579938e5c7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5d798218-fe11-47e7-bf57-0f3a78d0bdf0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "d7625c1a-fcfc-40a4-9a8b-9d3416b71f07", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_c79c0fe3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/output.xml deleted file mode 100644 index ce641103..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/output.xml +++ /dev/null @@ -1,237 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1eccd4d8-9f1f-45b3-80ba-c426ddc2659b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.788.08"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="eb182db1-57c1-477f-bf33-fcc965ca185d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-05-08"/> - <end value="2024-08-06"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:a415d54e-a4c5-4701-9388-6f47bd1f2ca8"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/eb18098e-fa16-4baa-b463-ce579938e5c7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="eb18098e-fa16-4baa-b463-ce579938e5c7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="53825226"/> - </coding> - <text value="Acialian"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5d798218-fe11-47e7-bf57-0f3a78d0bdf0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="553151319"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0741) 498956760"/> - </telecom> - <telecom> - <system value="email"/> - <value value="edwin.mai@hommel.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Bornheimer Str. 39c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="39c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Bornheimer Str."/> - </extension> - </line> - <city value="West Davinbrunn"/> - <postalCode value="97176"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d7625c1a-fcfc-40a4-9a8b-9d3416b71f07"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="556570801"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3/output.json new file mode 100644 index 00000000..00133963 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "17c77462-7754-48d8-a1e9-b6541c1783c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "08e8e4ee-cf9a-4b35-b7d1-833cd2e8d6d5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/a24d395f-ff82-41c6-b19e-fdbe7efd10dd" + }, + "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": "a24d395f-ff82-41c6-b19e-fdbe7efd10dd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "688ebe2b-ec01-4c5d-a646-b86a8134e2e8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6a7d4390-d5bf-41ab-a4af-1de9ee623a20", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c79c0fe3_c79c0fe3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3/output.xml new file mode 100644 index 00000000..d02f8140 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1_c79c0fe3_c79c0fe3/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="17c77462-7754-48d8-a1e9-b6541c1783c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.788.08"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="08e8e4ee-cf9a-4b35-b7d1-833cd2e8d6d5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-05-08"/> + <end value="2024-08-06"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:a415d54e-a4c5-4701-9388-6f47bd1f2ca8"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a24d395f-ff82-41c6-b19e-fdbe7efd10dd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a24d395f-ff82-41c6-b19e-fdbe7efd10dd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="53825226"/> + </coding> + <text value="Acialian"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="688ebe2b-ec01-4c5d-a646-b86a8134e2e8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="553151319"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0741) 498956760"/> + </telecom> + <telecom> + <system value="email"/> + <value value="edwin.mai@hommel.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Bornheimer Str. 39c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="39c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bornheimer Str."/> + </extension> + </line> + <city value="West Davinbrunn"/> + <postalCode value="97176"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6a7d4390-d5bf-41ab-a4af-1de9ee623a20"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="556570801"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/output.json deleted file mode 100644 index 54067dbf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/output.json +++ /dev/null @@ -1,234 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "c544284f-e179-4626-94be-ebb36af46949", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "6f5c322e-ec59-437c-b82d-3f37ebd01a91", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/03614727-4ac0-4a08-bb3c-22fa5dc51620" - }, - "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": "03614727-4ac0-4a08-bb3c-22fa5dc51620", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cd378108-901d-48e2-ad86-6f4caab74c83", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "43c13d94-d774-4d21-a073-c3c6f893d71d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_bf973351/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/output.xml deleted file mode 100644 index 841ad8a9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/output.xml +++ /dev/null @@ -1,237 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c544284f-e179-4626-94be-ebb36af46949"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.783.23"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6f5c322e-ec59-437c-b82d-3f37ebd01a91"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-02-08"/> - <end value="2024-05-08"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:bd9c009f-514a-4ed2-a1ae-d895273794e2"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/03614727-4ac0-4a08-bb3c-22fa5dc51620"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="03614727-4ac0-4a08-bb3c-22fa5dc51620"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="64996244"/> - </coding> - <text value="Amoamiproston"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="cd378108-901d-48e2-ad86-6f4caab74c83"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="614566446"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-1696-50296460"/> - </telecom> - <telecom> - <system value="email"/> - <value value="raphael.bieler@horna.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Jägerstr. 6"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="6"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Jägerstr."/> - </extension> - </line> - <city value="Neu Can"/> - <postalCode value="78332"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="43c13d94-d774-4d21-a073-c3c6f893d71d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="811131577"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351_bf973351/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351_bf973351/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351_bf973351/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351_bf973351/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351_bf973351/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351_bf973351/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351_bf973351/output.json new file mode 100644 index 00000000..3a390e4e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351_bf973351/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "99927c67-2ada-4fb2-9f0e-846cc26a0c40", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "26121c36-b618-4c4a-bc91-23b6ce2b3bbc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/4bd30803-f717-4f9b-b490-e995949ccd5f" + }, + "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": "4bd30803-f717-4f9b-b490-e995949ccd5f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a2d0b6e2-81b4-4fae-a5b9-c927d301803a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "98e0f029-52c7-45bc-9f24-6ae007891ce7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bf973351_bf973351/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351_bf973351/output.xml new file mode 100644 index 00000000..6305cf91 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430_bf973351_bf973351/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="99927c67-2ada-4fb2-9f0e-846cc26a0c40"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.783.23"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="26121c36-b618-4c4a-bc91-23b6ce2b3bbc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-02-08"/> + <end value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:bd9c009f-514a-4ed2-a1ae-d895273794e2"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4bd30803-f717-4f9b-b490-e995949ccd5f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4bd30803-f717-4f9b-b490-e995949ccd5f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64996244"/> + </coding> + <text value="Amoamiproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a2d0b6e2-81b4-4fae-a5b9-c927d301803a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614566446"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-1696-50296460"/> + </telecom> + <telecom> + <system value="email"/> + <value value="raphael.bieler@horna.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Jägerstr. 6"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="6"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Jägerstr."/> + </extension> + </line> + <city value="Neu Can"/> + <postalCode value="78332"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="98e0f029-52c7-45bc-9f24-6ae007891ce7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="811131577"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/output.json deleted file mode 100644 index 2f156fa9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "a336e291-a8fc-4690-886d-927d1f7bf8fc", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "45b99345-95af-4726-8464-05ee14e1650a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/a1b2ac17-cc7e-4d3e-9d22-4bf786dd601f" - }, - "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": "a1b2ac17-cc7e-4d3e-9d22-4bf786dd601f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0d29cdf3-6ab5-4c02-b5b0-21cb36c9527b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "172f99b6-87ec-4724-8b53-9bbe20bfa15b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_b0ce4ff1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/output.xml deleted file mode 100644 index 13a324c0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a336e291-a8fc-4690-886d-927d1f7bf8fc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.750.25"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="45b99345-95af-4726-8464-05ee14e1650a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/a1b2ac17-cc7e-4d3e-9d22-4bf786dd601f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a1b2ac17-cc7e-4d3e-9d22-4bf786dd601f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0d29cdf3-6ab5-4c02-b5b0-21cb36c9527b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="512348559"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-171-5912020"/> - </telecom> - <telecom> - <system value="email"/> - <value value="johannes.baganz@ladewig.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Karl-Carstens-Ring 82"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="82"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Karl-Carstens-Ring"/> - </extension> - </line> - <city value="Abramovicstadt"/> - <postalCode value="17526"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="172f99b6-87ec-4724-8b53-9bbe20bfa15b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="051629877"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1/output.json new file mode 100644 index 00000000..122768e2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "dd989559-f9f3-4905-bea7-35572296d034", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "149770a4-b7b6-435c-a0eb-d9af7f537136", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bc1058e5-977b-49c7-b6bb-466f3a1d0998" + }, + "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": "bc1058e5-977b-49c7-b6bb-466f3a1d0998", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cb875c13-f4f5-4507-b600-78061a7c899e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c8ab781f-36f7-40b2-8965-b24cc64b386f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b0ce4ff1_b0ce4ff1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1/output.xml new file mode 100644 index 00000000..ce326c27 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746_b0ce4ff1_b0ce4ff1/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dd989559-f9f3-4905-bea7-35572296d034"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.750.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="149770a4-b7b6-435c-a0eb-d9af7f537136"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bc1058e5-977b-49c7-b6bb-466f3a1d0998"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bc1058e5-977b-49c7-b6bb-466f3a1d0998"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cb875c13-f4f5-4507-b600-78061a7c899e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="512348559"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-171-5912020"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johannes.baganz@ladewig.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Carstens-Ring 82"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="82"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Carstens-Ring"/> + </extension> + </line> + <city value="Abramovicstadt"/> + <postalCode value="17526"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c8ab781f-36f7-40b2-8965-b24cc64b386f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="051629877"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/output.json deleted file mode 100644 index fac2eb4c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "7df329db-12a7-4062-aa7c-2c7224b9e22d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "6bb5953f-1fcb-4ad6-a31f-95f9d70ff9ad", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/48f0d715-1688-4b87-b56f-2b2f19b4d2c4" - }, - "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": "48f0d715-1688-4b87-b56f-2b2f19b4d2c4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0f0ee882-9635-416a-8be9-f99b36707ad4", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "c2f64334-b81c-49aa-a79f-ee2c3bc5952f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_7c15a984/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/output.xml deleted file mode 100644 index 190dc232..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="7df329db-12a7-4062-aa7c-2c7224b9e22d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.759.95"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6bb5953f-1fcb-4ad6-a31f-95f9d70ff9ad"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/48f0d715-1688-4b87-b56f-2b2f19b4d2c4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="48f0d715-1688-4b87-b56f-2b2f19b4d2c4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0f0ee882-9635-416a-8be9-f99b36707ad4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="729708749"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(05891) 9020530"/> - </telecom> - <telecom> - <system value="email"/> - <value value="tyler.schultz@striezel.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Maria-Terwiel-Str. 45a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="45a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Maria-Terwiel-Str."/> - </extension> - </line> - <city value="Nabeinland"/> - <postalCode value="32786"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c2f64334-b81c-49aa-a79f-ee2c3bc5952f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="763324597"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/input.xml new file mode 100644 index 00000000..bbffbcea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7c15a984-2fe1-4ade-b9e8-ffab2e767074"/> + <meta> + <lastUpdated value="2024-02-08T19:04:12.290+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.759.95"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:04:12.290+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/ac397912-b14c-4e5e-ba91-ec88c9b8955f"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ac397912-b14c-4e5e-ba91-ec88c9b8955f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/e841adbf-9467-48db-8cc0-1b3f38d4e6e1"/> + </subject> + <date value="2024-02-08T19:04:12+01:00"/> + <author> + <reference value="Practitioner/447ff84a-92cf-4b10-a46f-47dc22d9ad1c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/67f11d8d-7d47-4525-bf5e-49ce76798a37"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/ce1eb878-f3f0-4cdb-8ff0-0a3397442293"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/0636312b-9c11-4f67-ad01-ffc1e4880339"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/7a4edde1-5a03-4b1c-8b27-33effeca6295"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7a4edde1-5a03-4b1c-8b27-33effeca6295"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/e841adbf-9467-48db-8cc0-1b3f38d4e6e1"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="e841adbf-9467-48db-8cc0-1b3f38d4e6e1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1974-12-11"/> + <address> + <type value="both"/> + <line value="Eidechsenweg 88"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Eidechsenweg"/> + </extension> + </line> + <city value="Lewinfeld"/> + <postalCode value="37893"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/67f11d8d-7d47-4525-bf5e-49ce76798a37"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="67f11d8d-7d47-4525-bf5e-49ce76798a37"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="729708749"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05891) 9020530"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tyler.schultz@striezel.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Maria-Terwiel-Str. 45a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="45a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Maria-Terwiel-Str."/> + </extension> + </line> + <city value="Nabeinland"/> + <postalCode value="32786"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/ce1eb878-f3f0-4cdb-8ff0-0a3397442293"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="ce1eb878-f3f0-4cdb-8ff0-0a3397442293"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="60"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/3fe586e4-a51b-4f3b-8ddd-7a1ca4b7ca16"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101520329"/> + </identifier> + <display value="ESSO BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/447ff84a-92cf-4b10-a46f-47dc22d9ad1c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="447ff84a-92cf-4b10-a46f-47dc22d9ad1c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="763324597"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/0636312b-9c11-4f67-ad01-ffc1e4880339"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0636312b-9c11-4f67-ad01-ffc1e4880339"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/7a4edde1-5a03-4b1c-8b27-33effeca6295"/> + </medicationReference> + <subject> + <reference value="Patient/e841adbf-9467-48db-8cc0-1b3f38d4e6e1"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/447ff84a-92cf-4b10-a46f-47dc22d9ad1c"/> + </requester> + <insurance> + <reference value="Coverage/ce1eb878-f3f0-4cdb-8ff0-0a3397442293"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/output.json new file mode 100644 index 00000000..da0644ce --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "1a33bc78-23c4-41eb-91c2-9c7686ad6b61", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d5117103-5a3a-458b-99de-cf4d0ac05dbc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/69355cd8-328e-41cd-ab5c-3a0c184c1d81" + }, + "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": "69355cd8-328e-41cd-ab5c-3a0c184c1d81", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bd0e02f7-e3b1-4618-baa1-315321a1ec5a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4b0512b1-a599-4d62-a6cb-3d1bc751f67e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7c15a984_7c15a984/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/output.xml new file mode 100644 index 00000000..d86da56b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe_7c15a984_7c15a984/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1a33bc78-23c4-41eb-91c2-9c7686ad6b61"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.759.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d5117103-5a3a-458b-99de-cf4d0ac05dbc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/69355cd8-328e-41cd-ab5c-3a0c184c1d81"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="69355cd8-328e-41cd-ab5c-3a0c184c1d81"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bd0e02f7-e3b1-4618-baa1-315321a1ec5a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="729708749"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05891) 9020530"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tyler.schultz@striezel.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Maria-Terwiel-Str. 45a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="45a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Maria-Terwiel-Str."/> + </extension> + </line> + <city value="Nabeinland"/> + <postalCode value="32786"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4b0512b1-a599-4d62-a6cb-3d1bc751f67e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="763324597"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.json index 6df3ad0f..65f5f9d5 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "e825677d-11dd-48c9-81d8-8933756b90c8", + "id": "23a2e6bc-b2fa-4755-9b90-a959d88b6dc4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "2ce817cb-0542-4a46-99f9-57ce6d1508b2", + "id": "934f01b1-99d2-43ae-8f0d-e36b9dc44d6f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/c8bcbf5e-deb2-4fc8-8931-c97bc74e696e" + "reference": "Medication/5b921f2b-a75d-4d0e-a33e-962d8ee90f3f" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "c8bcbf5e-deb2-4fc8-8931-c97bc74e696e", + "id": "5b921f2b-a75d-4d0e-a33e-962d8ee90f3f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "b4505796-c387-43f2-9dc9-6e4eaa543555", + "id": "ebc05510-2bd2-4d24-9231-3b119f6e86cf", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "e65db70d-3538-48c2-ba06-6d81b21fa3f8", + "id": "6c29ce6d-c60c-4a1f-80c5-167363ff2467", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.xml index 264d5dd9..fc204564 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="e825677d-11dd-48c9-81d8-8933756b90c8"/> + <id value="23a2e6bc-b2fa-4755-9b90-a959d88b6dc4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2ce817cb-0542-4a46-99f9-57ce6d1508b2"/> + <id value="934f01b1-99d2-43ae-8f0d-e36b9dc44d6f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/c8bcbf5e-deb2-4fc8-8931-c97bc74e696e"/> + <reference value="Medication/5b921f2b-a75d-4d0e-a33e-962d8ee90f3f"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="c8bcbf5e-deb2-4fc8-8931-c97bc74e696e"/> + <id value="5b921f2b-a75d-4d0e-a33e-962d8ee90f3f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="b4505796-c387-43f2-9dc9-6e4eaa543555"/> + <id value="ebc05510-2bd2-4d24-9231-3b119f6e86cf"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e65db70d-3538-48c2-ba06-6d81b21fa3f8"/> + <id value="6c29ce6d-c60c-4a1f-80c5-167363ff2467"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/input.xml new file mode 100644 index 00000000..62fba05f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="902668fe-ee41-4ba4-ba52-6e212947e007"/> + <meta> + <lastUpdated value="2024-02-08T19:02:16.965+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.747.34"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:02:16.965+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/e2c78304-f042-4e65-82dd-d32fa8f97777"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="e2c78304-f042-4e65-82dd-d32fa8f97777"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/22efc377-d100-4cff-a54b-87182545b0e9"/> + </subject> + <date value="2024-02-08T19:02:16+01:00"/> + <author> + <reference value="Practitioner/b4be1332-2490-4471-bed6-b13c724c471c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/fe9a7c33-90aa-49c6-9d5d-8559a988b567"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/6cb1ce16-344c-46fe-8836-2360f8e6eb1d"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/6558f071-27e0-4216-803b-ae0ce5774f7c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/6a0b2e58-4efb-4a96-808b-943c4b0b1aa7"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6a0b2e58-4efb-4a96-808b-943c4b0b1aa7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/22efc377-d100-4cff-a54b-87182545b0e9"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="22efc377-d100-4cff-a54b-87182545b0e9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1997-06-17"/> + <address> + <type value="both"/> + <line value="Meckhofer Feld 27c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Meckhofer Feld"/> + </extension> + </line> + <city value="Knuthagen"/> + <postalCode value="94518"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/fe9a7c33-90aa-49c6-9d5d-8559a988b567"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fe9a7c33-90aa-49c6-9d5d-8559a988b567"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="011361824"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-9570-93669717"/> + </telecom> + <telecom> + <system value="email"/> + <value value="amir.einert@abraham.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Weizkamp 5"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="5"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weizkamp"/> + </extension> + </line> + <city value="Henkelheim"/> + <postalCode value="71075"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/6cb1ce16-344c-46fe-8836-2360f8e6eb1d"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="6cb1ce16-344c-46fe-8836-2360f8e6eb1d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="83"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/2bdccfe2-f1ec-4cf9-99a0-7bae778b66b8"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104926702"/> + </identifier> + <display value="DIE BERGISCHE KRANKENKASSE"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/b4be1332-2490-4471-bed6-b13c724c471c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b4be1332-2490-4471-bed6-b13c724c471c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="884700727"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/6558f071-27e0-4216-803b-ae0ce5774f7c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6558f071-27e0-4216-803b-ae0ce5774f7c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/6a0b2e58-4efb-4a96-808b-943c4b0b1aa7"/> + </medicationReference> + <subject> + <reference value="Patient/22efc377-d100-4cff-a54b-87182545b0e9"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/b4be1332-2490-4471-bed6-b13c724c471c"/> + </requester> + <insurance> + <reference value="Coverage/6cb1ce16-344c-46fe-8836-2360f8e6eb1d"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/output.json new file mode 100644 index 00000000..204ed4bd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "9c042657-2b9b-4657-9ef6-38e05c42f32e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e8a532da-0453-4ea0-b658-fb806c7d447f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/863d49c9-9248-431a-a14f-38baa5c648d7" + }, + "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": "863d49c9-9248-431a-a14f-38baa5c648d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3c88ba6d-130b-466d-8754-7684ed271c7c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d2a878ba-5f49-4b58-aabc-1391422eee90", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_902668fe_902668fe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/output.xml new file mode 100644 index 00000000..c55fd515 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_902668fe_902668fe/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9c042657-2b9b-4657-9ef6-38e05c42f32e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.747.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e8a532da-0453-4ea0-b658-fb806c7d447f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/863d49c9-9248-431a-a14f-38baa5c648d7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="863d49c9-9248-431a-a14f-38baa5c648d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3c88ba6d-130b-466d-8754-7684ed271c7c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="011361824"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-9570-93669717"/> + </telecom> + <telecom> + <system value="email"/> + <value value="amir.einert@abraham.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Weizkamp 5"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="5"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weizkamp"/> + </extension> + </line> + <city value="Henkelheim"/> + <postalCode value="71075"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d2a878ba-5f49-4b58-aabc-1391422eee90"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="884700727"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.json index 98c233a0..2cf8bb63 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "5c201c6d-dde5-43c5-81b9-0af674640446", + "id": "447f25db-3255-4bc9-b5f8-052cdec5ceb4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "081a9213-82fe-486f-8688-d0a0b3b5fd31", + "id": "97ce70a8-7955-478e-b8c7-200d89c41093", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/5265675e-9c0f-495d-b29a-f510e6a2b2e9" + "reference": "Medication/13484acb-06b1-4e44-be6f-3c10050e94fc" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5265675e-9c0f-495d-b29a-f510e6a2b2e9", + "id": "13484acb-06b1-4e44-be6f-3c10050e94fc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "c190c22f-bc26-4738-ad6b-7e7f528718df", + "id": "219c78e7-2b3a-485e-8f88-8021c438865f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "85a20744-7787-494f-9e59-4955be711931", + "id": "c8ceec09-ea3a-4927-9bab-9a05facefd6c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.xml index ba463897..5df2bfe6 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="5c201c6d-dde5-43c5-81b9-0af674640446"/> + <id value="447f25db-3255-4bc9-b5f8-052cdec5ceb4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="081a9213-82fe-486f-8688-d0a0b3b5fd31"/> + <id value="97ce70a8-7955-478e-b8c7-200d89c41093"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/5265675e-9c0f-495d-b29a-f510e6a2b2e9"/> + <reference value="Medication/13484acb-06b1-4e44-be6f-3c10050e94fc"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5265675e-9c0f-495d-b29a-f510e6a2b2e9"/> + <id value="13484acb-06b1-4e44-be6f-3c10050e94fc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="c190c22f-bc26-4738-ad6b-7e7f528718df"/> + <id value="219c78e7-2b3a-485e-8f88-8021c438865f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="85a20744-7787-494f-9e59-4955be711931"/> + <id value="c8ceec09-ea3a-4927-9bab-9a05facefd6c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/input.xml new file mode 100644 index 00000000..3496765e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="90d5dd65-592d-49ee-b4da-91d974b44782"/> + <meta> + <lastUpdated value="2024-02-13T11:24:19.674+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.838.84"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-13T11:24:19.674+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/f1fcba8a-2089-48df-b9d1-3fd0ebf44372"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f1fcba8a-2089-48df-b9d1-3fd0ebf44372"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/2b1056c8-05ac-490b-bc0f-9498aa9ca97b"/> + </subject> + <date value="2024-02-13T11:24:19+01:00"/> + <author> + <reference value="Practitioner/0dae4db5-5baf-4f12-97e2-9da390ba38ec"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/12b70d30-9b13-4991-9444-6664176c625d"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/31cb2aef-bd2b-4330-b6e1-4f10e9be7efb"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/da268dcc-0bd0-4aa6-9f95-6ac48a855a7d"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/23508214-d55e-4f87-861a-1a40081c6ac8"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="23508214-d55e-4f87-861a-1a40081c6ac8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/2b1056c8-05ac-490b-bc0f-9498aa9ca97b"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="2b1056c8-05ac-490b-bc0f-9498aa9ca97b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + <name> + <use value="official"/> + <family value="Gondern"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Gondern"/> + </extension> + </family> + <given value="Aenna"/> + </name> + <birthDate value="1999-11-19"/> + <address> + <type value="both"/> + <line value="Eichenkamp 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Eichenkamp"/> + </extension> + </line> + <city value="Valerieheim"/> + <postalCode value="13594"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/12b70d30-9b13-4991-9444-6664176c625d"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="12b70d30-9b13-4991-9444-6664176c625d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="475308196"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0958) 130707809"/> + </telecom> + <telecom> + <system value="email"/> + <value value="wilhelm.welz@kofferschlager.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Schopenhauerstr. 35c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="35c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schopenhauerstr."/> + </extension> + </line> + <city value="Hamzafeld"/> + <postalCode value="15855"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/31cb2aef-bd2b-4330-b6e1-4f10e9be7efb"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="31cb2aef-bd2b-4330-b6e1-4f10e9be7efb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="46"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/43b1e718-07b9-4529-86ee-c44ba8cdd6b3"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104424830"/> + </identifier> + <display value="BKK GRILLO‐WERKE AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/0dae4db5-5baf-4f12-97e2-9da390ba38ec"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0dae4db5-5baf-4f12-97e2-9da390ba38ec"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="183015301"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/da268dcc-0bd0-4aa6-9f95-6ac48a855a7d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="da268dcc-0bd0-4aa6-9f95-6ac48a855a7d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/23508214-d55e-4f87-861a-1a40081c6ac8"/> + </medicationReference> + <subject> + <reference value="Patient/2b1056c8-05ac-490b-bc0f-9498aa9ca97b"/> + </subject> + <authoredOn value="2024-02-13"/> + <requester> + <reference value="Practitioner/0dae4db5-5baf-4f12-97e2-9da390ba38ec"/> + </requester> + <insurance> + <reference value="Coverage/31cb2aef-bd2b-4330-b6e1-4f10e9be7efb"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/output.json new file mode 100644 index 00000000..3962f66d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "e0562139-97fc-4c53-a473-d11cd76290ae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f44d376a-d33a-4b2d-a174-f59d3c252a66", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8d26fd4f-8319-4156-a004-0f2600e8f21a" + }, + "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": "8d26fd4f-8319-4156-a004-0f2600e8f21a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "994cd961-784b-49e3-95cf-8f8751dcfeb2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b0aa04b2-5c35-4577-8354-7e0b4a262593", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_90d5dd65_90d5dd65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/output.xml new file mode 100644 index 00000000..6758ba43 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_90d5dd65_90d5dd65/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e0562139-97fc-4c53-a473-d11cd76290ae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.838.84"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f44d376a-d33a-4b2d-a174-f59d3c252a66"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8d26fd4f-8319-4156-a004-0f2600e8f21a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8d26fd4f-8319-4156-a004-0f2600e8f21a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="994cd961-784b-49e3-95cf-8f8751dcfeb2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="475308196"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0958) 130707809"/> + </telecom> + <telecom> + <system value="email"/> + <value value="wilhelm.welz@kofferschlager.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Schopenhauerstr. 35c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="35c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schopenhauerstr."/> + </extension> + </line> + <city value="Hamzafeld"/> + <postalCode value="15855"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b0aa04b2-5c35-4577-8354-7e0b4a262593"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="183015301"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/output.json deleted file mode 100644 index 93dd2fbf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "01682932-ed3c-4de0-a7ee-7cb5cc52ce87", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "999d4cf1-8458-4aba-a026-5a1d648d3f4a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/3b0ef825-e568-4184-9993-81c9be3544a9" - }, - "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": "3b0ef825-e568-4184-9993-81c9be3544a9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b6177a62-b5bc-4a77-b0ee-a50b56f0f65c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "7d813a00-a326-45b5-821a-7b59163d4ab9", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_29aa5ba0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/output.xml deleted file mode 100644 index 2ea5c649..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="01682932-ed3c-4de0-a7ee-7cb5cc52ce87"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.751.22"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="999d4cf1-8458-4aba-a026-5a1d648d3f4a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/3b0ef825-e568-4184-9993-81c9be3544a9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3b0ef825-e568-4184-9993-81c9be3544a9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b6177a62-b5bc-4a77-b0ee-a50b56f0f65c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="506889695"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-3700-72846964"/> - </telecom> - <telecom> - <system value="email"/> - <value value="sophie.schönfeld@nagel.com"/> - </telecom> - <address> - <type value="both"/> - <line value="In der Dasladen 30a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="30a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="In der Dasladen"/> - </extension> - </line> - <city value="Thustheim"/> - <postalCode value="47051"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7d813a00-a326-45b5-821a-7b59163d4ab9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="180212463"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/input.xml new file mode 100644 index 00000000..9222ab46 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="29aa5ba0-95a8-455a-b778-c4e99fb14f4e"/> + <meta> + <lastUpdated value="2024-02-08T19:02:46.424+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.751.22"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:02:46.424+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/99db91d9-a106-4d44-9055-dab900aedd77"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="99db91d9-a106-4d44-9055-dab900aedd77"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/166e1245-fad6-4fbe-a4af-9397b601b41c"/> + </subject> + <date value="2024-02-08T19:02:46+01:00"/> + <author> + <reference value="Practitioner/0b84603f-dea2-4d9e-be30-1b82e4eab8eb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/ea916fbd-94de-4b9a-aa59-742323cb5b8c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/36652b25-e431-4eae-8030-eb0982f22c59"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/97838e28-140b-45c4-96c8-d5282f578213"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/5088d1cf-46f8-4c89-b3c7-1fbda757aadb"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5088d1cf-46f8-4c89-b3c7-1fbda757aadb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/166e1245-fad6-4fbe-a4af-9397b601b41c"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="166e1245-fad6-4fbe-a4af-9397b601b41c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1987-11-10"/> + <address> + <type value="both"/> + <line value="Felderstr. 42"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="42"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Felderstr."/> + </extension> + </line> + <city value="Walzburg"/> + <postalCode value="85624"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/ea916fbd-94de-4b9a-aa59-742323cb5b8c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ea916fbd-94de-4b9a-aa59-742323cb5b8c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="506889695"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3700-72846964"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sophie.schönfeld@nagel.com"/> + </telecom> + <address> + <type value="both"/> + <line value="In der Dasladen 30a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="30a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="In der Dasladen"/> + </extension> + </line> + <city value="Thustheim"/> + <postalCode value="47051"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/36652b25-e431-4eae-8030-eb0982f22c59"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="36652b25-e431-4eae-8030-eb0982f22c59"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/2086073c-e58b-4e52-a82e-002fa0aef975"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108633433"/> + </identifier> + <display value="BKK Kassana"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/0b84603f-dea2-4d9e-be30-1b82e4eab8eb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0b84603f-dea2-4d9e-be30-1b82e4eab8eb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="180212463"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/97838e28-140b-45c4-96c8-d5282f578213"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="97838e28-140b-45c4-96c8-d5282f578213"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5088d1cf-46f8-4c89-b3c7-1fbda757aadb"/> + </medicationReference> + <subject> + <reference value="Patient/166e1245-fad6-4fbe-a4af-9397b601b41c"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/0b84603f-dea2-4d9e-be30-1b82e4eab8eb"/> + </requester> + <insurance> + <reference value="Coverage/36652b25-e431-4eae-8030-eb0982f22c59"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/output.json new file mode 100644 index 00000000..c7577c45 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "9d4709e4-86f7-4e64-a0bd-7a4c5350b027", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7fdc9d05-32e1-4960-a261-d14856d2e305", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2793686f-d6f6-4f3e-8090-94341e55a483" + }, + "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": "2793686f-d6f6-4f3e-8090-94341e55a483", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cf69e189-beaa-4aa2-99c2-6aee5be0a734", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d0b175de-ead3-4d03-bef3-44458e51e392", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_29aa5ba0_29aa5ba0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/output.xml new file mode 100644 index 00000000..ff1798df --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310_29aa5ba0_29aa5ba0/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9d4709e4-86f7-4e64-a0bd-7a4c5350b027"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.751.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7fdc9d05-32e1-4960-a261-d14856d2e305"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2793686f-d6f6-4f3e-8090-94341e55a483"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2793686f-d6f6-4f3e-8090-94341e55a483"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cf69e189-beaa-4aa2-99c2-6aee5be0a734"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="506889695"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3700-72846964"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sophie.schönfeld@nagel.com"/> + </telecom> + <address> + <type value="both"/> + <line value="In der Dasladen 30a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="30a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="In der Dasladen"/> + </extension> + </line> + <city value="Thustheim"/> + <postalCode value="47051"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d0b175de-ead3-4d03-bef3-44458e51e392"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="180212463"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/output.json deleted file mode 100644 index 7c010b58..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "ec301700-e4bd-48cb-8293-57c7263f5045", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "be4bec05-c081-435c-860b-2e861cfc54b9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/73c71001-c7ab-4f65-b8b5-75aba44e3129" - }, - "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": "73c71001-c7ab-4f65-b8b5-75aba44e3129", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "97a432aa-0f99-4dd0-9744-7bb985b8d256", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "7bc3ada9-5ebc-475e-a673-9612c57cf75d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_10feb16e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/output.xml deleted file mode 100644 index 553fe362..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ec301700-e4bd-48cb-8293-57c7263f5045"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.760.92"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="be4bec05-c081-435c-860b-2e861cfc54b9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/73c71001-c7ab-4f65-b8b5-75aba44e3129"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="73c71001-c7ab-4f65-b8b5-75aba44e3129"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="97a432aa-0f99-4dd0-9744-7bb985b8d256"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="470426554"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0379) 822340692"/> - </telecom> - <telecom> - <system value="email"/> - <value value="fabian.bienasch@just.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Weizkamp 877"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="877"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Weizkamp"/> - </extension> - </line> - <city value="Groß Ruben"/> - <postalCode value="68177"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7bc3ada9-5ebc-475e-a673-9612c57cf75d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="439856521"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/input.xml new file mode 100644 index 00000000..93f057e4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="10feb16e-8499-4b4b-bbd3-354242c57e36"/> + <meta> + <lastUpdated value="2024-02-08T19:04:29.248+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.760.92"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:04:29.248+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/8fef5be4-59e2-4aa7-93df-bc2bfbdf6741"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8fef5be4-59e2-4aa7-93df-bc2bfbdf6741"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/6eb1209c-247f-4ac0-a0a0-05646acbf05e"/> + </subject> + <date value="2024-02-08T19:04:29+01:00"/> + <author> + <reference value="Practitioner/f90378fb-00f4-411d-9784-7eb409b49135"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5c832b6d-d75f-4d91-aea3-4de9775ad304"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/5964ab86-f941-47da-a4a4-3f81d6fd2d79"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/3d87138e-12c0-4fc3-84e5-30b6f771a276"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/a6c17c6c-f17b-4c17-bd92-9db6b49a9848"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a6c17c6c-f17b-4c17-bd92-9db6b49a9848"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/6eb1209c-247f-4ac0-a0a0-05646acbf05e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="6eb1209c-247f-4ac0-a0a0-05646acbf05e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1973-05-04"/> + <address> + <type value="both"/> + <line value="Werftstr. 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Werftstr."/> + </extension> + </line> + <city value="Schön Peter"/> + <postalCode value="04784"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/5c832b6d-d75f-4d91-aea3-4de9775ad304"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5c832b6d-d75f-4d91-aea3-4de9775ad304"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="470426554"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0379) 822340692"/> + </telecom> + <telecom> + <system value="email"/> + <value value="fabian.bienasch@just.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Weizkamp 877"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="877"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weizkamp"/> + </extension> + </line> + <city value="Groß Ruben"/> + <postalCode value="68177"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/5964ab86-f941-47da-a4a4-3f81d6fd2d79"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="5964ab86-f941-47da-a4a4-3f81d6fd2d79"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="48"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/443cea35-9f8f-404e-9f20-c9ab49dd067f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101560000"/> + </identifier> + <display value="DAK‐Gesundheit"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/f90378fb-00f4-411d-9784-7eb409b49135"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f90378fb-00f4-411d-9784-7eb409b49135"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="439856521"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/3d87138e-12c0-4fc3-84e5-30b6f771a276"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3d87138e-12c0-4fc3-84e5-30b6f771a276"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a6c17c6c-f17b-4c17-bd92-9db6b49a9848"/> + </medicationReference> + <subject> + <reference value="Patient/6eb1209c-247f-4ac0-a0a0-05646acbf05e"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/f90378fb-00f4-411d-9784-7eb409b49135"/> + </requester> + <insurance> + <reference value="Coverage/5964ab86-f941-47da-a4a4-3f81d6fd2d79"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/output.json new file mode 100644 index 00000000..5e64de9b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "1122bb90-2af1-43fd-b953-c3a24f2cf987", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0eea59d8-6f03-496b-aff8-9a8d70416501", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/dd675363-cab9-4607-a25d-108a830d5dcb" + }, + "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": "dd675363-cab9-4607-a25d-108a830d5dcb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "083dead7-0192-433d-bd50-c4f72a8406d9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c2be6f06-c720-477e-bb92-b9ae93322013", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_10feb16e_10feb16e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/output.xml new file mode 100644 index 00000000..4931fe21 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1_10feb16e_10feb16e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1122bb90-2af1-43fd-b953-c3a24f2cf987"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.760.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0eea59d8-6f03-496b-aff8-9a8d70416501"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/dd675363-cab9-4607-a25d-108a830d5dcb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dd675363-cab9-4607-a25d-108a830d5dcb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="083dead7-0192-433d-bd50-c4f72a8406d9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="470426554"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0379) 822340692"/> + </telecom> + <telecom> + <system value="email"/> + <value value="fabian.bienasch@just.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Weizkamp 877"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="877"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weizkamp"/> + </extension> + </line> + <city value="Groß Ruben"/> + <postalCode value="68177"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c2be6f06-c720-477e-bb92-b9ae93322013"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="439856521"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.json index 0ab3eee4..20e93d38 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "0d170add-84e3-4084-9e7f-5b24c2232dc1", + "id": "af5d7b0b-30a9-4e98-86cc-275389334913", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "e1122ffa-de52-4bd0-a178-708439f46a8f", + "id": "0927ea6a-d24a-441d-8880-581decae0679", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/9161265a-f3ef-423b-bed6-c4986449d187" + "reference": "Medication/c6b7ee75-529a-42be-ab2e-7f741750fecb" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "9161265a-f3ef-423b-bed6-c4986449d187", + "id": "c6b7ee75-529a-42be-ab2e-7f741750fecb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d078b65b-976f-4793-962b-176770051b65", + "id": "811a9611-b09d-44f8-970b-c451cbdd2c9a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "dbed312f-f9ed-45fa-891c-fd25506b511d", + "id": "15dee2dd-8448-48c7-b6de-0a1183e6d536", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.xml index 5ce0f7ea..ef373609 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="0d170add-84e3-4084-9e7f-5b24c2232dc1"/> + <id value="af5d7b0b-30a9-4e98-86cc-275389334913"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e1122ffa-de52-4bd0-a178-708439f46a8f"/> + <id value="0927ea6a-d24a-441d-8880-581decae0679"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/9161265a-f3ef-423b-bed6-c4986449d187"/> + <reference value="Medication/c6b7ee75-529a-42be-ab2e-7f741750fecb"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="9161265a-f3ef-423b-bed6-c4986449d187"/> + <id value="c6b7ee75-529a-42be-ab2e-7f741750fecb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d078b65b-976f-4793-962b-176770051b65"/> + <id value="811a9611-b09d-44f8-970b-c451cbdd2c9a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="dbed312f-f9ed-45fa-891c-fd25506b511d"/> + <id value="15dee2dd-8448-48c7-b6de-0a1183e6d536"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3_9645a6a3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3_9645a6a3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3_9645a6a3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3_9645a6a3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3_9645a6a3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3_9645a6a3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3_9645a6a3/output.json new file mode 100644 index 00000000..a0a2c82c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3_9645a6a3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "a779b7f4-6f67-4923-ac87-0315aa791efc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a459ff20-ed6a-4811-afed-dafb97c63a2c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/01009c9a-2c18-4d6a-9581-1ad1bc9b5ffd" + }, + "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": "01009c9a-2c18-4d6a-9581-1ad1bc9b5ffd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c4dff20e-d659-4e7d-bf37-81bdd4865a2a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "56cfb496-69dc-4a35-a677-c1d783f26cab", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9645a6a3_9645a6a3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3_9645a6a3/output.xml new file mode 100644 index 00000000..6e596c56 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9645a6a3_9645a6a3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a779b7f4-6f67-4923-ac87-0315aa791efc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.757.04"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a459ff20-ed6a-4811-afed-dafb97c63a2c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/01009c9a-2c18-4d6a-9581-1ad1bc9b5ffd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="01009c9a-2c18-4d6a-9581-1ad1bc9b5ffd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c4dff20e-d659-4e7d-bf37-81bdd4865a2a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711619336"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02416) 4196742"/> + </telecom> + <telecom> + <system value="email"/> + <value value="meike.wassiluk@bogdashin.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Dünenweg 81b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="81b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dünenweg"/> + </extension> + </line> + <city value="Groß Daria"/> + <postalCode value="56205"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="56cfb496-69dc-4a35-a677-c1d783f26cab"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="611647025"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/output.json deleted file mode 100644 index 38da387f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "fbcf5e28-27d6-4c8d-b53b-2cd2d5ebd593", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "93cd56e3-3dba-4e89-acc2-e227368379fb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/9f3c5fcf-1c85-4df6-a93a-c49014639cfa" - }, - "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": "9f3c5fcf-1c85-4df6-a93a-c49014639cfa", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1269e78c-a4e5-4342-bcc8-75f0aa5f055f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "0d370458-a545-424f-bf24-e3ecfb52a3c7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_12931066/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/output.xml deleted file mode 100644 index e3f107f5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="fbcf5e28-27d6-4c8d-b53b-2cd2d5ebd593"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.771.59"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="93cd56e3-3dba-4e89-acc2-e227368379fb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/9f3c5fcf-1c85-4df6-a93a-c49014639cfa"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9f3c5fcf-1c85-4df6-a93a-c49014639cfa"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1269e78c-a4e5-4342-bcc8-75f0aa5f055f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="886581532"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0713) 038011891"/> - </telecom> - <telecom> - <system value="email"/> - <value value="kalle.finke@grothkopp.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Voigtslach 329"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="329"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Voigtslach"/> - </extension> - </line> - <city value="Dennisheim"/> - <postalCode value="94140"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="0d370458-a545-424f-bf24-e3ecfb52a3c7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="059579535"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/input.xml new file mode 100644 index 00000000..b7f324cf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="12931066-598a-4106-a5db-52a3b960f4fc"/> + <meta> + <lastUpdated value="2024-02-08T19:06:30.109+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.771.59"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:06:30.109+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/f71f620c-66c1-421b-8ac9-a26e06783765"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f71f620c-66c1-421b-8ac9-a26e06783765"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/0e3dbf2e-460c-4c37-8c12-a0570934a15e"/> + </subject> + <date value="2024-02-08T19:06:30+01:00"/> + <author> + <reference value="Practitioner/0f6d2336-9e7f-40cf-81ff-1b223434404c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/f04a7101-7d3b-4852-bd53-d2869ec2a33d"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/edd0a842-7b0a-4c9e-b9a6-c23ef1fbb8fe"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/f6cdbc10-132d-4356-8bcd-358f8ed2e794"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/69a76552-f201-4bd0-832f-8d6519ef9783"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="69a76552-f201-4bd0-832f-8d6519ef9783"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/0e3dbf2e-460c-4c37-8c12-a0570934a15e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="0e3dbf2e-460c-4c37-8c12-a0570934a15e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1966-11-12"/> + <address> + <type value="both"/> + <line value="Unterölbach 256"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="256"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Unterölbach"/> + </extension> + </line> + <city value="Ost Levinfeld"/> + <postalCode value="76451"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/f04a7101-7d3b-4852-bd53-d2869ec2a33d"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f04a7101-7d3b-4852-bd53-d2869ec2a33d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="886581532"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0713) 038011891"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kalle.finke@grothkopp.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Voigtslach 329"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="329"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Voigtslach"/> + </extension> + </line> + <city value="Dennisheim"/> + <postalCode value="94140"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/edd0a842-7b0a-4c9e-b9a6-c23ef1fbb8fe"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="edd0a842-7b0a-4c9e-b9a6-c23ef1fbb8fe"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="50"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/232608e2-dc26-4c80-8bed-0d22cf8a3eeb"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104424794"/> + </identifier> + <display value="BKK DEMAG KRAUSS‐MAFFEI"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/0f6d2336-9e7f-40cf-81ff-1b223434404c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0f6d2336-9e7f-40cf-81ff-1b223434404c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="059579535"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/f6cdbc10-132d-4356-8bcd-358f8ed2e794"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f6cdbc10-132d-4356-8bcd-358f8ed2e794"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/69a76552-f201-4bd0-832f-8d6519ef9783"/> + </medicationReference> + <subject> + <reference value="Patient/0e3dbf2e-460c-4c37-8c12-a0570934a15e"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/0f6d2336-9e7f-40cf-81ff-1b223434404c"/> + </requester> + <insurance> + <reference value="Coverage/edd0a842-7b0a-4c9e-b9a6-c23ef1fbb8fe"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/output.json new file mode 100644 index 00000000..60928bc1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "0fc41c14-51f2-497f-8aa9-46c9ad937779", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "084eddba-c242-47ca-b31c-2ae70ee80ca3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6c89f563-7302-416f-b5ea-e71ba40206d5" + }, + "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": "6c89f563-7302-416f-b5ea-e71ba40206d5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d1e7aad0-58c7-4052-8f29-f904c4302e89", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e987777f-c57d-48c4-9dc3-de9c19a86999", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_12931066_12931066/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/output.xml new file mode 100644 index 00000000..bec3ea88 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9_12931066_12931066/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0fc41c14-51f2-497f-8aa9-46c9ad937779"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.771.59"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="084eddba-c242-47ca-b31c-2ae70ee80ca3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6c89f563-7302-416f-b5ea-e71ba40206d5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6c89f563-7302-416f-b5ea-e71ba40206d5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d1e7aad0-58c7-4052-8f29-f904c4302e89"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="886581532"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0713) 038011891"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kalle.finke@grothkopp.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Voigtslach 329"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="329"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Voigtslach"/> + </extension> + </line> + <city value="Dennisheim"/> + <postalCode value="94140"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e987777f-c57d-48c4-9dc3-de9c19a86999"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="059579535"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.json index da85aa20..25dbaf77 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "d8c21b5c-043f-49ef-b032-51f026178b36", + "id": "9f2c2781-13fd-46ef-a604-67a373c66094", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "8013e4f1-c8aa-44a6-b9f5-a7dc5a357bae", + "id": "4572337b-337b-468e-87d6-98abce24dac5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/7bedc891-da37-43ed-ab3e-d58cb4c3d637" + "reference": "Medication/b271433f-5054-46a0-bda5-e7cc4ca1cbcb" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "7bedc891-da37-43ed-ab3e-d58cb4c3d637", + "id": "b271433f-5054-46a0-bda5-e7cc4ca1cbcb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "09b1cf81-f9e5-4e04-8d2e-cba6477f9d11", + "id": "dbcad361-a23b-45a5-8236-326ee55a739d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "364475d0-871b-428d-94ce-dea2cb8cf428", + "id": "49eec522-05b3-4c0c-8079-0cce18583b17", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.xml index a4e9f015..3d092298 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="d8c21b5c-043f-49ef-b032-51f026178b36"/> + <id value="9f2c2781-13fd-46ef-a604-67a373c66094"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8013e4f1-c8aa-44a6-b9f5-a7dc5a357bae"/> + <id value="4572337b-337b-468e-87d6-98abce24dac5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/7bedc891-da37-43ed-ab3e-d58cb4c3d637"/> + <reference value="Medication/b271433f-5054-46a0-bda5-e7cc4ca1cbcb"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="7bedc891-da37-43ed-ab3e-d58cb4c3d637"/> + <id value="b271433f-5054-46a0-bda5-e7cc4ca1cbcb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="09b1cf81-f9e5-4e04-8d2e-cba6477f9d11"/> + <id value="dbcad361-a23b-45a5-8236-326ee55a739d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="364475d0-871b-428d-94ce-dea2cb8cf428"/> + <id value="49eec522-05b3-4c0c-8079-0cce18583b17"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/input.xml new file mode 100644 index 00000000..858d0117 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9c9429a1-5fea-4efd-af25-895e0dae990f"/> + <meta> + <lastUpdated value="2024-02-08T19:21:06.607+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.995.34"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:21:06.607+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/b8dab91e-380a-4614-bd6f-0e16394c706f"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="b8dab91e-380a-4614-bd6f-0e16394c706f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ec1a72a6-fe49-476d-a55c-58d45bb442c7"/> + </subject> + <date value="2024-02-08T19:21:06+01:00"/> + <author> + <reference value="Practitioner/74bcb361-7b45-4bbf-9ada-349c31844c9b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/8cfbcf92-9b35-49cb-aaf6-2c9424f7f329"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/1a25bfba-cdcd-4fc1-89ec-71e8ba6c8372"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/d0b95008-6152-4819-aa89-2c0ef49f8a2c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/1f16baef-810f-43e9-91e9-546c4dc027b6"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1f16baef-810f-43e9-91e9-546c4dc027b6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="46260462"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/ec1a72a6-fe49-476d-a55c-58d45bb442c7"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ec1a72a6-fe49-476d-a55c-58d45bb442c7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1983-10-25"/> + <address> + <type value="both"/> + <line value="Luisenstr. 14c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="14c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Luisenstr."/> + </extension> + </line> + <city value="Süd Elisa"/> + <postalCode value="81369"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/8cfbcf92-9b35-49cb-aaf6-2c9424f7f329"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8cfbcf92-9b35-49cb-aaf6-2c9424f7f329"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="382601542"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-902-0356405"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jan.leschnik@lichtenfeld.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Liebigstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Liebigstr."/> + </extension> + </line> + <city value="Ost Marius"/> + <postalCode value="85692"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/1a25bfba-cdcd-4fc1-89ec-71e8ba6c8372"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1a25bfba-cdcd-4fc1-89ec-71e8ba6c8372"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="61"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/6b4c6244-a473-4cc1-ab05-6d0cd3e23790"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140186"/> + </identifier> + <display value="HanseMerkur"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/74bcb361-7b45-4bbf-9ada-349c31844c9b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="74bcb361-7b45-4bbf-9ada-349c31844c9b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="804424206"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/d0b95008-6152-4819-aa89-2c0ef49f8a2c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d0b95008-6152-4819-aa89-2c0ef49f8a2c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/1f16baef-810f-43e9-91e9-546c4dc027b6"/> + </medicationReference> + <subject> + <reference value="Patient/ec1a72a6-fe49-476d-a55c-58d45bb442c7"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/74bcb361-7b45-4bbf-9ada-349c31844c9b"/> + </requester> + <insurance> + <reference value="Coverage/1a25bfba-cdcd-4fc1-89ec-71e8ba6c8372"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/output.json new file mode 100644 index 00000000..23fbe968 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "4f87621e-50c8-4508-a4ba-af9f0bda7a33", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "02543571-4410-4c1c-8cc8-caf55ed8bece", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e164dded-8d9d-46a2-8c66-4897589dc2f1" + }, + "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": "e164dded-8d9d-46a2-8c66-4897589dc2f1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a315cd32-c30a-4bed-a095-f552908c0a75", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b55ec945-d96b-4233-89bb-3c45e0ea1ec9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9c9429a1_9c9429a1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/output.xml new file mode 100644 index 00000000..32764d9f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9c9429a1_9c9429a1/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4f87621e-50c8-4508-a4ba-af9f0bda7a33"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.995.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="02543571-4410-4c1c-8cc8-caf55ed8bece"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e164dded-8d9d-46a2-8c66-4897589dc2f1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e164dded-8d9d-46a2-8c66-4897589dc2f1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="46260462"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a315cd32-c30a-4bed-a095-f552908c0a75"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="382601542"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-902-0356405"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jan.leschnik@lichtenfeld.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Liebigstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Liebigstr."/> + </extension> + </line> + <city value="Ost Marius"/> + <postalCode value="85692"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b55ec945-d96b-4233-89bb-3c45e0ea1ec9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="804424206"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/output.json deleted file mode 100644 index b19dc313..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "26aad6d3-4bee-42ad-8f2e-227945e24e47", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "d494d4b2-2e97-4470-97f8-f418dab78caf", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/8d743706-d864-4d22-a1b6-cca2f5ff081d" - }, - "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": "8d743706-d864-4d22-a1b6-cca2f5ff081d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cb9818da-30e0-4987-b589-3325d5be88b9", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "f206cbfc-553c-49c6-a0f7-25a786252bbe", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_f9c4ff65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/output.xml deleted file mode 100644 index 02788117..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="26aad6d3-4bee-42ad-8f2e-227945e24e47"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.525.73"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d494d4b2-2e97-4470-97f8-f418dab78caf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/8d743706-d864-4d22-a1b6-cca2f5ff081d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8d743706-d864-4d22-a1b6-cca2f5ff081d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="cb9818da-30e0-4987-b589-3325d5be88b9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="932596891"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0419) 301209056"/> - </telecom> - <telecom> - <system value="email"/> - <value value="soraya.rau@kron.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Erich-Heckel-Str. 25c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="25c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Erich-Heckel-Str."/> - </extension> - </line> - <city value="Bergerscheid"/> - <postalCode value="64326"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f206cbfc-553c-49c6-a0f7-25a786252bbe"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="411539329"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65/output.json new file mode 100644 index 00000000..d0baf316 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "35d7865d-f9c7-4f36-9f78-5e066dfdcaea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a0e1408a-641a-4b9a-8bd4-81f47c4c8963", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d0116cfe-42a0-4c1a-a42e-071b7efa121f" + }, + "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": "d0116cfe-42a0-4c1a-a42e-071b7efa121f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a510a020-3227-4076-81af-2c8c2a9f5c8b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "78f5f725-7eee-4719-a754-69f2fee84707", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f9c4ff65_f9c4ff65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65/output.xml new file mode 100644 index 00000000..c265b07f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd_f9c4ff65_f9c4ff65/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="35d7865d-f9c7-4f36-9f78-5e066dfdcaea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.525.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a0e1408a-641a-4b9a-8bd4-81f47c4c8963"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d0116cfe-42a0-4c1a-a42e-071b7efa121f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d0116cfe-42a0-4c1a-a42e-071b7efa121f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a510a020-3227-4076-81af-2c8c2a9f5c8b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="932596891"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0419) 301209056"/> + </telecom> + <telecom> + <system value="email"/> + <value value="soraya.rau@kron.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Erich-Heckel-Str. 25c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="25c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Erich-Heckel-Str."/> + </extension> + </line> + <city value="Bergerscheid"/> + <postalCode value="64326"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="78f5f725-7eee-4719-a754-69f2fee84707"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="411539329"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.json index 8ef9c872..904799fd 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ae39d3e0-2bd0-4dab-83c4-3186bebe0a74", + "id": "01dcc5b0-3814-4531-9b00-85363df79411", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "ba9d36e4-0e64-4f90-ad73-312c3add9737", + "id": "947f422b-c2b1-452a-8c74-b62231772419", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/32c2f707-fa6a-42b6-bee9-cfa9a7f3da6d" + "reference": "Medication/85a4c16c-850d-4212-98fd-a1cd4963c22d" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "32c2f707-fa6a-42b6-bee9-cfa9a7f3da6d", + "id": "85a4c16c-850d-4212-98fd-a1cd4963c22d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "9eabbfec-858c-4bf8-8fe0-8d818dc1b9d1", + "id": "183082d0-3259-4615-8866-4f75ce834ff6", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "96cb6133-c6b2-4561-9a7d-b382e8acdc41", + "id": "2d4ce3ec-67a2-4be5-951a-a3c91d970d78", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.xml index 52e65940..6a42696d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="ae39d3e0-2bd0-4dab-83c4-3186bebe0a74"/> + <id value="01dcc5b0-3814-4531-9b00-85363df79411"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ba9d36e4-0e64-4f90-ad73-312c3add9737"/> + <id value="947f422b-c2b1-452a-8c74-b62231772419"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/32c2f707-fa6a-42b6-bee9-cfa9a7f3da6d"/> + <reference value="Medication/85a4c16c-850d-4212-98fd-a1cd4963c22d"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="32c2f707-fa6a-42b6-bee9-cfa9a7f3da6d"/> + <id value="85a4c16c-850d-4212-98fd-a1cd4963c22d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="9eabbfec-858c-4bf8-8fe0-8d818dc1b9d1"/> + <id value="183082d0-3259-4615-8866-4f75ce834ff6"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="96cb6133-c6b2-4561-9a7d-b382e8acdc41"/> + <id value="2d4ce3ec-67a2-4be5-951a-a3c91d970d78"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0_a39897e0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0_a39897e0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0_a39897e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0_a39897e0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0_a39897e0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0_a39897e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0_a39897e0/output.json new file mode 100644 index 00000000..5d0f4885 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0_a39897e0/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "dcebbab9-6cd5-48d4-aaf5-e5763026dc56", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d2684afc-a67d-4b07-abc3-9c0c82f511ff", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b7de93c5-c65e-491f-bb57-efa96c34018a" + }, + "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": "b7de93c5-c65e-491f-bb57-efa96c34018a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c54b5ec8-31a9-40f4-8c73-fb6590fe3006", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "17a79562-38e1-448a-9661-2ad49f73cda1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a39897e0_a39897e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0_a39897e0/output.xml new file mode 100644 index 00000000..ba4f29ba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a39897e0_a39897e0/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dcebbab9-6cd5-48d4-aaf5-e5763026dc56"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.686.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d2684afc-a67d-4b07-abc3-9c0c82f511ff"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b7de93c5-c65e-491f-bb57-efa96c34018a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b7de93c5-c65e-491f-bb57-efa96c34018a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06427082"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c54b5ec8-31a9-40f4-8c73-fb6590fe3006"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="487238495"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0631) 347228164"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kian.franta@riermeier.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Auerweg 65"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="65"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auerweg"/> + </extension> + </line> + <city value="Schön Leandra"/> + <postalCode value="55353"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="17a79562-38e1-448a-9661-2ad49f73cda1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="550442587"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.json index eb82ed59..aeb85769 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "7b7bb238-0205-44c9-8f13-e1f503633642", + "id": "9371527a-3b1f-4cac-b2b4-8a821c79dc84", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "12cc7555-2aca-4689-8492-6cfbbad2691e", + "id": "794d918b-abf1-48a7-858e-365432d982d3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/1d120930-4872-440c-abaf-b61379dd6305" + "reference": "Medication/02d93c97-f6a6-42bc-bd60-77f5af746460" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "1d120930-4872-440c-abaf-b61379dd6305", + "id": "02d93c97-f6a6-42bc-bd60-77f5af746460", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "2164f41b-eb7d-48b0-8390-289484d7bc07", + "id": "7d6d41b1-0160-4a7f-aba8-41f99f8c1917", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "38eb5d6c-d44c-48f7-b59a-87843840db58", + "id": "bac30766-dad1-46be-bdb3-600f371955a0", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.xml index fa4942d1..f70b6015 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="7b7bb238-0205-44c9-8f13-e1f503633642"/> + <id value="9371527a-3b1f-4cac-b2b4-8a821c79dc84"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="12cc7555-2aca-4689-8492-6cfbbad2691e"/> + <id value="794d918b-abf1-48a7-858e-365432d982d3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/1d120930-4872-440c-abaf-b61379dd6305"/> + <reference value="Medication/02d93c97-f6a6-42bc-bd60-77f5af746460"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="1d120930-4872-440c-abaf-b61379dd6305"/> + <id value="02d93c97-f6a6-42bc-bd60-77f5af746460"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="2164f41b-eb7d-48b0-8390-289484d7bc07"/> + <id value="7d6d41b1-0160-4a7f-aba8-41f99f8c1917"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="38eb5d6c-d44c-48f7-b59a-87843840db58"/> + <id value="bac30766-dad1-46be-bdb3-600f371955a0"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/input.xml new file mode 100644 index 00000000..ad9a3250 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="a3c77b03-d043-4163-acb2-750ce46faac9"/> + <meta> + <lastUpdated value="2024-02-08T19:03:03.515+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.752.19"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:03:03.515+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/32f11423-62fd-4584-a3ec-ecb1d8b3afc7"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="32f11423-62fd-4584-a3ec-ecb1d8b3afc7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/a1fa83d4-aea7-4f5f-8199-28fd5548336b"/> + </subject> + <date value="2024-02-08T19:03:03+01:00"/> + <author> + <reference value="Practitioner/878fe6f2-7fc3-429f-9a58-1064c660ce59"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/4bdf4b4f-11b6-46ea-8b6a-aefcd546bf4b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/b8eb37c9-cb63-46b2-9d2e-ae09496fee23"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/a9146dcc-975d-434d-8d5e-d88e1f8fd5d2"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/80dcfd04-c4d9-4c31-bc4a-08253d86f10f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="80dcfd04-c4d9-4c31-bc4a-08253d86f10f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/a1fa83d4-aea7-4f5f-8199-28fd5548336b"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="a1fa83d4-aea7-4f5f-8199-28fd5548336b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1983-07-24"/> + <address> + <type value="both"/> + <line value="Am Mönchshof 4"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="4"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Mönchshof"/> + </extension> + </line> + <city value="Klein Henrickscheid"/> + <postalCode value="13559"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/4bdf4b4f-11b6-46ea-8b6a-aefcd546bf4b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4bdf4b4f-11b6-46ea-8b6a-aefcd546bf4b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="712972127"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(07022) 9438121"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jeremy.benninger@riekmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Cranachstr. 392"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="392"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Cranachstr."/> + </extension> + </line> + <city value="Bussestadt"/> + <postalCode value="00355"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/b8eb37c9-cb63-46b2-9d2e-ae09496fee23"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="b8eb37c9-cb63-46b2-9d2e-ae09496fee23"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="93"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/081ac686-e33b-448a-9a84-103f26d15b0c"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="106492393"/> + </identifier> + <display value="pronova BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/878fe6f2-7fc3-429f-9a58-1064c660ce59"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="878fe6f2-7fc3-429f-9a58-1064c660ce59"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="379988496"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/a9146dcc-975d-434d-8d5e-d88e1f8fd5d2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a9146dcc-975d-434d-8d5e-d88e1f8fd5d2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/80dcfd04-c4d9-4c31-bc4a-08253d86f10f"/> + </medicationReference> + <subject> + <reference value="Patient/a1fa83d4-aea7-4f5f-8199-28fd5548336b"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/878fe6f2-7fc3-429f-9a58-1064c660ce59"/> + </requester> + <insurance> + <reference value="Coverage/b8eb37c9-cb63-46b2-9d2e-ae09496fee23"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/output.json new file mode 100644 index 00000000..f82a3031 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "8c7c3455-957e-4250-9bcc-90ec060877c2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3d07f5d3-b268-4597-96c2-5108e144d1ce", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3fb78272-dc97-450c-838a-e0bf07cbbe07" + }, + "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": "3fb78272-dc97-450c-838a-e0bf07cbbe07", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6dc9ba42-3fe0-4f6d-b829-1944db911db6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "310fe822-139c-4009-8717-e7d47e019857", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a3c77b03_a3c77b03/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/output.xml new file mode 100644 index 00000000..e94177dd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a3c77b03_a3c77b03/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8c7c3455-957e-4250-9bcc-90ec060877c2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.752.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3d07f5d3-b268-4597-96c2-5108e144d1ce"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3fb78272-dc97-450c-838a-e0bf07cbbe07"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3fb78272-dc97-450c-838a-e0bf07cbbe07"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6dc9ba42-3fe0-4f6d-b829-1944db911db6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="712972127"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(07022) 9438121"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jeremy.benninger@riekmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Cranachstr. 392"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="392"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Cranachstr."/> + </extension> + </line> + <city value="Bussestadt"/> + <postalCode value="00355"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="310fe822-139c-4009-8717-e7d47e019857"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="379988496"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/output.json deleted file mode 100644 index 891eee1f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "ea74b100-bbfe-4aa5-9516-8f7c01c7d244", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "12832ddf-2d62-4b53-bcdf-2d75c6edf602", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/63e561e4-698e-4d4c-8943-458335b16778" - }, - "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": "63e561e4-698e-4d4c-8943-458335b16778", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c4b81df2-b805-46f5-893e-3b493f2d4b6b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "0f519001-5b60-4831-9039-33b883b8e360", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_230dc009/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/output.xml deleted file mode 100644 index 35490201..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ea74b100-bbfe-4aa5-9516-8f7c01c7d244"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.555.80"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="12832ddf-2d62-4b53-bcdf-2d75c6edf602"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/63e561e4-698e-4d4c-8943-458335b16778"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="63e561e4-698e-4d4c-8943-458335b16778"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c4b81df2-b805-46f5-893e-3b493f2d4b6b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="496255531"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-197-7069529"/> - </telecom> - <telecom> - <system value="email"/> - <value value="tara.pollmächer@xn--dck-hoa.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Augustastr. 27"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="27"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Augustastr."/> - </extension> - </line> - <city value="Logandorf"/> - <postalCode value="84236"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="0f519001-5b60-4831-9039-33b883b8e360"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="368352769"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/input.xml new file mode 100644 index 00000000..68987e4e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="230dc009-fe73-47bb-9d19-5e48449a4ba8"/> + <meta> + <lastUpdated value="2024-02-08T19:20:49.645+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.555.80"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:20:49.645+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/5b8c7a2b-2049-4b65-ac8b-a5f5559e99af"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5b8c7a2b-2049-4b65-ac8b-a5f5559e99af"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/f9667017-39e2-4062-8ce4-6429bbf68383"/> + </subject> + <date value="2024-02-08T19:20:49+01:00"/> + <author> + <reference value="Practitioner/394ca825-9f44-4784-898b-78f5e58689ed"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d45562ec-94e2-40ab-8156-c95bbc8f2030"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/2299b7ad-e1f9-41b6-b2cc-b1d0830a8b7f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/61191280-da3e-4342-bee9-429aa47cb42c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/e0761a89-bb4d-44f8-bef8-a8eec7122c5a"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e0761a89-bb4d-44f8-bef8-a8eec7122c5a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/f9667017-39e2-4062-8ce4-6429bbf68383"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="f9667017-39e2-4062-8ce4-6429bbf68383"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1980-04-02"/> + <address> + <type value="both"/> + <line value="Am Märchen 36"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="36"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Märchen"/> + </extension> + </line> + <city value="Bad Summer"/> + <postalCode value="15359"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/d45562ec-94e2-40ab-8156-c95bbc8f2030"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d45562ec-94e2-40ab-8156-c95bbc8f2030"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="496255531"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-197-7069529"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tara.pollmächer@xn--dck-hoa.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Augustastr. 27"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Augustastr."/> + </extension> + </line> + <city value="Logandorf"/> + <postalCode value="84236"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/2299b7ad-e1f9-41b6-b2cc-b1d0830a8b7f"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="2299b7ad-e1f9-41b6-b2cc-b1d0830a8b7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/85433d36-dc26-4eac-8c27-87c845e2c1be"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140437"/> + </identifier> + <display value="HALLESCHE"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/394ca825-9f44-4784-898b-78f5e58689ed"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="394ca825-9f44-4784-898b-78f5e58689ed"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="368352769"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/61191280-da3e-4342-bee9-429aa47cb42c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="61191280-da3e-4342-bee9-429aa47cb42c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/e0761a89-bb4d-44f8-bef8-a8eec7122c5a"/> + </medicationReference> + <subject> + <reference value="Patient/f9667017-39e2-4062-8ce4-6429bbf68383"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/394ca825-9f44-4784-898b-78f5e58689ed"/> + </requester> + <insurance> + <reference value="Coverage/2299b7ad-e1f9-41b6-b2cc-b1d0830a8b7f"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/output.json new file mode 100644 index 00000000..94ed8e5a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "71297e30-7dcf-4d7a-95f6-16f9ecfdf966", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e8115c94-b3c4-4e54-8b3e-60491ff8468f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8144347a-369c-475f-90db-99155b1c8e40" + }, + "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": "8144347a-369c-475f-90db-99155b1c8e40", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f5a5db14-01dd-4209-885b-292e451dc06b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "894f1f75-3d19-4de8-a9df-11e9521a204b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_230dc009_230dc009/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/output.xml new file mode 100644 index 00000000..2da0212f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd_230dc009_230dc009/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="71297e30-7dcf-4d7a-95f6-16f9ecfdf966"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.555.80"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e8115c94-b3c4-4e54-8b3e-60491ff8468f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8144347a-369c-475f-90db-99155b1c8e40"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8144347a-369c-475f-90db-99155b1c8e40"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f5a5db14-01dd-4209-885b-292e451dc06b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="496255531"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-197-7069529"/> + </telecom> + <telecom> + <system value="email"/> + <value value="tara.pollmächer@xn--dck-hoa.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Augustastr. 27"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Augustastr."/> + </extension> + </line> + <city value="Logandorf"/> + <postalCode value="84236"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="894f1f75-3d19-4de8-a9df-11e9521a204b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="368352769"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.json index f8c911e3..f9b4ad2e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "a5d079d0-2c0a-4ef5-bed9-2433272747bf", + "id": "b84d924c-d91e-47e8-820a-00361be40741", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "37fc0c5c-5859-478d-a41f-69635866cf7b", + "id": "6fadf00f-47c2-42ca-b986-7e448dd8d723", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/d118c472-d5dc-493d-8b8d-2ffaeb07a0ef" + "reference": "Medication/a6a2b69f-1624-43eb-9025-d770a3b8d7d5" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "d118c472-d5dc-493d-8b8d-2ffaeb07a0ef", + "id": "a6a2b69f-1624-43eb-9025-d770a3b8d7d5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "322af811-727d-4508-91c7-63f3571b946c", + "id": "32063966-0d34-4f56-8233-863b120f389e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "1329bf6d-4fdf-4279-bf05-8cff4d0ad3d6", + "id": "56c51f59-43b9-461e-8731-e2f641453189", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.xml index 9ec49405..1eb1c27d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="a5d079d0-2c0a-4ef5-bed9-2433272747bf"/> + <id value="b84d924c-d91e-47e8-820a-00361be40741"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="37fc0c5c-5859-478d-a41f-69635866cf7b"/> + <id value="6fadf00f-47c2-42ca-b986-7e448dd8d723"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/d118c472-d5dc-493d-8b8d-2ffaeb07a0ef"/> + <reference value="Medication/a6a2b69f-1624-43eb-9025-d770a3b8d7d5"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="d118c472-d5dc-493d-8b8d-2ffaeb07a0ef"/> + <id value="a6a2b69f-1624-43eb-9025-d770a3b8d7d5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="322af811-727d-4508-91c7-63f3571b946c"/> + <id value="32063966-0d34-4f56-8233-863b120f389e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1329bf6d-4fdf-4279-bf05-8cff4d0ad3d6"/> + <id value="56c51f59-43b9-461e-8731-e2f641453189"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e_ab9f6a4e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e_ab9f6a4e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e_ab9f6a4e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e_ab9f6a4e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e_ab9f6a4e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e_ab9f6a4e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e_ab9f6a4e/output.json new file mode 100644 index 00000000..82790c94 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e_ab9f6a4e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "0b194cfb-6fae-4656-b4eb-e0ade55e3b6f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8391a015-3fa3-4fad-b627-3a3a93d278fe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a227b1cf-f861-457c-9b8a-1a1aa6268f2b" + }, + "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": "a227b1cf-f861-457c-9b8a-1a1aa6268f2b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "212052ec-2b34-469b-820f-04b2ecc38c63", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d94fd505-2454-439e-8184-02a43dd10f4e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ab9f6a4e_ab9f6a4e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e_ab9f6a4e/output.xml new file mode 100644 index 00000000..ff2579ff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ab9f6a4e_ab9f6a4e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0b194cfb-6fae-4656-b4eb-e0ade55e3b6f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.744.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8391a015-3fa3-4fad-b627-3a3a93d278fe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a227b1cf-f861-457c-9b8a-1a1aa6268f2b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a227b1cf-f861-457c-9b8a-1a1aa6268f2b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="212052ec-2b34-469b-820f-04b2ecc38c63"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="883968316"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-074-9317125"/> + </telecom> + <telecom> + <system value="email"/> + <value value="amira.sauer@werrmann.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Wingchen-Str. 63"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="63"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Wingchen-Str."/> + </extension> + </line> + <city value="Nikescheid"/> + <postalCode value="34828"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d94fd505-2454-439e-8184-02a43dd10f4e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="225840686"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.json index 4819dc07..a5c26bed 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "fc0f2a50-a3f4-46b8-9130-01719cb031be", + "id": "2e546af6-9ed4-41f6-9321-adaa29ee1df9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "ef41117e-f8c4-4ba4-9cca-ceef0c5c056f", + "id": "c5ee9382-f16a-40a4-9a63-78ad7be7b729", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/d93aa7ca-77ae-4a5a-820f-a201a2eb4c4f" + "reference": "Medication/b71c35af-5d4e-4c1a-8333-f9f1d2655bad" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "d93aa7ca-77ae-4a5a-820f-a201a2eb4c4f", + "id": "b71c35af-5d4e-4c1a-8333-f9f1d2655bad", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "68947cb5-5bb6-42da-89fd-8b99deec0f77", + "id": "f17053de-ea17-4791-826f-96ff474565b7", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "afb39248-9aa4-4c4a-bd3e-1e051da30584", + "id": "d25834cb-1190-4b72-84a5-ad23a274ca4d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.xml index ccd4ba58..8da7df0a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="fc0f2a50-a3f4-46b8-9130-01719cb031be"/> + <id value="2e546af6-9ed4-41f6-9321-adaa29ee1df9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ef41117e-f8c4-4ba4-9cca-ceef0c5c056f"/> + <id value="c5ee9382-f16a-40a4-9a63-78ad7be7b729"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/d93aa7ca-77ae-4a5a-820f-a201a2eb4c4f"/> + <reference value="Medication/b71c35af-5d4e-4c1a-8333-f9f1d2655bad"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="d93aa7ca-77ae-4a5a-820f-a201a2eb4c4f"/> + <id value="b71c35af-5d4e-4c1a-8333-f9f1d2655bad"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="68947cb5-5bb6-42da-89fd-8b99deec0f77"/> + <id value="f17053de-ea17-4791-826f-96ff474565b7"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="afb39248-9aa4-4c4a-bd3e-1e051da30584"/> + <id value="d25834cb-1190-4b72-84a5-ad23a274ca4d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294_ad686294/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294_ad686294/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294_ad686294/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294_ad686294/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294_ad686294/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294_ad686294/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294_ad686294/output.json new file mode 100644 index 00000000..f2495244 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294_ad686294/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "faf479e0-2639-4072-ab64-f0f97f62a4b4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1ea3aaea-ad4b-41a0-9bfb-ba3f72da1da7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7337a471-335d-4ca6-abf3-8f2f228fd767" + }, + "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": "7337a471-335d-4ca6-abf3-8f2f228fd767", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fc046081-4d6e-4e5c-a1b0-d9b4da090d3f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2729761a-927b-449a-8f32-b52c7662ff81", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ad686294_ad686294/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294_ad686294/output.xml new file mode 100644 index 00000000..15ae983a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad686294_ad686294/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="faf479e0-2639-4072-ab64-f0f97f62a4b4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.769.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1ea3aaea-ad4b-41a0-9bfb-ba3f72da1da7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7337a471-335d-4ca6-abf3-8f2f228fd767"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7337a471-335d-4ca6-abf3-8f2f228fd767"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fc046081-4d6e-4e5c-a1b0-d9b4da090d3f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="555846595"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0267) 478020260"/> + </telecom> + <telecom> + <system value="email"/> + <value value="emre.bauschinger@kette.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Ulrichstr. 29c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ulrichstr."/> + </extension> + </line> + <city value="Klein Lilli"/> + <postalCode value="13664"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2729761a-927b-449a-8f32-b52c7662ff81"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="776481826"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/output.json deleted file mode 100644 index 21e5413c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "37829973-e6ba-413b-ab08-8d853b6e624d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "5fd4cf31-42db-4558-980e-48e0cad07950", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/476bd983-5362-41f2-8eda-e4d3a44b5575" - }, - "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": "476bd983-5362-41f2-8eda-e4d3a44b5575", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d355c807-613c-482d-a553-7f1e8fa25447", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "2fdc0a3b-dda7-4456-8f54-1a636de9e7d5", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_c7ac3a7c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/output.xml deleted file mode 100644 index 95025180..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="37829973-e6ba-413b-ab08-8d853b6e624d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.556.77"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5fd4cf31-42db-4558-980e-48e0cad07950"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/476bd983-5362-41f2-8eda-e4d3a44b5575"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="476bd983-5362-41f2-8eda-e4d3a44b5575"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="60453038"/> - </coding> - <text value="Becameat"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d355c807-613c-482d-a553-7f1e8fa25447"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="604808395"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0884) 756294235"/> - </telecom> - <telecom> - <system value="email"/> - <value value="elina.dilla@hansen.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Ahrstr. 27c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="27c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Ahrstr."/> - </extension> - </line> - <city value="Baranscheid"/> - <postalCode value="59779"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2fdc0a3b-dda7-4456-8f54-1a636de9e7d5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="177086960"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c/output.json new file mode 100644 index 00000000..c03c0502 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "3fe123ed-b035-4991-8bb1-43451f0e1bd8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fd01e657-d6b7-4716-b208-059140d40de7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/caec4c7e-0b0e-4d2a-89fd-07e71e51ba18" + }, + "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": "caec4c7e-0b0e-4d2a-89fd-07e71e51ba18", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7d4c1c5e-cef3-4157-a961-92bec06f968b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5b901217-083d-432f-a0cb-2360f7042d1d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c7ac3a7c_c7ac3a7c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c/output.xml new file mode 100644 index 00000000..b9cdb713 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1_c7ac3a7c_c7ac3a7c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3fe123ed-b035-4991-8bb1-43451f0e1bd8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.556.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fd01e657-d6b7-4716-b208-059140d40de7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/caec4c7e-0b0e-4d2a-89fd-07e71e51ba18"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="caec4c7e-0b0e-4d2a-89fd-07e71e51ba18"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60453038"/> + </coding> + <text value="Becameat"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7d4c1c5e-cef3-4157-a961-92bec06f968b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="604808395"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0884) 756294235"/> + </telecom> + <telecom> + <system value="email"/> + <value value="elina.dilla@hansen.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Ahrstr. 27c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ahrstr."/> + </extension> + </line> + <city value="Baranscheid"/> + <postalCode value="59779"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5b901217-083d-432f-a0cb-2360f7042d1d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="177086960"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/output.json deleted file mode 100644 index 880ce1c7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/output.json +++ /dev/null @@ -1,234 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "c54a5900-b758-451d-8735-9561dcd72515", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "bb2e7762-c89b-4026-ba8e-bd365f3e0ac5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/76dc59d0-47f7-4aa3-9082-f5d7b643b8e7" - }, - "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": "76dc59d0-47f7-4aa3-9082-f5d7b643b8e7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5db6fbaa-1b49-49ac-972e-7bd9edff801b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "b02323d1-b2ea-4206-b792-befdf08de038", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_e6706910/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/output.xml deleted file mode 100644 index 4594129d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/output.xml +++ /dev/null @@ -1,237 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c54a5900-b758-451d-8735-9561dcd72515"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.784.20"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="bb2e7762-c89b-4026-ba8e-bd365f3e0ac5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-02-08"/> - <end value="2024-05-08"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:2f86b77d-8e11-42ac-89fe-5a1d39775378"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/76dc59d0-47f7-4aa3-9082-f5d7b643b8e7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="76dc59d0-47f7-4aa3-9082-f5d7b643b8e7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="42938335"/> - </coding> - <text value="Fexvomilzol"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5db6fbaa-1b49-49ac-972e-7bd9edff801b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="839368350"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-7222-51775715"/> - </telecom> - <telecom> - <system value="email"/> - <value value="josie.malkus@jaros.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Pfarrer-Jekel-Str. 47a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="47a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Pfarrer-Jekel-Str."/> - </extension> - </line> - <city value="Klein Kimberlystadt"/> - <postalCode value="17592"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b02323d1-b2ea-4206-b792-befdf08de038"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="792402920"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910_e6706910/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910_e6706910/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910_e6706910/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910_e6706910/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910_e6706910/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910_e6706910/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910_e6706910/output.json new file mode 100644 index 00000000..11a427c1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910_e6706910/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "5987d4d4-76f9-4093-964a-f3fce3b2363f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2cbe0b8d-4af1-4ef8-829e-30d88f704334", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/9584689a-fc36-41fc-a63b-19fafea24d93" + }, + "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": "9584689a-fc36-41fc-a63b-19fafea24d93", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "08f1557a-ec7d-4bf0-9b74-80e3f8eaeb33", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ed1b3daf-1aba-4431-8407-0b9f14040362", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e6706910_e6706910/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910_e6706910/output.xml new file mode 100644 index 00000000..90627d9a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd_e6706910_e6706910/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5987d4d4-76f9-4093-964a-f3fce3b2363f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.784.20"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2cbe0b8d-4af1-4ef8-829e-30d88f704334"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-02-08"/> + <end value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:2f86b77d-8e11-42ac-89fe-5a1d39775378"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9584689a-fc36-41fc-a63b-19fafea24d93"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9584689a-fc36-41fc-a63b-19fafea24d93"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="42938335"/> + </coding> + <text value="Fexvomilzol"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="08f1557a-ec7d-4bf0-9b74-80e3f8eaeb33"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="839368350"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7222-51775715"/> + </telecom> + <telecom> + <system value="email"/> + <value value="josie.malkus@jaros.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Pfarrer-Jekel-Str. 47a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="47a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pfarrer-Jekel-Str."/> + </extension> + </line> + <city value="Klein Kimberlystadt"/> + <postalCode value="17592"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ed1b3daf-1aba-4431-8407-0b9f14040362"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="792402920"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.json index 1efb6131..d6a5a12d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "fb2137c4-e633-487c-aa04-ea80e310b29b", + "id": "5429d737-6504-48aa-92cb-fd331ced5109", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "c1767de9-d623-414a-970c-4b16227f5d5d", + "id": "4bbdcdd0-6c02-43be-902e-226e7ed58c06", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/e731bb7b-4b76-449e-909d-7df29eaddd42" + "reference": "Medication/317fba6f-e207-4c50-a2ef-29c73121ee97" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "e731bb7b-4b76-449e-909d-7df29eaddd42", + "id": "317fba6f-e207-4c50-a2ef-29c73121ee97", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "606ea985-84c4-4e6f-9de2-d1e6d10244ae", + "id": "4d9064f7-e11d-4ede-bbb1-15e598126530", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "f1e97ce6-c033-4171-bc41-da8b968fbb2d", + "id": "df81941f-5e7e-49d7-b34d-8f2f882cd9ec", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.xml index a07a7696..315cdc0e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="fb2137c4-e633-487c-aa04-ea80e310b29b"/> + <id value="5429d737-6504-48aa-92cb-fd331ced5109"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c1767de9-d623-414a-970c-4b16227f5d5d"/> + <id value="4bbdcdd0-6c02-43be-902e-226e7ed58c06"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/e731bb7b-4b76-449e-909d-7df29eaddd42"/> + <reference value="Medication/317fba6f-e207-4c50-a2ef-29c73121ee97"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="e731bb7b-4b76-449e-909d-7df29eaddd42"/> + <id value="317fba6f-e207-4c50-a2ef-29c73121ee97"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="606ea985-84c4-4e6f-9de2-d1e6d10244ae"/> + <id value="4d9064f7-e11d-4ede-bbb1-15e598126530"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f1e97ce6-c033-4171-bc41-da8b968fbb2d"/> + <id value="df81941f-5e7e-49d7-b34d-8f2f882cd9ec"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c_b0589d4c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c_b0589d4c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c_b0589d4c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c_b0589d4c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c_b0589d4c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c_b0589d4c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c_b0589d4c/output.json new file mode 100644 index 00000000..80603f04 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c_b0589d4c/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "039864ef-35c5-41a1-9cf3-28001251bff2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d1906310-03cd-4669-be87-ac416fdb8657", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fd220df8-84dc-4aba-9482-32532789c343" + }, + "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": "fd220df8-84dc-4aba-9482-32532789c343", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a4bd6203-d7d8-4ebe-ba91-5d372622ad2a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2b696737-259d-4ff9-989d-0f0e09f9ddf4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b0589d4c_b0589d4c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c_b0589d4c/output.xml new file mode 100644 index 00000000..4af30595 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0589d4c_b0589d4c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="039864ef-35c5-41a1-9cf3-28001251bff2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.695.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d1906310-03cd-4669-be87-ac416fdb8657"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fd220df8-84dc-4aba-9482-32532789c343"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fd220df8-84dc-4aba-9482-32532789c343"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="14659553"/> + </coding> + <text value="Abaamisäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a4bd6203-d7d8-4ebe-ba91-5d372622ad2a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="461121725"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0442) 721610987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jason.schaffarzik@auer.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Lötzener Str. 44b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="44b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lötzener Str."/> + </extension> + </line> + <city value="West Juandorf"/> + <postalCode value="54462"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2b696737-259d-4ff9-989d-0f0e09f9ddf4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="706769059"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.json index dbe1c3c7..6f111f6b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "f9abbaf2-44bf-49e2-aa31-e74dc5d9a3b4", + "id": "7d2afd80-bb90-46bc-8bfd-c742e265681b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "3ef1e166-b901-40b9-a98b-9075bebdbdf7", + "id": "f9c9606a-17c0-458e-aac5-44fc3fd88875", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/3efbf75d-0c14-47b2-a4db-620c7014fed8" + "reference": "Medication/f8661d91-b717-41f7-b2ee-06867b8f863d" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "3efbf75d-0c14-47b2-a4db-620c7014fed8", + "id": "f8661d91-b717-41f7-b2ee-06867b8f863d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "1c991952-eeba-4be2-a518-f0bf7655f144", + "id": "d5e04e8d-1277-4893-b41d-88cd2ca4f567", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "052026c2-b0bb-4dee-b46a-f6150a7dae89", + "id": "62999560-7b45-469f-9bd5-a307abdb9277", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.xml index 20ddbac8..de07fd4f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="f9abbaf2-44bf-49e2-aa31-e74dc5d9a3b4"/> + <id value="7d2afd80-bb90-46bc-8bfd-c742e265681b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3ef1e166-b901-40b9-a98b-9075bebdbdf7"/> + <id value="f9c9606a-17c0-458e-aac5-44fc3fd88875"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/3efbf75d-0c14-47b2-a4db-620c7014fed8"/> + <reference value="Medication/f8661d91-b717-41f7-b2ee-06867b8f863d"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="3efbf75d-0c14-47b2-a4db-620c7014fed8"/> + <id value="f8661d91-b717-41f7-b2ee-06867b8f863d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="1c991952-eeba-4be2-a518-f0bf7655f144"/> + <id value="d5e04e8d-1277-4893-b41d-88cd2ca4f567"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="052026c2-b0bb-4dee-b46a-f6150a7dae89"/> + <id value="62999560-7b45-469f-9bd5-a307abdb9277"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/input.xml new file mode 100644 index 00000000..f4b5d26f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="b0ce4ff1-1a81-4fea-a4d6-a2d4f774e8bd"/> + <meta> + <lastUpdated value="2024-02-08T19:02:41.455+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.750.25"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:02:41.455+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/28755ed9-1cab-49f1-92a0-df59f742534d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="28755ed9-1cab-49f1-92a0-df59f742534d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/2e7d06ca-9c30-46d5-8f4d-ed2565ad4327"/> + </subject> + <date value="2024-02-08T19:02:41+01:00"/> + <author> + <reference value="Practitioner/7977636e-4164-4508-93ca-edc596e0876a"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/f7a24eaf-b7fe-4588-8939-2bd6059df89c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/455da02b-088e-4bd0-8c21-250f777f1287"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/a15a5474-c3c7-44d2-b66e-3e123e7c556d"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/aefc67b0-e72e-49a7-b9c3-efec9eedcb84"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="aefc67b0-e72e-49a7-b9c3-efec9eedcb84"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/2e7d06ca-9c30-46d5-8f4d-ed2565ad4327"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="2e7d06ca-9c30-46d5-8f4d-ed2565ad4327"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1960-09-11"/> + <address> + <type value="both"/> + <line value="Jägerstr. 844"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="844"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Jägerstr."/> + </extension> + </line> + <city value="Ost Sebastian"/> + <postalCode value="58868"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/f7a24eaf-b7fe-4588-8939-2bd6059df89c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f7a24eaf-b7fe-4588-8939-2bd6059df89c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="512348559"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-171-5912020"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johannes.baganz@ladewig.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Carstens-Ring 82"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="82"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Carstens-Ring"/> + </extension> + </line> + <city value="Abramovicstadt"/> + <postalCode value="17526"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/455da02b-088e-4bd0-8c21-250f777f1287"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="455da02b-088e-4bd0-8c21-250f777f1287"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="55"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/2c535b7f-c8fb-463a-8ea8-78b04f51341f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="105530126"/> + </identifier> + <display value="BKK Werra‐Meissner"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/7977636e-4164-4508-93ca-edc596e0876a"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7977636e-4164-4508-93ca-edc596e0876a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="051629877"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/a15a5474-c3c7-44d2-b66e-3e123e7c556d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a15a5474-c3c7-44d2-b66e-3e123e7c556d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/aefc67b0-e72e-49a7-b9c3-efec9eedcb84"/> + </medicationReference> + <subject> + <reference value="Patient/2e7d06ca-9c30-46d5-8f4d-ed2565ad4327"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/7977636e-4164-4508-93ca-edc596e0876a"/> + </requester> + <insurance> + <reference value="Coverage/455da02b-088e-4bd0-8c21-250f777f1287"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/output.json new file mode 100644 index 00000000..1d84ca03 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "f861db2f-eb26-4511-8791-d3491eb95a47", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a43e209f-8514-4f2e-9022-b5d7cf890dc2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c6aeacec-f532-40b7-9fa1-69149069e615" + }, + "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": "c6aeacec-f532-40b7-9fa1-69149069e615", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f0be79ca-c8dd-48fe-85f3-008c6fb8c4c2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a40cb70c-c568-44c5-aa95-fe26bca7ea3b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b0ce4ff1_b0ce4ff1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/output.xml new file mode 100644 index 00000000..b60a610a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b0ce4ff1_b0ce4ff1/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f861db2f-eb26-4511-8791-d3491eb95a47"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.750.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a43e209f-8514-4f2e-9022-b5d7cf890dc2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c6aeacec-f532-40b7-9fa1-69149069e615"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c6aeacec-f532-40b7-9fa1-69149069e615"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f0be79ca-c8dd-48fe-85f3-008c6fb8c4c2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="512348559"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-171-5912020"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johannes.baganz@ladewig.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Carstens-Ring 82"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="82"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Carstens-Ring"/> + </extension> + </line> + <city value="Abramovicstadt"/> + <postalCode value="17526"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a40cb70c-c568-44c5-aa95-fe26bca7ea3b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="051629877"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/output.json deleted file mode 100644 index 8746d3a6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "06731d87-9a5c-4352-95a3-55bedb471586", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "4f55eded-d7ba-43ed-aa5a-0a43ee167cc2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/6c46bcbe-ed5f-49b8-8bd6-03b2bdad8b2e" - }, - "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": "6c46bcbe-ed5f-49b8-8bd6-03b2bdad8b2e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d4af20c5-8fb8-4d68-b2d9-83ccde6f282a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "ba8e2f3b-3424-42c3-838f-3c06155caf44", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_35469770/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/output.xml deleted file mode 100644 index f7124c78..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="06731d87-9a5c-4352-95a3-55bedb471586"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.754.13"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4f55eded-d7ba-43ed-aa5a-0a43ee167cc2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/6c46bcbe-ed5f-49b8-8bd6-03b2bdad8b2e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6c46bcbe-ed5f-49b8-8bd6-03b2bdad8b2e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d4af20c5-8fb8-4d68-b2d9-83ccde6f282a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="469861049"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-868-7658755"/> - </telecom> - <telecom> - <system value="email"/> - <value value="milo.roggatz@kette.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Ilmstr. 86"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="86"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Ilmstr."/> - </extension> - </line> - <city value="Klein Jack"/> - <postalCode value="92689"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ba8e2f3b-3424-42c3-838f-3c06155caf44"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="793794444"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/input.xml new file mode 100644 index 00000000..f938fe39 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="35469770-91ff-4243-be92-4793ec42fe75"/> + <meta> + <lastUpdated value="2024-02-08T19:03:28.958+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.754.13"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:03:28.958+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/b42e377c-a3d5-4c8d-81ed-45e54bea1c2d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="b42e377c-a3d5-4c8d-81ed-45e54bea1c2d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/cb233a39-6063-4b43-ab3a-528014b09051"/> + </subject> + <date value="2024-02-08T19:03:28+01:00"/> + <author> + <reference value="Practitioner/f61eb898-d68c-4b10-9847-27fbdac9f716"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/39c25ee9-792c-4ab4-b78b-bea5d34c6d55"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/88451434-747f-49c1-bafe-b3147b0df1f7"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/890e4caa-0bff-47b0-9e09-e86ac39b10c2"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/f08c8016-26d3-4201-9212-b49cb346a0f7"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f08c8016-26d3-4201-9212-b49cb346a0f7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/cb233a39-6063-4b43-ab3a-528014b09051"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="cb233a39-6063-4b43-ab3a-528014b09051"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1963-04-06"/> + <address> + <type value="both"/> + <line value="Händelstr. 886"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="886"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Händelstr."/> + </extension> + </line> + <city value="Süd Jarnestadt"/> + <postalCode value="57898"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/39c25ee9-792c-4ab4-b78b-bea5d34c6d55"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="39c25ee9-792c-4ab4-b78b-bea5d34c6d55"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="469861049"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-868-7658755"/> + </telecom> + <telecom> + <system value="email"/> + <value value="milo.roggatz@kette.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Ilmstr. 86"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="86"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ilmstr."/> + </extension> + </line> + <city value="Klein Jack"/> + <postalCode value="92689"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/88451434-747f-49c1-bafe-b3147b0df1f7"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="88451434-747f-49c1-bafe-b3147b0df1f7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/717fe0aa-bada-4c15-9eab-1385fad69455"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="106432038"/> + </identifier> + <display value="BKK VITAL"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/f61eb898-d68c-4b10-9847-27fbdac9f716"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f61eb898-d68c-4b10-9847-27fbdac9f716"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="793794444"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/890e4caa-0bff-47b0-9e09-e86ac39b10c2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="890e4caa-0bff-47b0-9e09-e86ac39b10c2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/f08c8016-26d3-4201-9212-b49cb346a0f7"/> + </medicationReference> + <subject> + <reference value="Patient/cb233a39-6063-4b43-ab3a-528014b09051"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/f61eb898-d68c-4b10-9847-27fbdac9f716"/> + </requester> + <insurance> + <reference value="Coverage/88451434-747f-49c1-bafe-b3147b0df1f7"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/output.json new file mode 100644 index 00000000..6675d36a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "b2f1d1cd-96fb-401f-9e5d-14c6504f7f60", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "53d00a07-4d97-420d-8ff2-d3b28ed0a169", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/48a42640-6a29-41ab-bf7f-69cc9a5f6bc7" + }, + "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": "48a42640-6a29-41ab-bf7f-69cc9a5f6bc7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e5e1edf6-ae67-4cff-aa95-fd41015b4a56", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "11b990fe-1ce2-418b-a61c-bfd40a6b32b9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_35469770_35469770/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/output.xml new file mode 100644 index 00000000..5e1f3c71 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f_35469770_35469770/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b2f1d1cd-96fb-401f-9e5d-14c6504f7f60"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.754.13"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53d00a07-4d97-420d-8ff2-d3b28ed0a169"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/48a42640-6a29-41ab-bf7f-69cc9a5f6bc7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="48a42640-6a29-41ab-bf7f-69cc9a5f6bc7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e5e1edf6-ae67-4cff-aa95-fd41015b4a56"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="469861049"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-868-7658755"/> + </telecom> + <telecom> + <system value="email"/> + <value value="milo.roggatz@kette.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Ilmstr. 86"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="86"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ilmstr."/> + </extension> + </line> + <city value="Klein Jack"/> + <postalCode value="92689"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="11b990fe-1ce2-418b-a61c-bfd40a6b32b9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="793794444"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.json index e193f7ea..164b4492 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "bcf581ea-2c8b-4724-a909-40f91f272566", + "id": "4c0c217e-3395-4916-ae56-9b6bc34e9ca2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "23fd1e16-6e38-4818-bd1a-45bf39db36a5", + "id": "2a77c649-edee-4048-aad4-5bb350655f5a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/c9765e71-02c1-4dbd-8f03-14e3ea2785d8" + "reference": "Medication/63460f90-925f-4569-b7de-50e81685fc14" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "c9765e71-02c1-4dbd-8f03-14e3ea2785d8", + "id": "63460f90-925f-4569-b7de-50e81685fc14", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f94ed027-b29c-4014-9c47-6c5701d3ea43", + "id": "3123d01e-5683-4101-8e66-b357384e425b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "f9945aff-d564-4956-8398-97ea0eca3f66", + "id": "677cc3f4-bff5-489a-a123-5f76feda4ecd", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.xml index c4e9ba48..65b3d3d7 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="bcf581ea-2c8b-4724-a909-40f91f272566"/> + <id value="4c0c217e-3395-4916-ae56-9b6bc34e9ca2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="23fd1e16-6e38-4818-bd1a-45bf39db36a5"/> + <id value="2a77c649-edee-4048-aad4-5bb350655f5a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/c9765e71-02c1-4dbd-8f03-14e3ea2785d8"/> + <reference value="Medication/63460f90-925f-4569-b7de-50e81685fc14"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="c9765e71-02c1-4dbd-8f03-14e3ea2785d8"/> + <id value="63460f90-925f-4569-b7de-50e81685fc14"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f94ed027-b29c-4014-9c47-6c5701d3ea43"/> + <id value="3123d01e-5683-4101-8e66-b357384e425b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f9945aff-d564-4956-8398-97ea0eca3f66"/> + <id value="677cc3f4-bff5-489a-a123-5f76feda4ecd"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/input.xml new file mode 100644 index 00000000..42595c77 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="b4bf1696-8e3a-4cab-b08f-f54bea6ec8e5"/> + <meta> + <lastUpdated value="2024-02-08T19:22:15.368+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.033.000.19"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:22:15.368+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/67937ba1-3517-4254-91e3-f712f8670939"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="67937ba1-3517-4254-91e3-f712f8670939"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/c50e881c-543c-4d40-94f8-fcbeca3e1209"/> + </subject> + <date value="2024-02-08T19:22:15+01:00"/> + <author> + <reference value="Practitioner/7098d491-104d-41b2-88ba-47c8b726742e"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/61f02908-fa5a-4a22-b260-38df7e66e35e"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/028ccaa2-1cc3-4b6b-a17d-d85e0ba3088c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/ea671a1a-0514-454c-8fe9-5c730c9faaca"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/d321be67-767a-49d6-9882-55b76f937acb"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d321be67-767a-49d6-9882-55b76f937acb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27677334"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/c50e881c-543c-4d40-94f8-fcbeca3e1209"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="c50e881c-543c-4d40-94f8-fcbeca3e1209"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1986-01-12"/> + <address> + <type value="both"/> + <line value="Am Blauen Berg 92a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="92a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Blauen Berg"/> + </extension> + </line> + <city value="Neu Titushagen"/> + <postalCode value="06076"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/61f02908-fa5a-4a22-b260-38df7e66e35e"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="61f02908-fa5a-4a22-b260-38df7e66e35e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="476736714"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0048) 622241522"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ismael.riethmüller@brauer.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Kanalstr. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kanalstr."/> + </extension> + </line> + <city value="Griemburg"/> + <postalCode value="85414"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/028ccaa2-1cc3-4b6b-a17d-d85e0ba3088c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="028ccaa2-1cc3-4b6b-a17d-d85e0ba3088c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="83"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/285bcd76-1bde-40bd-b99a-7bf9b923d768"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140379"/> + </identifier> + <display value="Münchener Verein Versicherungsgruppe"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/7098d491-104d-41b2-88ba-47c8b726742e"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7098d491-104d-41b2-88ba-47c8b726742e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="874457048"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/ea671a1a-0514-454c-8fe9-5c730c9faaca"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ea671a1a-0514-454c-8fe9-5c730c9faaca"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/d321be67-767a-49d6-9882-55b76f937acb"/> + </medicationReference> + <subject> + <reference value="Patient/c50e881c-543c-4d40-94f8-fcbeca3e1209"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/7098d491-104d-41b2-88ba-47c8b726742e"/> + </requester> + <insurance> + <reference value="Coverage/028ccaa2-1cc3-4b6b-a17d-d85e0ba3088c"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/output.json new file mode 100644 index 00000000..9ac970d6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "60758004-d1d9-4eae-8ecf-cb17c371401e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "002da8bf-7c5f-4df5-975a-11d0c590025e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/669d7c66-19f6-41c5-bd55-2c865568686e" + }, + "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": "669d7c66-19f6-41c5-bd55-2c865568686e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6ff830b7-60ff-4a98-9c6f-79c248428d3c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3d704e57-66f6-4a47-bcf9-157ab5c430d9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b4bf1696_b4bf1696/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/output.xml new file mode 100644 index 00000000..fa0e9752 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b4bf1696_b4bf1696/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="60758004-d1d9-4eae-8ecf-cb17c371401e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.033.000.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="002da8bf-7c5f-4df5-975a-11d0c590025e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/669d7c66-19f6-41c5-bd55-2c865568686e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="669d7c66-19f6-41c5-bd55-2c865568686e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="27677334"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6ff830b7-60ff-4a98-9c6f-79c248428d3c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="476736714"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0048) 622241522"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ismael.riethmüller@brauer.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Kanalstr. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kanalstr."/> + </extension> + </line> + <city value="Griemburg"/> + <postalCode value="85414"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3d704e57-66f6-4a47-bcf9-157ab5c430d9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="874457048"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.json index 1a584492..2bc78eaa 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ca66824c-46c1-4d20-b5f9-01bb2abf45d3", + "id": "8eb01ae5-db8e-482e-bd53-aa5aca080dd1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "72ab2fc7-d2ce-4d2e-9c82-f29bed946176", + "id": "950fa8c9-da87-4d43-9bfa-4ed91a0a0bd3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/cc15e247-be5d-4e1f-9c92-bcc2316f41c8" + "reference": "Medication/ac9e12c2-0cd5-423c-a1da-6c4ab0ccee4f" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "cc15e247-be5d-4e1f-9c92-bcc2316f41c8", + "id": "ac9e12c2-0cd5-423c-a1da-6c4ab0ccee4f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "2d8bdff2-fed3-4107-a319-a1ef99ecbd14", + "id": "7a930733-916a-4fc5-abec-b1fdb4f1219c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "831ceea4-6eed-4ee0-8f2a-157b1fc115e2", + "id": "933ba107-81c9-4672-8655-39ce0a22807f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.xml index 8b1f4fae..5be3f92b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="ca66824c-46c1-4d20-b5f9-01bb2abf45d3"/> + <id value="8eb01ae5-db8e-482e-bd53-aa5aca080dd1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="72ab2fc7-d2ce-4d2e-9c82-f29bed946176"/> + <id value="950fa8c9-da87-4d43-9bfa-4ed91a0a0bd3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/cc15e247-be5d-4e1f-9c92-bcc2316f41c8"/> + <reference value="Medication/ac9e12c2-0cd5-423c-a1da-6c4ab0ccee4f"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="cc15e247-be5d-4e1f-9c92-bcc2316f41c8"/> + <id value="ac9e12c2-0cd5-423c-a1da-6c4ab0ccee4f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="2d8bdff2-fed3-4107-a319-a1ef99ecbd14"/> + <id value="7a930733-916a-4fc5-abec-b1fdb4f1219c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="831ceea4-6eed-4ee0-8f2a-157b1fc115e2"/> + <id value="933ba107-81c9-4672-8655-39ce0a22807f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/input.xml new file mode 100644 index 00000000..b3118433 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="bbc51505-a924-44d3-95a1-cdf3ea6e1e12"/> + <meta> + <lastUpdated value="2024-02-08T19:06:05.616+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.768.68"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:06:05.616+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/9417c9fb-f619-47ac-9e82-cf735c3baa33"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="9417c9fb-f619-47ac-9e82-cf735c3baa33"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/6e23aa41-b9a7-427a-bd9f-76b22ecc94f2"/> + </subject> + <date value="2024-02-08T19:06:05+01:00"/> + <author> + <reference value="Practitioner/d4a47344-8491-4e45-9e9d-d395b09e4842"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2bb20da5-9ec4-432e-b0ce-7364a3024719"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/b2a89e0d-9701-4ae4-918b-4e1ec67aa77c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/24df256b-4e04-46d7-8c5c-1d44bcf7cea8"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/69edbee6-3e1f-451f-b960-53a10c879038"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="69edbee6-3e1f-451f-b960-53a10c879038"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/6e23aa41-b9a7-427a-bd9f-76b22ecc94f2"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="6e23aa41-b9a7-427a-bd9f-76b22ecc94f2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1992-12-04"/> + <address> + <type value="both"/> + <line value="Alfred-Stock-Str. 6"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="6"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Alfred-Stock-Str."/> + </extension> + </line> + <city value="Lillyhagen"/> + <postalCode value="01823"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/2bb20da5-9ec4-432e-b0ce-7364a3024719"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2bb20da5-9ec4-432e-b0ce-7364a3024719"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="206219256"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0011) 867656050"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jolie.deckert@tepper.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Leichlinger Str. 86"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="86"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Leichlinger Str."/> + </extension> + </line> + <city value="Schön Magdalena"/> + <postalCode value="75443"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/b2a89e0d-9701-4ae4-918b-4e1ec67aa77c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="b2a89e0d-9701-4ae4-918b-4e1ec67aa77c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/0fa88aa5-ff0c-48c5-8072-f1fbc8b54de0"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="103725547"/> + </identifier> + <display value="BKK Herford Minden Ravensberg"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/d4a47344-8491-4e45-9e9d-d395b09e4842"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d4a47344-8491-4e45-9e9d-d395b09e4842"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="279711745"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/24df256b-4e04-46d7-8c5c-1d44bcf7cea8"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="24df256b-4e04-46d7-8c5c-1d44bcf7cea8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/69edbee6-3e1f-451f-b960-53a10c879038"/> + </medicationReference> + <subject> + <reference value="Patient/6e23aa41-b9a7-427a-bd9f-76b22ecc94f2"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/d4a47344-8491-4e45-9e9d-d395b09e4842"/> + </requester> + <insurance> + <reference value="Coverage/b2a89e0d-9701-4ae4-918b-4e1ec67aa77c"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/output.json new file mode 100644 index 00000000..afa15ce7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "d0df79d1-9671-4292-8fdd-0c12a356684e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9a7ee8f3-8ca3-442e-b205-675ddbfd61bc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0ad415cf-defe-4623-b914-6db15f94e19a" + }, + "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": "0ad415cf-defe-4623-b914-6db15f94e19a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "40aff5d7-dcae-4b22-b17d-a9c1dab4e736", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "443f9824-898a-4d33-8133-af879f4477b4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bbc51505_bbc51505/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/output.xml new file mode 100644 index 00000000..afaae6d8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bbc51505_bbc51505/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d0df79d1-9671-4292-8fdd-0c12a356684e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.768.68"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9a7ee8f3-8ca3-442e-b205-675ddbfd61bc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0ad415cf-defe-4623-b914-6db15f94e19a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0ad415cf-defe-4623-b914-6db15f94e19a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="40aff5d7-dcae-4b22-b17d-a9c1dab4e736"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="206219256"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0011) 867656050"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jolie.deckert@tepper.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Leichlinger Str. 86"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="86"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Leichlinger Str."/> + </extension> + </line> + <city value="Schön Magdalena"/> + <postalCode value="75443"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="443f9824-898a-4d33-8133-af879f4477b4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="279711745"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/output.json deleted file mode 100644 index ceeb9e61..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "6bf2b0cc-e53c-4cab-9dab-0c73586dc1a4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "d539b525-fa7d-4e87-a60a-d1d9e5866fe6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/f9be69b5-b358-4f68-a28e-4e176ed30e01" - }, - "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": "f9be69b5-b358-4f68-a28e-4e176ed30e01", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b330c878-e04c-4cdb-a069-2dc0e9e4795c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "02fc2fe9-4148-4f75-a949-c14174152500", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_f731f36c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/output.xml deleted file mode 100644 index b20d0af4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6bf2b0cc-e53c-4cab-9dab-0c73586dc1a4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.745.40"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d539b525-fa7d-4e87-a60a-d1d9e5866fe6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/f9be69b5-b358-4f68-a28e-4e176ed30e01"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f9be69b5-b358-4f68-a28e-4e176ed30e01"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b330c878-e04c-4cdb-a069-2dc0e9e4795c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="517599493"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-8307-82061900"/> - </telecom> - <telecom> - <system value="email"/> - <value value="ylvi.dauer@grossheim.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Schopenhauerstr. 11c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="11c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Schopenhauerstr."/> - </extension> - </line> - <city value="Groß Lucian"/> - <postalCode value="71897"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="02fc2fe9-4148-4f75-a949-c14174152500"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="247511094"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c_f731f36c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c_f731f36c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c_f731f36c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c_f731f36c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c_f731f36c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c_f731f36c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c_f731f36c/output.json new file mode 100644 index 00000000..c9e80cb4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c_f731f36c/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "fd8f6c25-b2a2-4faa-a732-d392172207cd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6a3259d7-aa22-411f-ac3a-6d92b43ed550", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/07dae08e-3e5e-4785-bd92-6439c2fd1861" + }, + "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": "07dae08e-3e5e-4785-bd92-6439c2fd1861", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "634087f9-765f-436a-bf37-fec1d20fb6c7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "047c6679-94d1-45ff-8464-8a151034eb62", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f731f36c_f731f36c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c_f731f36c/output.xml new file mode 100644 index 00000000..d975858b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06_f731f36c_f731f36c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fd8f6c25-b2a2-4faa-a732-d392172207cd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.745.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6a3259d7-aa22-411f-ac3a-6d92b43ed550"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/07dae08e-3e5e-4785-bd92-6439c2fd1861"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07dae08e-3e5e-4785-bd92-6439c2fd1861"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="634087f9-765f-436a-bf37-fec1d20fb6c7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="517599493"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8307-82061900"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ylvi.dauer@grossheim.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Schopenhauerstr. 11c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="11c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schopenhauerstr."/> + </extension> + </line> + <city value="Groß Lucian"/> + <postalCode value="71897"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="047c6679-94d1-45ff-8464-8a151034eb62"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="247511094"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.json index 31742dbe..b2b948a2 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "760d3203-86c3-483d-a954-0e8aa5b44879", + "id": "ffcf7d79-a7bd-477b-910c-3bb0e5a08cbc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "c074bccc-ab21-4ab6-b0c8-a3b68b4d39ea", + "id": "3b61af6c-5d4c-48ae-9cd3-b49947153ea2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -54,7 +54,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/1cfe6ede-ec32-44ef-a633-4f246973e9af" + "reference": "Medication/30ffe448-a7f5-4b14-ae08-00818df6a775" }, "subject": { "identifier": { @@ -78,7 +78,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "1cfe6ede-ec32-44ef-a633-4f246973e9af", + "id": "30ffe448-a7f5-4b14-ae08-00818df6a775", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -125,7 +125,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "63e076ab-44f9-4c58-893b-895ac72ca177", + "id": "aa2b22e7-f823-4596-982c-940893fe1c99", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -187,7 +187,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "6d9e5e76-2846-4159-97ba-257a197faee7", + "id": "93254976-2a5d-40c0-b888-ecb4e70935a6", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.xml index 6eab00d1..16e7172b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="760d3203-86c3-483d-a954-0e8aa5b44879"/> + <id value="ffcf7d79-a7bd-477b-910c-3bb0e5a08cbc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c074bccc-ab21-4ab6-b0c8-a3b68b4d39ea"/> + <id value="3b61af6c-5d4c-48ae-9cd3-b49947153ea2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -53,7 +53,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/1cfe6ede-ec32-44ef-a633-4f246973e9af"/> + <reference value="Medication/30ffe448-a7f5-4b14-ae08-00818df6a775"/> </medicationReference> <subject> <identifier> @@ -79,7 +79,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="1cfe6ede-ec32-44ef-a633-4f246973e9af"/> + <id value="30ffe448-a7f5-4b14-ae08-00818df6a775"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -126,7 +126,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="63e076ab-44f9-4c58-893b-895ac72ca177"/> + <id value="aa2b22e7-f823-4596-982c-940893fe1c99"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -190,7 +190,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6d9e5e76-2846-4159-97ba-257a197faee7"/> + <id value="93254976-2a5d-40c0-b888-ecb4e70935a6"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/input.xml new file mode 100644 index 00000000..bfad4b45 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/input.xml @@ -0,0 +1,402 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="bddb1f9e-3ace-4e46-91aa-fde4ae9476a4"/> + <meta> + <lastUpdated value="2024-02-08T19:09:44.694+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.694.65"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:09:44.694+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/6d549094-f741-4b83-9a64-fdb53a7c072e"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6d549094-f741-4b83-9a64-fdb53a7c072e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/2d93cb84-911d-48ac-a7dd-ee088a73f6d5"/> + </subject> + <date value="2024-02-08T19:09:44+01:00"/> + <author> + <reference value="Practitioner/e9e8839f-7be8-4a38-b1f4-941e49cb79b0"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/70f1f9dd-901a-4504-bb23-a9ad5cead1a6"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/8e490d99-5eab-4829-bf40-8275cc1e5fbc"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/50ecbff4-026b-48fe-bf27-598301687b31"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/49bb3cc1-e2e6-45ca-857a-64a95ad2ac4d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="49bb3cc1-e2e6-45ca-857a-64a95ad2ac4d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09700354"/> + </coding> + <text value="Adavomilcain"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/2d93cb84-911d-48ac-a7dd-ee088a73f6d5"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="2d93cb84-911d-48ac-a7dd-ee088a73f6d5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="2004-07-31"/> + <address> + <type value="both"/> + <line value="Stettiner Str. 30c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="30c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Stettiner Str."/> + </extension> + </line> + <city value="Nadjaburg"/> + <postalCode value="83842"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/70f1f9dd-901a-4504-bb23-a9ad5cead1a6"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="70f1f9dd-901a-4504-bb23-a9ad5cead1a6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="209739478"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02711) 4600399"/> + </telecom> + <telecom> + <system value="email"/> + <value value="rené.uhrig@engel.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Heinrich-von-Kleist-Str. 75b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heinrich-von-Kleist-Str."/> + </extension> + </line> + <city value="Ehmbrunn"/> + <postalCode value="75097"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/8e490d99-5eab-4829-bf40-8275cc1e5fbc"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="8e490d99-5eab-4829-bf40-8275cc1e5fbc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="61"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ad52da10-2a59-4274-9797-a31fc71e899a"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108029306"/> + </identifier> + <display value="BKK advita"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/e9e8839f-7be8-4a38-b1f4-941e49cb79b0"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e9e8839f-7be8-4a38-b1f4-941e49cb79b0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="238658744"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/50ecbff4-026b-48fe-bf27-598301687b31"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="50ecbff4-026b-48fe-bf27-598301687b31"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:e554a5a0-47a2-42dd-8b34-a6dd1e84b8b7"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/49bb3cc1-e2e6-45ca-857a-64a95ad2ac4d"/> + </medicationReference> + <subject> + <reference value="Patient/2d93cb84-911d-48ac-a7dd-ee088a73f6d5"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/e9e8839f-7be8-4a38-b1f4-941e49cb79b0"/> + </requester> + <insurance> + <reference value="Coverage/8e490d99-5eab-4829-bf40-8275cc1e5fbc"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/output.json new file mode 100644 index 00000000..2423afa7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "8dd5b589-5123-4cc3-93bd-ef168b6fcc57", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "af3325fc-2f93-4d7c-b924-e6ee14f97d79", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/2d373d12-659d-4a0d-99b2-1cfb3a6771b3" + }, + "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": "2d373d12-659d-4a0d-99b2-1cfb3a6771b3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "50606b7e-0b59-4c65-a83a-bcab50348fec", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "eb1a0717-3c4f-409e-8684-4dbc7fc48d6c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bddb1f9e_bddb1f9e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/output.xml new file mode 100644 index 00000000..f7d5e47f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bddb1f9e_bddb1f9e/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8dd5b589-5123-4cc3-93bd-ef168b6fcc57"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.694.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="af3325fc-2f93-4d7c-b924-e6ee14f97d79"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:e554a5a0-47a2-42dd-8b34-a6dd1e84b8b7"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2d373d12-659d-4a0d-99b2-1cfb3a6771b3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2d373d12-659d-4a0d-99b2-1cfb3a6771b3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09700354"/> + </coding> + <text value="Adavomilcain"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="50606b7e-0b59-4c65-a83a-bcab50348fec"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="209739478"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02711) 4600399"/> + </telecom> + <telecom> + <system value="email"/> + <value value="rené.uhrig@engel.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Heinrich-von-Kleist-Str. 75b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heinrich-von-Kleist-Str."/> + </extension> + </line> + <city value="Ehmbrunn"/> + <postalCode value="75097"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="eb1a0717-3c4f-409e-8684-4dbc7fc48d6c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="238658744"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.json index f43517ae..4a5f0af2 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "d28349dc-8341-4065-8ad7-24dcc3764e8f", + "id": "75108c6a-3d4e-496f-b33a-5ba65ece5d2f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "e41913b0-5406-493f-ace2-c933b04b2124", + "id": "f6bce075-0f0f-465b-8ac7-8a2a6d42df37", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -55,7 +55,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/6dfa2157-24b2-4d60-a350-2f2fb4adcd30" + "reference": "Medication/d20054d5-d48e-4009-859c-81c7fc923b54" }, "subject": { "identifier": { @@ -79,7 +79,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "6dfa2157-24b2-4d60-a350-2f2fb4adcd30", + "id": "d20054d5-d48e-4009-859c-81c7fc923b54", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -126,7 +126,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f8f752a9-3564-4969-9250-950cbdb48a68", + "id": "c34eb5da-f4d4-4c25-bd4d-3a6e8775516f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -188,7 +188,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "542ac46f-ecae-4b14-9ee4-7c9f42dfe690", + "id": "2d2f580e-ce43-4351-947f-1ae08c85ba0c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.xml index 2c095616..32e298f7 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="d28349dc-8341-4065-8ad7-24dcc3764e8f"/> + <id value="75108c6a-3d4e-496f-b33a-5ba65ece5d2f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e41913b0-5406-493f-ace2-c933b04b2124"/> + <id value="f6bce075-0f0f-465b-8ac7-8a2a6d42df37"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -54,7 +54,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/6dfa2157-24b2-4d60-a350-2f2fb4adcd30"/> + <reference value="Medication/d20054d5-d48e-4009-859c-81c7fc923b54"/> </medicationReference> <subject> <identifier> @@ -80,7 +80,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="6dfa2157-24b2-4d60-a350-2f2fb4adcd30"/> + <id value="d20054d5-d48e-4009-859c-81c7fc923b54"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -127,7 +127,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f8f752a9-3564-4969-9250-950cbdb48a68"/> + <id value="c34eb5da-f4d4-4c25-bd4d-3a6e8775516f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -191,7 +191,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="542ac46f-ecae-4b14-9ee4-7c9f42dfe690"/> + <id value="2d2f580e-ce43-4351-947f-1ae08c85ba0c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/input.xml new file mode 100644 index 00000000..928aa91e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/input.xml @@ -0,0 +1,403 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="bf973351-0c57-4bc1-baa8-d7c582195f15"/> + <meta> + <lastUpdated value="2024-02-08T19:10:22.207+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.783.23"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:10:22.207+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/60ad4b2b-0eff-49ae-9dc2-7d1a9b7bc4b2"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="60ad4b2b-0eff-49ae-9dc2-7d1a9b7bc4b2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="14"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/5c16270e-68ab-4102-924b-9f95c43684c7"/> + </subject> + <date value="2024-02-08T19:10:22+01:00"/> + <author> + <reference value="Practitioner/0e183ae2-45a8-47a6-9ce5-2ad73000ee85"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/179e2677-1eae-4562-845e-f4f63f402ccd"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/1e89c7b5-f2b8-487f-97bf-80feb610476c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/53d65237-cef0-4445-a3f6-b83d51266a97"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/49e39da1-cb64-4664-8867-41acc19dd7d6"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="49e39da1-cb64-4664-8867-41acc19dd7d6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64996244"/> + </coding> + <text value="Amoamiproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/5c16270e-68ab-4102-924b-9f95c43684c7"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="5c16270e-68ab-4102-924b-9f95c43684c7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1967-01-24"/> + <address> + <type value="both"/> + <line value="Lehner Mühle 52b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="52b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lehner Mühle"/> + </extension> + </line> + <city value="Klein Fiona"/> + <postalCode value="52806"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/179e2677-1eae-4562-845e-f4f63f402ccd"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="179e2677-1eae-4562-845e-f4f63f402ccd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614566446"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-1696-50296460"/> + </telecom> + <telecom> + <system value="email"/> + <value value="raphael.bieler@horna.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Jägerstr. 6"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="6"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Jägerstr."/> + </extension> + </line> + <city value="Neu Can"/> + <postalCode value="78332"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/1e89c7b5-f2b8-487f-97bf-80feb610476c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1e89c7b5-f2b8-487f-97bf-80feb610476c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/4d195251-5563-48a0-aeef-20ab174773f0"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="107832012"/> + </identifier> + <display value="BKK VerbundPlus"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/0e183ae2-45a8-47a6-9ce5-2ad73000ee85"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0e183ae2-45a8-47a6-9ce5-2ad73000ee85"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="811131577"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/53d65237-cef0-4445-a3f6-b83d51266a97"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53d65237-cef0-4445-a3f6-b83d51266a97"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-02-08"/> + <end value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:bd9c009f-514a-4ed2-a1ae-d895273794e2"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/49e39da1-cb64-4664-8867-41acc19dd7d6"/> + </medicationReference> + <subject> + <reference value="Patient/5c16270e-68ab-4102-924b-9f95c43684c7"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/0e183ae2-45a8-47a6-9ce5-2ad73000ee85"/> + </requester> + <insurance> + <reference value="Coverage/1e89c7b5-f2b8-487f-97bf-80feb610476c"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/output.json new file mode 100644 index 00000000..4d48390f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "7c0e4cc3-c5dc-45e4-9214-0f3450f8b319", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5d1a3ea0-d303-44ee-9708-9240534da7e9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/6bc69412-0fb8-4761-bdd7-29f6f1abae51" + }, + "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": "6bc69412-0fb8-4761-bdd7-29f6f1abae51", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2765f677-40aa-4a3a-8576-b4fafd63b6b3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "927c1b5a-d66a-4a67-8006-a2e95c750300", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bf973351_bf973351/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/output.xml new file mode 100644 index 00000000..0a687ee2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bf973351_bf973351/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7c0e4cc3-c5dc-45e4-9214-0f3450f8b319"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.783.23"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5d1a3ea0-d303-44ee-9708-9240534da7e9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-02-08"/> + <end value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:bd9c009f-514a-4ed2-a1ae-d895273794e2"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6bc69412-0fb8-4761-bdd7-29f6f1abae51"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6bc69412-0fb8-4761-bdd7-29f6f1abae51"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64996244"/> + </coding> + <text value="Amoamiproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2765f677-40aa-4a3a-8576-b4fafd63b6b3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614566446"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-1696-50296460"/> + </telecom> + <telecom> + <system value="email"/> + <value value="raphael.bieler@horna.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Jägerstr. 6"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="6"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Jägerstr."/> + </extension> + </line> + <city value="Neu Can"/> + <postalCode value="78332"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="927c1b5a-d66a-4a67-8006-a2e95c750300"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="811131577"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.json index 024b176f..2a13e189 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "66d8b5bf-24fc-4ca8-9624-e92d2ebf57c2", + "id": "7d9abd28-3955-4a5a-8341-88e66db66705", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "d6c2a47f-89b6-459e-b3b8-188fa1fd1623", + "id": "49e487f2-45b6-46c8-9c67-a1038806084e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/4228af4c-1683-4ab2-b6e7-90d51b5f1d96" + "reference": "Medication/c5e2bb80-31b1-4a21-b1a2-b883b4dde04e" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "4228af4c-1683-4ab2-b6e7-90d51b5f1d96", + "id": "c5e2bb80-31b1-4a21-b1a2-b883b4dde04e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "3f3bc88d-96e1-49b4-803a-40ac26883915", + "id": "b08c27b2-8725-4f27-8971-70ec5565b242", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "34518ab5-3501-4e25-8e93-1fa6fb7642a1", + "id": "54407eab-b466-4aca-91ff-7295333c0047", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.xml index 7d384af3..18e00ba9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="66d8b5bf-24fc-4ca8-9624-e92d2ebf57c2"/> + <id value="7d9abd28-3955-4a5a-8341-88e66db66705"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d6c2a47f-89b6-459e-b3b8-188fa1fd1623"/> + <id value="49e487f2-45b6-46c8-9c67-a1038806084e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/4228af4c-1683-4ab2-b6e7-90d51b5f1d96"/> + <reference value="Medication/c5e2bb80-31b1-4a21-b1a2-b883b4dde04e"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="4228af4c-1683-4ab2-b6e7-90d51b5f1d96"/> + <id value="c5e2bb80-31b1-4a21-b1a2-b883b4dde04e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="3f3bc88d-96e1-49b4-803a-40ac26883915"/> + <id value="b08c27b2-8725-4f27-8971-70ec5565b242"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="34518ab5-3501-4e25-8e93-1fa6fb7642a1"/> + <id value="54407eab-b466-4aca-91ff-7295333c0047"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90_bfd34b90/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90_bfd34b90/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90_bfd34b90/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90_bfd34b90/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90_bfd34b90/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90_bfd34b90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90_bfd34b90/output.json new file mode 100644 index 00000000..88bdb68f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90_bfd34b90/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "4059bb5f-721b-4433-94e5-9709d6d4e2dc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fa201275-5f51-4b00-96fc-ffde15fca6b8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/880e9e4b-677a-412a-a901-8d759a5e0559" + }, + "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": "880e9e4b-677a-412a-a901-8d759a5e0559", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f5eca8e1-fae7-4280-b3a7-76b2811726ef", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c6b9b974-04aa-416f-8475-1200978dc438", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bfd34b90_bfd34b90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90_bfd34b90/output.xml new file mode 100644 index 00000000..1a45cf14 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bfd34b90_bfd34b90/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4059bb5f-721b-4433-94e5-9709d6d4e2dc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.836.90"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fa201275-5f51-4b00-96fc-ffde15fca6b8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/880e9e4b-677a-412a-a901-8d759a5e0559"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="880e9e4b-677a-412a-a901-8d759a5e0559"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f5eca8e1-fae7-4280-b3a7-76b2811726ef"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="483241394"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-585-8075726"/> + </telecom> + <telecom> + <system value="email"/> + <value value="batuhan.bartels@karsten.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Heimstättenweg 692"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="692"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heimstättenweg"/> + </extension> + </line> + <city value="Neu Malina"/> + <postalCode value="67550"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c6b9b974-04aa-416f-8475-1200978dc438"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="621509815"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/output.json deleted file mode 100644 index cc5564d9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "c1b62bdf-857b-4a27-b8f4-a4766d348701", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "1b83c38c-71de-48e5-92cf-7b1d03683c1f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/9f0aa787-4f0c-41f7-bf19-03e9a7c1ee01" - }, - "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": "9f0aa787-4f0c-41f7-bf19-03e9a7c1ee01", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6cfa6c31-2773-4084-be0a-b3e188eaaac3", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "41feaf77-e4d9-4d07-b81a-8364bd476e16", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_1be382e5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/output.xml deleted file mode 100644 index 22a148c5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c1b62bdf-857b-4a27-b8f4-a4766d348701"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.687.86"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1b83c38c-71de-48e5-92cf-7b1d03683c1f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/9f0aa787-4f0c-41f7-bf19-03e9a7c1ee01"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9f0aa787-4f0c-41f7-bf19-03e9a7c1ee01"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="60537835"/> - </coding> - <text value="Zytostatika"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6cfa6c31-2773-4084-be0a-b3e188eaaac3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="384514918"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(09898) 0577227"/> - </telecom> - <telecom> - <system value="email"/> - <value value="daniel.engelen@lewke.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Kneippstr. 9"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="9"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Kneippstr."/> - </extension> - </line> - <city value="Neu Ricardoheim"/> - <postalCode value="46562"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="41feaf77-e4d9-4d07-b81a-8364bd476e16"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="417223439"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/input.xml new file mode 100644 index 00000000..cffaa178 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="1be382e5-6d0f-4ac2-8b55-0193d68afe97"/> + <meta> + <lastUpdated value="2024-02-08T19:07:30.537+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.687.86"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:07:30.537+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/467d5064-f053-4007-9182-4e07b4558c5f"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="467d5064-f053-4007-9182-4e07b4558c5f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/3c4a595c-4b7e-4656-9e3c-51f72e7966fe"/> + </subject> + <date value="2024-02-08T19:07:30+01:00"/> + <author> + <reference value="Practitioner/56153ecc-2e19-4b24-8911-2ce5d572b133"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/17a112d9-b27d-4c98-b8b6-62f8172ead9f"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/12446a1b-0c43-4aef-a02b-6ab59150d7c3"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/dfb4411c-1704-43cb-acc0-ba312c2fb5f7"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/f9adf34b-54b3-4136-8227-bbb52adb4a81"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f9adf34b-54b3-4136-8227-bbb52adb4a81"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60537835"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/3c4a595c-4b7e-4656-9e3c-51f72e7966fe"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="3c4a595c-4b7e-4656-9e3c-51f72e7966fe"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1993-06-01"/> + <address> + <type value="both"/> + <line value="Reusrather Str. 44a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="44a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Reusrather Str."/> + </extension> + </line> + <city value="Christinadorf"/> + <postalCode value="66304"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/17a112d9-b27d-4c98-b8b6-62f8172ead9f"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="17a112d9-b27d-4c98-b8b6-62f8172ead9f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="384514918"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09898) 0577227"/> + </telecom> + <telecom> + <system value="email"/> + <value value="daniel.engelen@lewke.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Kneippstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kneippstr."/> + </extension> + </line> + <city value="Neu Ricardoheim"/> + <postalCode value="46562"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/12446a1b-0c43-4aef-a02b-6ab59150d7c3"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="12446a1b-0c43-4aef-a02b-6ab59150d7c3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="61"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/c62e8e5a-88bd-465b-b0d7-fa99e4ff4c03"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104626903"/> + </identifier> + <display value="BKK BPW Bergische Achsen KG Wiehl"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/56153ecc-2e19-4b24-8911-2ce5d572b133"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="56153ecc-2e19-4b24-8911-2ce5d572b133"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="417223439"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/dfb4411c-1704-43cb-acc0-ba312c2fb5f7"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="dfb4411c-1704-43cb-acc0-ba312c2fb5f7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/f9adf34b-54b3-4136-8227-bbb52adb4a81"/> + </medicationReference> + <subject> + <reference value="Patient/3c4a595c-4b7e-4656-9e3c-51f72e7966fe"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/56153ecc-2e19-4b24-8911-2ce5d572b133"/> + </requester> + <insurance> + <reference value="Coverage/12446a1b-0c43-4aef-a02b-6ab59150d7c3"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/output.json new file mode 100644 index 00000000..c4c67299 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ef6e4f2c-e3c2-4ecb-9615-e414f190117d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6a47dc3b-b2e2-4a48-b2b2-2b3673565805", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5bd57c6e-2451-4461-bc14-f9c781758ef2" + }, + "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": "5bd57c6e-2451-4461-bc14-f9c781758ef2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d2fdcb59-f710-49d0-8cf5-a5c81cee3f64", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "cff3dda1-ad16-431e-8ba5-6e46605cc856", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_1be382e5_1be382e5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/output.xml new file mode 100644 index 00000000..3e1077a7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce_1be382e5_1be382e5/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ef6e4f2c-e3c2-4ecb-9615-e414f190117d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.687.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6a47dc3b-b2e2-4a48-b2b2-2b3673565805"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5bd57c6e-2451-4461-bc14-f9c781758ef2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5bd57c6e-2451-4461-bc14-f9c781758ef2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60537835"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d2fdcb59-f710-49d0-8cf5-a5c81cee3f64"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="384514918"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09898) 0577227"/> + </telecom> + <telecom> + <system value="email"/> + <value value="daniel.engelen@lewke.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Kneippstr. 9"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="9"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kneippstr."/> + </extension> + </line> + <city value="Neu Ricardoheim"/> + <postalCode value="46562"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cff3dda1-ad16-431e-8ba5-6e46605cc856"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="417223439"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/output.json deleted file mode 100644 index aedfa0a0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "90272d8f-d4e0-4587-8784-418c918c7064", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "da36fb24-d1e7-4f84-8829-437d7c871b07", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/d1dd68e3-812a-43ee-9373-0bfca801c8b1" - }, - "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": "d1dd68e3-812a-43ee-9373-0bfca801c8b1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2f48863d-0925-4836-bdfd-1de56709b0fd", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "ffec1f0a-1157-435d-b317-92725162c2e7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_cb7063e3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/output.xml deleted file mode 100644 index 94b5de59..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="90272d8f-d4e0-4587-8784-418c918c7064"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.742.49"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="da36fb24-d1e7-4f84-8829-437d7c871b07"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/d1dd68e3-812a-43ee-9373-0bfca801c8b1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="d1dd68e3-812a-43ee-9373-0bfca801c8b1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2f48863d-0925-4836-bdfd-1de56709b0fd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="739219832"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(02590) 1658207"/> - </telecom> - <telecom> - <system value="email"/> - <value value="kerim.lenk@roba.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Hallesche Str. 17b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="17b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Hallesche Str."/> - </extension> - </line> - <city value="Leanderfeld"/> - <postalCode value="59483"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ffec1f0a-1157-435d-b317-92725162c2e7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="610878599"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3_cb7063e3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3_cb7063e3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3_cb7063e3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3_cb7063e3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3_cb7063e3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3_cb7063e3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3_cb7063e3/output.json new file mode 100644 index 00000000..232f9108 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3_cb7063e3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "2d2e6f8c-226c-4174-9041-61a1fd28d2da", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "bb2d852e-65bd-43ce-9665-cc1e0299f84b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f39fcf60-40fd-4125-94a8-fa9793cf3ec1" + }, + "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": "f39fcf60-40fd-4125-94a8-fa9793cf3ec1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "90ecd3da-5860-4b2f-b944-0e291f6dec1a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "98e5e508-74ef-4714-baed-e0e0810ef138", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cb7063e3_cb7063e3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3_cb7063e3/output.xml new file mode 100644 index 00000000..30222592 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3_cb7063e3_cb7063e3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2d2e6f8c-226c-4174-9041-61a1fd28d2da"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.742.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="bb2d852e-65bd-43ce-9665-cc1e0299f84b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f39fcf60-40fd-4125-94a8-fa9793cf3ec1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f39fcf60-40fd-4125-94a8-fa9793cf3ec1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="90ecd3da-5860-4b2f-b944-0e291f6dec1a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="739219832"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02590) 1658207"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kerim.lenk@roba.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Hallesche Str. 17b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hallesche Str."/> + </extension> + </line> + <city value="Leanderfeld"/> + <postalCode value="59483"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="98e5e508-74ef-4714-baed-e0e0810ef138"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="610878599"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/output.json deleted file mode 100644 index e993b849..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/output.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "270f4611-825a-4e11-b121-0ea0d669a5f1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "1fb0b03f-fd69-4f1e-b541-ca8616e96459", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/304af69c-da70-4d7d-a522-40bbea792ce0" - }, - "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": "304af69c-da70-4d7d-a522-40bbea792ce0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d802ae8e-fe38-4c26-85ac-b79c262d7ecf", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "1284b2ae-0c9f-42c9-8f3d-93b7f5881deb", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_2ddcab15/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/output.xml deleted file mode 100644 index e0fec05e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15/output.xml +++ /dev/null @@ -1,236 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="270f4611-825a-4e11-b121-0ea0d669a5f1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.781.29"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1fb0b03f-fd69-4f1e-b541-ca8616e96459"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-11-04"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:5cd52661-eea8-4da7-aca7-bc1ae61f5d0f"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/304af69c-da70-4d7d-a522-40bbea792ce0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="304af69c-da70-4d7d-a522-40bbea792ce0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16403786"/> - </coding> - <text value="Belglucofen"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d802ae8e-fe38-4c26-85ac-b79c262d7ecf"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="478570881"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-8195-22746056"/> - </telecom> - <telecom> - <system value="email"/> - <value value="johann.morgenstern@albrecht.ch"/> - </telecom> - <address> - <type value="both"/> - <line value="Hütte 73a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="73a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Hütte"/> - </extension> - </line> - <city value="Neu Talealand"/> - <postalCode value="87121"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1284b2ae-0c9f-42c9-8f3d-93b7f5881deb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="395405673"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/input.xml new file mode 100644 index 00000000..664812ba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/input.xml @@ -0,0 +1,402 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="2ddcab15-3b85-488e-b935-49fda20d353d"/> + <meta> + <lastUpdated value="2024-02-08T19:08:27.711+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.781.29"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:08:27.711+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/12659734-9b3e-4932-bd52-652ff6bc903a"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="12659734-9b3e-4932-bd52-652ff6bc903a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/01d2ff96-ecdc-4a36-976f-0a604b52f7c9"/> + </subject> + <date value="2024-02-08T19:08:27+01:00"/> + <author> + <reference value="Practitioner/bdc763ab-18c4-4e45-8745-1608171691f4"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/286b8fb0-1500-4038-82b9-25785e4a521d"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/b4f19b86-8aa4-415c-a614-53e7fc7c1ff6"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/f4b17ec9-a826-4050-90a1-971921caa9b1"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/5afd8ef0-d91a-445a-9c00-5277f1c57e62"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5afd8ef0-d91a-445a-9c00-5277f1c57e62"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16403786"/> + </coding> + <text value="Belglucofen"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/01d2ff96-ecdc-4a36-976f-0a604b52f7c9"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="01d2ff96-ecdc-4a36-976f-0a604b52f7c9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1990-02-27"/> + <address> + <type value="both"/> + <line value="Warnowstr. 17b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Warnowstr."/> + </extension> + </line> + <city value="Cecilebrunn"/> + <postalCode value="21240"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/286b8fb0-1500-4038-82b9-25785e4a521d"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="286b8fb0-1500-4038-82b9-25785e4a521d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="478570881"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8195-22746056"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johann.morgenstern@albrecht.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Hütte 73a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="73a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hütte"/> + </extension> + </line> + <city value="Neu Talealand"/> + <postalCode value="87121"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/b4f19b86-8aa4-415c-a614-53e7fc7c1ff6"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="b4f19b86-8aa4-415c-a614-53e7fc7c1ff6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="78"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/32997f49-99d6-46b1-9303-66f9d921f17b"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018007"/> + </identifier> + <display value="AOK Baden‐Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/bdc763ab-18c4-4e45-8745-1608171691f4"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bdc763ab-18c4-4e45-8745-1608171691f4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="395405673"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/f4b17ec9-a826-4050-90a1-971921caa9b1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f4b17ec9-a826-4050-90a1-971921caa9b1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:5cd52661-eea8-4da7-aca7-bc1ae61f5d0f"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5afd8ef0-d91a-445a-9c00-5277f1c57e62"/> + </medicationReference> + <subject> + <reference value="Patient/01d2ff96-ecdc-4a36-976f-0a604b52f7c9"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/bdc763ab-18c4-4e45-8745-1608171691f4"/> + </requester> + <insurance> + <reference value="Coverage/b4f19b86-8aa4-415c-a614-53e7fc7c1ff6"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/output.json new file mode 100644 index 00000000..40ea2009 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "6d7c12c0-1260-47db-a28a-ceb06fcc89ef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "004927f4-70fa-469b-9760-ed5e17435738", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/0f7739e9-38cb-4a41-b315-70432aa77396" + }, + "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": "0f7739e9-38cb-4a41-b315-70432aa77396", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "41001a57-f1db-4bb4-87ba-b405e262c629", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c2d51ac9-5f90-4ed2-b0aa-c03f92327d51", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_2ddcab15_2ddcab15/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/output.xml new file mode 100644 index 00000000..afdbf5ee --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5_2ddcab15_2ddcab15/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6d7c12c0-1260-47db-a28a-ceb06fcc89ef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.781.29"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="004927f4-70fa-469b-9760-ed5e17435738"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:5cd52661-eea8-4da7-aca7-bc1ae61f5d0f"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0f7739e9-38cb-4a41-b315-70432aa77396"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0f7739e9-38cb-4a41-b315-70432aa77396"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16403786"/> + </coding> + <text value="Belglucofen"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="41001a57-f1db-4bb4-87ba-b405e262c629"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="478570881"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8195-22746056"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johann.morgenstern@albrecht.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Hütte 73a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="73a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hütte"/> + </extension> + </line> + <city value="Neu Talealand"/> + <postalCode value="87121"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c2d51ac9-5f90-4ed2-b0aa-c03f92327d51"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="395405673"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.json index d72686b7..689dd7a6 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "281d77d7-ea28-4e0d-b022-ab6df4e0d4ae", + "id": "e35584bf-4cf2-459c-a884-7c6f83642907", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "77c3346b-50a0-4f23-b34b-5ed5913266d0", + "id": "50092cb7-131e-4a21-824c-82981c7a1247", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -55,7 +55,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/2a2878ca-ef18-41c8-99ac-221210f7d9a9" + "reference": "Medication/44442ad8-1d81-40ef-98ac-32b396838406" }, "subject": { "identifier": { @@ -79,7 +79,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "2a2878ca-ef18-41c8-99ac-221210f7d9a9", + "id": "44442ad8-1d81-40ef-98ac-32b396838406", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -126,7 +126,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "9b3182fd-4a81-407e-8f11-2fe865a0da59", + "id": "37feef3b-984a-45cf-a49b-ca20d4ebdc49", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -188,7 +188,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "48609715-6a5b-4307-a097-a057fc8bfff6", + "id": "e51669dc-2af7-466b-bc22-9a9696afe088", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.xml index 25c9c517..0282faa8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="281d77d7-ea28-4e0d-b022-ab6df4e0d4ae"/> + <id value="e35584bf-4cf2-459c-a884-7c6f83642907"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="77c3346b-50a0-4f23-b34b-5ed5913266d0"/> + <id value="50092cb7-131e-4a21-824c-82981c7a1247"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -54,7 +54,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/2a2878ca-ef18-41c8-99ac-221210f7d9a9"/> + <reference value="Medication/44442ad8-1d81-40ef-98ac-32b396838406"/> </medicationReference> <subject> <identifier> @@ -80,7 +80,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="2a2878ca-ef18-41c8-99ac-221210f7d9a9"/> + <id value="44442ad8-1d81-40ef-98ac-32b396838406"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -127,7 +127,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="9b3182fd-4a81-407e-8f11-2fe865a0da59"/> + <id value="37feef3b-984a-45cf-a49b-ca20d4ebdc49"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -191,7 +191,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="48609715-6a5b-4307-a097-a057fc8bfff6"/> + <id value="e51669dc-2af7-466b-bc22-9a9696afe088"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/input.xml new file mode 100644 index 00000000..436acecf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/input.xml @@ -0,0 +1,403 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c79c0fe3-008c-457e-a850-3ebcee3f0eb4"/> + <meta> + <lastUpdated value="2024-02-08T19:11:27.699+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.788.08"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:11:27.699+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/1731d2df-2079-4ebf-a14f-40537202b323"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1731d2df-2079-4ebf-a14f-40537202b323"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/8a11cc7f-1d1c-49e1-85b1-c256b80f604d"/> + </subject> + <date value="2024-02-08T19:11:27+01:00"/> + <author> + <reference value="Practitioner/29f4115f-8ea3-4811-90cc-4238bbcc9044"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/f7da1bab-c58e-4f03-98b2-4e389a506f0c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/d1f0a811-7121-4a3e-96e8-88a84924ebeb"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/9f6500cd-dd6d-404b-ac6d-7743ed6e6d50"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/7a994aab-1679-4a11-9969-9ec8b878f194"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7a994aab-1679-4a11-9969-9ec8b878f194"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="53825226"/> + </coding> + <text value="Acialian"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/8a11cc7f-1d1c-49e1-85b1-c256b80f604d"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="8a11cc7f-1d1c-49e1-85b1-c256b80f604d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="2000-11-09"/> + <address> + <type value="both"/> + <line value="Liebigstr. 205"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="205"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Liebigstr."/> + </extension> + </line> + <city value="Victoriaberg"/> + <postalCode value="91381"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/f7da1bab-c58e-4f03-98b2-4e389a506f0c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f7da1bab-c58e-4f03-98b2-4e389a506f0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="553151319"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0741) 498956760"/> + </telecom> + <telecom> + <system value="email"/> + <value value="edwin.mai@hommel.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Bornheimer Str. 39c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="39c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bornheimer Str."/> + </extension> + </line> + <city value="West Davinbrunn"/> + <postalCode value="97176"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/d1f0a811-7121-4a3e-96e8-88a84924ebeb"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="d1f0a811-7121-4a3e-96e8-88a84924ebeb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="20"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/8f4dc3c3-c35f-47d0-9c4e-4ecb174216bc"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="100609049"/> + </identifier> + <display value="LKK Mittel‐ und Ostdeutschland"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/29f4115f-8ea3-4811-90cc-4238bbcc9044"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="29f4115f-8ea3-4811-90cc-4238bbcc9044"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="556570801"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/9f6500cd-dd6d-404b-ac6d-7743ed6e6d50"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9f6500cd-dd6d-404b-ac6d-7743ed6e6d50"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-05-08"/> + <end value="2024-08-06"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:a415d54e-a4c5-4701-9388-6f47bd1f2ca8"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/7a994aab-1679-4a11-9969-9ec8b878f194"/> + </medicationReference> + <subject> + <reference value="Patient/8a11cc7f-1d1c-49e1-85b1-c256b80f604d"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/29f4115f-8ea3-4811-90cc-4238bbcc9044"/> + </requester> + <insurance> + <reference value="Coverage/d1f0a811-7121-4a3e-96e8-88a84924ebeb"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/output.json new file mode 100644 index 00000000..1ea443d8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "f298b1bc-0f10-4e5d-a910-014504d04172", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c89aa3e4-f560-47e1-aff6-70a08042b82f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/fe005a0f-c4cc-414f-abff-05104bd83c13" + }, + "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": "fe005a0f-c4cc-414f-abff-05104bd83c13", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5bfb2aee-023b-45ea-a1ac-4a97760405c0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c185f517-77dc-4ee9-9448-bc06e19345b6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c79c0fe3_c79c0fe3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/output.xml new file mode 100644 index 00000000..4c3a71a2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c79c0fe3_c79c0fe3/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f298b1bc-0f10-4e5d-a910-014504d04172"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.788.08"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c89aa3e4-f560-47e1-aff6-70a08042b82f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-05-08"/> + <end value="2024-08-06"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:a415d54e-a4c5-4701-9388-6f47bd1f2ca8"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fe005a0f-c4cc-414f-abff-05104bd83c13"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fe005a0f-c4cc-414f-abff-05104bd83c13"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="53825226"/> + </coding> + <text value="Acialian"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5bfb2aee-023b-45ea-a1ac-4a97760405c0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="553151319"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0741) 498956760"/> + </telecom> + <telecom> + <system value="email"/> + <value value="edwin.mai@hommel.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Bornheimer Str. 39c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="39c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bornheimer Str."/> + </extension> + </line> + <city value="West Davinbrunn"/> + <postalCode value="97176"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c185f517-77dc-4ee9-9448-bc06e19345b6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="556570801"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.json index dd4a61fa..38263000 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ec7bd373-dcb4-47bd-b7bb-62e47814eb8c", + "id": "c2c37886-e7e5-4db4-9905-2fba5f500a78", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "fb302ac0-229f-455d-8acd-5aad22276fc9", + "id": "244affaf-3cc3-48d8-9f1c-b584c86e1a8f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/9cc15c90-3f1d-48e7-b08b-0009fdb7afe8" + "reference": "Medication/9f44f6b1-8c99-465d-9971-54f9e76f9336" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "9cc15c90-3f1d-48e7-b08b-0009fdb7afe8", + "id": "9f44f6b1-8c99-465d-9971-54f9e76f9336", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "189b0f24-a7eb-4429-928e-ba9346554943", + "id": "d75ce837-3f11-40aa-a079-34b55785a024", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "09a1c788-75fc-41ee-af4c-6891094af8e2", + "id": "449fae89-c18d-4dc9-875b-9a2c9761407f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.xml index e8fb8559..abc6cd5e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="ec7bd373-dcb4-47bd-b7bb-62e47814eb8c"/> + <id value="c2c37886-e7e5-4db4-9905-2fba5f500a78"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="fb302ac0-229f-455d-8acd-5aad22276fc9"/> + <id value="244affaf-3cc3-48d8-9f1c-b584c86e1a8f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/9cc15c90-3f1d-48e7-b08b-0009fdb7afe8"/> + <reference value="Medication/9f44f6b1-8c99-465d-9971-54f9e76f9336"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="9cc15c90-3f1d-48e7-b08b-0009fdb7afe8"/> + <id value="9f44f6b1-8c99-465d-9971-54f9e76f9336"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="189b0f24-a7eb-4429-928e-ba9346554943"/> + <id value="d75ce837-3f11-40aa-a079-34b55785a024"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="09a1c788-75fc-41ee-af4c-6891094af8e2"/> + <id value="449fae89-c18d-4dc9-875b-9a2c9761407f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/input.xml new file mode 100644 index 00000000..bd971c74 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c7ac3a7c-dfe1-4789-b273-cbb39820d1b9"/> + <meta> + <lastUpdated value="2024-02-08T19:20:52.097+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.556.77"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:20:52.097+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/5ea5d115-cc0d-4fc8-85d7-33ebde8586b4"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5ea5d115-cc0d-4fc8-85d7-33ebde8586b4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/cc493f73-2667-4f93-b6fe-00fb281c520e"/> + </subject> + <date value="2024-02-08T19:20:52+01:00"/> + <author> + <reference value="Practitioner/5c573e79-dcee-491e-80db-2d3b0c9faaef"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/1ef93fb3-d51b-4b9d-a08f-75d8ba39a8cc"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/bb1aef69-f832-4448-b75c-7d8e27415bea"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/4e4793aa-1d2a-4a78-9587-247a7f87fe3f"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/e83c5df3-bc8a-4c76-8608-99873d4d7300"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e83c5df3-bc8a-4c76-8608-99873d4d7300"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60453038"/> + </coding> + <text value="Becameat"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/cc493f73-2667-4f93-b6fe-00fb281c520e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="cc493f73-2667-4f93-b6fe-00fb281c520e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110488614"/> + </identifier> + <name> + <use value="official"/> + <family value="Hütter"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hütter"/> + </extension> + </family> + <given value="Leonie"/> + </name> + <birthDate value="2000-09-02"/> + <address> + <type value="both"/> + <line value="Rotdornweg 64"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="64"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Rotdornweg"/> + </extension> + </line> + <city value="Schön Zoé"/> + <postalCode value="72099"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/1ef93fb3-d51b-4b9d-a08f-75d8ba39a8cc"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1ef93fb3-d51b-4b9d-a08f-75d8ba39a8cc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="604808395"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0884) 756294235"/> + </telecom> + <telecom> + <system value="email"/> + <value value="elina.dilla@hansen.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Ahrstr. 27c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ahrstr."/> + </extension> + </line> + <city value="Baranscheid"/> + <postalCode value="59779"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/bb1aef69-f832-4448-b75c-7d8e27415bea"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="bb1aef69-f832-4448-b75c-7d8e27415bea"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="20"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/48460345-0e16-44f8-b00c-4e8b1dbd14b1"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="105330168"/> + </identifier> + <display value="Salus BKK ‐ Die Gutfühlversicherung"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/5c573e79-dcee-491e-80db-2d3b0c9faaef"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5c573e79-dcee-491e-80db-2d3b0c9faaef"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="177086960"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/4e4793aa-1d2a-4a78-9587-247a7f87fe3f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4e4793aa-1d2a-4a78-9587-247a7f87fe3f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/e83c5df3-bc8a-4c76-8608-99873d4d7300"/> + </medicationReference> + <subject> + <reference value="Patient/cc493f73-2667-4f93-b6fe-00fb281c520e"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/5c573e79-dcee-491e-80db-2d3b0c9faaef"/> + </requester> + <insurance> + <reference value="Coverage/bb1aef69-f832-4448-b75c-7d8e27415bea"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/output.json new file mode 100644 index 00000000..bca22d16 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "c9032096-6168-4f58-9ec7-9d40e7abd90f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "cbf77e35-9a71-4c6d-8aff-b5ca86cbe93a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/51509299-5e56-49b3-9277-a1b2d1e79ba1" + }, + "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": "51509299-5e56-49b3-9277-a1b2d1e79ba1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6206d20f-bf0c-4c68-bc42-6402d1dc606b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "01b47389-dbca-4481-b23f-1330d23e2609", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c7ac3a7c_c7ac3a7c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/output.xml new file mode 100644 index 00000000..d832a7e0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c7ac3a7c_c7ac3a7c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c9032096-6168-4f58-9ec7-9d40e7abd90f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.556.77"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cbf77e35-9a71-4c6d-8aff-b5ca86cbe93a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/51509299-5e56-49b3-9277-a1b2d1e79ba1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="51509299-5e56-49b3-9277-a1b2d1e79ba1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="60453038"/> + </coding> + <text value="Becameat"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6206d20f-bf0c-4c68-bc42-6402d1dc606b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="604808395"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0884) 756294235"/> + </telecom> + <telecom> + <system value="email"/> + <value value="elina.dilla@hansen.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Ahrstr. 27c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ahrstr."/> + </extension> + </line> + <city value="Baranscheid"/> + <postalCode value="59779"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="01b47389-dbca-4481-b23f-1330d23e2609"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="177086960"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.json index 0474e4e9..95e58470 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ea1b1f5a-be2b-4061-8dcd-f46f9ff74f43", + "id": "31d0d39c-2d73-44e0-ab83-b9b064a74e40", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "adfb2864-78b8-492c-8554-06e2df3e7378", + "id": "bafb6f0b-96c8-434d-b613-4d4437fe7b0e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/95cdcea7-d9e8-421d-9e80-e8efd021e08d" + "reference": "Medication/c99e131d-915b-4a27-8cac-97606b0081ff" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "95cdcea7-d9e8-421d-9e80-e8efd021e08d", + "id": "c99e131d-915b-4a27-8cac-97606b0081ff", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "16c2b529-5eba-48a2-88d9-9e12fb5054b7", + "id": "97027b3e-1a6c-4135-80ac-c2399214f297", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "6f2f0038-c389-4263-8d95-b511642ec7a0", + "id": "648851d8-c7fc-453b-b55c-724ab6a10267", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.xml index e5d24ae0..2a348247 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="ea1b1f5a-be2b-4061-8dcd-f46f9ff74f43"/> + <id value="31d0d39c-2d73-44e0-ab83-b9b064a74e40"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="adfb2864-78b8-492c-8554-06e2df3e7378"/> + <id value="bafb6f0b-96c8-434d-b613-4d4437fe7b0e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/95cdcea7-d9e8-421d-9e80-e8efd021e08d"/> + <reference value="Medication/c99e131d-915b-4a27-8cac-97606b0081ff"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="95cdcea7-d9e8-421d-9e80-e8efd021e08d"/> + <id value="c99e131d-915b-4a27-8cac-97606b0081ff"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="16c2b529-5eba-48a2-88d9-9e12fb5054b7"/> + <id value="97027b3e-1a6c-4135-80ac-c2399214f297"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6f2f0038-c389-4263-8d95-b511642ec7a0"/> + <id value="648851d8-c7fc-453b-b55c-724ab6a10267"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/input.xml new file mode 100644 index 00000000..67130e40 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c88ccdf7-6d35-4beb-af61-0fbb71fd2cd2"/> + <meta> + <lastUpdated value="2024-02-08T19:02:25.907+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.748.31"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:02:25.907+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/15104c2a-ebd5-46b2-9f10-436ebc5e24c4"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="15104c2a-ebd5-46b2-9f10-436ebc5e24c4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/7e53ccab-d571-48ac-a4b6-a2db50275fbc"/> + </subject> + <date value="2024-02-08T19:02:25+01:00"/> + <author> + <reference value="Practitioner/f955f5f9-9715-4889-95b6-3173f69e51f3"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/14784295-5b53-4857-8384-5405abf4fd1c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/80a64522-1f22-4cf2-932d-1ff7e0d50e55"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/85b5cb40-d059-4a99-9cfb-4be1abaec335"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/e191c101-a57e-4998-8640-ebf8e45d1294"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e191c101-a57e-4998-8640-ebf8e45d1294"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/7e53ccab-d571-48ac-a4b6-a2db50275fbc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="7e53ccab-d571-48ac-a4b6-a2db50275fbc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1999-06-05"/> + <address> + <type value="both"/> + <line value="Dhünnstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dhünnstr."/> + </extension> + </line> + <city value="Liaberg"/> + <postalCode value="99069"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/14784295-5b53-4857-8384-5405abf4fd1c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="14784295-5b53-4857-8384-5405abf4fd1c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="384664925"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3412-28869735"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sinan.pietsch@rau.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Weiherstr. 07c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="07c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weiherstr."/> + </extension> + </line> + <city value="Klein Calvinburg"/> + <postalCode value="92983"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/80a64522-1f22-4cf2-932d-1ff7e0d50e55"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="80a64522-1f22-4cf2-932d-1ff7e0d50e55"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="49"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/0cab25c9-d9d0-4078-81a5-00a075fca02d"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108433099"/> + </identifier> + <display value="BKK Schwesternschaft vom BRK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/f955f5f9-9715-4889-95b6-3173f69e51f3"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f955f5f9-9715-4889-95b6-3173f69e51f3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="757953135"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/85b5cb40-d059-4a99-9cfb-4be1abaec335"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="85b5cb40-d059-4a99-9cfb-4be1abaec335"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/e191c101-a57e-4998-8640-ebf8e45d1294"/> + </medicationReference> + <subject> + <reference value="Patient/7e53ccab-d571-48ac-a4b6-a2db50275fbc"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/f955f5f9-9715-4889-95b6-3173f69e51f3"/> + </requester> + <insurance> + <reference value="Coverage/80a64522-1f22-4cf2-932d-1ff7e0d50e55"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/output.json new file mode 100644 index 00000000..71b638ea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "cf581e98-8e38-4498-82c4-8f3d2da928ac", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b8fa7c21-8621-433d-bb61-e6a58874aac1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/91da5fa5-6af8-4418-ba40-54fe1db2c384" + }, + "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": "91da5fa5-6af8-4418-ba40-54fe1db2c384", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c5891673-0c93-4f76-8005-9dfaf3ea1aa5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "473605df-9543-45db-9c8a-8f82c10f73cd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c88ccdf7_c88ccdf7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/output.xml new file mode 100644 index 00000000..8d41ca2b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c88ccdf7_c88ccdf7/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="cf581e98-8e38-4498-82c4-8f3d2da928ac"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.748.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b8fa7c21-8621-433d-bb61-e6a58874aac1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/91da5fa5-6af8-4418-ba40-54fe1db2c384"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="91da5fa5-6af8-4418-ba40-54fe1db2c384"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c5891673-0c93-4f76-8005-9dfaf3ea1aa5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="384664925"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3412-28869735"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sinan.pietsch@rau.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Weiherstr. 07c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="07c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weiherstr."/> + </extension> + </line> + <city value="Klein Calvinburg"/> + <postalCode value="92983"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="473605df-9543-45db-9c8a-8f82c10f73cd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="757953135"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/output.json deleted file mode 100644 index b12b3543..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e22d78b5-13d6-4505-9a05-61239447f196", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "6aee9cbe-d5d4-4641-b83a-a1fa9afe1da9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/1a1bef6b-2d44-432e-a98e-9a059aca29b8" - }, - "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": "1a1bef6b-2d44-432e-a98e-9a059aca29b8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6a74a8e7-4534-4e3b-b278-bff3e61e3fe3", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "bd7b3f0c-1730-4779-af5d-74d84205a5f7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_ad686294/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/output.xml deleted file mode 100644 index 5d10c6ae..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e22d78b5-13d6-4505-9a05-61239447f196"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.769.65"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6aee9cbe-d5d4-4641-b83a-a1fa9afe1da9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/1a1bef6b-2d44-432e-a98e-9a059aca29b8"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1a1bef6b-2d44-432e-a98e-9a059aca29b8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6a74a8e7-4534-4e3b-b278-bff3e61e3fe3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="555846595"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0267) 478020260"/> - </telecom> - <telecom> - <system value="email"/> - <value value="emre.bauschinger@kette.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Ulrichstr. 29c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="29c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Ulrichstr."/> - </extension> - </line> - <city value="Klein Lilli"/> - <postalCode value="13664"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="bd7b3f0c-1730-4779-af5d-74d84205a5f7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="776481826"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/input.xml new file mode 100644 index 00000000..ad4e4bfe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ad686294-da57-47e1-b95d-5093fbc7591e"/> + <meta> + <lastUpdated value="2024-02-08T19:06:13.201+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.769.65"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:06:13.201+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/61965d3c-1346-4295-9745-d80977d48100"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="61965d3c-1346-4295-9745-d80977d48100"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/e6bc9b2f-6835-41f2-b5fb-af854d51e2ad"/> + </subject> + <date value="2024-02-08T19:06:13+01:00"/> + <author> + <reference value="Practitioner/473c22fb-cb05-4345-a765-8dbacd6095aa"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/6681c9dd-7b4c-4731-a07f-202f3deb86c1"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/6add1b2a-08cb-433c-9435-658367e5e9e4"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/541babee-78ea-4c4c-8401-c675a1404fb2"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/0df78f1b-8930-4f2f-8c92-3a8659f694ff"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0df78f1b-8930-4f2f-8c92-3a8659f694ff"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/e6bc9b2f-6835-41f2-b5fb-af854d51e2ad"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="e6bc9b2f-6835-41f2-b5fb-af854d51e2ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1982-05-31"/> + <address> + <type value="both"/> + <line value="Auf'm Berg 87a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="87a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf'm Berg"/> + </extension> + </line> + <city value="Ost Lionelburg"/> + <postalCode value="84318"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/6681c9dd-7b4c-4731-a07f-202f3deb86c1"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6681c9dd-7b4c-4731-a07f-202f3deb86c1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="555846595"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0267) 478020260"/> + </telecom> + <telecom> + <system value="email"/> + <value value="emre.bauschinger@kette.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Ulrichstr. 29c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ulrichstr."/> + </extension> + </line> + <city value="Klein Lilli"/> + <postalCode value="13664"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/6add1b2a-08cb-433c-9435-658367e5e9e4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="6add1b2a-08cb-433c-9435-658367e5e9e4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="20"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/6e33d0fd-3c21-4148-9c82-65449a5a3146"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="103524101"/> + </identifier> + <display value="BKK BJB"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/473c22fb-cb05-4345-a765-8dbacd6095aa"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="473c22fb-cb05-4345-a765-8dbacd6095aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="776481826"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/541babee-78ea-4c4c-8401-c675a1404fb2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="541babee-78ea-4c4c-8401-c675a1404fb2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/0df78f1b-8930-4f2f-8c92-3a8659f694ff"/> + </medicationReference> + <subject> + <reference value="Patient/e6bc9b2f-6835-41f2-b5fb-af854d51e2ad"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/473c22fb-cb05-4345-a765-8dbacd6095aa"/> + </requester> + <insurance> + <reference value="Coverage/6add1b2a-08cb-433c-9435-658367e5e9e4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/output.json new file mode 100644 index 00000000..650cdabf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "8aae6a4e-aeb2-4992-9bfc-3b7ebf138119", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "97e1a3a7-9a3b-4623-86b6-d5846538da07", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/30e2c969-0529-4968-b611-6a908d0c8792" + }, + "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": "30e2c969-0529-4968-b611-6a908d0c8792", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bdafa2fd-38d1-41ad-872d-d4730266a1aa", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4b4c9522-5ce4-4072-9fd3-dd2b980eafd5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ad686294_ad686294/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/output.xml new file mode 100644 index 00000000..802cf335 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569_ad686294_ad686294/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8aae6a4e-aeb2-4992-9bfc-3b7ebf138119"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.769.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="97e1a3a7-9a3b-4623-86b6-d5846538da07"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/30e2c969-0529-4968-b611-6a908d0c8792"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="30e2c969-0529-4968-b611-6a908d0c8792"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bdafa2fd-38d1-41ad-872d-d4730266a1aa"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="555846595"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0267) 478020260"/> + </telecom> + <telecom> + <system value="email"/> + <value value="emre.bauschinger@kette.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Ulrichstr. 29c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ulrichstr."/> + </extension> + </line> + <city value="Klein Lilli"/> + <postalCode value="13664"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4b4c9522-5ce4-4072-9fd3-dd2b980eafd5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="776481826"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.json index 434b0439..fd902a5d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "0e9e58b4-77b6-4bc9-bfa2-9ef1293e91bb", + "id": "b0bfe922-6be1-459a-9ac2-5d565b9cc751", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "e7beae61-f650-47d9-840b-94659f9a7432", + "id": "4146558d-aac2-4d2f-bbe7-f0116bb116c3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/10539d53-05cc-4ace-9c3a-4da3a98482b2" + "reference": "Medication/4da2e8a1-34c0-4473-9a7e-ba3a30a07a7e" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "10539d53-05cc-4ace-9c3a-4da3a98482b2", + "id": "4da2e8a1-34c0-4473-9a7e-ba3a30a07a7e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "b23d5fac-1b5c-4725-bde7-feba6ec28ee4", + "id": "8e880963-2dbb-4534-9277-0c36221efc84", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "da5de964-b440-4605-8bd7-f8485eda732d", + "id": "1883ed60-d0ad-4890-802c-7d76799220c2", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.xml index c55c1851..ff4b30b4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="0e9e58b4-77b6-4bc9-bfa2-9ef1293e91bb"/> + <id value="b0bfe922-6be1-459a-9ac2-5d565b9cc751"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e7beae61-f650-47d9-840b-94659f9a7432"/> + <id value="4146558d-aac2-4d2f-bbe7-f0116bb116c3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/10539d53-05cc-4ace-9c3a-4da3a98482b2"/> + <reference value="Medication/4da2e8a1-34c0-4473-9a7e-ba3a30a07a7e"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="10539d53-05cc-4ace-9c3a-4da3a98482b2"/> + <id value="4da2e8a1-34c0-4473-9a7e-ba3a30a07a7e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="b23d5fac-1b5c-4725-bde7-feba6ec28ee4"/> + <id value="8e880963-2dbb-4534-9277-0c36221efc84"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="da5de964-b440-4605-8bd7-f8485eda732d"/> + <id value="1883ed60-d0ad-4890-802c-7d76799220c2"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/input.xml new file mode 100644 index 00000000..675ff122 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="cb7063e3-a77f-4a77-8adc-fd72d411e9c8"/> + <meta> + <lastUpdated value="2024-02-08T19:01:11.472+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.742.49"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:01:11.472+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/d64b245f-1fc3-4afd-b3ca-1bd05404b4dd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d64b245f-1fc3-4afd-b3ca-1bd05404b4dd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/35432718-78f1-42c2-b4a9-e4df4b9f669b"/> + </subject> + <date value="2024-02-08T19:01:11+01:00"/> + <author> + <reference value="Practitioner/b74c6cee-3a64-4c55-aaa4-bc90f1be1d97"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d922c186-df05-4754-8d65-77b9a3235617"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/5b1c5dff-53f8-4564-946d-9920a8d70581"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/d44af484-32b7-4d34-99b4-457b3069c606"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/b8b6f343-e196-4bf1-87e4-482535ff8f0e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b8b6f343-e196-4bf1-87e4-482535ff8f0e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/35432718-78f1-42c2-b4a9-e4df4b9f669b"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="35432718-78f1-42c2-b4a9-e4df4b9f669b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1965-07-21"/> + <address> + <type value="both"/> + <line value="Bertha-von-Suttner-Str. 27b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bertha-von-Suttner-Str."/> + </extension> + </line> + <city value="Reppinland"/> + <postalCode value="87321"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/d922c186-df05-4754-8d65-77b9a3235617"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d922c186-df05-4754-8d65-77b9a3235617"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="739219832"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02590) 1658207"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kerim.lenk@roba.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Hallesche Str. 17b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hallesche Str."/> + </extension> + </line> + <city value="Leanderfeld"/> + <postalCode value="59483"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/5b1c5dff-53f8-4564-946d-9920a8d70581"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="5b1c5dff-53f8-4564-946d-9920a8d70581"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="73"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/a8b2b87b-4392-4690-9bac-49657c515ecf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="106329225"/> + </identifier> + <display value="Debeka BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/b74c6cee-3a64-4c55-aaa4-bc90f1be1d97"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b74c6cee-3a64-4c55-aaa4-bc90f1be1d97"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="610878599"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/d44af484-32b7-4d34-99b4-457b3069c606"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d44af484-32b7-4d34-99b4-457b3069c606"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b8b6f343-e196-4bf1-87e4-482535ff8f0e"/> + </medicationReference> + <subject> + <reference value="Patient/35432718-78f1-42c2-b4a9-e4df4b9f669b"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/b74c6cee-3a64-4c55-aaa4-bc90f1be1d97"/> + </requester> + <insurance> + <reference value="Coverage/5b1c5dff-53f8-4564-946d-9920a8d70581"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/output.json new file mode 100644 index 00000000..534ffcd6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "c942da7a-566f-4f65-b1ce-17e8ac38d87a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7f5cd265-d69a-470d-b32c-114febd78970", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6cfc150d-cd95-4312-8380-8fd3e3634060" + }, + "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": "6cfc150d-cd95-4312-8380-8fd3e3634060", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "30b2d634-564c-476a-9da0-6ba79da522ee", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "09fbb254-ec79-4e58-8ea3-7546fd1c9ff6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cb7063e3_cb7063e3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/output.xml new file mode 100644 index 00000000..2157e480 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb7063e3_cb7063e3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c942da7a-566f-4f65-b1ce-17e8ac38d87a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.742.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7f5cd265-d69a-470d-b32c-114febd78970"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6cfc150d-cd95-4312-8380-8fd3e3634060"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6cfc150d-cd95-4312-8380-8fd3e3634060"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="30b2d634-564c-476a-9da0-6ba79da522ee"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="739219832"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02590) 1658207"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kerim.lenk@roba.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Hallesche Str. 17b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hallesche Str."/> + </extension> + </line> + <city value="Leanderfeld"/> + <postalCode value="59483"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="09fbb254-ec79-4e58-8ea3-7546fd1c9ff6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="610878599"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/output.json deleted file mode 100644 index 15c4e983..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "2ff9c556-88f8-4c66-8c06-4d9381c5f347", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "565bd3ad-3c1c-4e0c-b901-ef203942c0db", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/f50f28b5-3df1-42e2-8baf-3c2b758f8fb5" - }, - "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": "f50f28b5-3df1-42e2-8baf-3c2b758f8fb5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f6c0674b-c45e-47b5-8473-3e0e623fd17b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "c1b0584f-1a2d-4bda-8dbf-e2160448cca9", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_bfd34b90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/output.xml deleted file mode 100644 index 6cfe3379..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2ff9c556-88f8-4c66-8c06-4d9381c5f347"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.474.836.90"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-13"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="565bd3ad-3c1c-4e0c-b901-ef203942c0db"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/f50f28b5-3df1-42e2-8baf-3c2b758f8fb5"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-13"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f50f28b5-3df1-42e2-8baf-3c2b758f8fb5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f6c0674b-c45e-47b5-8473-3e0e623fd17b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="483241394"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-585-8075726"/> - </telecom> - <telecom> - <system value="email"/> - <value value="batuhan.bartels@karsten.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Heimstättenweg 692"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="692"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Heimstättenweg"/> - </extension> - </line> - <city value="Neu Malina"/> - <postalCode value="67550"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c1b0584f-1a2d-4bda-8dbf-e2160448cca9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="621509815"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/input.xml new file mode 100644 index 00000000..96227a47 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="bfd34b90-c3fa-450e-9b91-4c6156e8d74d"/> + <meta> + <lastUpdated value="2024-02-13T11:23:52.280+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.836.90"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-13T11:23:52.280+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/ebd6518e-a8f0-4067-9931-5e29498e9c40"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ebd6518e-a8f0-4067-9931-5e29498e9c40"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/047873e5-96d4-4106-9f99-72b65dbf76e4"/> + </subject> + <date value="2024-02-13T11:23:52+01:00"/> + <author> + <reference value="Practitioner/17d08f73-042f-4600-8b01-0992849962b6"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/f4255b6c-e2e0-4f18-b62e-6a51ade495bb"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/d5e7df92-fdd5-4c2d-bae6-47f42ccc45a0"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/fdc1cbac-1f92-4765-abb4-0d5b9f794c97"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/d1b3efd6-6840-4520-af6a-aab87abd368f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d1b3efd6-6840-4520-af6a-aab87abd368f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/047873e5-96d4-4106-9f99-72b65dbf76e4"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="047873e5-96d4-4106-9f99-72b65dbf76e4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + <name> + <use value="official"/> + <family value="Gondern"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Gondern"/> + </extension> + </family> + <given value="Aenna"/> + </name> + <birthDate value="1972-07-01"/> + <address> + <type value="both"/> + <line value="Schmalenbruch 99b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="99b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schmalenbruch"/> + </extension> + </line> + <city value="West Cedrikbrunn"/> + <postalCode value="35630"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/f4255b6c-e2e0-4f18-b62e-6a51ade495bb"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f4255b6c-e2e0-4f18-b62e-6a51ade495bb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="483241394"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-585-8075726"/> + </telecom> + <telecom> + <system value="email"/> + <value value="batuhan.bartels@karsten.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Heimstättenweg 692"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="692"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heimstättenweg"/> + </extension> + </line> + <city value="Neu Malina"/> + <postalCode value="67550"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/d5e7df92-fdd5-4c2d-bae6-47f42ccc45a0"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="d5e7df92-fdd5-4c2d-bae6-47f42ccc45a0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="02"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/6900ee86-c08f-4b5d-9e20-70da4e9cfdcc"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="100696012"/> + </identifier> + <display value="AOK Nordost ‐ Die Gesundheitskasse"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/17d08f73-042f-4600-8b01-0992849962b6"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="17d08f73-042f-4600-8b01-0992849962b6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="621509815"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/fdc1cbac-1f92-4765-abb4-0d5b9f794c97"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fdc1cbac-1f92-4765-abb4-0d5b9f794c97"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/d1b3efd6-6840-4520-af6a-aab87abd368f"/> + </medicationReference> + <subject> + <reference value="Patient/047873e5-96d4-4106-9f99-72b65dbf76e4"/> + </subject> + <authoredOn value="2024-02-13"/> + <requester> + <reference value="Practitioner/17d08f73-042f-4600-8b01-0992849962b6"/> + </requester> + <insurance> + <reference value="Coverage/d5e7df92-fdd5-4c2d-bae6-47f42ccc45a0"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/output.json new file mode 100644 index 00000000..1b40b311 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "2e5ec45e-fb32-4abf-a779-c0091f11f225", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e67cc569-6beb-47fd-94fb-8eaac1fc46a7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c0da80d2-a151-4eeb-9b8d-4e4d69213d4b" + }, + "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": "c0da80d2-a151-4eeb-9b8d-4e4d69213d4b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fe3e72c3-8d6a-4d85-b8d4-22f8c877af70", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "09ad4d5c-90f4-48d0-826a-de006f86055f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_bfd34b90_bfd34b90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/output.xml new file mode 100644 index 00000000..7832b73a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c_bfd34b90_bfd34b90/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2e5ec45e-fb32-4abf-a779-c0091f11f225"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.836.90"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e67cc569-6beb-47fd-94fb-8eaac1fc46a7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c0da80d2-a151-4eeb-9b8d-4e4d69213d4b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c0da80d2-a151-4eeb-9b8d-4e4d69213d4b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fe3e72c3-8d6a-4d85-b8d4-22f8c877af70"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="483241394"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-585-8075726"/> + </telecom> + <telecom> + <system value="email"/> + <value value="batuhan.bartels@karsten.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Heimstättenweg 692"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="692"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heimstättenweg"/> + </extension> + </line> + <city value="Neu Malina"/> + <postalCode value="67550"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="09ad4d5c-90f4-48d0-826a-de006f86055f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="621509815"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/output.json deleted file mode 100644 index 2ff13674..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "f5f54485-4e30-4555-9d38-c900aa6287f8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "42388488-a9e9-493c-a6e3-2067caad0ed1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/78d142fd-15da-456e-a2f4-cfee43e88a63" - }, - "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": "78d142fd-15da-456e-a2f4-cfee43e88a63", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e2655848-812c-4670-b1d2-922d9c705a77", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "5998cca2-e4e2-4d10-9127-e90c1846ddce", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9645a6a3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/output.xml deleted file mode 100644 index 197c5d5d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f5f54485-4e30-4555-9d38-c900aa6287f8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.757.04"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="42388488-a9e9-493c-a6e3-2067caad0ed1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/78d142fd-15da-456e-a2f4-cfee43e88a63"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="78d142fd-15da-456e-a2f4-cfee43e88a63"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e2655848-812c-4670-b1d2-922d9c705a77"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="711619336"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(02416) 4196742"/> - </telecom> - <telecom> - <system value="email"/> - <value value="meike.wassiluk@bogdashin.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Dünenweg 81b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="81b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Dünenweg"/> - </extension> - </line> - <city value="Groß Daria"/> - <postalCode value="56205"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5998cca2-e4e2-4d10-9127-e90c1846ddce"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="611647025"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/input.xml new file mode 100644 index 00000000..e46fb632 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9645a6a3-6016-4b9e-bf29-c8faa8fc8750"/> + <meta> + <lastUpdated value="2024-02-08T19:03:47.398+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.757.04"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:03:47.398+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/46d6e641-fb91-4cbe-bd37-bb0f7819eec6"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="46d6e641-fb91-4cbe-bd37-bb0f7819eec6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/4b585812-dad9-4f66-b576-2d7fbc570dd0"/> + </subject> + <date value="2024-02-08T19:03:47+01:00"/> + <author> + <reference value="Practitioner/f58f8336-5270-4be2-a63e-89738d80e9d9"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/e9663715-b4dd-425c-a42e-d821c9ea22bb"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/c67706dd-024e-44bb-9b0a-bc7dae5eb045"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/4a39de55-372f-46fa-8a91-b060c7abedfa"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/61fbee44-f40d-4d40-a5a1-d7f50ef7bade"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="61fbee44-f40d-4d40-a5a1-d7f50ef7bade"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/4b585812-dad9-4f66-b576-2d7fbc570dd0"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="4b585812-dad9-4f66-b576-2d7fbc570dd0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1969-12-05"/> + <address> + <type value="both"/> + <line value="Otto-Varnhagen-Str. 891"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="891"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Otto-Varnhagen-Str."/> + </extension> + </line> + <city value="Neu Medine"/> + <postalCode value="79016"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/e9663715-b4dd-425c-a42e-d821c9ea22bb"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e9663715-b4dd-425c-a42e-d821c9ea22bb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711619336"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02416) 4196742"/> + </telecom> + <telecom> + <system value="email"/> + <value value="meike.wassiluk@bogdashin.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Dünenweg 81b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="81b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dünenweg"/> + </extension> + </line> + <city value="Groß Daria"/> + <postalCode value="56205"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/c67706dd-024e-44bb-9b0a-bc7dae5eb045"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="c67706dd-024e-44bb-9b0a-bc7dae5eb045"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="55"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/52880a97-04f5-4bd7-ae7d-de3c694381a7"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101300129"/> + </identifier> + <display value="IKK Nord"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/f58f8336-5270-4be2-a63e-89738d80e9d9"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f58f8336-5270-4be2-a63e-89738d80e9d9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="611647025"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/4a39de55-372f-46fa-8a91-b060c7abedfa"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a39de55-372f-46fa-8a91-b060c7abedfa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/61fbee44-f40d-4d40-a5a1-d7f50ef7bade"/> + </medicationReference> + <subject> + <reference value="Patient/4b585812-dad9-4f66-b576-2d7fbc570dd0"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/f58f8336-5270-4be2-a63e-89738d80e9d9"/> + </requester> + <insurance> + <reference value="Coverage/c67706dd-024e-44bb-9b0a-bc7dae5eb045"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/output.json new file mode 100644 index 00000000..f49afc1f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "98df1ef7-ed53-444a-8cd6-dd4ea0d5e306", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fb43f597-9b7b-4218-b6ac-e73226b06fb7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/28a6dee6-47de-46a2-afa1-1daacad66c3b" + }, + "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": "28a6dee6-47de-46a2-afa1-1daacad66c3b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9dd12ced-5380-4378-bf58-78c6f43c3644", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "df778001-e03a-4a58-bdcd-25b0a1bf50f1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9645a6a3_9645a6a3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/output.xml new file mode 100644 index 00000000..2864400f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb_9645a6a3_9645a6a3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="98df1ef7-ed53-444a-8cd6-dd4ea0d5e306"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.757.04"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fb43f597-9b7b-4218-b6ac-e73226b06fb7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/28a6dee6-47de-46a2-afa1-1daacad66c3b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="28a6dee6-47de-46a2-afa1-1daacad66c3b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9dd12ced-5380-4378-bf58-78c6f43c3644"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711619336"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02416) 4196742"/> + </telecom> + <telecom> + <system value="email"/> + <value value="meike.wassiluk@bogdashin.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Dünenweg 81b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="81b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dünenweg"/> + </extension> + </line> + <city value="Groß Daria"/> + <postalCode value="56205"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="df778001-e03a-4a58-bdcd-25b0a1bf50f1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="611647025"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/output.json deleted file mode 100644 index aba5e218..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "dcfdc856-1f51-418c-a638-22934208dcce", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "576800e0-6a73-4e6d-9a08-7de13c4090e2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/0fde9498-1102-4ecd-b0fd-031467fd7e99" - }, - "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": "0fde9498-1102-4ecd-b0fd-031467fd7e99", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "080907eb-0fbf-4b91-86ce-0d63e21052d9", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "fff36a9c-9a14-40e5-afa9-d72f6c97be19", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_ab9f6a4e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/output.xml deleted file mode 100644 index 48f4306e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="dcfdc856-1f51-418c-a638-22934208dcce"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.744.43"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="576800e0-6a73-4e6d-9a08-7de13c4090e2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/0fde9498-1102-4ecd-b0fd-031467fd7e99"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0fde9498-1102-4ecd-b0fd-031467fd7e99"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="080907eb-0fbf-4b91-86ce-0d63e21052d9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="883968316"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-074-9317125"/> - </telecom> - <telecom> - <system value="email"/> - <value value="amira.sauer@werrmann.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Karl-Wingchen-Str. 63"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="63"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Karl-Wingchen-Str."/> - </extension> - </line> - <city value="Nikescheid"/> - <postalCode value="34828"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="fff36a9c-9a14-40e5-afa9-d72f6c97be19"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="225840686"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/input.xml new file mode 100644 index 00000000..e2105647 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ab9f6a4e-32f6-4247-95cd-5256807d105f"/> + <meta> + <lastUpdated value="2024-02-08T19:01:28.155+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.744.43"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:01:28.155+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/01e7b8ea-04ba-4c76-9fc2-e6a77cedeab8"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="01e7b8ea-04ba-4c76-9fc2-e6a77cedeab8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/df501cd5-bf8f-4d1b-a63f-a8feee02452f"/> + </subject> + <date value="2024-02-08T19:01:28+01:00"/> + <author> + <reference value="Practitioner/a1b5615b-4fcc-44b4-8be5-a2f33cb9de3a"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/3824d24f-29c7-4463-bcac-c7d7c0a41bd0"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/e018f4e3-c679-4e00-8290-5038b54cbd77"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/09ab3a8f-66d8-4949-8628-3e699a0c7c7d"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/c0320ef7-7b01-458b-b5ef-4f442e600010"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c0320ef7-7b01-458b-b5ef-4f442e600010"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/df501cd5-bf8f-4d1b-a63f-a8feee02452f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="df501cd5-bf8f-4d1b-a63f-a8feee02452f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1980-10-21"/> + <address> + <type value="both"/> + <line value="Zur Alten Brauerei 12"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="12"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Zur Alten Brauerei"/> + </extension> + </line> + <city value="Colleenscheid"/> + <postalCode value="59418"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/3824d24f-29c7-4463-bcac-c7d7c0a41bd0"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3824d24f-29c7-4463-bcac-c7d7c0a41bd0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="883968316"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-074-9317125"/> + </telecom> + <telecom> + <system value="email"/> + <value value="amira.sauer@werrmann.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Wingchen-Str. 63"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="63"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Wingchen-Str."/> + </extension> + </line> + <city value="Nikescheid"/> + <postalCode value="34828"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/e018f4e3-c679-4e00-8290-5038b54cbd77"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e018f4e3-c679-4e00-8290-5038b54cbd77"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="62"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/bf6bd310-cf4b-4ab0-9a83-d587779ad764"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108608820"/> + </identifier> + <display value="LKK Franken und Oberbayern"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/a1b5615b-4fcc-44b4-8be5-a2f33cb9de3a"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a1b5615b-4fcc-44b4-8be5-a2f33cb9de3a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="225840686"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/09ab3a8f-66d8-4949-8628-3e699a0c7c7d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="09ab3a8f-66d8-4949-8628-3e699a0c7c7d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/c0320ef7-7b01-458b-b5ef-4f442e600010"/> + </medicationReference> + <subject> + <reference value="Patient/df501cd5-bf8f-4d1b-a63f-a8feee02452f"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/a1b5615b-4fcc-44b4-8be5-a2f33cb9de3a"/> + </requester> + <insurance> + <reference value="Coverage/e018f4e3-c679-4e00-8290-5038b54cbd77"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/output.json new file mode 100644 index 00000000..c6ce1524 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "12de4c19-3f62-475e-a6e7-77eaf8acf075", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d6edeb18-64f9-4b3a-878a-f11ecf47f56a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/40caec85-d084-4b6a-aa17-7fc5ca1e5d2f" + }, + "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": "40caec85-d084-4b6a-aa17-7fc5ca1e5d2f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a2c46990-253d-44b5-ac21-2f81c056b096", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7eb1f8be-6e66-430c-a6dc-39998ff76a05", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ab9f6a4e_ab9f6a4e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/output.xml new file mode 100644 index 00000000..a034d60a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6_ab9f6a4e_ab9f6a4e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="12de4c19-3f62-475e-a6e7-77eaf8acf075"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.744.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d6edeb18-64f9-4b3a-878a-f11ecf47f56a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/40caec85-d084-4b6a-aa17-7fc5ca1e5d2f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="40caec85-d084-4b6a-aa17-7fc5ca1e5d2f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a2c46990-253d-44b5-ac21-2f81c056b096"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="883968316"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-074-9317125"/> + </telecom> + <telecom> + <system value="email"/> + <value value="amira.sauer@werrmann.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Wingchen-Str. 63"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="63"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Wingchen-Str."/> + </extension> + </line> + <city value="Nikescheid"/> + <postalCode value="34828"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7eb1f8be-6e66-430c-a6dc-39998ff76a05"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="225840686"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/output.json deleted file mode 100644 index f5012487..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "021c401f-8dab-41ab-b2bc-562022715bc2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "f5153441-2d36-4e42-b4c9-c282574be872", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/6838947c-94f7-4e54-8a9f-45c0d1c797ff" - }, - "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": "6838947c-94f7-4e54-8a9f-45c0d1c797ff", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "432769b0-938c-47d1-b675-58e0dee7702d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "bc79a521-8f52-4a3a-ba8d-2f47ce4063cc", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_16b1f573/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/output.xml deleted file mode 100644 index f5beaaaa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="021c401f-8dab-41ab-b2bc-562022715bc2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.756.07"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="f5153441-2d36-4e42-b4c9-c282574be872"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/6838947c-94f7-4e54-8a9f-45c0d1c797ff"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6838947c-94f7-4e54-8a9f-45c0d1c797ff"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="432769b0-938c-47d1-b675-58e0dee7702d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="460007921"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-3117-51449999"/> - </telecom> - <telecom> - <system value="email"/> - <value value="meik.tonat@herrmann.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Windthorststr. 57a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="57a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Windthorststr."/> - </extension> - </line> - <city value="Pinnockland"/> - <postalCode value="14407"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="bc79a521-8f52-4a3a-ba8d-2f47ce4063cc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="699637007"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/input.xml new file mode 100644 index 00000000..035ea1ff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="16b1f573-efe2-4deb-acb8-9ad8cc0ec788"/> + <meta> + <lastUpdated value="2024-02-08T19:03:39.890+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.756.07"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:03:39.890+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/d4c521b6-3b07-4fb8-a211-a3536b8b9103"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d4c521b6-3b07-4fb8-a211-a3536b8b9103"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/69f21c35-06ff-42f6-82e0-62342a3f9782"/> + </subject> + <date value="2024-02-08T19:03:39+01:00"/> + <author> + <reference value="Practitioner/527c3dac-63ca-4574-ace8-92e24dc28da7"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/82aa23bf-a04d-4882-9219-fa9d7df50f31"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/5186d9df-c2da-4d83-89ef-5013d6a154fc"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/8723e2b4-976f-4dda-8a53-dcfd83558380"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/5a09919f-802b-43e9-b62a-329150214fa4"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5a09919f-802b-43e9-b62a-329150214fa4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/69f21c35-06ff-42f6-82e0-62342a3f9782"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="69f21c35-06ff-42f6-82e0-62342a3f9782"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="2005-04-23"/> + <address> + <type value="both"/> + <line value="Buschkämpchen 723"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="723"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Buschkämpchen"/> + </extension> + </line> + <city value="Neu Torben"/> + <postalCode value="14006"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/82aa23bf-a04d-4882-9219-fa9d7df50f31"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="82aa23bf-a04d-4882-9219-fa9d7df50f31"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="460007921"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3117-51449999"/> + </telecom> + <telecom> + <system value="email"/> + <value value="meik.tonat@herrmann.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Windthorststr. 57a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Windthorststr."/> + </extension> + </line> + <city value="Pinnockland"/> + <postalCode value="14407"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/5186d9df-c2da-4d83-89ef-5013d6a154fc"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="5186d9df-c2da-4d83-89ef-5013d6a154fc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="71"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/12c05f74-316f-4b80-8571-17ae2893e209"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104239915"/> + </identifier> + <display value="BKK ESSANELLE"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/527c3dac-63ca-4574-ace8-92e24dc28da7"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="527c3dac-63ca-4574-ace8-92e24dc28da7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="699637007"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/8723e2b4-976f-4dda-8a53-dcfd83558380"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8723e2b4-976f-4dda-8a53-dcfd83558380"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5a09919f-802b-43e9-b62a-329150214fa4"/> + </medicationReference> + <subject> + <reference value="Patient/69f21c35-06ff-42f6-82e0-62342a3f9782"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/527c3dac-63ca-4574-ace8-92e24dc28da7"/> + </requester> + <insurance> + <reference value="Coverage/5186d9df-c2da-4d83-89ef-5013d6a154fc"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/output.json new file mode 100644 index 00000000..265d1976 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "de1db3e6-8297-4b82-9abb-a72c0bd0956b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "64992706-78da-452a-a43a-309692eaeaf8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/cb9e9576-cecc-4c49-8837-bda6aca013d0" + }, + "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": "cb9e9576-cecc-4c49-8837-bda6aca013d0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "981a5707-8b9a-4af5-9c21-e45870d7fae6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "efceecb5-7e0a-4007-8c1c-ded984c95797", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_16b1f573_16b1f573/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/output.xml new file mode 100644 index 00000000..75422da2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127_16b1f573_16b1f573/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="de1db3e6-8297-4b82-9abb-a72c0bd0956b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.756.07"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="64992706-78da-452a-a43a-309692eaeaf8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/cb9e9576-cecc-4c49-8837-bda6aca013d0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cb9e9576-cecc-4c49-8837-bda6aca013d0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="981a5707-8b9a-4af5-9c21-e45870d7fae6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="460007921"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3117-51449999"/> + </telecom> + <telecom> + <system value="email"/> + <value value="meik.tonat@herrmann.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Windthorststr. 57a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Windthorststr."/> + </extension> + </line> + <city value="Pinnockland"/> + <postalCode value="14407"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="efceecb5-7e0a-4007-8c1c-ded984c95797"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="699637007"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/output.json deleted file mode 100644 index a128e476..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "6058e2ff-e370-4729-a431-32f01e25c50d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "9674f572-6104-43c4-9574-cc3e0e0ee047", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/f692d5e6-6037-445e-8b61-545a2a3c1fb0" - }, - "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": "f692d5e6-6037-445e-8b61-545a2a3c1fb0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "97f13bc9-0eb0-4d18-ab48-05b3bda60321", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "02496663-6d5e-4695-8800-ed7d3cffd1b3", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_0fdadb04/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/output.xml deleted file mode 100644 index ea68aee0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6058e2ff-e370-4729-a431-32f01e25c50d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.746.37"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9674f572-6104-43c4-9574-cc3e0e0ee047"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/f692d5e6-6037-445e-8b61-545a2a3c1fb0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f692d5e6-6037-445e-8b61-545a2a3c1fb0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="97f13bc9-0eb0-4d18-ab48-05b3bda60321"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="612914060"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0061) 349909615"/> - </telecom> - <telecom> - <system value="email"/> - <value value="ronja.boruschewski@assmus.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Elbestr. 917"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="917"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Elbestr."/> - </extension> - </line> - <city value="Güldemeisterheim"/> - <postalCode value="78118"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="02496663-6d5e-4695-8800-ed7d3cffd1b3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="935884750"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/input.xml new file mode 100644 index 00000000..399c2156 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="0fdadb04-6a96-4ed8-a247-d0e1e5bcfdee"/> + <meta> + <lastUpdated value="2024-02-08T19:02:07.984+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.746.37"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:02:07.984+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/4eb71d9a-30f6-4ed5-85f9-6c4b68e538a6"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="4eb71d9a-30f6-4ed5-85f9-6c4b68e538a6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/de2d24bf-ccea-46c0-b8a6-5671eb73ba53"/> + </subject> + <date value="2024-02-08T19:02:07+01:00"/> + <author> + <reference value="Practitioner/7af567eb-d688-4dbd-8bd0-ab96d4e49a57"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/7468d413-ca95-4df2-93a9-84c158605438"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/53d98065-8e96-4754-bc32-82ac6407c199"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/022f13d5-1427-4eb8-b147-69f54f13a042"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/7780cfc5-16f8-4bf0-b281-a0fc84749ad3"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7780cfc5-16f8-4bf0-b281-a0fc84749ad3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/de2d24bf-ccea-46c0-b8a6-5671eb73ba53"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="de2d24bf-ccea-46c0-b8a6-5671eb73ba53"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1998-04-09"/> + <address> + <type value="both"/> + <line value="Am Klösterchen 47a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="47a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Klösterchen"/> + </extension> + </line> + <city value="Alt Sabrina"/> + <postalCode value="26591"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/7468d413-ca95-4df2-93a9-84c158605438"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7468d413-ca95-4df2-93a9-84c158605438"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="612914060"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0061) 349909615"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ronja.boruschewski@assmus.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Elbestr. 917"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="917"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Elbestr."/> + </extension> + </line> + <city value="Güldemeisterheim"/> + <postalCode value="78118"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/53d98065-8e96-4754-bc32-82ac6407c199"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="53d98065-8e96-4754-bc32-82ac6407c199"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="49"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/99c05261-ecbc-47a2-9cdf-59f35e706fa5"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="102137985"/> + </identifier> + <display value="TUI BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/7af567eb-d688-4dbd-8bd0-ab96d4e49a57"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7af567eb-d688-4dbd-8bd0-ab96d4e49a57"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="935884750"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/022f13d5-1427-4eb8-b147-69f54f13a042"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="022f13d5-1427-4eb8-b147-69f54f13a042"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/7780cfc5-16f8-4bf0-b281-a0fc84749ad3"/> + </medicationReference> + <subject> + <reference value="Patient/de2d24bf-ccea-46c0-b8a6-5671eb73ba53"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/7af567eb-d688-4dbd-8bd0-ab96d4e49a57"/> + </requester> + <insurance> + <reference value="Coverage/53d98065-8e96-4754-bc32-82ac6407c199"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/output.json new file mode 100644 index 00000000..5f02964c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "6551a78b-963b-4ee1-be18-73ee6b5beae0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c506036e-b4ff-40bf-8b58-8cdf879683b6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ce95ef19-7e1a-4c6c-99cc-43215d8ddac0" + }, + "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": "ce95ef19-7e1a-4c6c-99cc-43215d8ddac0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7488c955-451b-4011-bbbc-9fc86102197b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "86442f4b-0d4f-42ec-8458-98bb53fe39bc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0fdadb04_0fdadb04/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/output.xml new file mode 100644 index 00000000..00af9626 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2_0fdadb04_0fdadb04/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6551a78b-963b-4ee1-be18-73ee6b5beae0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.746.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c506036e-b4ff-40bf-8b58-8cdf879683b6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ce95ef19-7e1a-4c6c-99cc-43215d8ddac0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ce95ef19-7e1a-4c6c-99cc-43215d8ddac0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7488c955-451b-4011-bbbc-9fc86102197b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="612914060"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0061) 349909615"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ronja.boruschewski@assmus.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Elbestr. 917"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="917"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Elbestr."/> + </extension> + </line> + <city value="Güldemeisterheim"/> + <postalCode value="78118"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="86442f4b-0d4f-42ec-8458-98bb53fe39bc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="935884750"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.json index 014757f5..babc6009 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "0d3989f3-9f8d-406c-a46b-28a2d4e5672d", + "id": "7caf1acf-df33-4241-8b20-d1bd00c627f6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "22adf865-18a2-4784-bd7a-4b5c9233c393", + "id": "4507778e-0f01-41fe-b06c-a21fd6e1c112", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/2002c2df-1bc0-48e6-be5b-8f2ccd012951" + "reference": "Medication/1533151b-1688-4c31-b293-8dde5610c03b" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "2002c2df-1bc0-48e6-be5b-8f2ccd012951", + "id": "1533151b-1688-4c31-b293-8dde5610c03b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "b773e18d-5561-4de3-8304-9132e88b2eea", + "id": "413c813f-f6c8-4a7a-9ce4-74fe7f83302b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "c50af900-3144-463e-af70-0070fbd00047", + "id": "99afe2ff-e8e6-482c-b665-75483754e1c6", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.xml index b1371951..0adf3205 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="0d3989f3-9f8d-406c-a46b-28a2d4e5672d"/> + <id value="7caf1acf-df33-4241-8b20-d1bd00c627f6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="22adf865-18a2-4784-bd7a-4b5c9233c393"/> + <id value="4507778e-0f01-41fe-b06c-a21fd6e1c112"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/2002c2df-1bc0-48e6-be5b-8f2ccd012951"/> + <reference value="Medication/1533151b-1688-4c31-b293-8dde5610c03b"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="2002c2df-1bc0-48e6-be5b-8f2ccd012951"/> + <id value="1533151b-1688-4c31-b293-8dde5610c03b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="b773e18d-5561-4de3-8304-9132e88b2eea"/> + <id value="413c813f-f6c8-4a7a-9ce4-74fe7f83302b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c50af900-3144-463e-af70-0070fbd00047"/> + <id value="99afe2ff-e8e6-482c-b665-75483754e1c6"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e_dac55c3e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e_dac55c3e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e_dac55c3e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e_dac55c3e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e_dac55c3e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e_dac55c3e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e_dac55c3e/output.json new file mode 100644 index 00000000..8492377e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e_dac55c3e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "98b85de7-a0e3-4d61-8bb9-1bf52eeb3895", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "dcb9db67-129d-4584-8b51-1e40c0b12c20", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5331ce02-b558-4718-aeea-3fdd1263fe4d" + }, + "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": "5331ce02-b558-4718-aeea-3fdd1263fe4d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0ca0b764-d4b6-47b9-960c-d36756b6d15e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f5fb244d-5a68-479b-8622-cd5da18fe224", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_dac55c3e_dac55c3e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e_dac55c3e/output.xml new file mode 100644 index 00000000..87f88e77 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dac55c3e_dac55c3e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="98b85de7-a0e3-4d61-8bb9-1bf52eeb3895"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.770.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="dcb9db67-129d-4584-8b51-1e40c0b12c20"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5331ce02-b558-4718-aeea-3fdd1263fe4d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5331ce02-b558-4718-aeea-3fdd1263fe4d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61252891"/> + </coding> + <text value="Gemvomilsäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0ca0b764-d4b6-47b9-960c-d36756b6d15e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614137063"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Arzt"/> + <telecom> + <system value="phone"/> + <value value="+49-073-0437663"/> + </telecom> + <telecom> + <system value="email"/> + <value value="teresa.roggatz@evers.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Burgweg 88"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Burgweg"/> + </extension> + </line> + <city value="Jonland"/> + <postalCode value="15501"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f5fb244d-5a68-479b-8622-cd5da18fe224"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="176464353"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Kein Arzt"/> + <family value="Arzt"/> + <given value="Kein"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/output.json deleted file mode 100644 index d34f2caa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "7c04d625-2226-46c7-8d19-d87cdbef689c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "47a2e7d2-7ec1-4daf-98ad-d3839cc7fedf", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/ab076794-ff4d-4993-a0a5-1eac452ca74d" - }, - "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": "ab076794-ff4d-4993-a0a5-1eac452ca74d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e72b8e81-19b9-42c0-8ca9-121b8251e374", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "eb700621-c0e9-4db0-8dd9-a5ed885fe60c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_e4a92e97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/output.xml deleted file mode 100644 index 23b1a7bc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="7c04d625-2226-46c7-8d19-d87cdbef689c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.762.86"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="47a2e7d2-7ec1-4daf-98ad-d3839cc7fedf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/ab076794-ff4d-4993-a0a5-1eac452ca74d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ab076794-ff4d-4993-a0a5-1eac452ca74d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e72b8e81-19b9-42c0-8ca9-121b8251e374"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="178681307"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(03855) 5059185"/> - </telecom> - <telecom> - <system value="email"/> - <value value="katrin.fenner@lack.ch"/> - </telecom> - <address> - <type value="both"/> - <line value="Zeppelinstr. 45"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="45"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Zeppelinstr."/> - </extension> - </line> - <city value="Neu Sebastiandorf"/> - <postalCode value="60499"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="eb700621-c0e9-4db0-8dd9-a5ed885fe60c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="743253968"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97_e4a92e97/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97_e4a92e97/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97_e4a92e97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97_e4a92e97/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97_e4a92e97/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97_e4a92e97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97_e4a92e97/output.json new file mode 100644 index 00000000..7872fc86 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97_e4a92e97/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "8b99b746-2c1c-4047-99d7-95762e0a05a7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "687d980e-8e06-4a6f-a76d-4bf0f545789a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3f37b932-2739-48c2-ab02-9f2cc03e0cd5" + }, + "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": "3f37b932-2739-48c2-ab02-9f2cc03e0cd5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3790ba83-b109-486e-abc2-f57454d3d1c6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "89203a55-2d9d-4ced-ba57-ea744c1074f6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e4a92e97_e4a92e97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97_e4a92e97/output.xml new file mode 100644 index 00000000..e3883917 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45_e4a92e97_e4a92e97/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8b99b746-2c1c-4047-99d7-95762e0a05a7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.762.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="687d980e-8e06-4a6f-a76d-4bf0f545789a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3f37b932-2739-48c2-ab02-9f2cc03e0cd5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3f37b932-2739-48c2-ab02-9f2cc03e0cd5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3790ba83-b109-486e-abc2-f57454d3d1c6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="178681307"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(03855) 5059185"/> + </telecom> + <telecom> + <system value="email"/> + <value value="katrin.fenner@lack.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Zeppelinstr. 45"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="45"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Zeppelinstr."/> + </extension> + </line> + <city value="Neu Sebastiandorf"/> + <postalCode value="60499"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="89203a55-2d9d-4ced-ba57-ea744c1074f6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="743253968"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/output.json deleted file mode 100644 index 80a1709c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "f48581dd-8ea9-473a-9367-fce5f788ec02", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "753eb017-a10b-4f70-9ec7-486c08a1d5fb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/f0402eda-3634-40d2-bbb5-ab27a5753be8" - }, - "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": "f0402eda-3634-40d2-bbb5-ab27a5753be8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1e553a8b-1c33-4b2e-90ae-711d083f0d93", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "ace3156f-5a2a-4797-9d19-faebb1f92986", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_a39897e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/output.xml deleted file mode 100644 index 45ca003d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f48581dd-8ea9-473a-9367-fce5f788ec02"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.686.89"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="753eb017-a10b-4f70-9ec7-486c08a1d5fb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/f0402eda-3634-40d2-bbb5-ab27a5753be8"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f0402eda-3634-40d2-bbb5-ab27a5753be8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06427082"/> - </coding> - <text value="Zytostatika"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1e553a8b-1c33-4b2e-90ae-711d083f0d93"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="487238495"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0631) 347228164"/> - </telecom> - <telecom> - <system value="email"/> - <value value="kian.franta@riermeier.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Auerweg 65"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="65"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Auerweg"/> - </extension> - </line> - <city value="Schön Leandra"/> - <postalCode value="55353"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ace3156f-5a2a-4797-9d19-faebb1f92986"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="550442587"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/input.xml new file mode 100644 index 00000000..a2cf5376 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="a39897e0-4dcf-4e14-80e2-d28e0ae15e86"/> + <meta> + <lastUpdated value="2024-02-08T19:07:26.004+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.686.89"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:07:26.004+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/fab7e851-3260-494b-8ae6-578d49cb6c8f"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="fab7e851-3260-494b-8ae6-578d49cb6c8f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ea6429b6-500f-4997-86c2-314edaf722ba"/> + </subject> + <date value="2024-02-08T19:07:26+01:00"/> + <author> + <reference value="Practitioner/b400a4ea-b8ed-4cbf-a981-dad5a91b86b9"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d55510e9-6e37-408c-8aa4-0a6923dbe8ea"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/6eeecd5c-63ca-42cb-a40e-bdf4c15411a7"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/eed3ea27-b29a-445e-941d-b645e63b88cf"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/594b6f15-8b7f-40c4-b8c7-aace608bfe9b"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="594b6f15-8b7f-40c4-b8c7-aace608bfe9b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06427082"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/ea6429b6-500f-4997-86c2-314edaf722ba"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ea6429b6-500f-4997-86c2-314edaf722ba"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1967-11-17"/> + <address> + <type value="both"/> + <line value="Am Nonnenbruch 0"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="0"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Nonnenbruch"/> + </extension> + </line> + <city value="Klein Merve"/> + <postalCode value="59659"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/d55510e9-6e37-408c-8aa4-0a6923dbe8ea"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d55510e9-6e37-408c-8aa4-0a6923dbe8ea"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="487238495"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0631) 347228164"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kian.franta@riermeier.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Auerweg 65"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="65"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auerweg"/> + </extension> + </line> + <city value="Schön Leandra"/> + <postalCode value="55353"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/6eeecd5c-63ca-42cb-a40e-bdf4c15411a7"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="6eeecd5c-63ca-42cb-a40e-bdf4c15411a7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/4b2f5988-cf58-40c3-9fcb-5114e9dc19eb"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104424830"/> + </identifier> + <display value="BKK GRILLO‐WERKE AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/b400a4ea-b8ed-4cbf-a981-dad5a91b86b9"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b400a4ea-b8ed-4cbf-a981-dad5a91b86b9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="550442587"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/eed3ea27-b29a-445e-941d-b645e63b88cf"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="eed3ea27-b29a-445e-941d-b645e63b88cf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/594b6f15-8b7f-40c4-b8c7-aace608bfe9b"/> + </medicationReference> + <subject> + <reference value="Patient/ea6429b6-500f-4997-86c2-314edaf722ba"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/b400a4ea-b8ed-4cbf-a981-dad5a91b86b9"/> + </requester> + <insurance> + <reference value="Coverage/6eeecd5c-63ca-42cb-a40e-bdf4c15411a7"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/output.json new file mode 100644 index 00000000..de03b0a7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "fee9feff-8bc5-4110-b9e2-32bc21fdb9c4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7911b1fe-45a4-49e7-ac22-4c233e59c5f5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/51a66b23-d4d5-4ff6-85f7-4c3249f9057d" + }, + "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": "51a66b23-d4d5-4ff6-85f7-4c3249f9057d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f6d431bb-8e2d-4211-99a2-aaa3229b0cf0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "373ae9eb-196f-4b25-9a88-ab4a22c510fc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a39897e0_a39897e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/output.xml new file mode 100644 index 00000000..32355683 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b_a39897e0_a39897e0/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fee9feff-8bc5-4110-b9e2-32bc21fdb9c4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.686.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7911b1fe-45a4-49e7-ac22-4c233e59c5f5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/51a66b23-d4d5-4ff6-85f7-4c3249f9057d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="51a66b23-d4d5-4ff6-85f7-4c3249f9057d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06427082"/> + </coding> + <text value="Zytostatika"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f6d431bb-8e2d-4211-99a2-aaa3229b0cf0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="487238495"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0631) 347228164"/> + </telecom> + <telecom> + <system value="email"/> + <value value="kian.franta@riermeier.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Auerweg 65"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="65"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auerweg"/> + </extension> + </line> + <city value="Schön Leandra"/> + <postalCode value="55353"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="373ae9eb-196f-4b25-9a88-ab4a22c510fc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="550442587"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/output.json deleted file mode 100644 index 1a120fe4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "3368e47b-4ecb-4a8c-9978-6b52ec1b84bd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "e48e3257-558c-456e-8d1b-1f269dd7eb4a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/26fa5556-9016-4469-b09b-91694cd8e27c" - }, - "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": "26fa5556-9016-4469-b09b-91694cd8e27c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "172bf943-c5db-497b-9bc0-bab92ce76771", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "65deac45-d1c3-4088-9793-22225d88ccbe", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_df31f167/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/output.xml deleted file mode 100644 index b58a5ec4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="3368e47b-4ecb-4a8c-9978-6b52ec1b84bd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.006.474.840.78"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-13"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e48e3257-558c-456e-8d1b-1f269dd7eb4a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/26fa5556-9016-4469-b09b-91694cd8e27c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-13"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="26fa5556-9016-4469-b09b-91694cd8e27c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="172bf943-c5db-497b-9bc0-bab92ce76771"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="629521522"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(09367) 7801199"/> - </telecom> - <telecom> - <system value="email"/> - <value value="zoé.horna@bos.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Fester Weg 0"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="0"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Fester Weg"/> - </extension> - </line> - <city value="Maurergrün"/> - <postalCode value="89655"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="65deac45-d1c3-4088-9793-22225d88ccbe"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="887332180"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167_df31f167/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167_df31f167/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167_df31f167/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167_df31f167/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167_df31f167/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167_df31f167/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167_df31f167/output.json new file mode 100644 index 00000000..599bcc1e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167_df31f167/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "77236bd7-6412-4a90-b44a-379ec4ca9bc8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "34891e07-68aa-45f9-ba62-7482c17784af", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9f767b12-f341-475a-bc4b-21e86ed04824" + }, + "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": "9f767b12-f341-475a-bc4b-21e86ed04824", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7de95e80-0a3d-4b92-b07d-83d8055a76fe", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3d15a497-79a2-4bb1-933c-83047ba53fd9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_df31f167_df31f167/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167_df31f167/output.xml new file mode 100644 index 00000000..f3cfdd5d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569_df31f167_df31f167/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="77236bd7-6412-4a90-b44a-379ec4ca9bc8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.840.78"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="34891e07-68aa-45f9-ba62-7482c17784af"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9f767b12-f341-475a-bc4b-21e86ed04824"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9f767b12-f341-475a-bc4b-21e86ed04824"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7de95e80-0a3d-4b92-b07d-83d8055a76fe"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="629521522"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09367) 7801199"/> + </telecom> + <telecom> + <system value="email"/> + <value value="zoé.horna@bos.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Fester Weg 0"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="0"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Fester Weg"/> + </extension> + </line> + <city value="Maurergrün"/> + <postalCode value="89655"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3d15a497-79a2-4bb1-933c-83047ba53fd9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="887332180"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.json index 6475b72f..08dbe51d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "d35894f0-32cd-4616-a002-7d0f364b5da8", + "id": "cb4bb469-0ea7-466e-95cc-12cf1ea44342", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "56906c98-0526-47a1-b4c2-65f4be896862", + "id": "e7cb68e8-e14d-4b36-b731-6cf640dc1ef5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/b8e03251-5382-4128-b062-25a4ad3eb16d" + "reference": "Medication/a6c3e766-176e-4a88-9162-0adc8ad5fece" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "b8e03251-5382-4128-b062-25a4ad3eb16d", + "id": "a6c3e766-176e-4a88-9162-0adc8ad5fece", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "30254575-0eca-48df-b6f2-1d459c817f80", + "id": "164ba0e0-2a61-4698-b1eb-aa91786bfbb0", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "1cfd8da8-0694-4d4b-811a-014f5f0aebf6", + "id": "b1bb08bf-632a-41c9-9f68-e7ff35f9060a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.xml index 16f916be..91e343f6 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="d35894f0-32cd-4616-a002-7d0f364b5da8"/> + <id value="cb4bb469-0ea7-466e-95cc-12cf1ea44342"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="56906c98-0526-47a1-b4c2-65f4be896862"/> + <id value="e7cb68e8-e14d-4b36-b731-6cf640dc1ef5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/b8e03251-5382-4128-b062-25a4ad3eb16d"/> + <reference value="Medication/a6c3e766-176e-4a88-9162-0adc8ad5fece"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="b8e03251-5382-4128-b062-25a4ad3eb16d"/> + <id value="a6c3e766-176e-4a88-9162-0adc8ad5fece"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="30254575-0eca-48df-b6f2-1d459c817f80"/> + <id value="164ba0e0-2a61-4698-b1eb-aa91786bfbb0"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1cfd8da8-0694-4d4b-811a-014f5f0aebf6"/> + <id value="b1bb08bf-632a-41c9-9f68-e7ff35f9060a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/input.xml new file mode 100644 index 00000000..1a9ef431 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="df31f167-f3d3-4d03-8a88-2e6b29eb3d6d"/> + <meta> + <lastUpdated value="2024-02-13T11:24:28.319+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.840.78"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-13T11:24:28.319+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/3c5c2305-ac1d-4a4b-8798-cacfc4ec00c8"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="3c5c2305-ac1d-4a4b-8798-cacfc4ec00c8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/c7010fc9-9d8a-4cac-868d-6eb0a9eb37ab"/> + </subject> + <date value="2024-02-13T11:24:28+01:00"/> + <author> + <reference value="Practitioner/8efee46a-9e29-4891-8e02-c13cf8ccdab2"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/72d0b469-11f1-4f33-a6c2-d073b454f693"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/a5c283ac-7053-4b12-a1df-0a50c23b2b80"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/b5fd4281-a8b8-4d0d-9833-ad874ab740e2"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/fc17ecf1-e67c-459e-93cc-1da0fd4ee84e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fc17ecf1-e67c-459e-93cc-1da0fd4ee84e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/c7010fc9-9d8a-4cac-868d-6eb0a9eb37ab"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="c7010fc9-9d8a-4cac-868d-6eb0a9eb37ab"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + <name> + <use value="official"/> + <family value="Gondern"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Gondern"/> + </extension> + </family> + <given value="Aenna"/> + </name> + <birthDate value="1982-09-19"/> + <address> + <type value="both"/> + <line value="Lingenfeld 92b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="92b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lingenfeld"/> + </extension> + </line> + <city value="Neu Fynnstadt"/> + <postalCode value="41997"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/72d0b469-11f1-4f33-a6c2-d073b454f693"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="72d0b469-11f1-4f33-a6c2-d073b454f693"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="629521522"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09367) 7801199"/> + </telecom> + <telecom> + <system value="email"/> + <value value="zoé.horna@bos.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Fester Weg 0"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="0"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Fester Weg"/> + </extension> + </line> + <city value="Maurergrün"/> + <postalCode value="89655"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/a5c283ac-7053-4b12-a1df-0a50c23b2b80"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="a5c283ac-7053-4b12-a1df-0a50c23b2b80"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="52"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/07253a49-0b46-4393-8063-f215e94bfa72"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108833674"/> + </identifier> + <display value="BKK KBA"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/8efee46a-9e29-4891-8e02-c13cf8ccdab2"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8efee46a-9e29-4891-8e02-c13cf8ccdab2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="887332180"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/b5fd4281-a8b8-4d0d-9833-ad874ab740e2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b5fd4281-a8b8-4d0d-9833-ad874ab740e2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/fc17ecf1-e67c-459e-93cc-1da0fd4ee84e"/> + </medicationReference> + <subject> + <reference value="Patient/c7010fc9-9d8a-4cac-868d-6eb0a9eb37ab"/> + </subject> + <authoredOn value="2024-02-13"/> + <requester> + <reference value="Practitioner/8efee46a-9e29-4891-8e02-c13cf8ccdab2"/> + </requester> + <insurance> + <reference value="Coverage/a5c283ac-7053-4b12-a1df-0a50c23b2b80"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/output.json new file mode 100644 index 00000000..ea4b0fa1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "887a2f7a-cfb6-49db-a4a3-6193079f2e18", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6df11596-6f63-4042-a18c-b28e32bab995", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/18c3ac11-90e9-4b16-ac5c-08f524950ea6" + }, + "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": "18c3ac11-90e9-4b16-ac5c-08f524950ea6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ee522b92-cb6d-40bd-880d-0ddda2062c2d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "851b907f-9f2b-45f1-8432-db9ea3461920", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_df31f167_df31f167/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/output.xml new file mode 100644 index 00000000..2e0132bb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df31f167_df31f167/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="887a2f7a-cfb6-49db-a4a3-6193079f2e18"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.840.78"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6df11596-6f63-4042-a18c-b28e32bab995"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/18c3ac11-90e9-4b16-ac5c-08f524950ea6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="18c3ac11-90e9-4b16-ac5c-08f524950ea6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ee522b92-cb6d-40bd-880d-0ddda2062c2d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="629521522"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(09367) 7801199"/> + </telecom> + <telecom> + <system value="email"/> + <value value="zoé.horna@bos.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Fester Weg 0"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="0"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Fester Weg"/> + </extension> + </line> + <city value="Maurergrün"/> + <postalCode value="89655"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="851b907f-9f2b-45f1-8432-db9ea3461920"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="887332180"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.json index e49a2583..80da22c1 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "49f17d46-816d-4535-8d07-227fbee6d4f9", + "id": "5baec2ab-ee29-491d-a6df-fffd40448567", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "249112aa-3231-4f76-818b-e5e6e7b12105", + "id": "84b00713-1ab8-41d4-8ebb-214b10668c64", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/7876ed44-9993-42fa-a908-5563d1040989" + "reference": "Medication/2cc20155-385d-4489-ae6b-0bffc367311f" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "7876ed44-9993-42fa-a908-5563d1040989", + "id": "2cc20155-385d-4489-ae6b-0bffc367311f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "79efdc33-3fef-4068-b0bd-a939b0f139c5", + "id": "87c637cf-636e-4b99-947c-d6e5851372f5", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "3495a0f6-847b-4f06-af35-89328041c1e5", + "id": "2dd43b1b-6643-46d7-8767-4e9ce78007c5", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.xml index 124b2661..f3101e69 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="49f17d46-816d-4535-8d07-227fbee6d4f9"/> + <id value="5baec2ab-ee29-491d-a6df-fffd40448567"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="249112aa-3231-4f76-818b-e5e6e7b12105"/> + <id value="84b00713-1ab8-41d4-8ebb-214b10668c64"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/7876ed44-9993-42fa-a908-5563d1040989"/> + <reference value="Medication/2cc20155-385d-4489-ae6b-0bffc367311f"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="7876ed44-9993-42fa-a908-5563d1040989"/> + <id value="2cc20155-385d-4489-ae6b-0bffc367311f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="79efdc33-3fef-4068-b0bd-a939b0f139c5"/> + <id value="87c637cf-636e-4b99-947c-d6e5851372f5"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="3495a0f6-847b-4f06-af35-89328041c1e5"/> + <id value="2dd43b1b-6643-46d7-8767-4e9ce78007c5"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/input.xml new file mode 100644 index 00000000..72375c53 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="df4a4b64-dcec-4b73-92f6-9b5bda7291f9"/> + <meta> + <lastUpdated value="2024-02-13T11:24:06.338+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.837.87"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-13T11:24:06.338+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/f71b0d82-ac57-4247-98e4-1c96eb584a7c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f71b0d82-ac57-4247-98e4-1c96eb584a7c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/d007dda2-cbea-4708-9fca-99777a44cb14"/> + </subject> + <date value="2024-02-13T11:24:06+01:00"/> + <author> + <reference value="Practitioner/0ea0bb3d-be2b-4577-bf5e-7e3cc22ca5fb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/c5baf88d-8b89-4e82-9f4a-cea47b17aa51"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/07902dbe-f66f-4366-9fb5-76acb535faed"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/1ab1127c-6b7d-4e1f-90d8-248e5a68a5f5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/6a60028b-3166-4e77-a276-c315115a9860"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6a60028b-3166-4e77-a276-c315115a9860"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/d007dda2-cbea-4708-9fca-99777a44cb14"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="d007dda2-cbea-4708-9fca-99777a44cb14"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="T046142499"/> + </identifier> + <name> + <use value="official"/> + <family value="Gondern"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Gondern"/> + </extension> + </family> + <given value="Aenna"/> + </name> + <birthDate value="1982-03-31"/> + <address> + <type value="both"/> + <line value="Eichenweg 686"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="686"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Eichenweg"/> + </extension> + </line> + <city value="West Dominik"/> + <postalCode value="18822"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/c5baf88d-8b89-4e82-9f4a-cea47b17aa51"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c5baf88d-8b89-4e82-9f4a-cea47b17aa51"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="017186060"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-381-2710885"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sam.kisabaka@gamper.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Heidehöhe 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heidehöhe"/> + </extension> + </line> + <city value="Bigdelifeld"/> + <postalCode value="07258"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/07902dbe-f66f-4366-9fb5-76acb535faed"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="07902dbe-f66f-4366-9fb5-76acb535faed"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="49"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ebf09214-51e9-451a-8b83-89804cd81e59"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108608820"/> + </identifier> + <display value="LKK Franken und Oberbayern"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/0ea0bb3d-be2b-4577-bf5e-7e3cc22ca5fb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0ea0bb3d-be2b-4577-bf5e-7e3cc22ca5fb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="421218808"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/1ab1127c-6b7d-4e1f-90d8-248e5a68a5f5"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1ab1127c-6b7d-4e1f-90d8-248e5a68a5f5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/6a60028b-3166-4e77-a276-c315115a9860"/> + </medicationReference> + <subject> + <reference value="Patient/d007dda2-cbea-4708-9fca-99777a44cb14"/> + </subject> + <authoredOn value="2024-02-13"/> + <requester> + <reference value="Practitioner/0ea0bb3d-be2b-4577-bf5e-7e3cc22ca5fb"/> + </requester> + <insurance> + <reference value="Coverage/07902dbe-f66f-4366-9fb5-76acb535faed"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/output.json new file mode 100644 index 00000000..4690f983 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "3209d770-6331-45dd-ad72-86d5d8100d8e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c671bf5c-2c7a-4aa6-83c0-547522baa65a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/821247dc-4a2d-475e-956f-df3fcdb82ae5" + }, + "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": "821247dc-4a2d-475e-956f-df3fcdb82ae5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c063664b-7ed1-4295-ba62-741fb2099e7d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "096864fd-4cf1-4d0a-ad6f-bfaad8a5e20f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_df4a4b64_df4a4b64/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/output.xml new file mode 100644 index 00000000..46cb0c79 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df4a4b64_df4a4b64/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3209d770-6331-45dd-ad72-86d5d8100d8e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.006.474.837.87"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-13"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c671bf5c-2c7a-4aa6-83c0-547522baa65a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/821247dc-4a2d-475e-956f-df3fcdb82ae5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-13"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="821247dc-4a2d-475e-956f-df3fcdb82ae5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c063664b-7ed1-4295-ba62-741fb2099e7d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="017186060"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-381-2710885"/> + </telecom> + <telecom> + <system value="email"/> + <value value="sam.kisabaka@gamper.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Heidehöhe 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heidehöhe"/> + </extension> + </line> + <city value="Bigdelifeld"/> + <postalCode value="07258"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="096864fd-4cf1-4d0a-ad6f-bfaad8a5e20f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="421218808"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.json index 7b532a6c..7011de52 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "cc68f03a-9d0a-49ec-9354-ec8766893c4a", + "id": "ea83e0c8-409f-4576-b5ff-c9db9d629aa0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "ed0243b7-6171-4bcb-a04c-a780101335ad", + "id": "290ef060-f7d6-4c56-9a41-22ef12254b41", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -54,7 +54,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/da2b7b6a-0938-4592-b59c-d27f1902f0af" + "reference": "Medication/1337d424-3092-4d31-b5f9-0f93202db916" }, "subject": { "identifier": { @@ -78,7 +78,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "da2b7b6a-0938-4592-b59c-d27f1902f0af", + "id": "1337d424-3092-4d31-b5f9-0f93202db916", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -125,7 +125,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "657d2d4b-b303-4a9d-891b-6e55d032ad79", + "id": "b866ae62-cb82-4143-b308-f2f33cff1d40", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -187,7 +187,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "b6c5b805-3fdd-44bb-9d02-f59f9ba6d72d", + "id": "574cd56c-938e-4f85-88b4-32dcb3527e7e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.xml index b9675fd6..6c3cef97 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="cc68f03a-9d0a-49ec-9354-ec8766893c4a"/> + <id value="ea83e0c8-409f-4576-b5ff-c9db9d629aa0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ed0243b7-6171-4bcb-a04c-a780101335ad"/> + <id value="290ef060-f7d6-4c56-9a41-22ef12254b41"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -53,7 +53,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/da2b7b6a-0938-4592-b59c-d27f1902f0af"/> + <reference value="Medication/1337d424-3092-4d31-b5f9-0f93202db916"/> </medicationReference> <subject> <identifier> @@ -79,7 +79,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="da2b7b6a-0938-4592-b59c-d27f1902f0af"/> + <id value="1337d424-3092-4d31-b5f9-0f93202db916"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -126,7 +126,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="657d2d4b-b303-4a9d-891b-6e55d032ad79"/> + <id value="b866ae62-cb82-4143-b308-f2f33cff1d40"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -190,7 +190,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b6c5b805-3fdd-44bb-9d02-f59f9ba6d72d"/> + <id value="574cd56c-938e-4f85-88b4-32dcb3527e7e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69_df6aff69/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69_df6aff69/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69_df6aff69/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69_df6aff69/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69_df6aff69/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69_df6aff69/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69_df6aff69/output.json new file mode 100644 index 00000000..aa79e412 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69_df6aff69/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "ac54a370-bfb9-4ec0-94c9-934924a0a459", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "69168f2c-8de2-466f-82c8-532eb184bec2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/ea5f8287-59f0-43f7-851d-66dd1bff6139" + }, + "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": "ea5f8287-59f0-43f7-851d-66dd1bff6139", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3e612664-49f6-42e6-810f-5efee6e8158e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a196e7ad-94af-495f-b68b-3d13b943ce38", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_df6aff69_df6aff69/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69_df6aff69/output.xml new file mode 100644 index 00000000..0c5ee884 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_df6aff69_df6aff69/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ac54a370-bfb9-4ec0-94c9-934924a0a459"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.992.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="69168f2c-8de2-466f-82c8-532eb184bec2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:e4521c66-ca29-43a8-bb2c-9a6ffdec4e5f"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ea5f8287-59f0-43f7-851d-66dd1bff6139"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ea5f8287-59f0-43f7-851d-66dd1bff6139"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="26702202"/> + </coding> + <text value="Famimoor"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3e612664-49f6-42e6-810f-5efee6e8158e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="179250867"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02967) 0711010"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lennard.barr@bruhns.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Schenkendorfstr. 77"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="77"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schenkendorfstr."/> + </extension> + </line> + <city value="Kummlegrün"/> + <postalCode value="49648"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a196e7ad-94af-495f-b68b-3d13b943ce38"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="705332588"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.json index 41344fd6..f919d329 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "4961e417-6e0d-487f-9cdc-d5d7bdaadb19", + "id": "1129f7cd-11f9-4600-a94f-1782318205b1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "628413bb-5b71-4c0c-9846-363b14543ae8", + "id": "fffab7af-b46e-43ac-9b2a-ef47dd91c8ee", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/7a5fc9bc-0b48-4fbe-9d2c-1aa23089a659" + "reference": "Medication/40e59282-b0ba-4e5a-8208-b5689f6d1f41" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "7a5fc9bc-0b48-4fbe-9d2c-1aa23089a659", + "id": "40e59282-b0ba-4e5a-8208-b5689f6d1f41", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "89dc48c0-af0e-4b08-8b06-42ebdfd35b2d", + "id": "44e777ca-8ab0-496f-8959-90a2a4314a17", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "583ae4d8-5914-4d09-bb06-5400abcf5cf8", + "id": "1cca830f-d6c3-43de-becb-55c317d42e65", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.xml index 638256cc..1b55b05d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="4961e417-6e0d-487f-9cdc-d5d7bdaadb19"/> + <id value="1129f7cd-11f9-4600-a94f-1782318205b1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="628413bb-5b71-4c0c-9846-363b14543ae8"/> + <id value="fffab7af-b46e-43ac-9b2a-ef47dd91c8ee"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/7a5fc9bc-0b48-4fbe-9d2c-1aa23089a659"/> + <reference value="Medication/40e59282-b0ba-4e5a-8208-b5689f6d1f41"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="7a5fc9bc-0b48-4fbe-9d2c-1aa23089a659"/> + <id value="40e59282-b0ba-4e5a-8208-b5689f6d1f41"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="89dc48c0-af0e-4b08-8b06-42ebdfd35b2d"/> + <id value="44e777ca-8ab0-496f-8959-90a2a4314a17"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="583ae4d8-5914-4d09-bb06-5400abcf5cf8"/> + <id value="1cca830f-d6c3-43de-becb-55c317d42e65"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/input.xml new file mode 100644 index 00000000..da56357a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="e17e8259-c3f1-4734-a9d2-f97a9ed66c32"/> + <meta> + <lastUpdated value="2024-02-08T19:21:49.616+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.998.25"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:21:49.616+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/3c5a3cbd-5ac4-4b81-b0c4-354ae1198388"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="3c5a3cbd-5ac4-4b81-b0c4-354ae1198388"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1b40b21b-75c3-45a4-ae52-de00a93c66e1"/> + </subject> + <date value="2024-02-08T19:21:49+01:00"/> + <author> + <reference value="Practitioner/4a8c9bfd-3659-4e2e-968b-2908ece21da9"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/373d64ab-4560-42f1-a065-3ff58b28e6f8"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/0d3b4f33-a54d-4ad4-9dd5-7f2f155a031f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/36dc6c0d-d103-4973-96af-577d214a9bd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/57278eb0-a7bb-49eb-ab68-3242b5b691c2"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="57278eb0-a7bb-49eb-ab68-3242b5b691c2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="73951654"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/1b40b21b-75c3-45a4-ae52-de00a93c66e1"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1b40b21b-75c3-45a4-ae52-de00a93c66e1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1959-07-01"/> + <address> + <type value="both"/> + <line value="Ratiborer Str. 007"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="007"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ratiborer Str."/> + </extension> + </line> + <city value="Claireberg"/> + <postalCode value="86614"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/373d64ab-4560-42f1-a065-3ff58b28e6f8"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="373d64ab-4560-42f1-a065-3ff58b28e6f8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="714643725"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-247-4772661"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lina.mallmann@zaituc.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Rückertstr. 78c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="78c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Rückertstr."/> + </extension> + </line> + <city value="Wollmannheim"/> + <postalCode value="08712"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/0d3b4f33-a54d-4ad4-9dd5-7f2f155a031f"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="0d3b4f33-a54d-4ad4-9dd5-7f2f155a031f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/0a5ddacf-7c14-4974-ae41-bc6eedc1b21a"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140379"/> + </identifier> + <display value="Münchener Verein Versicherungsgruppe"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/4a8c9bfd-3659-4e2e-968b-2908ece21da9"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4a8c9bfd-3659-4e2e-968b-2908ece21da9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="434355951"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/36dc6c0d-d103-4973-96af-577d214a9bd4"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="36dc6c0d-d103-4973-96af-577d214a9bd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/57278eb0-a7bb-49eb-ab68-3242b5b691c2"/> + </medicationReference> + <subject> + <reference value="Patient/1b40b21b-75c3-45a4-ae52-de00a93c66e1"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/4a8c9bfd-3659-4e2e-968b-2908ece21da9"/> + </requester> + <insurance> + <reference value="Coverage/0d3b4f33-a54d-4ad4-9dd5-7f2f155a031f"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/output.json new file mode 100644 index 00000000..fa3f1cf4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "534fcefe-5eff-4961-adb5-5599c4419f94", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "bed66ed8-4c94-487c-8856-c12fcae33a9f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/363d66fe-8dbd-4289-8714-abb3bf139b71" + }, + "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": "363d66fe-8dbd-4289-8714-abb3bf139b71", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0ee4de33-9fa8-4f58-89f0-1e03f14c557a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e1c58b70-ae64-4400-8391-7367eb89f241", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e17e8259_e17e8259/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/output.xml new file mode 100644 index 00000000..30e68f3f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e17e8259_e17e8259/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="534fcefe-5eff-4961-adb5-5599c4419f94"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.998.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="bed66ed8-4c94-487c-8856-c12fcae33a9f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/363d66fe-8dbd-4289-8714-abb3bf139b71"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="363d66fe-8dbd-4289-8714-abb3bf139b71"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="73951654"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0ee4de33-9fa8-4f58-89f0-1e03f14c557a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="714643725"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-247-4772661"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lina.mallmann@zaituc.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Rückertstr. 78c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="78c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Rückertstr."/> + </extension> + </line> + <city value="Wollmannheim"/> + <postalCode value="08712"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e1c58b70-ae64-4400-8391-7367eb89f241"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="434355951"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/output.json deleted file mode 100644 index 344158a1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e5637aff-b155-4bc8-8fd5-2825494d8f27", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "53fccdec-8f39-4332-a705-423220ed8e36", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/fba02f11-0a7e-414d-8537-45e7e5db52bb" - }, - "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": "fba02f11-0a7e-414d-8537-45e7e5db52bb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "992195cc-9273-49d6-82ae-f262c9154537", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "8e1c2ac8-f70b-4863-af9c-fdee1dacf9a6", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_b0589d4c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/output.xml deleted file mode 100644 index d793b368..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e5637aff-b155-4bc8-8fd5-2825494d8f27"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="169.000.011.203.695.62"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="53fccdec-8f39-4332-a705-423220ed8e36"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/fba02f11-0a7e-414d-8537-45e7e5db52bb"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fba02f11-0a7e-414d-8537-45e7e5db52bb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="14659553"/> - </coding> - <text value="Abaamisäure"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="992195cc-9273-49d6-82ae-f262c9154537"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="461121725"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0442) 721610987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="jason.schaffarzik@auer.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Lötzener Str. 44b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="44b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Lötzener Str."/> - </extension> - </line> - <city value="West Juandorf"/> - <postalCode value="54462"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="8e1c2ac8-f70b-4863-af9c-fdee1dacf9a6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="706769059"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/input.xml new file mode 100644 index 00000000..c6a9d473 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="b0589d4c-31b6-4d94-9b5c-0e33c6e2eb89"/> + <meta> + <lastUpdated value="2024-02-08T19:13:42.368+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.695.62"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:13:42.368+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/34535cb4-e661-4585-9055-ba0127d9f9d4"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="34535cb4-e661-4585-9055-ba0127d9f9d4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1f617798-eef2-462d-b9ff-05ceb4f68496"/> + </subject> + <date value="2024-02-08T19:13:42+01:00"/> + <author> + <reference value="Practitioner/dc86b38e-7fb6-49a8-a49c-5d2d8ea5e8de"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/de2c01ea-22f6-48be-b959-7d472410f40e"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/0b11dc6f-75c1-4668-8f6c-74bb9fa97a5b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/42855b5a-a7c5-49ea-a29c-87da47c5c983"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/9adfbfc4-7b3c-49d1-9f6e-34f02761782e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9adfbfc4-7b3c-49d1-9f6e-34f02761782e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="14659553"/> + </coding> + <text value="Abaamisäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/1f617798-eef2-462d-b9ff-05ceb4f68496"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1f617798-eef2-462d-b9ff-05ceb4f68496"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110499478"/> + </identifier> + <name> + <use value="official"/> + <family value="Bäcker"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Bäcker"/> + </extension> + </family> + <given value="Hanna"/> + </name> + <birthDate value="1972-12-21"/> + <address> + <type value="both"/> + <line value="Heckenweg 59b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="59b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Heckenweg"/> + </extension> + </line> + <city value="Neu Sofie"/> + <postalCode value="56059"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/de2c01ea-22f6-48be-b959-7d472410f40e"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="de2c01ea-22f6-48be-b959-7d472410f40e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="461121725"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0442) 721610987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jason.schaffarzik@auer.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Lötzener Str. 44b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="44b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lötzener Str."/> + </extension> + </line> + <city value="West Juandorf"/> + <postalCode value="54462"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/0b11dc6f-75c1-4668-8f6c-74bb9fa97a5b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="0b11dc6f-75c1-4668-8f6c-74bb9fa97a5b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="62"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/548580e4-5c40-4a70-9308-d59b46ec7663"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="103121013"/> + </identifier> + <display value="atlas BKK ahlmann"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/dc86b38e-7fb6-49a8-a49c-5d2d8ea5e8de"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dc86b38e-7fb6-49a8-a49c-5d2d8ea5e8de"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="706769059"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/42855b5a-a7c5-49ea-a29c-87da47c5c983"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="42855b5a-a7c5-49ea-a29c-87da47c5c983"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/9adfbfc4-7b3c-49d1-9f6e-34f02761782e"/> + </medicationReference> + <subject> + <reference value="Patient/1f617798-eef2-462d-b9ff-05ceb4f68496"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/dc86b38e-7fb6-49a8-a49c-5d2d8ea5e8de"/> + </requester> + <insurance> + <reference value="Coverage/0b11dc6f-75c1-4668-8f6c-74bb9fa97a5b"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/output.json new file mode 100644 index 00000000..bef1752b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "2f5eb8f0-ab3b-4597-a5a0-b8bbbe7de2ab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8142b902-59a9-4c4b-b792-01d3574904a6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b0e81ad6-fc1b-474b-951c-86408293a771" + }, + "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": "b0e81ad6-fc1b-474b-951c-86408293a771", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "99367c76-7e57-49b4-8051-c2e5b990b6bc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "12f35438-4b11-4d8b-9d42-18ad7c9acdb8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b0589d4c_b0589d4c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/output.xml new file mode 100644 index 00000000..49c96b20 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8_b0589d4c_b0589d4c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2f5eb8f0-ab3b-4597-a5a0-b8bbbe7de2ab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="169.000.011.203.695.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8142b902-59a9-4c4b-b792-01d3574904a6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b0e81ad6-fc1b-474b-951c-86408293a771"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b0e81ad6-fc1b-474b-951c-86408293a771"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="14659553"/> + </coding> + <text value="Abaamisäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="99367c76-7e57-49b4-8051-c2e5b990b6bc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="461121725"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0442) 721610987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="jason.schaffarzik@auer.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Lötzener Str. 44b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="44b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lötzener Str."/> + </extension> + </line> + <city value="West Juandorf"/> + <postalCode value="54462"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="12f35438-4b11-4d8b-9d42-18ad7c9acdb8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="706769059"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.json index bb12e3cd..7abf8e15 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c38c80c0-9725-4cfa-a2a7-f13567a7fc9b", + "id": "7228593b-04de-487f-af23-02ea8f120c9b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "998ca611-1cce-4517-a8d9-6dfde225ad6d", + "id": "0c82a482-50de-4576-889e-135a8027aedb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/a85f84c4-a26c-426c-91d8-266039f8f54d" + "reference": "Medication/bcff48a6-1c36-4152-9754-0df89edb1774" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a85f84c4-a26c-426c-91d8-266039f8f54d", + "id": "bcff48a6-1c36-4152-9754-0df89edb1774", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "68e594c7-fb39-4116-99df-acad0f44331b", + "id": "13ed8d8b-853a-477b-a0d4-8564566abe8c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "63c8afea-55f6-410b-96bb-95a5f8c4e7d8", + "id": "b3109d2d-c343-41d4-8eab-a6f5994855fd", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.xml index f336b4b6..674d5247 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c38c80c0-9725-4cfa-a2a7-f13567a7fc9b"/> + <id value="7228593b-04de-487f-af23-02ea8f120c9b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="998ca611-1cce-4517-a8d9-6dfde225ad6d"/> + <id value="0c82a482-50de-4576-889e-135a8027aedb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/a85f84c4-a26c-426c-91d8-266039f8f54d"/> + <reference value="Medication/bcff48a6-1c36-4152-9754-0df89edb1774"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a85f84c4-a26c-426c-91d8-266039f8f54d"/> + <id value="bcff48a6-1c36-4152-9754-0df89edb1774"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="68e594c7-fb39-4116-99df-acad0f44331b"/> + <id value="13ed8d8b-853a-477b-a0d4-8564566abe8c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="63c8afea-55f6-410b-96bb-95a5f8c4e7d8"/> + <id value="b3109d2d-c343-41d4-8eab-a6f5994855fd"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/input.xml new file mode 100644 index 00000000..236326d0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="e4a92e97-c8be-4ba7-a100-06e0c67e8319"/> + <meta> + <lastUpdated value="2024-02-08T19:04:42.126+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.762.86"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:04:42.126+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/8bdee8ca-14c7-455f-9eb2-b0f910ba771c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8bdee8ca-14c7-455f-9eb2-b0f910ba771c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/550830ba-4abf-41af-aa84-c4d022268bd9"/> + </subject> + <date value="2024-02-08T19:04:42+01:00"/> + <author> + <reference value="Practitioner/1a768f4b-1f4a-4028-84a4-d87afa37e90b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/3b59453f-77ce-459f-979e-641f7d2111e2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/846a6184-9126-4e78-b4a1-ae71349489fc"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/c75b8d68-259c-49b1-ab48-2fc18b70e880"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/53bcd445-b566-46e6-a3ce-c1b6fcd51965"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="53bcd445-b566-46e6-a3ce-c1b6fcd51965"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/550830ba-4abf-41af-aa84-c4d022268bd9"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="550830ba-4abf-41af-aa84-c4d022268bd9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1969-05-24"/> + <address> + <type value="both"/> + <line value="Im Kalkfeld 85c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="85c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Im Kalkfeld"/> + </extension> + </line> + <city value="Alt Selimland"/> + <postalCode value="22100"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/3b59453f-77ce-459f-979e-641f7d2111e2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3b59453f-77ce-459f-979e-641f7d2111e2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="178681307"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(03855) 5059185"/> + </telecom> + <telecom> + <system value="email"/> + <value value="katrin.fenner@lack.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Zeppelinstr. 45"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="45"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Zeppelinstr."/> + </extension> + </line> + <city value="Neu Sebastiandorf"/> + <postalCode value="60499"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/846a6184-9126-4e78-b4a1-ae71349489fc"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="846a6184-9126-4e78-b4a1-ae71349489fc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="83"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/9648da04-ce4d-464b-82ed-4008e8e80144"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109033393"/> + </identifier> + <display value="BKK Faber‐Castell und Partner"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/1a768f4b-1f4a-4028-84a4-d87afa37e90b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1a768f4b-1f4a-4028-84a4-d87afa37e90b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="743253968"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/c75b8d68-259c-49b1-ab48-2fc18b70e880"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c75b8d68-259c-49b1-ab48-2fc18b70e880"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/53bcd445-b566-46e6-a3ce-c1b6fcd51965"/> + </medicationReference> + <subject> + <reference value="Patient/550830ba-4abf-41af-aa84-c4d022268bd9"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/1a768f4b-1f4a-4028-84a4-d87afa37e90b"/> + </requester> + <insurance> + <reference value="Coverage/846a6184-9126-4e78-b4a1-ae71349489fc"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/output.json new file mode 100644 index 00000000..3a925043 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "aaab682e-77e2-47de-8151-80104914fe48", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6b4a21b0-deb8-4add-b496-9116bd6a1716", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f57d6021-54ac-4812-bc90-97dd409286d9" + }, + "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": "f57d6021-54ac-4812-bc90-97dd409286d9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9e165b3c-6748-471e-9dd8-e2229193ddb8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "754053ac-1053-4cb7-9195-e691e94e2a9a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e4a92e97_e4a92e97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/output.xml new file mode 100644 index 00000000..298d1689 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4a92e97_e4a92e97/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="aaab682e-77e2-47de-8151-80104914fe48"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.762.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6b4a21b0-deb8-4add-b496-9116bd6a1716"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f57d6021-54ac-4812-bc90-97dd409286d9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f57d6021-54ac-4812-bc90-97dd409286d9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9e165b3c-6748-471e-9dd8-e2229193ddb8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="178681307"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(03855) 5059185"/> + </telecom> + <telecom> + <system value="email"/> + <value value="katrin.fenner@lack.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Zeppelinstr. 45"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="45"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Zeppelinstr."/> + </extension> + </line> + <city value="Neu Sebastiandorf"/> + <postalCode value="60499"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="754053ac-1053-4cb7-9195-e691e94e2a9a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="743253968"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/output.json deleted file mode 100644 index ffb4b0d7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "9509e502-6d2b-421e-895b-5dd4be67495c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "eccb1c69-d19d-4d3f-a236-9896224ac716", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/5325c69e-256c-45e6-b823-0d5b14e45850" - }, - "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": "5325c69e-256c-45e6-b823-0d5b14e45850", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "721112db-cb7b-4298-8467-614a799630f6", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "347de779-1344-4401-9f40-86ae9d2388cf", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_80a43c33/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/output.xml deleted file mode 100644 index 74d6202e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9509e502-6d2b-421e-895b-5dd4be67495c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.755.10"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="eccb1c69-d19d-4d3f-a236-9896224ac716"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/5325c69e-256c-45e6-b823-0d5b14e45850"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5325c69e-256c-45e6-b823-0d5b14e45850"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="721112db-cb7b-4298-8467-614a799630f6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="737599264"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(08673) 2510563"/> - </telecom> - <telecom> - <system value="email"/> - <value value="nadine.karhoff@huckestein.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Erftstr. 57"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="57"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Erftstr."/> - </extension> - </line> - <city value="Lehmannstadt"/> - <postalCode value="05982"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="347de779-1344-4401-9f40-86ae9d2388cf"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="408698026"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/input.xml new file mode 100644 index 00000000..4dcc0e71 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="80a43c33-4e81-416e-bb3d-6b3f8b418ccb"/> + <meta> + <lastUpdated value="2024-02-08T19:03:34.446+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.755.10"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:03:34.446+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/c86ebf52-9a51-4a00-b6cc-e0d70d6f93c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="c86ebf52-9a51-4a00-b6cc-e0d70d6f93c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/549721c8-9351-44dc-ad4c-d8da5f423c8d"/> + </subject> + <date value="2024-02-08T19:03:34+01:00"/> + <author> + <reference value="Practitioner/dfddbf73-b6e0-4ad3-a53f-b58338f9aa03"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/360fd110-471f-4679-867e-f09f28b2abe2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/004a57ab-d1ce-40b2-8af5-666266d21ca8"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/fb1d3d78-40c4-44fe-958d-f85792cdf96a"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/274d0577-ccd1-4083-b405-df2d8a71bb6e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="274d0577-ccd1-4083-b405-df2d8a71bb6e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/549721c8-9351-44dc-ad4c-d8da5f423c8d"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="549721c8-9351-44dc-ad4c-d8da5f423c8d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1994-11-24"/> + <address> + <type value="both"/> + <line value="Solinger Str. 92c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="92c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Solinger Str."/> + </extension> + </line> + <city value="Ost Xeniaberg"/> + <postalCode value="91505"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/360fd110-471f-4679-867e-f09f28b2abe2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="360fd110-471f-4679-867e-f09f28b2abe2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="737599264"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(08673) 2510563"/> + </telecom> + <telecom> + <system value="email"/> + <value value="nadine.karhoff@huckestein.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Erftstr. 57"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Erftstr."/> + </extension> + </line> + <city value="Lehmannstadt"/> + <postalCode value="05982"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/004a57ab-d1ce-40b2-8af5-666266d21ca8"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="004a57ab-d1ce-40b2-8af5-666266d21ca8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="48"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/51ee3db6-bebd-4a6a-be06-21fa15d98f53"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108534160"/> + </identifier> + <display value="Audi BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/dfddbf73-b6e0-4ad3-a53f-b58338f9aa03"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dfddbf73-b6e0-4ad3-a53f-b58338f9aa03"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="408698026"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/fb1d3d78-40c4-44fe-958d-f85792cdf96a"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fb1d3d78-40c4-44fe-958d-f85792cdf96a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/274d0577-ccd1-4083-b405-df2d8a71bb6e"/> + </medicationReference> + <subject> + <reference value="Patient/549721c8-9351-44dc-ad4c-d8da5f423c8d"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/dfddbf73-b6e0-4ad3-a53f-b58338f9aa03"/> + </requester> + <insurance> + <reference value="Coverage/004a57ab-d1ce-40b2-8af5-666266d21ca8"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/output.json new file mode 100644 index 00000000..57df8173 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "1c0c2487-651d-4fb0-9eab-b970d3045865", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8d30bdad-f57c-40b3-9ee6-1810f76cdcd1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9303b553-4aec-45e8-89e8-16a2da1e4840" + }, + "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": "9303b553-4aec-45e8-89e8-16a2da1e4840", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f6137907-74bb-4a8c-9f5e-71dc50f5d117", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a20bf827-d3e4-4e27-acbf-409071b73371", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_80a43c33_80a43c33/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/output.xml new file mode 100644 index 00000000..195d90cc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba_80a43c33_80a43c33/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1c0c2487-651d-4fb0-9eab-b970d3045865"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.755.10"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8d30bdad-f57c-40b3-9ee6-1810f76cdcd1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9303b553-4aec-45e8-89e8-16a2da1e4840"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9303b553-4aec-45e8-89e8-16a2da1e4840"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f6137907-74bb-4a8c-9f5e-71dc50f5d117"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="737599264"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(08673) 2510563"/> + </telecom> + <telecom> + <system value="email"/> + <value value="nadine.karhoff@huckestein.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Erftstr. 57"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="57"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Erftstr."/> + </extension> + </line> + <city value="Lehmannstadt"/> + <postalCode value="05982"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a20bf827-d3e4-4e27-acbf-409071b73371"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="408698026"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.json index b3244470..5e9482f9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "9780fb00-7c5c-42fc-82c9-7234003c7e06", + "id": "56309027-16cb-4d53-bc3f-446fc8522f17", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "eadf063d-1c58-41b3-be08-6a9dc61a874c", + "id": "2d9f7589-b982-4fd6-88ac-7557c5a685cd", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -55,7 +55,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/65986044-186b-4220-9de8-1893c5378c87" + "reference": "Medication/5ddda943-34b1-49ce-a583-bfb38c53a973" }, "subject": { "identifier": { @@ -79,7 +79,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "65986044-186b-4220-9de8-1893c5378c87", + "id": "5ddda943-34b1-49ce-a583-bfb38c53a973", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -126,7 +126,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "13bd47ab-5274-4cb2-bd3d-298113767270", + "id": "a92d1254-7637-4eaa-97df-e6f6ebd04aaa", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -188,7 +188,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "605fd8e6-e34f-4039-aa34-0a5fd82368d9", + "id": "9587b567-0627-417a-9667-468d3b23c1c6", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.xml index fb71f7be..e5971803 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="9780fb00-7c5c-42fc-82c9-7234003c7e06"/> + <id value="56309027-16cb-4d53-bc3f-446fc8522f17"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="eadf063d-1c58-41b3-be08-6a9dc61a874c"/> + <id value="2d9f7589-b982-4fd6-88ac-7557c5a685cd"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -54,7 +54,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/65986044-186b-4220-9de8-1893c5378c87"/> + <reference value="Medication/5ddda943-34b1-49ce-a583-bfb38c53a973"/> </medicationReference> <subject> <identifier> @@ -80,7 +80,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="65986044-186b-4220-9de8-1893c5378c87"/> + <id value="5ddda943-34b1-49ce-a583-bfb38c53a973"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -127,7 +127,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="13bd47ab-5274-4cb2-bd3d-298113767270"/> + <id value="a92d1254-7637-4eaa-97df-e6f6ebd04aaa"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -191,7 +191,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="605fd8e6-e34f-4039-aa34-0a5fd82368d9"/> + <id value="9587b567-0627-417a-9667-468d3b23c1c6"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/input.xml new file mode 100644 index 00000000..8570be09 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/input.xml @@ -0,0 +1,403 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="e6706910-8905-47d4-94a3-dedb882d04fe"/> + <meta> + <lastUpdated value="2024-02-08T19:10:25.809+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.784.20"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:10:25.809+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/932dea31-a1c0-4106-8732-349fe167bf1d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="932dea31-a1c0-4106-8732-349fe167bf1d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/bde1731b-4dba-4dd5-91f9-175b0e9a51af"/> + </subject> + <date value="2024-02-08T19:10:25+01:00"/> + <author> + <reference value="Practitioner/c7c1ae8e-a4db-4853-a90b-6d88a436ba47"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/a522a15f-9e69-45cf-b063-b8892127bfd4"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/e1e56006-c327-4f48-b1d9-9b19317ec540"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/731969bb-5cb6-4dd1-b57f-b47b9f757f25"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/6f068ff5-f3e7-470f-9899-91f804ce3944"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6f068ff5-f3e7-470f-9899-91f804ce3944"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="42938335"/> + </coding> + <text value="Fexvomilzol"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/bde1731b-4dba-4dd5-91f9-175b0e9a51af"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="bde1731b-4dba-4dd5-91f9-175b0e9a51af"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1959-09-18"/> + <address> + <type value="both"/> + <line value="Alsenstr. 47b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="47b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Alsenstr."/> + </extension> + </line> + <city value="Neu Ceciliaburg"/> + <postalCode value="78856"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/a522a15f-9e69-45cf-b063-b8892127bfd4"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a522a15f-9e69-45cf-b063-b8892127bfd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="839368350"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7222-51775715"/> + </telecom> + <telecom> + <system value="email"/> + <value value="josie.malkus@jaros.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Pfarrer-Jekel-Str. 47a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="47a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pfarrer-Jekel-Str."/> + </extension> + </line> + <city value="Klein Kimberlystadt"/> + <postalCode value="17592"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/e1e56006-c327-4f48-b1d9-9b19317ec540"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e1e56006-c327-4f48-b1d9-9b19317ec540"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="46"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/b5766bbf-61f5-4849-bb74-578740a0c15b"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="106020600"/> + </identifier> + <display value="BKK MEM"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/c7c1ae8e-a4db-4853-a90b-6d88a436ba47"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c7c1ae8e-a4db-4853-a90b-6d88a436ba47"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="792402920"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/731969bb-5cb6-4dd1-b57f-b47b9f757f25"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="731969bb-5cb6-4dd1-b57f-b47b9f757f25"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-02-08"/> + <end value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:2f86b77d-8e11-42ac-89fe-5a1d39775378"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/6f068ff5-f3e7-470f-9899-91f804ce3944"/> + </medicationReference> + <subject> + <reference value="Patient/bde1731b-4dba-4dd5-91f9-175b0e9a51af"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/c7c1ae8e-a4db-4853-a90b-6d88a436ba47"/> + </requester> + <insurance> + <reference value="Coverage/e1e56006-c327-4f48-b1d9-9b19317ec540"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/output.json new file mode 100644 index 00000000..44e75842 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/output.json @@ -0,0 +1,234 @@ +{ + "resourceType": "Parameters", + "id": "93c4d562-8d82-48ad-b1b3-4f26fd3a3391", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b14606d3-3f4d-4c21-8393-d35264670ace", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/2ee58156-4101-44a4-b09e-843eca2fb96d" + }, + "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": "2ee58156-4101-44a4-b09e-843eca2fb96d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2984fba3-8a5e-4274-9a3a-c702d3434e4e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ecd2bb4b-7d47-4433-8119-96065b59e54d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e6706910_e6706910/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/output.xml new file mode 100644 index 00000000..898d7a85 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e6706910_e6706910/output.xml @@ -0,0 +1,237 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="93c4d562-8d82-48ad-b1b3-4f26fd3a3391"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.784.20"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b14606d3-3f4d-4c21-8393-d35264670ace"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-02-08"/> + <end value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:2f86b77d-8e11-42ac-89fe-5a1d39775378"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2ee58156-4101-44a4-b09e-843eca2fb96d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2ee58156-4101-44a4-b09e-843eca2fb96d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="42938335"/> + </coding> + <text value="Fexvomilzol"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2984fba3-8a5e-4274-9a3a-c702d3434e4e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="839368350"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7222-51775715"/> + </telecom> + <telecom> + <system value="email"/> + <value value="josie.malkus@jaros.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Pfarrer-Jekel-Str. 47a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="47a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pfarrer-Jekel-Str."/> + </extension> + </line> + <city value="Klein Kimberlystadt"/> + <postalCode value="17592"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ecd2bb4b-7d47-4433-8119-96065b59e54d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="792402920"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/output.json deleted file mode 100644 index b743a3de..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/output.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "6589c515-a1e6-4d4c-b788-50e6626d9187", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "4e189a6f-caf5-4cb2-bcbf-af9d0c799eec", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/95573b21-5c3b-4888-95cd-b15ffdc42df2" - }, - "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": "95573b21-5c3b-4888-95cd-b15ffdc42df2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "54633977-2fb3-428e-a6b6-f28dfe626dd2", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "3d100e27-0110-4515-9e23-f16075825ec4", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_df6aff69/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/output.xml deleted file mode 100644 index e2c3861c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69/output.xml +++ /dev/null @@ -1,236 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6589c515-a1e6-4d4c-b788-50e6626d9187"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.992.43"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4e189a6f-caf5-4cb2-bcbf-af9d0c799eec"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-11-04"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:e4521c66-ca29-43a8-bb2c-9a6ffdec4e5f"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/95573b21-5c3b-4888-95cd-b15ffdc42df2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="95573b21-5c3b-4888-95cd-b15ffdc42df2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="26702202"/> - </coding> - <text value="Famimoor"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="54633977-2fb3-428e-a6b6-f28dfe626dd2"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="179250867"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(02967) 0711010"/> - </telecom> - <telecom> - <system value="email"/> - <value value="lennard.barr@bruhns.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Schenkendorfstr. 77"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="77"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Schenkendorfstr."/> - </extension> - </line> - <city value="Kummlegrün"/> - <postalCode value="49648"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="3d100e27-0110-4515-9e23-f16075825ec4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="705332588"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/input.xml new file mode 100644 index 00000000..139e6959 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/input.xml @@ -0,0 +1,402 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="df6aff69-7c99-4c89-b521-e4c719b432b1"/> + <meta> + <lastUpdated value="2024-02-08T19:10:14.074+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.992.43"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:10:14.074+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/0faef688-fb15-44f0-b1e0-31f87b57ad7d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="0faef688-fb15-44f0-b1e0-31f87b57ad7d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/52254960-7125-45fd-ad1e-284d204bd109"/> + </subject> + <date value="2024-02-08T19:10:14+01:00"/> + <author> + <reference value="Practitioner/7eafa5d5-5b17-46e0-b08f-a02308ce7201"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/a2b2f4a1-55ff-4158-b237-032fdce6f518"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/0836d48f-27c9-471c-a4b3-2462ccf517ce"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/b5e78edf-dcbb-4d87-8705-ce8c62fe1d93"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/85a25048-7786-4637-9c37-9285dc1721f8"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="85a25048-7786-4637-9c37-9285dc1721f8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="26702202"/> + </coding> + <text value="Famimoor"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/52254960-7125-45fd-ad1e-284d204bd109"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="52254960-7125-45fd-ad1e-284d204bd109"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1989-12-18"/> + <address> + <type value="both"/> + <line value="Adolf-Baeyer-Str. 7"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="7"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Adolf-Baeyer-Str."/> + </extension> + </line> + <city value="Bad Annikaland"/> + <postalCode value="90666"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/a2b2f4a1-55ff-4158-b237-032fdce6f518"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a2b2f4a1-55ff-4158-b237-032fdce6f518"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="179250867"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02967) 0711010"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lennard.barr@bruhns.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Schenkendorfstr. 77"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="77"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schenkendorfstr."/> + </extension> + </line> + <city value="Kummlegrün"/> + <postalCode value="49648"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/0836d48f-27c9-471c-a4b3-2462ccf517ce"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="0836d48f-27c9-471c-a4b3-2462ccf517ce"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="60"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/2f973722-18ac-4309-81ce-5e3ef2547fd7"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141358"/> + </identifier> + <display value="Provinzial"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/7eafa5d5-5b17-46e0-b08f-a02308ce7201"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7eafa5d5-5b17-46e0-b08f-a02308ce7201"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="705332588"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/b5e78edf-dcbb-4d87-8705-ce8c62fe1d93"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b5e78edf-dcbb-4d87-8705-ce8c62fe1d93"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:e4521c66-ca29-43a8-bb2c-9a6ffdec4e5f"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/85a25048-7786-4637-9c37-9285dc1721f8"/> + </medicationReference> + <subject> + <reference value="Patient/52254960-7125-45fd-ad1e-284d204bd109"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/7eafa5d5-5b17-46e0-b08f-a02308ce7201"/> + </requester> + <insurance> + <reference value="Coverage/0836d48f-27c9-471c-a4b3-2462ccf517ce"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/output.json new file mode 100644 index 00000000..2a65ed65 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "92f19ec7-fb35-4eae-8e18-a36560c0e522", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4b596021-bd96-4cae-979d-5a4a8fd7fc9e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/fc275674-2352-4328-a86b-378b1e9a0337" + }, + "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": "fc275674-2352-4328-a86b-378b1e9a0337", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d9661f5e-64d2-4e44-9f57-9913a55c5c51", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "fbfc8032-ed62-431a-a908-e3958ed0e8df", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_df6aff69_df6aff69/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/output.xml new file mode 100644 index 00000000..211a3283 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001_df6aff69_df6aff69/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="92f19ec7-fb35-4eae-8e18-a36560c0e522"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.992.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4b596021-bd96-4cae-979d-5a4a8fd7fc9e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:e4521c66-ca29-43a8-bb2c-9a6ffdec4e5f"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fc275674-2352-4328-a86b-378b1e9a0337"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fc275674-2352-4328-a86b-378b1e9a0337"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="26702202"/> + </coding> + <text value="Famimoor"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d9661f5e-64d2-4e44-9f57-9913a55c5c51"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="179250867"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02967) 0711010"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lennard.barr@bruhns.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Schenkendorfstr. 77"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="77"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schenkendorfstr."/> + </extension> + </line> + <city value="Kummlegrün"/> + <postalCode value="49648"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="fbfc8032-ed62-431a-a908-e3958ed0e8df"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="705332588"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/output.json deleted file mode 100644 index 6e233dbf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "619d5046-1fdb-4e9f-a9fb-864af2583ee3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "d2d7fe6a-446d-419b-aff2-79b3fe9d2f09", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/2bd8529a-82dd-4122-9929-2dca549ff46c" - }, - "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": "2bd8529a-82dd-4122-9929-2dca549ff46c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ef7516b5-3f76-4ea2-9ff7-378975090c8c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "03f617ad-c805-465f-b4d8-33e7ebbe3950", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_7fe0b57d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/output.xml deleted file mode 100644 index 5db31337..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="619d5046-1fdb-4e9f-a9fb-864af2583ee3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.032.997.28"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d2d7fe6a-446d-419b-aff2-79b3fe9d2f09"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/2bd8529a-82dd-4122-9929-2dca549ff46c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2bd8529a-82dd-4122-9929-2dca549ff46c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="64536028"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ef7516b5-3f76-4ea2-9ff7-378975090c8c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="529873977"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-479-7901020"/> - </telecom> - <telecom> - <system value="email"/> - <value value="dana.meisch@kolokas.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Bohofsweg 52"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="52"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Bohofsweg"/> - </extension> - </line> - <city value="Winterhagen"/> - <postalCode value="08005"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="03f617ad-c805-465f-b4d8-33e7ebbe3950"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="866731615"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/input.xml new file mode 100644 index 00000000..ad6bac29 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7fe0b57d-61d6-4558-b046-c4f0e73b2a47"/> + <meta> + <lastUpdated value="2024-02-08T19:21:44.108+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.997.28"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:21:44.108+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/f7ecac09-2bf7-4bbf-ac3f-8bf43334bfa4"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f7ecac09-2bf7-4bbf-ac3f-8bf43334bfa4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1a9cd29f-4d36-45e9-842e-f3c48ed17b4d"/> + </subject> + <date value="2024-02-08T19:21:44+01:00"/> + <author> + <reference value="Practitioner/fb33dff7-80fa-4003-8118-0280c8fca8c0"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/309a6e0e-b207-481f-94b8-1bccffadb5e9"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/3708ac3a-800b-4387-89c7-e64fabc7bd86"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/699b279d-58ac-4fbb-badb-8b72e709f5aa"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/f9dc8f1f-2f3f-4952-810e-a4fefe76d845"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f9dc8f1f-2f3f-4952-810e-a4fefe76d845"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64536028"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/1a9cd29f-4d36-45e9-842e-f3c48ed17b4d"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1a9cd29f-4d36-45e9-842e-f3c48ed17b4d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1969-04-26"/> + <address> + <type value="both"/> + <line value="Rathenaustr. 453"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="453"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Rathenaustr."/> + </extension> + </line> + <city value="Neumairheim"/> + <postalCode value="58976"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/309a6e0e-b207-481f-94b8-1bccffadb5e9"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="309a6e0e-b207-481f-94b8-1bccffadb5e9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="529873977"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-479-7901020"/> + </telecom> + <telecom> + <system value="email"/> + <value value="dana.meisch@kolokas.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Bohofsweg 52"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="52"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bohofsweg"/> + </extension> + </line> + <city value="Winterhagen"/> + <postalCode value="08005"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/3708ac3a-800b-4387-89c7-e64fabc7bd86"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="3708ac3a-800b-4387-89c7-e64fabc7bd86"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="55"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fbbf0125-52c2-4738-8153-a099b11b8062"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140346"/> + </identifier> + <display value="Allianz"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/fb33dff7-80fa-4003-8118-0280c8fca8c0"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="fb33dff7-80fa-4003-8118-0280c8fca8c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="866731615"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/699b279d-58ac-4fbb-badb-8b72e709f5aa"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="699b279d-58ac-4fbb-badb-8b72e709f5aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/f9dc8f1f-2f3f-4952-810e-a4fefe76d845"/> + </medicationReference> + <subject> + <reference value="Patient/1a9cd29f-4d36-45e9-842e-f3c48ed17b4d"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/fb33dff7-80fa-4003-8118-0280c8fca8c0"/> + </requester> + <insurance> + <reference value="Coverage/3708ac3a-800b-4387-89c7-e64fabc7bd86"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/output.json new file mode 100644 index 00000000..2dce3b44 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "3dba35a9-0f5d-426e-bfa4-54a6ef88fcb5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "146e42ba-6a28-4d55-9684-804e49f0321a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e45a9f96-7a7a-4e30-92c1-0380669c0a9a" + }, + "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": "e45a9f96-7a7a-4e30-92c1-0380669c0a9a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "61b7d834-cf80-4252-8540-a2e04c8561f1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6fd19203-d7c9-4ac6-aef4-d71a94982ba5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7fe0b57d_7fe0b57d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/output.xml new file mode 100644 index 00000000..ecdbd6bc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc_7fe0b57d_7fe0b57d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3dba35a9-0f5d-426e-bfa4-54a6ef88fcb5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.032.997.28"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="146e42ba-6a28-4d55-9684-804e49f0321a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e45a9f96-7a7a-4e30-92c1-0380669c0a9a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e45a9f96-7a7a-4e30-92c1-0380669c0a9a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64536028"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="61b7d834-cf80-4252-8540-a2e04c8561f1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="529873977"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-479-7901020"/> + </telecom> + <telecom> + <system value="email"/> + <value value="dana.meisch@kolokas.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Bohofsweg 52"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="52"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bohofsweg"/> + </extension> + </line> + <city value="Winterhagen"/> + <postalCode value="08005"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6fd19203-d7c9-4ac6-aef4-d71a94982ba5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="866731615"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/output.json deleted file mode 100644 index 66d09aa1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "77af85bf-9a26-4e03-9ef7-26de5f5e92db", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "a18af25a-4acc-4ec6-8e81-b1167a285517", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/b78adf84-2dbc-44c5-8e2c-ff1b0b25c1a2" - }, - "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": "b78adf84-2dbc-44c5-8e2c-ff1b0b25c1a2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a7bd1934-a3a4-4011-8bfd-06e40e6c0b1e", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "785e8b39-159c-4687-9112-d7267a208a60", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_0b82f30f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/output.xml deleted file mode 100644 index fde26895..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="77af85bf-9a26-4e03-9ef7-26de5f5e92db"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.741.52"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a18af25a-4acc-4ec6-8e81-b1167a285517"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/b78adf84-2dbc-44c5-8e2c-ff1b0b25c1a2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b78adf84-2dbc-44c5-8e2c-ff1b0b25c1a2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a7bd1934-a3a4-4011-8bfd-06e40e6c0b1e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="201216337"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0734) 924483515"/> - </telecom> - <telecom> - <system value="email"/> - <value value="marah.jahnke@kleinmann.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Dechant-Fein-Str. 29b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="29b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Dechant-Fein-Str."/> - </extension> - </line> - <city value="Burgerburg"/> - <postalCode value="36436"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="785e8b39-159c-4687-9112-d7267a208a60"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="890977542"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/input.xml new file mode 100644 index 00000000..dc3a9429 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="0b82f30f-d202-4265-b67b-b006aae38508"/> + <meta> + <lastUpdated value="2024-02-08T19:00:59.172+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.741.52"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:00:59.172+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/54264cc8-e341-4f2a-830b-73ce4ebe3fee"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="54264cc8-e341-4f2a-830b-73ce4ebe3fee"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/84410e1d-2bde-4d00-b864-87cf36148570"/> + </subject> + <date value="2024-02-08T19:00:59+01:00"/> + <author> + <reference value="Practitioner/a6093dc1-c270-416b-81df-e6d1e03b2be4"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/f208da4f-33b8-475a-a03e-a613f9844242"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/d36ffcbc-e76e-4b6d-851e-c8dee4efcbe4"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/04f62e64-c657-474e-9720-7753014a0140"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/887e8ad6-60f7-4c0d-bca3-62e1a79b7946"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="887e8ad6-60f7-4c0d-bca3-62e1a79b7946"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/84410e1d-2bde-4d00-b864-87cf36148570"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="84410e1d-2bde-4d00-b864-87cf36148570"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1979-08-19"/> + <address> + <type value="both"/> + <line value="Morsbroicher Str. 09a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="09a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Morsbroicher Str."/> + </extension> + </line> + <city value="Pierrehagen"/> + <postalCode value="65089"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/f208da4f-33b8-475a-a03e-a613f9844242"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f208da4f-33b8-475a-a03e-a613f9844242"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="201216337"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0734) 924483515"/> + </telecom> + <telecom> + <system value="email"/> + <value value="marah.jahnke@kleinmann.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Dechant-Fein-Str. 29b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dechant-Fein-Str."/> + </extension> + </line> + <city value="Burgerburg"/> + <postalCode value="36436"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/d36ffcbc-e76e-4b6d-851e-c8dee4efcbe4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="d36ffcbc-e76e-4b6d-851e-c8dee4efcbe4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="51"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/bf18407c-af34-4ca8-b314-fecf9a8a6873"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="100820488"/> + </identifier> + <display value="Brandenburgische BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/a6093dc1-c270-416b-81df-e6d1e03b2be4"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a6093dc1-c270-416b-81df-e6d1e03b2be4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="890977542"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/04f62e64-c657-474e-9720-7753014a0140"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="04f62e64-c657-474e-9720-7753014a0140"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/887e8ad6-60f7-4c0d-bca3-62e1a79b7946"/> + </medicationReference> + <subject> + <reference value="Patient/84410e1d-2bde-4d00-b864-87cf36148570"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/a6093dc1-c270-416b-81df-e6d1e03b2be4"/> + </requester> + <insurance> + <reference value="Coverage/d36ffcbc-e76e-4b6d-851e-c8dee4efcbe4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/output.json new file mode 100644 index 00000000..e4ec8949 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "517e6aff-cdb1-4f21-b27d-c47965397b91", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1771e750-4c8a-443a-ad7d-85c49e6f76ea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/29af6c0f-e1f4-4c36-8f3c-7ff53bf1d4ec" + }, + "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": "29af6c0f-e1f4-4c36-8f3c-7ff53bf1d4ec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "456c14e4-6f19-4598-a603-5561cfb53c87", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5d41df33-65ad-45e2-acb0-7b6abed982bb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0b82f30f_0b82f30f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/output.xml new file mode 100644 index 00000000..4a6fb908 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557_0b82f30f_0b82f30f/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="517e6aff-cdb1-4f21-b27d-c47965397b91"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.741.52"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1771e750-4c8a-443a-ad7d-85c49e6f76ea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/29af6c0f-e1f4-4c36-8f3c-7ff53bf1d4ec"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="29af6c0f-e1f4-4c36-8f3c-7ff53bf1d4ec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="456c14e4-6f19-4598-a603-5561cfb53c87"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="201216337"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0734) 924483515"/> + </telecom> + <telecom> + <system value="email"/> + <value value="marah.jahnke@kleinmann.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Dechant-Fein-Str. 29b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dechant-Fein-Str."/> + </extension> + </line> + <city value="Burgerburg"/> + <postalCode value="36436"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5d41df33-65ad-45e2-acb0-7b6abed982bb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="890977542"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.json index 495f53d9..d4cc6575 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "34bce9af-082d-4590-94e9-e8e7c72d98f7", + "id": "ac45e6b3-ae28-434b-b035-aeda33646b88", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "668cfdf3-10a4-445f-9387-525cdfd51de6", + "id": "50ae71ae-a2eb-4d32-9c70-ce03d405f196", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/061a0035-fa13-4a5e-a60c-54363396cc52" + "reference": "Medication/1042b2c4-a3c6-401a-b0a4-c2379cd294d0" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "061a0035-fa13-4a5e-a60c-54363396cc52", + "id": "1042b2c4-a3c6-401a-b0a4-c2379cd294d0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d033ef7a-1e81-4170-9ec6-2c2442f29651", + "id": "77f5a501-c9cb-45d7-9709-6851d86785af", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "15ad281b-52ba-460a-a3f2-5b4abee9befb", + "id": "b90d55c4-4fb4-4950-97de-0ee67f326433", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.xml index 27136a70..7932c9f6 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="34bce9af-082d-4590-94e9-e8e7c72d98f7"/> + <id value="ac45e6b3-ae28-434b-b035-aeda33646b88"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="668cfdf3-10a4-445f-9387-525cdfd51de6"/> + <id value="50ae71ae-a2eb-4d32-9c70-ce03d405f196"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/061a0035-fa13-4a5e-a60c-54363396cc52"/> + <reference value="Medication/1042b2c4-a3c6-401a-b0a4-c2379cd294d0"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="061a0035-fa13-4a5e-a60c-54363396cc52"/> + <id value="1042b2c4-a3c6-401a-b0a4-c2379cd294d0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d033ef7a-1e81-4170-9ec6-2c2442f29651"/> + <id value="77f5a501-c9cb-45d7-9709-6851d86785af"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="15ad281b-52ba-460a-a3f2-5b4abee9befb"/> + <id value="b90d55c4-4fb4-4950-97de-0ee67f326433"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/input.xml new file mode 100644 index 00000000..5be28349 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="f731f36c-30fa-4fe2-8f67-f29b43a7ccac"/> + <meta> + <lastUpdated value="2024-02-08T19:01:43.127+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.745.40"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:01:43.127+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/f14dd574-14ed-44c9-954b-577281dc9e6f"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f14dd574-14ed-44c9-954b-577281dc9e6f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/d0b67223-1bb2-4e3a-baf8-e368964a8f64"/> + </subject> + <date value="2024-02-08T19:01:43+01:00"/> + <author> + <reference value="Practitioner/39adb1f3-d339-48f5-a631-45f393d26c95"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/da382d45-274b-42bd-b6b0-7a1388313017"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/ac593a43-9ad8-411b-928e-8d8b93ef26ec"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/e7e82222-bf9e-4a89-bddb-7e7377e0a7f5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/a69d5e37-404d-4491-b487-1eaf0def0842"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a69d5e37-404d-4491-b487-1eaf0def0842"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/d0b67223-1bb2-4e3a-baf8-e368964a8f64"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="d0b67223-1bb2-4e3a-baf8-e368964a8f64"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1998-01-07"/> + <address> + <type value="both"/> + <line value="Steinstr. 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Steinstr."/> + </extension> + </line> + <city value="Ost Elias"/> + <postalCode value="75746"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/da382d45-274b-42bd-b6b0-7a1388313017"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="da382d45-274b-42bd-b6b0-7a1388313017"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="517599493"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8307-82061900"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ylvi.dauer@grossheim.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Schopenhauerstr. 11c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="11c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schopenhauerstr."/> + </extension> + </line> + <city value="Groß Lucian"/> + <postalCode value="71897"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/ac593a43-9ad8-411b-928e-8d8b93ef26ec"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="ac593a43-9ad8-411b-928e-8d8b93ef26ec"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="71"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/77b31556-b8e0-45c8-a351-fe415ceec4cf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="103724272"/> + </identifier> + <display value="BKK Gildemeister SSeidensticker"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/39adb1f3-d339-48f5-a631-45f393d26c95"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="39adb1f3-d339-48f5-a631-45f393d26c95"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="247511094"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/e7e82222-bf9e-4a89-bddb-7e7377e0a7f5"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e7e82222-bf9e-4a89-bddb-7e7377e0a7f5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a69d5e37-404d-4491-b487-1eaf0def0842"/> + </medicationReference> + <subject> + <reference value="Patient/d0b67223-1bb2-4e3a-baf8-e368964a8f64"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/39adb1f3-d339-48f5-a631-45f393d26c95"/> + </requester> + <insurance> + <reference value="Coverage/ac593a43-9ad8-411b-928e-8d8b93ef26ec"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/output.json new file mode 100644 index 00000000..e3220ed4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "0a177a98-6f84-4b86-8958-28abd440c3d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "50257585-855a-49ec-8209-b93afc090c53", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d04934c1-df80-417e-b3a1-3101a80bba7a" + }, + "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": "d04934c1-df80-417e-b3a1-3101a80bba7a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "742acd90-0c10-47b6-9e48-612afb0f1731", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4bcead4e-315c-4716-ad6e-78264f016fa1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f731f36c_f731f36c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/output.xml new file mode 100644 index 00000000..045c5016 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f731f36c_f731f36c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0a177a98-6f84-4b86-8958-28abd440c3d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.745.40"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="50257585-855a-49ec-8209-b93afc090c53"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d04934c1-df80-417e-b3a1-3101a80bba7a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d04934c1-df80-417e-b3a1-3101a80bba7a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="742acd90-0c10-47b6-9e48-612afb0f1731"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="517599493"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8307-82061900"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ylvi.dauer@grossheim.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Schopenhauerstr. 11c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="11c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schopenhauerstr."/> + </extension> + </line> + <city value="Groß Lucian"/> + <postalCode value="71897"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4bcead4e-315c-4716-ad6e-78264f016fa1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="247511094"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.json index d24878b2..a856bb41 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "3c15e557-86b4-4684-ac31-08e0ca9bef53", + "id": "8fe04474-680b-45de-a14c-476ffd9a9c45", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "07e53bdc-a831-412b-b705-85a320af21ef", + "id": "513f9bd8-880c-4d8e-8ee1-325ae3dd39f3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/a451ac32-e4fd-4010-8ac9-33b4b4a77efe" + "reference": "Medication/e33bed90-5408-4d59-b0b2-a1f707fc8899" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a451ac32-e4fd-4010-8ac9-33b4b4a77efe", + "id": "e33bed90-5408-4d59-b0b2-a1f707fc8899", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "4ad3f077-603c-408e-9200-2e1c3b635fe7", + "id": "3de8c888-e61b-4b32-9755-f4734f0a1be2", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "2484f573-3407-4e90-892c-e84822b8b328", + "id": "864a8e97-b7d6-4c60-b334-5aa664a593e5", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.xml index fd60db61..401605aa 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="3c15e557-86b4-4684-ac31-08e0ca9bef53"/> + <id value="8fe04474-680b-45de-a14c-476ffd9a9c45"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="07e53bdc-a831-412b-b705-85a320af21ef"/> + <id value="513f9bd8-880c-4d8e-8ee1-325ae3dd39f3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/a451ac32-e4fd-4010-8ac9-33b4b4a77efe"/> + <reference value="Medication/e33bed90-5408-4d59-b0b2-a1f707fc8899"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a451ac32-e4fd-4010-8ac9-33b4b4a77efe"/> + <id value="e33bed90-5408-4d59-b0b2-a1f707fc8899"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="4ad3f077-603c-408e-9200-2e1c3b635fe7"/> + <id value="3de8c888-e61b-4b32-9755-f4734f0a1be2"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2484f573-3407-4e90-892c-e84822b8b328"/> + <id value="864a8e97-b7d6-4c60-b334-5aa664a593e5"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/input.xml new file mode 100644 index 00000000..c965d3a8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="f88786be-0e84-4dae-95c5-253566e419ec"/> + <meta> + <lastUpdated value="2024-02-08T19:06:47.263+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.772.56"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:06:47.263+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/ddc9d4f3-762f-4e34-a46a-f876a3de8dff"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ddc9d4f3-762f-4e34-a46a-f876a3de8dff"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/35459836-f16f-4e92-b4b5-af95fb83cc84"/> + </subject> + <date value="2024-02-08T19:06:47+01:00"/> + <author> + <reference value="Practitioner/9ebca3b6-31b1-4615-9f1a-962c8df31a6a"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/166f57eb-9898-4c8a-b619-eed96517a0be"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/5e0c0389-f2d5-4bba-be7f-971f912543cf"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/ed04b07c-30e3-44a8-a5d2-b90e89dd2288"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/9d39ec41-1121-40f3-ba0c-a179f46b718a"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9d39ec41-1121-40f3-ba0c-a179f46b718a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="37914278"/> + </coding> + <text value="Ilopterproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/35459836-f16f-4e92-b4b5-af95fb83cc84"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="35459836-f16f-4e92-b4b5-af95fb83cc84"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1986-07-21"/> + <address> + <type value="both"/> + <line value="Kleingansweg 62b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="62b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kleingansweg"/> + </extension> + </line> + <city value="Groß Julian"/> + <postalCode value="36222"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/166f57eb-9898-4c8a-b619-eed96517a0be"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="166f57eb-9898-4c8a-b619-eed96517a0be"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="032584845"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05736) 6284866"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lene.soller@schuhaj.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Pestalozzistr. 49c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="49c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pestalozzistr."/> + </extension> + </line> + <city value="Joannastadt"/> + <postalCode value="59066"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/5e0c0389-f2d5-4bba-be7f-971f912543cf"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="5e0c0389-f2d5-4bba-be7f-971f912543cf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/26f31e20-8a1a-4728-bb71-f483c71021b8"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104224634"/> + </identifier> + <display value="BKK Deutsche Bank AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/9ebca3b6-31b1-4615-9f1a-962c8df31a6a"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9ebca3b6-31b1-4615-9f1a-962c8df31a6a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="180405337"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/ed04b07c-30e3-44a8-a5d2-b90e89dd2288"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ed04b07c-30e3-44a8-a5d2-b90e89dd2288"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/9d39ec41-1121-40f3-ba0c-a179f46b718a"/> + </medicationReference> + <subject> + <reference value="Patient/35459836-f16f-4e92-b4b5-af95fb83cc84"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/9ebca3b6-31b1-4615-9f1a-962c8df31a6a"/> + </requester> + <insurance> + <reference value="Coverage/5e0c0389-f2d5-4bba-be7f-971f912543cf"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/output.json new file mode 100644 index 00000000..c406be17 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "e9bdeae6-88db-491f-8e09-e17409160f7b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "096db2d6-159d-4e9c-a5bb-0ff7bbad9c20", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/cfa67729-d2c5-4b81-a74b-855fc52c13ed" + }, + "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": "cfa67729-d2c5-4b81-a74b-855fc52c13ed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7b4b5f54-52db-48f9-8f64-3eb404c6dc98", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3ad4a927-2ff1-4fd9-9b72-bc4f3459783c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f88786be_f88786be/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/output.xml new file mode 100644 index 00000000..cda5ee2b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f88786be_f88786be/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e9bdeae6-88db-491f-8e09-e17409160f7b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.772.56"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="096db2d6-159d-4e9c-a5bb-0ff7bbad9c20"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/cfa67729-d2c5-4b81-a74b-855fc52c13ed"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cfa67729-d2c5-4b81-a74b-855fc52c13ed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="37914278"/> + </coding> + <text value="Ilopterproston"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7b4b5f54-52db-48f9-8f64-3eb404c6dc98"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="032584845"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05736) 6284866"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lene.soller@schuhaj.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Pestalozzistr. 49c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="49c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pestalozzistr."/> + </extension> + </line> + <city value="Joannastadt"/> + <postalCode value="59066"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3ad4a927-2ff1-4fd9-9b72-bc4f3459783c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="180405337"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/output.json deleted file mode 100644 index bfb46d89..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "d66dfb15-02ac-4261-a383-52c1be76f85c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "56a8577f-bd94-429b-bdd2-8d631fe9ef77", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/d9f2a105-b6be-4ee9-a116-3b248607f5fe" - }, - "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": "d9f2a105-b6be-4ee9-a116-3b248607f5fe", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7bed0c10-73d5-402c-be74-8323253d8377", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "8d7b3926-837b-48eb-b881-a92cbc446299", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_62dd6004/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/output.xml deleted file mode 100644 index ffa1a8e2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d66dfb15-02ac-4261-a383-52c1be76f85c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.767.71"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="56a8577f-bd94-429b-bdd2-8d631fe9ef77"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/d9f2a105-b6be-4ee9-a116-3b248607f5fe"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="d9f2a105-b6be-4ee9-a116-3b248607f5fe"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="7bed0c10-73d5-402c-be74-8323253d8377"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="021082808"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-4306-82643876"/> - </telecom> - <telecom> - <system value="email"/> - <value value="friederike.raukuc@ruch.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Kolberger Str. 4"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="4"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Kolberger Str."/> - </extension> - </line> - <city value="Ferdinandfeld"/> - <postalCode value="34234"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="8d7b3926-837b-48eb-b881-a92cbc446299"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="489959499"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/input.xml new file mode 100644 index 00000000..3a345697 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="62dd6004-911c-4312-b5f9-01a97a22231a"/> + <meta> + <lastUpdated value="2024-02-08T19:05:39.806+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.767.71"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:05:39.806+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/d8d85bd8-4be9-49ae-9e01-929cf2f01692"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d8d85bd8-4be9-49ae-9e01-929cf2f01692"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/02207aa1-0e1a-4ebf-a13e-902a88a2232f"/> + </subject> + <date value="2024-02-08T19:05:39+01:00"/> + <author> + <reference value="Practitioner/2418c248-197a-4769-9a89-e7a12b904248"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/cff57283-d52a-4790-81f9-a24c9af1cb84"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/763a27fb-d4c2-4193-bc7a-e4873b82ceca"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/8e6a333f-e4fa-4054-a2f9-0dece956db9c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/17218abd-f3d7-4770-82e6-0d2a65c1463f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="17218abd-f3d7-4770-82e6-0d2a65c1463f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/02207aa1-0e1a-4ebf-a13e-902a88a2232f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="02207aa1-0e1a-4ebf-a13e-902a88a2232f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1975-07-07"/> + <address> + <type value="both"/> + <line value="Pastor-Scheibler-Str. 71c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="71c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pastor-Scheibler-Str."/> + </extension> + </line> + <city value="West Henriettedorf"/> + <postalCode value="83812"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/cff57283-d52a-4790-81f9-a24c9af1cb84"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cff57283-d52a-4790-81f9-a24c9af1cb84"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="021082808"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-4306-82643876"/> + </telecom> + <telecom> + <system value="email"/> + <value value="friederike.raukuc@ruch.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Kolberger Str. 4"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="4"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kolberger Str."/> + </extension> + </line> + <city value="Ferdinandfeld"/> + <postalCode value="34234"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/763a27fb-d4c2-4193-bc7a-e4873b82ceca"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="763a27fb-d4c2-4193-bc7a-e4873b82ceca"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="50"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/97275e3f-b916-46f6-8a31-fee2f4439bb9"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="107829563"/> + </identifier> + <display value="BKK ZF und Partner"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/2418c248-197a-4769-9a89-e7a12b904248"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2418c248-197a-4769-9a89-e7a12b904248"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="489959499"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/8e6a333f-e4fa-4054-a2f9-0dece956db9c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8e6a333f-e4fa-4054-a2f9-0dece956db9c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/17218abd-f3d7-4770-82e6-0d2a65c1463f"/> + </medicationReference> + <subject> + <reference value="Patient/02207aa1-0e1a-4ebf-a13e-902a88a2232f"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/2418c248-197a-4769-9a89-e7a12b904248"/> + </requester> + <insurance> + <reference value="Coverage/763a27fb-d4c2-4193-bc7a-e4873b82ceca"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/output.json new file mode 100644 index 00000000..fd8cfd23 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "10877324-ffdd-403e-8f83-f2580e919b46", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "38b88e7d-911b-463b-942b-ae604597575b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b5878cc7-a11c-4539-b81d-6d7ec3e8cf00" + }, + "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": "b5878cc7-a11c-4539-b81d-6d7ec3e8cf00", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "055bf523-5f01-4d23-bb6f-f4e58082f17d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "31dc1102-ff55-43a1-97eb-9122bf4ee046", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_62dd6004_62dd6004/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/output.xml new file mode 100644 index 00000000..c9e3c833 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421_62dd6004_62dd6004/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="10877324-ffdd-403e-8f83-f2580e919b46"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.767.71"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="38b88e7d-911b-463b-942b-ae604597575b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b5878cc7-a11c-4539-b81d-6d7ec3e8cf00"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b5878cc7-a11c-4539-b81d-6d7ec3e8cf00"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="055bf523-5f01-4d23-bb6f-f4e58082f17d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="021082808"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-4306-82643876"/> + </telecom> + <telecom> + <system value="email"/> + <value value="friederike.raukuc@ruch.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Kolberger Str. 4"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="4"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kolberger Str."/> + </extension> + </line> + <city value="Ferdinandfeld"/> + <postalCode value="34234"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="31dc1102-ff55-43a1-97eb-9122bf4ee046"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="489959499"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.json index 45befffa..d065bcf5 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "48fa71b0-f2fe-46b6-8895-57b34f659c37", + "id": "70d9d09d-e181-424c-8640-d782220ba126", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "079a1dfb-d90b-4d8f-8fe6-e9d13129664d", + "id": "a477d4d6-0de4-4a64-bdeb-0e1fc108faa7", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/b43104ed-529b-4f3c-b0b8-0152b9ee7abb" + "reference": "Medication/5ec87c74-ad69-4936-855f-72f0b7a63091" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "b43104ed-529b-4f3c-b0b8-0152b9ee7abb", + "id": "5ec87c74-ad69-4936-855f-72f0b7a63091", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d66a60c2-1719-4de7-a3d7-0a4e0e328468", + "id": "91da2c76-f61f-4138-87cf-57046c1ca734", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "1dcd55bb-b069-4057-80fc-bce270d86022", + "id": "9046fef7-bba0-414a-8a80-351d6694d013", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.xml index 07ca4a2e..23b17b25 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="48fa71b0-f2fe-46b6-8895-57b34f659c37"/> + <id value="70d9d09d-e181-424c-8640-d782220ba126"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="079a1dfb-d90b-4d8f-8fe6-e9d13129664d"/> + <id value="a477d4d6-0de4-4a64-bdeb-0e1fc108faa7"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/b43104ed-529b-4f3c-b0b8-0152b9ee7abb"/> + <reference value="Medication/5ec87c74-ad69-4936-855f-72f0b7a63091"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="b43104ed-529b-4f3c-b0b8-0152b9ee7abb"/> + <id value="5ec87c74-ad69-4936-855f-72f0b7a63091"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d66a60c2-1719-4de7-a3d7-0a4e0e328468"/> + <id value="91da2c76-f61f-4138-87cf-57046c1ca734"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1dcd55bb-b069-4057-80fc-bce270d86022"/> + <id value="9046fef7-bba0-414a-8a80-351d6694d013"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/input.xml new file mode 100644 index 00000000..2b3c1a9f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="f9c4ff65-a40c-4f05-b3f8-7e5c846add7d"/> + <meta> + <lastUpdated value="2024-02-08T19:13:50.574+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.525.73"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:13:50.574+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/a48037d8-a138-47fa-9537-e0eee623f21e"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a48037d8-a138-47fa-9537-e0eee623f21e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/a45926b5-f444-486c-bf5b-694f2e8d2ced"/> + </subject> + <date value="2024-02-08T19:13:50+01:00"/> + <author> + <reference value="Practitioner/6305b2ce-75b5-4589-8a17-f2b621449a2b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/62ca9c57-bac2-418b-8449-56116ca1f3bb"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/987f0453-b121-4067-91d0-26252954aed5"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/f1b38b26-ee45-492b-9b8e-1113b948d06b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/f5b4d81a-1800-4c6c-8771-3e39d16c2c30"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f5b4d81a-1800-4c6c-8771-3e39d16c2c30"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/a45926b5-f444-486c-bf5b-694f2e8d2ced"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="a45926b5-f444-486c-bf5b-694f2e8d2ced"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1969-03-29"/> + <address> + <type value="both"/> + <line value="Lortzingstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Lortzingstr."/> + </extension> + </line> + <city value="West Karloscheid"/> + <postalCode value="77428"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/62ca9c57-bac2-418b-8449-56116ca1f3bb"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="62ca9c57-bac2-418b-8449-56116ca1f3bb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="932596891"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0419) 301209056"/> + </telecom> + <telecom> + <system value="email"/> + <value value="soraya.rau@kron.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Erich-Heckel-Str. 25c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="25c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Erich-Heckel-Str."/> + </extension> + </line> + <city value="Bergerscheid"/> + <postalCode value="64326"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/987f0453-b121-4067-91d0-26252954aed5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="987f0453-b121-4067-91d0-26252954aed5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="71"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/3499c22a-410c-488c-9ef1-71c2e2c7d895"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140288"/> + </identifier> + <display value="Debeka"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/6305b2ce-75b5-4589-8a17-f2b621449a2b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6305b2ce-75b5-4589-8a17-f2b621449a2b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="411539329"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/f1b38b26-ee45-492b-9b8e-1113b948d06b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f1b38b26-ee45-492b-9b8e-1113b948d06b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/f5b4d81a-1800-4c6c-8771-3e39d16c2c30"/> + </medicationReference> + <subject> + <reference value="Patient/a45926b5-f444-486c-bf5b-694f2e8d2ced"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/6305b2ce-75b5-4589-8a17-f2b621449a2b"/> + </requester> + <insurance> + <reference value="Coverage/987f0453-b121-4067-91d0-26252954aed5"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/output.json new file mode 100644 index 00000000..8f4a3d3a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "17655f2c-7926-48e0-b122-eb1cdfafe1b2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c6bf950b-b61e-4e9a-a6af-6e6d23748625", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f6d074d1-b18e-410b-a406-3ca1b3841b8e" + }, + "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": "f6d074d1-b18e-410b-a406-3ca1b3841b8e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8416d087-6cf4-4027-8f98-1b5e4da7b024", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7433b366-1215-43ed-af47-593b8fb6ea4e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f9c4ff65_f9c4ff65/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/output.xml new file mode 100644 index 00000000..110163dc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f9c4ff65_f9c4ff65/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="17655f2c-7926-48e0-b122-eb1cdfafe1b2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.525.73"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c6bf950b-b61e-4e9a-a6af-6e6d23748625"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f6d074d1-b18e-410b-a406-3ca1b3841b8e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f6d074d1-b18e-410b-a406-3ca1b3841b8e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8416d087-6cf4-4027-8f98-1b5e4da7b024"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="932596891"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0419) 301209056"/> + </telecom> + <telecom> + <system value="email"/> + <value value="soraya.rau@kron.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Erich-Heckel-Str. 25c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="25c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Erich-Heckel-Str."/> + </extension> + </line> + <city value="Bergerscheid"/> + <postalCode value="64326"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7433b366-1215-43ed-af47-593b8fb6ea4e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="411539329"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.json index 15a67391..e8818a31 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "69f3b251-f802-4440-9213-31ac8f0f360d", + "id": "7d532c19-d2f6-42e1-9c10-458d0e5f61a7", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "46d7b863-ace6-4bfe-b52b-bf48d9bf4afe", + "id": "72640c11-713a-4d6c-951e-2296a67f66a3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/9cf25cda-40d3-4135-83d7-9d019c044e32" + "reference": "Medication/9de02a50-b974-427c-934b-b02880382426" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "9cf25cda-40d3-4135-83d7-9d019c044e32", + "id": "9de02a50-b974-427c-934b-b02880382426", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "93c63f8a-5579-4ac3-bd8a-4c65d9cf7a88", + "id": "f66496be-0fbd-4543-afba-86bce4f662ab", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "5cd952bd-e1d1-4e20-98f8-5c7e1b9334d3", + "id": "f6e71849-8c2b-4742-a9bd-c1cdbbda0a5b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.xml index f2847c2b..dfa91275 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="69f3b251-f802-4440-9213-31ac8f0f360d"/> + <id value="7d532c19-d2f6-42e1-9c10-458d0e5f61a7"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="46d7b863-ace6-4bfe-b52b-bf48d9bf4afe"/> + <id value="72640c11-713a-4d6c-951e-2296a67f66a3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/9cf25cda-40d3-4135-83d7-9d019c044e32"/> + <reference value="Medication/9de02a50-b974-427c-934b-b02880382426"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="9cf25cda-40d3-4135-83d7-9d019c044e32"/> + <id value="9de02a50-b974-427c-934b-b02880382426"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="93c63f8a-5579-4ac3-bd8a-4c65d9cf7a88"/> + <id value="f66496be-0fbd-4543-afba-86bce4f662ab"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5cd952bd-e1d1-4e20-98f8-5c7e1b9334d3"/> + <id value="f6e71849-8c2b-4742-a9bd-c1cdbbda0a5b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/input.xml new file mode 100644 index 00000000..010e26a4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="fb9ea88e-7dae-4b1a-bea8-8f1124602654"/> + <meta> + <lastUpdated value="2024-02-08T19:04:36.701+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.761.89"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:04:36.701+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/480c35d9-0baf-4fcd-bd03-9354729c9645"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="480c35d9-0baf-4fcd-bd03-9354729c9645"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/35300f8e-37d2-4a9c-a6b2-784fd14be3e9"/> + </subject> + <date value="2024-02-08T19:04:36+01:00"/> + <author> + <reference value="Practitioner/39308a1e-2249-445c-9880-cc5ee1d1d34e"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/b8f32f66-44a6-4e6f-92ff-d24b026c470c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/d133ec8c-f96c-4684-90a4-4524631a740a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/b7468f53-a525-47ff-b307-65bf6d2b3559"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/a1e3c5b7-683e-4d11-a6ad-0e8542bac7e2"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a1e3c5b7-683e-4d11-a6ad-0e8542bac7e2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/35300f8e-37d2-4a9c-a6b2-784fd14be3e9"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="35300f8e-37d2-4a9c-a6b2-784fd14be3e9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="2003-09-20"/> + <address> + <type value="both"/> + <line value="Wiebertshof 14"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="14"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wiebertshof"/> + </extension> + </line> + <city value="Nord Tamaraheim"/> + <postalCode value="34586"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/b8f32f66-44a6-4e6f-92ff-d24b026c470c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b8f32f66-44a6-4e6f-92ff-d24b026c470c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="710988584"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-882-3423799"/> + </telecom> + <telecom> + <system value="email"/> + <value value="samia.hingst@lohmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="In der Dasladen 80"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="80"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="In der Dasladen"/> + </extension> + </line> + <city value="Nord Sarahscheid"/> + <postalCode value="97709"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/d133ec8c-f96c-4684-90a4-4524631a740a"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="d133ec8c-f96c-4684-90a4-4524631a740a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/a320407e-3384-4706-855c-499230a5cb70"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109723913"/> + </identifier> + <display value="BKK Verkehrsbau Union (VBU)"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/39308a1e-2249-445c-9880-cc5ee1d1d34e"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="39308a1e-2249-445c-9880-cc5ee1d1d34e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="662556538"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/b7468f53-a525-47ff-b307-65bf6d2b3559"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b7468f53-a525-47ff-b307-65bf6d2b3559"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a1e3c5b7-683e-4d11-a6ad-0e8542bac7e2"/> + </medicationReference> + <subject> + <reference value="Patient/35300f8e-37d2-4a9c-a6b2-784fd14be3e9"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/39308a1e-2249-445c-9880-cc5ee1d1d34e"/> + </requester> + <insurance> + <reference value="Coverage/d133ec8c-f96c-4684-90a4-4524631a740a"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/output.json new file mode 100644 index 00000000..1d140d99 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "620add17-e66e-46ff-a2ad-62bc416fea1a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f6b347ce-27dc-4b28-b7c1-e5b340a49f4b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/31b7e501-d77f-427c-963f-14fc3c645e03" + }, + "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": "31b7e501-d77f-427c-963f-14fc3c645e03", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d424e510-1ef3-417a-97d2-eba1f62031ea", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "3e91c7b5-562c-437c-b05f-63a97fd7205f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_fb9ea88e_fb9ea88e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/output.xml new file mode 100644 index 00000000..d57ee0d1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fb9ea88e_fb9ea88e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="620add17-e66e-46ff-a2ad-62bc416fea1a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.761.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f6b347ce-27dc-4b28-b7c1-e5b340a49f4b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/31b7e501-d77f-427c-963f-14fc3c645e03"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="31b7e501-d77f-427c-963f-14fc3c645e03"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d424e510-1ef3-417a-97d2-eba1f62031ea"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="710988584"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-882-3423799"/> + </telecom> + <telecom> + <system value="email"/> + <value value="samia.hingst@lohmann.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="In der Dasladen 80"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="80"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="In der Dasladen"/> + </extension> + </line> + <city value="Nord Sarahscheid"/> + <postalCode value="97709"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3e91c7b5-562c-437c-b05f-63a97fd7205f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="662556538"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.json index 5e5e9447..30d37218 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "953a4c51-5e36-44d4-b40b-30d6bb783569", + "id": "633ff8f9-766a-486a-806a-6a232401ed82", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "5cb3ee60-3915-44fe-8a3d-d06d4fff6d65", + "id": "7bd8a679-c044-48e0-a311-a57694a687ce", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/e967e530-1045-4713-8b05-13cc07a73be7" + "reference": "Medication/1b7ca3cb-95a2-458d-b024-072e840f97cb" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "e967e530-1045-4713-8b05-13cc07a73be7", + "id": "1b7ca3cb-95a2-458d-b024-072e840f97cb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "217b58f8-32a1-411d-9098-6c815468f86f", + "id": "c50db999-5b57-4d69-8a85-1a592a0a6a8e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "07026a70-255a-4aab-be54-affbb2c239e2", + "id": "a8374d88-305c-4d81-b465-32ef4ac07d43", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.xml index 19004b86..9472d25e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="953a4c51-5e36-44d4-b40b-30d6bb783569"/> + <id value="633ff8f9-766a-486a-806a-6a232401ed82"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5cb3ee60-3915-44fe-8a3d-d06d4fff6d65"/> + <id value="7bd8a679-c044-48e0-a311-a57694a687ce"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/e967e530-1045-4713-8b05-13cc07a73be7"/> + <reference value="Medication/1b7ca3cb-95a2-458d-b024-072e840f97cb"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="e967e530-1045-4713-8b05-13cc07a73be7"/> + <id value="1b7ca3cb-95a2-458d-b024-072e840f97cb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="217b58f8-32a1-411d-9098-6c815468f86f"/> + <id value="c50db999-5b57-4d69-8a85-1a592a0a6a8e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="07026a70-255a-4aab-be54-affbb2c239e2"/> + <id value="a8374d88-305c-4d81-b465-32ef4ac07d43"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/input.xml new file mode 100644 index 00000000..31bb97b0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="fce076cc-c76a-4acd-b42d-d6bdda0bf4a3"/> + <meta> + <lastUpdated value="2024-02-08T19:03:55.369+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.758.98"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:03:55.369+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/14d4c9fc-9b54-4ef4-b0fe-d831e9d9a07f"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="14d4c9fc-9b54-4ef4-b0fe-d831e9d9a07f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/52af791c-bd2e-40df-a1f2-6d7559343788"/> + </subject> + <date value="2024-02-08T19:03:55+01:00"/> + <author> + <reference value="Practitioner/d65e2b70-69c1-4ada-bca9-dddac1702956"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/9b5e2a34-195d-4e0b-b2d6-03e7fdc50537"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/d49a1ab0-3cc6-4232-b448-a51d94aa9868"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/1a4ddbce-70f3-459f-8bf6-7bce6c624b1b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/31854a03-ec93-4ff2-ad12-b2e7fab74099"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="31854a03-ec93-4ff2-ad12-b2e7fab74099"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/52af791c-bd2e-40df-a1f2-6d7559343788"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="52af791c-bd2e-40df-a1f2-6d7559343788"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1993-11-12"/> + <address> + <type value="both"/> + <line value="Feuerbachstr. 58"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="58"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Feuerbachstr."/> + </extension> + </line> + <city value="Sattelmaiergrün"/> + <postalCode value="42176"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/9b5e2a34-195d-4e0b-b2d6-03e7fdc50537"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9b5e2a34-195d-4e0b-b2d6-03e7fdc50537"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="015446034"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-929-6020489"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johannes.ahrens@bogdashin.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Köttershof 163"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="163"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Köttershof"/> + </extension> + </line> + <city value="Lyafeld"/> + <postalCode value="17418"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/d49a1ab0-3cc6-4232-b448-a51d94aa9868"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="d49a1ab0-3cc6-4232-b448-a51d94aa9868"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/b60e929f-9413-4c9c-a625-0efb8e2a1f7a"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104926494"/> + </identifier> + <display value="Vaillant BKK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/d65e2b70-69c1-4ada-bca9-dddac1702956"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d65e2b70-69c1-4ada-bca9-dddac1702956"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="088952773"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/1a4ddbce-70f3-459f-8bf6-7bce6c624b1b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1a4ddbce-70f3-459f-8bf6-7bce6c624b1b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/31854a03-ec93-4ff2-ad12-b2e7fab74099"/> + </medicationReference> + <subject> + <reference value="Patient/52af791c-bd2e-40df-a1f2-6d7559343788"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/d65e2b70-69c1-4ada-bca9-dddac1702956"/> + </requester> + <insurance> + <reference value="Coverage/d49a1ab0-3cc6-4232-b448-a51d94aa9868"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/output.json new file mode 100644 index 00000000..530d8bb4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "cde38263-0a0e-43c6-9c4f-99df60eb8c98", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "85fb598e-6585-40fe-8786-d7f59a6cc10c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bb0e384c-f4ab-4dcb-ad16-974dbc55c000" + }, + "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": "bb0e384c-f4ab-4dcb-ad16-974dbc55c000", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a1d3fb64-2ef4-423e-8474-2722be86c69a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "320918bb-eb04-43e1-97f1-9895797f9e1a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_fce076cc_fce076cc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/output.xml new file mode 100644 index 00000000..fa1b6df1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_fce076cc_fce076cc/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="cde38263-0a0e-43c6-9c4f-99df60eb8c98"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.758.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="85fb598e-6585-40fe-8786-d7f59a6cc10c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bb0e384c-f4ab-4dcb-ad16-974dbc55c000"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bb0e384c-f4ab-4dcb-ad16-974dbc55c000"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a1d3fb64-2ef4-423e-8474-2722be86c69a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="015446034"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-929-6020489"/> + </telecom> + <telecom> + <system value="email"/> + <value value="johannes.ahrens@bogdashin.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Köttershof 163"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="163"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Köttershof"/> + </extension> + </line> + <city value="Lyafeld"/> + <postalCode value="17418"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="320918bb-eb04-43e1-97f1-9895797f9e1a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="088952773"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/output.json deleted file mode 100644 index a55f60ea..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "144bb038-d713-4c62-af77-7bf96de672c0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "43235439-8b6a-483e-8adf-19bd1ee7048c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/e0deaa62-d77a-4459-980e-f14e9dffb10c" - }, - "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": "e0deaa62-d77a-4459-980e-f14e9dffb10c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6a119faa-4aad-45b5-ab35-f5d6bbfb9e7f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "3276de16-f56f-4d60-ae4b-e97eb2f0af04", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_14d9b2f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/output.xml deleted file mode 100644 index 4b20c398..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="144bb038-d713-4c62-af77-7bf96de672c0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.749.28"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="43235439-8b6a-483e-8adf-19bd1ee7048c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/e0deaa62-d77a-4459-980e-f14e9dffb10c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e0deaa62-d77a-4459-980e-f14e9dffb10c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6a119faa-4aad-45b5-ab35-f5d6bbfb9e7f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="483945359"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0980) 607271140"/> - </telecom> - <telecom> - <system value="email"/> - <value value="robert.gunther@ranz.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Am Hemmelrather Hof 59a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="59a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Am Hemmelrather Hof"/> - </extension> - </line> - <city value="Honzburg"/> - <postalCode value="40382"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="3276de16-f56f-4d60-ae4b-e97eb2f0af04"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="768593806"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/input.xml new file mode 100644 index 00000000..1f951f85 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="14d9b2f3-703f-4594-a1b0-2fe191807de1"/> + <meta> + <lastUpdated value="2024-02-08T19:02:33.116+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.749.28"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:02:33.116+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/a2571a0b-53e1-47d8-aa8b-8f79d912fc72"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a2571a0b-53e1-47d8-aa8b-8f79d912fc72"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1fc6b1c0-065e-4663-b74a-73ccc37bc52a"/> + </subject> + <date value="2024-02-08T19:02:33+01:00"/> + <author> + <reference value="Practitioner/55c787f7-cb59-4885-9aa5-dc8b35bb4967"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/32bd0c3e-9456-46ab-a38d-a27b046b07d5"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/2b050bc9-828f-436d-b1d8-2ae1fa5c0845"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/a711b573-ad5d-4190-88f3-13a3c94ee456"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/ceb6982b-7e26-4b24-988e-c8183306965f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ceb6982b-7e26-4b24-988e-c8183306965f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/1fc6b1c0-065e-4663-b74a-73ccc37bc52a"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1fc6b1c0-065e-4663-b74a-73ccc37bc52a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1973-02-11"/> + <address> + <type value="both"/> + <line value="Friedenberger Str. 89c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="89c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Friedenberger Str."/> + </extension> + </line> + <city value="West Jacqueline"/> + <postalCode value="85160"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/32bd0c3e-9456-46ab-a38d-a27b046b07d5"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="32bd0c3e-9456-46ab-a38d-a27b046b07d5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="483945359"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0980) 607271140"/> + </telecom> + <telecom> + <system value="email"/> + <value value="robert.gunther@ranz.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Hemmelrather Hof 59a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="59a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Hemmelrather Hof"/> + </extension> + </line> + <city value="Honzburg"/> + <postalCode value="40382"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/2b050bc9-828f-436d-b1d8-2ae1fa5c0845"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="2b050bc9-828f-436d-b1d8-2ae1fa5c0845"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/9cb9d8a3-8c4b-42ea-b577-d7d7473f77d6"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101532301"/> + </identifier> + <display value="BKK Beiersdorf AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/55c787f7-cb59-4885-9aa5-dc8b35bb4967"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="55c787f7-cb59-4885-9aa5-dc8b35bb4967"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="768593806"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/a711b573-ad5d-4190-88f3-13a3c94ee456"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a711b573-ad5d-4190-88f3-13a3c94ee456"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/ceb6982b-7e26-4b24-988e-c8183306965f"/> + </medicationReference> + <subject> + <reference value="Patient/1fc6b1c0-065e-4663-b74a-73ccc37bc52a"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/55c787f7-cb59-4885-9aa5-dc8b35bb4967"/> + </requester> + <insurance> + <reference value="Coverage/2b050bc9-828f-436d-b1d8-2ae1fa5c0845"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/output.json new file mode 100644 index 00000000..f43039fe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "4dcca5ea-e145-41ac-a54e-156875218d39", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "96450523-0fcc-4ab5-8d75-2fcf9e18b50d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/978d22ec-333d-4155-a5bf-5667c1ecec3d" + }, + "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": "978d22ec-333d-4155-a5bf-5667c1ecec3d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "68afb76b-dc61-4e31-8d79-2809d45e9953", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a17735c4-ff0e-43a3-9d26-2844b7866d36", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_14d9b2f3_14d9b2f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/output.xml new file mode 100644 index 00000000..09974f44 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76_14d9b2f3_14d9b2f3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4dcca5ea-e145-41ac-a54e-156875218d39"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.749.28"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="96450523-0fcc-4ab5-8d75-2fcf9e18b50d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/978d22ec-333d-4155-a5bf-5667c1ecec3d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="978d22ec-333d-4155-a5bf-5667c1ecec3d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="68afb76b-dc61-4e31-8d79-2809d45e9953"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="483945359"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0980) 607271140"/> + </telecom> + <telecom> + <system value="email"/> + <value value="robert.gunther@ranz.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Hemmelrather Hof 59a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="59a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Hemmelrather Hof"/> + </extension> + </line> + <city value="Honzburg"/> + <postalCode value="40382"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a17735c4-ff0e-43a3-9d26-2844b7866d36"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="768593806"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/output.json deleted file mode 100644 index 3467e7f8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "43aa2c1d-35b7-485b-9c8e-26a930a424cd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "534839bf-54a3-48e8-83c8-341aa209a133", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/2cc03e65-c861-44dd-8106-c5a5586f7602" - }, - "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": "2cc03e65-c861-44dd-8106-c5a5586f7602", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8ab24e56-dc23-4478-b25d-7c10bde1e2c3", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "2e7194ec-9fad-4178-8cff-ac7cbd424ffd", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_12875f19/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/output.xml deleted file mode 100644 index 20f1f022..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="43aa2c1d-35b7-485b-9c8e-26a930a424cd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.551.92"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="534839bf-54a3-48e8-83c8-341aa209a133"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/2cc03e65-c861-44dd-8106-c5a5586f7602"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2cc03e65-c861-44dd-8106-c5a5586f7602"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="30978281"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8ab24e56-dc23-4478-b25d-7c10bde1e2c3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="037278962"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0018) 308308710"/> - </telecom> - <telecom> - <system value="email"/> - <value value="adriano.schlawitz@leibold.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Julius-Leber-Str. 29b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="29b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Julius-Leber-Str."/> - </extension> - </line> - <city value="Groß Edgarbrunn"/> - <postalCode value="70481"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2e7194ec-9fad-4178-8cff-ac7cbd424ffd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="250084958"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19_12875f19/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19_12875f19/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19_12875f19/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19_12875f19/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19_12875f19/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19_12875f19/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19_12875f19/output.json new file mode 100644 index 00000000..f886c829 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19_12875f19/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "efcaf22e-a0c7-4952-84d4-37fe6eb0def4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1baffbd2-52ee-4ff6-92d8-b183f4471ddd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fe5dfe3a-40cc-438a-9a81-e262b4ca9f24" + }, + "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": "fe5dfe3a-40cc-438a-9a81-e262b4ca9f24", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4268a514-a487-48d8-88e4-3126d9cc3153", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "152d78c7-7e63-4994-bcca-957c51d54ec6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_12875f19_12875f19/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19_12875f19/output.xml new file mode 100644 index 00000000..93bae758 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082_12875f19_12875f19/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="efcaf22e-a0c7-4952-84d4-37fe6eb0def4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.551.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1baffbd2-52ee-4ff6-92d8-b183f4471ddd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fe5dfe3a-40cc-438a-9a81-e262b4ca9f24"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fe5dfe3a-40cc-438a-9a81-e262b4ca9f24"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="30978281"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4268a514-a487-48d8-88e4-3126d9cc3153"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="037278962"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0018) 308308710"/> + </telecom> + <telecom> + <system value="email"/> + <value value="adriano.schlawitz@leibold.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Julius-Leber-Str. 29b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Julius-Leber-Str."/> + </extension> + </line> + <city value="Groß Edgarbrunn"/> + <postalCode value="70481"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="152d78c7-7e63-4994-bcca-957c51d54ec6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="250084958"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.json index 59572b42..1b3660a1 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "3b7be694-95e0-45a9-99be-1702d04f72c1", + "id": "1fd76eba-d92a-4979-9cb4-19c6ebcb12a6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "760b22f1-e949-4fb6-a02e-68811f5a97f1", + "id": "af0a9b8a-e1d3-4aaa-8512-09e8ea764b7c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/05010402-220b-47d5-bbe6-790f7d327be1" + "reference": "Medication/2e079422-b6f5-4f2d-a3c5-08953a806e83" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "05010402-220b-47d5-bbe6-790f7d327be1", + "id": "2e079422-b6f5-4f2d-a3c5-08953a806e83", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "63a6acc7-04e1-465b-8ded-80a0b93d4dee", + "id": "47ea73fb-f723-473e-8db2-1a39fb8eb938", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "c7939ad6-1f66-40d0-a5ec-6f332bfe7f48", + "id": "40b1d0a5-936c-437a-a063-785b76612071", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.xml index 84c3b643..2615b494 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="3b7be694-95e0-45a9-99be-1702d04f72c1"/> + <id value="1fd76eba-d92a-4979-9cb4-19c6ebcb12a6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="760b22f1-e949-4fb6-a02e-68811f5a97f1"/> + <id value="af0a9b8a-e1d3-4aaa-8512-09e8ea764b7c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/05010402-220b-47d5-bbe6-790f7d327be1"/> + <reference value="Medication/2e079422-b6f5-4f2d-a3c5-08953a806e83"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="05010402-220b-47d5-bbe6-790f7d327be1"/> + <id value="2e079422-b6f5-4f2d-a3c5-08953a806e83"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="63a6acc7-04e1-465b-8ded-80a0b93d4dee"/> + <id value="47ea73fb-f723-473e-8db2-1a39fb8eb938"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c7939ad6-1f66-40d0-a5ec-6f332bfe7f48"/> + <id value="40b1d0a5-936c-437a-a063-785b76612071"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/input.xml new file mode 100644 index 00000000..ed1220c4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="12875f19-4ec7-43bc-bb33-49623c4c49c7"/> + <meta> + <lastUpdated value="2024-02-08T19:19:52.701+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.551.92"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:19:52.701+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/cbca23f4-de51-40e4-93d5-22583c150825"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="cbca23f4-de51-40e4-93d5-22583c150825"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/10e04bf9-7dbb-4f7c-b7e8-ba30cc1f5f59"/> + </subject> + <date value="2024-02-08T19:19:52+01:00"/> + <author> + <reference value="Practitioner/926c1860-0e31-4e42-be25-2addc1d60628"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/43c3e556-b5df-4b56-999c-4243632414a9"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/fe67628e-3d4f-4801-af31-bce9f8d4f745"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/5020186d-4525-4895-847e-77fafdce7a7c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/6f39c3e2-e2c8-41d1-ba0b-165f8eb2d72b"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6f39c3e2-e2c8-41d1-ba0b-165f8eb2d72b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="30978281"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/10e04bf9-7dbb-4f7c-b7e8-ba30cc1f5f59"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="10e04bf9-7dbb-4f7c-b7e8-ba30cc1f5f59"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2005-10-08"/> + <address> + <type value="both"/> + <line value="Kolmarer Str. 992"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="992"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kolmarer Str."/> + </extension> + </line> + <city value="Svenjaheim"/> + <postalCode value="21472"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/43c3e556-b5df-4b56-999c-4243632414a9"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="43c3e556-b5df-4b56-999c-4243632414a9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="037278962"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0018) 308308710"/> + </telecom> + <telecom> + <system value="email"/> + <value value="adriano.schlawitz@leibold.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Julius-Leber-Str. 29b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Julius-Leber-Str."/> + </extension> + </line> + <city value="Groß Edgarbrunn"/> + <postalCode value="70481"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/fe67628e-3d4f-4801-af31-bce9f8d4f745"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="fe67628e-3d4f-4801-af31-bce9f8d4f745"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="46"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/4345d7e4-88dc-40a3-847e-a8894b0fa3b4"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141358"/> + </identifier> + <display value="Provinzial"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/926c1860-0e31-4e42-be25-2addc1d60628"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="926c1860-0e31-4e42-be25-2addc1d60628"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="250084958"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/5020186d-4525-4895-847e-77fafdce7a7c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5020186d-4525-4895-847e-77fafdce7a7c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/6f39c3e2-e2c8-41d1-ba0b-165f8eb2d72b"/> + </medicationReference> + <subject> + <reference value="Patient/10e04bf9-7dbb-4f7c-b7e8-ba30cc1f5f59"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/926c1860-0e31-4e42-be25-2addc1d60628"/> + </requester> + <insurance> + <reference value="Coverage/fe67628e-3d4f-4801-af31-bce9f8d4f745"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/output.json new file mode 100644 index 00000000..b6277143 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "389807a3-1575-421d-a2ca-02e24e447f35", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d235cbf4-b121-48a6-8f3e-04467edd3ad4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6d9d2ebc-6cde-4639-bb58-cb3bc3ee9d95" + }, + "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": "6d9d2ebc-6cde-4639-bb58-cb3bc3ee9d95", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7b12c364-8afa-48d7-9b66-5fdbe0b90159", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "99aff96b-c544-46d1-9175-0f791d2baa6e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_12875f19_12875f19/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/output.xml new file mode 100644 index 00000000..4b934493 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_12875f19_12875f19/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="389807a3-1575-421d-a2ca-02e24e447f35"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.551.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d235cbf4-b121-48a6-8f3e-04467edd3ad4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6d9d2ebc-6cde-4639-bb58-cb3bc3ee9d95"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6d9d2ebc-6cde-4639-bb58-cb3bc3ee9d95"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="30978281"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7b12c364-8afa-48d7-9b66-5fdbe0b90159"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="037278962"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0018) 308308710"/> + </telecom> + <telecom> + <system value="email"/> + <value value="adriano.schlawitz@leibold.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Julius-Leber-Str. 29b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="29b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Julius-Leber-Str."/> + </extension> + </line> + <city value="Groß Edgarbrunn"/> + <postalCode value="70481"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="99aff96b-c544-46d1-9175-0f791d2baa6e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="250084958"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/output.json deleted file mode 100644 index 7184c16a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "2736747f-cc71-402a-96bd-90280016f190", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "2482d037-5b77-491f-96fe-20a53b081af9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/96952b67-6cc3-42c5-b9ae-2d5e036a3435" - }, - "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": "96952b67-6cc3-42c5-b9ae-2d5e036a3435", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2780ea1b-b705-49ee-b27b-6a231a1954c3", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "0cec6d81-9112-4347-a7c5-e49535f158fe", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_c44d90eb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/output.xml deleted file mode 100644 index 0cf3a365..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2736747f-cc71-402a-96bd-90280016f190"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.532.52"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2482d037-5b77-491f-96fe-20a53b081af9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/96952b67-6cc3-42c5-b9ae-2d5e036a3435"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="96952b67-6cc3-42c5-b9ae-2d5e036a3435"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="22477205"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2780ea1b-b705-49ee-b27b-6a231a1954c3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="383269360"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(01048) 7836562"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mirac.cleem@schonberg.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Goethestr. 54c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="54c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Goethestr."/> - </extension> - </line> - <city value="Lindenmayerberg"/> - <postalCode value="10316"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="0cec6d81-9112-4347-a7c5-e49535f158fe"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="735114655"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb_c44d90eb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb_c44d90eb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb_c44d90eb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb_c44d90eb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb_c44d90eb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb_c44d90eb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb_c44d90eb/output.json new file mode 100644 index 00000000..6a503ca8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb_c44d90eb/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "73477cee-c115-4652-9e22-578bad34f66e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d4efda79-f4b4-47c1-ae80-8ce185a8a606", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/202fc29c-b8dd-4d59-9a1c-240a3e846632" + }, + "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": "202fc29c-b8dd-4d59-9a1c-240a3e846632", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "56e901ec-2965-460b-850d-6a6a5dcf4cd3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "1753c413-f092-4089-aca4-028c669b88f0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c44d90eb_c44d90eb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb_c44d90eb/output.xml new file mode 100644 index 00000000..b3f77353 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a_c44d90eb_c44d90eb/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="73477cee-c115-4652-9e22-578bad34f66e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.532.52"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d4efda79-f4b4-47c1-ae80-8ce185a8a606"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/202fc29c-b8dd-4d59-9a1c-240a3e846632"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="202fc29c-b8dd-4d59-9a1c-240a3e846632"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="22477205"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="56e901ec-2965-460b-850d-6a6a5dcf4cd3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="383269360"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(01048) 7836562"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mirac.cleem@schonberg.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Goethestr. 54c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="54c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Goethestr."/> + </extension> + </line> + <city value="Lindenmayerberg"/> + <postalCode value="10316"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1753c413-f092-4089-aca4-028c669b88f0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="735114655"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.json index e7bfeed6..504f609d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "f84532cc-d40a-4e8e-9ab7-fd8134679116", + "id": "f3fbb98a-e054-493b-8eca-ab736b19ffb3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "e8facb53-7bb3-408f-9acf-9b2477780093", + "id": "5aa00e16-d2fd-4793-857d-5a243ab0e076", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/95b25593-9a5b-4fb7-a3a8-9e5d652420be" + "reference": "Medication/3f6f3685-ce73-4801-a06e-ce1293fcc83b" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "95b25593-9a5b-4fb7-a3a8-9e5d652420be", + "id": "3f6f3685-ce73-4801-a06e-ce1293fcc83b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "81e707bf-629d-4b34-b1f7-4c76baf9281e", + "id": "faf70270-c781-4bb1-99c9-b6951f9bc5b5", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "6e1e6b9b-9602-4be4-9e9b-93664ee137b5", + "id": "56615285-76cf-4101-a119-8a9e26897e8a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.xml index b6879857..809f1356 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="f84532cc-d40a-4e8e-9ab7-fd8134679116"/> + <id value="f3fbb98a-e054-493b-8eca-ab736b19ffb3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e8facb53-7bb3-408f-9acf-9b2477780093"/> + <id value="5aa00e16-d2fd-4793-857d-5a243ab0e076"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/95b25593-9a5b-4fb7-a3a8-9e5d652420be"/> + <reference value="Medication/3f6f3685-ce73-4801-a06e-ce1293fcc83b"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="95b25593-9a5b-4fb7-a3a8-9e5d652420be"/> + <id value="3f6f3685-ce73-4801-a06e-ce1293fcc83b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="81e707bf-629d-4b34-b1f7-4c76baf9281e"/> + <id value="faf70270-c781-4bb1-99c9-b6951f9bc5b5"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6e1e6b9b-9602-4be4-9e9b-93664ee137b5"/> + <id value="56615285-76cf-4101-a119-8a9e26897e8a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da_25e815da/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da_25e815da/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da_25e815da/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da_25e815da/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da_25e815da/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da_25e815da/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da_25e815da/output.json new file mode 100644 index 00000000..da171c5f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da_25e815da/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "41a03914-61a5-4912-ad3d-44df168fae23", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ae17e5ab-d506-4215-bbe8-d7d702f00817", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/61faf6c9-13a4-44a6-82ed-5387698519d4" + }, + "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": "61faf6c9-13a4-44a6-82ed-5387698519d4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d69fbf6e-9eec-4bfb-8171-7497582d35bc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "dd76df63-23c2-4908-805a-4ee2f9533c6d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_25e815da_25e815da/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da_25e815da/output.xml new file mode 100644 index 00000000..d43add4e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_25e815da_25e815da/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="41a03914-61a5-4912-ad3d-44df168fae23"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.541.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ae17e5ab-d506-4215-bbe8-d7d702f00817"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/61faf6c9-13a4-44a6-82ed-5387698519d4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="61faf6c9-13a4-44a6-82ed-5387698519d4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25582871"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d69fbf6e-9eec-4bfb-8171-7497582d35bc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="559166155"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3334-51630533"/> + </telecom> + <telecom> + <system value="email"/> + <value value="vivien.schwandke@xn--knig-5qa.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Wingchen-Str. 44c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="44c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Wingchen-Str."/> + </extension> + </line> + <city value="Kjellgrün"/> + <postalCode value="37345"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dd76df63-23c2-4908-805a-4ee2f9533c6d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="781777272"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.json index 7c17150e..3b3ee096 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "3a0c2f4a-6c6e-4e21-852b-d0b02961b6e3", + "id": "76662774-ad7f-4ed1-a77a-9a8aab35e75b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "ea31f233-90cb-437c-892a-9fb6305118e1", + "id": "cc3e20cf-2d2f-4483-9db4-7292865dbb1c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/21b040dd-edd0-4ffa-b44e-5f4f073c4189" + "reference": "Medication/d2dd740f-b85c-485a-ab2e-90dea45347d4" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "21b040dd-edd0-4ffa-b44e-5f4f073c4189", + "id": "d2dd740f-b85c-485a-ab2e-90dea45347d4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "751fd86d-5921-4d58-b7ef-7132b576e676", + "id": "e3f3469a-c76b-4b6c-a8f4-f86283e8315c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "288e6e17-2c16-4691-8647-e3c31036d7e0", + "id": "a331a8ee-0e7c-4a53-9422-b12d37615384", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.xml index 37a027a0..0cec17bb 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="3a0c2f4a-6c6e-4e21-852b-d0b02961b6e3"/> + <id value="76662774-ad7f-4ed1-a77a-9a8aab35e75b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ea31f233-90cb-437c-892a-9fb6305118e1"/> + <id value="cc3e20cf-2d2f-4483-9db4-7292865dbb1c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/21b040dd-edd0-4ffa-b44e-5f4f073c4189"/> + <reference value="Medication/d2dd740f-b85c-485a-ab2e-90dea45347d4"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="21b040dd-edd0-4ffa-b44e-5f4f073c4189"/> + <id value="d2dd740f-b85c-485a-ab2e-90dea45347d4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="751fd86d-5921-4d58-b7ef-7132b576e676"/> + <id value="e3f3469a-c76b-4b6c-a8f4-f86283e8315c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="288e6e17-2c16-4691-8647-e3c31036d7e0"/> + <id value="a331a8ee-0e7c-4a53-9422-b12d37615384"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f_3817df9f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f_3817df9f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f_3817df9f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f_3817df9f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f_3817df9f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f_3817df9f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f_3817df9f/output.json new file mode 100644 index 00000000..b6ed47e2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f_3817df9f/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "e9b924b5-36a8-490a-a6dd-f912cc379bfe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "83400680-fd73-492f-a18c-9eff96472404", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b33b9296-8534-4d2d-9ec7-bd4404e24ba8" + }, + "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": "b33b9296-8534-4d2d-9ec7-bd4404e24ba8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f5a78bcd-4c7b-460a-8245-90b3f4217820", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "acac5500-0401-4bf2-9db8-9d94784171c9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3817df9f_3817df9f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f_3817df9f/output.xml new file mode 100644 index 00000000..5ab98750 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3817df9f_3817df9f/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e9b924b5-36a8-490a-a6dd-f912cc379bfe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.554.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="83400680-fd73-492f-a18c-9eff96472404"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b33b9296-8534-4d2d-9ec7-bd4404e24ba8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b33b9296-8534-4d2d-9ec7-bd4404e24ba8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="89414303"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f5a78bcd-4c7b-460a-8245-90b3f4217820"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614508968"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(04452) 0775160"/> + </telecom> + <telecom> + <system value="email"/> + <value value="peter.wiebe@scherz.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Borussiastr. 085"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="085"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Borussiastr."/> + </extension> + </line> + <city value="Bad Alinahagen"/> + <postalCode value="60537"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="acac5500-0401-4bf2-9db8-9d94784171c9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="356309197"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/output.json deleted file mode 100644 index 2900298e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "10b5034d-0466-48c2-898e-6631b540854b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "94ccfbd7-91cd-4671-bbe1-80d71eb51b22", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/e26249c0-c170-48ff-9078-5471d616335d" - }, - "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": "e26249c0-c170-48ff-9078-5471d616335d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "afea03a1-5a3e-40ca-a2ac-083c3aee183e", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "3e24416f-8df4-4a21-9390-98882d3ce5e1", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_4d68c364/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/output.xml deleted file mode 100644 index a0cea2fa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="10b5034d-0466-48c2-898e-6631b540854b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.534.46"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="94ccfbd7-91cd-4671-bbe1-80d71eb51b22"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/e26249c0-c170-48ff-9078-5471d616335d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e26249c0-c170-48ff-9078-5471d616335d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="24025068"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="afea03a1-5a3e-40ca-a2ac-083c3aee183e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="469332828"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-8724-61741673"/> - </telecom> - <telecom> - <system value="email"/> - <value value="alan.tillack@matthes.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Habichtgasse 07a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="07a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Habichtgasse"/> - </extension> - </line> - <city value="Lunaburg"/> - <postalCode value="21832"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="3e24416f-8df4-4a21-9390-98882d3ce5e1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="382278094"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364_4d68c364/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364_4d68c364/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364_4d68c364/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364_4d68c364/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364_4d68c364/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364_4d68c364/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364_4d68c364/output.json new file mode 100644 index 00000000..ea048a8d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364_4d68c364/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "aa2d95ca-10ef-46a2-afca-4f7ff63e1b46", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b0fdea7f-c24f-4259-82ad-5f460228ed98", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/37d5cacc-c75f-4ab3-aab2-29c9888e0d95" + }, + "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": "37d5cacc-c75f-4ab3-aab2-29c9888e0d95", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "42a12597-bb4c-4407-a21b-1b61be580442", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "881b7680-9c01-4c59-8f58-55636c8158a7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4d68c364_4d68c364/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364_4d68c364/output.xml new file mode 100644 index 00000000..ac40b640 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447_4d68c364_4d68c364/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="aa2d95ca-10ef-46a2-afca-4f7ff63e1b46"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.534.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b0fdea7f-c24f-4259-82ad-5f460228ed98"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/37d5cacc-c75f-4ab3-aab2-29c9888e0d95"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="37d5cacc-c75f-4ab3-aab2-29c9888e0d95"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="24025068"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="42a12597-bb4c-4407-a21b-1b61be580442"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="469332828"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8724-61741673"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alan.tillack@matthes.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Habichtgasse 07a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="07a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Habichtgasse"/> + </extension> + </line> + <city value="Lunaburg"/> + <postalCode value="21832"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="881b7680-9c01-4c59-8f58-55636c8158a7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="382278094"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.json index 494864f3..3afbe488 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "5bdc1a11-47b6-4556-aee9-00c3ba83a2c0", + "id": "8f7bf0b9-82ee-49f6-996d-d9f5d7af235e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "b4d321d2-8685-4a78-b8fb-a7b02b0bb641", + "id": "c81ff42f-aafa-4542-be2b-f91278532bc3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/5bab5471-3abe-4fa9-8c69-bc4ad8263c61" + "reference": "Medication/e4a0c3c3-73d7-463a-bdd0-67623d7a5091" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5bab5471-3abe-4fa9-8c69-bc4ad8263c61", + "id": "e4a0c3c3-73d7-463a-bdd0-67623d7a5091", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "190d6eaa-4cd5-4ca9-b0c9-3069cb01cb62", + "id": "a02869a9-2b03-4665-8ca9-0c196f786728", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "c6aba258-c37f-4351-b214-9a4a3895c85a", + "id": "7886dabf-14d7-41d9-ae10-6733cbf58209", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.xml index a5cc3248..929cece1 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="5bdc1a11-47b6-4556-aee9-00c3ba83a2c0"/> + <id value="8f7bf0b9-82ee-49f6-996d-d9f5d7af235e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b4d321d2-8685-4a78-b8fb-a7b02b0bb641"/> + <id value="c81ff42f-aafa-4542-be2b-f91278532bc3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/5bab5471-3abe-4fa9-8c69-bc4ad8263c61"/> + <reference value="Medication/e4a0c3c3-73d7-463a-bdd0-67623d7a5091"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5bab5471-3abe-4fa9-8c69-bc4ad8263c61"/> + <id value="e4a0c3c3-73d7-463a-bdd0-67623d7a5091"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="190d6eaa-4cd5-4ca9-b0c9-3069cb01cb62"/> + <id value="a02869a9-2b03-4665-8ca9-0c196f786728"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c6aba258-c37f-4351-b214-9a4a3895c85a"/> + <id value="7886dabf-14d7-41d9-ae10-6733cbf58209"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22_3a052e22/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22_3a052e22/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22_3a052e22/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22_3a052e22/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22_3a052e22/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22_3a052e22/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22_3a052e22/output.json new file mode 100644 index 00000000..f2280d38 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22_3a052e22/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "54f9e965-9012-40d4-898e-0d874c8413ac", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5b8b3593-6d94-473a-a386-e99182ba66b0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/12ca80fa-bb15-4a81-a2f4-1d7ff0437bcd" + }, + "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": "12ca80fa-bb15-4a81-a2f4-1d7ff0437bcd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6820290e-88f8-427d-b2a1-edd47c3ad0ab", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c6b8a266-df88-48ab-9501-23f35af09e05", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3a052e22_3a052e22/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22_3a052e22/output.xml new file mode 100644 index 00000000..3cc014cb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3a052e22_3a052e22/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="54f9e965-9012-40d4-898e-0d874c8413ac"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.552.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5b8b3593-6d94-473a-a386-e99182ba66b0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/12ca80fa-bb15-4a81-a2f4-1d7ff0437bcd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="12ca80fa-bb15-4a81-a2f4-1d7ff0437bcd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="72828845"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6820290e-88f8-427d-b2a1-edd47c3ad0ab"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="737393702"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02065) 5910464"/> + </telecom> + <telecom> + <system value="email"/> + <value value="gina.kaesmacher@faulhaber.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Van't-Hoff-Str. 35"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="35"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Van't-Hoff-Str."/> + </extension> + </line> + <city value="Kayberg"/> + <postalCode value="20971"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c6b8a266-df88-48ab-9501-23f35af09e05"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="936686332"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.json index 6f73edc0..6810541d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "cc039573-5899-4b07-ac74-2f3852e91523", + "id": "34891c03-7b5f-4f03-b530-0d32255fcf90", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "3c344305-4b16-4596-b16d-cfb49e5e96a1", + "id": "b53e45e2-b974-4411-be71-d9a79708ff2e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/070cc5fa-31ac-48c3-a4a5-ab513c089a49" + "reference": "Medication/0a482976-8582-4891-97bc-90b09c7d4ca6" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "070cc5fa-31ac-48c3-a4a5-ab513c089a49", + "id": "0a482976-8582-4891-97bc-90b09c7d4ca6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "cd3ac474-f299-43ad-b66c-5ad6908ff8fc", + "id": "05d1c4a3-9187-44cf-8182-2c46c823edc6", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "61b8dd12-37e9-41c8-a7b3-9e431f8c973d", + "id": "f367520f-a1ce-43cb-9c11-b02a62696e3b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.xml index f49ad580..01891447 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="cc039573-5899-4b07-ac74-2f3852e91523"/> + <id value="34891c03-7b5f-4f03-b530-0d32255fcf90"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3c344305-4b16-4596-b16d-cfb49e5e96a1"/> + <id value="b53e45e2-b974-4411-be71-d9a79708ff2e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/070cc5fa-31ac-48c3-a4a5-ab513c089a49"/> + <reference value="Medication/0a482976-8582-4891-97bc-90b09c7d4ca6"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="070cc5fa-31ac-48c3-a4a5-ab513c089a49"/> + <id value="0a482976-8582-4891-97bc-90b09c7d4ca6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="cd3ac474-f299-43ad-b66c-5ad6908ff8fc"/> + <id value="05d1c4a3-9187-44cf-8182-2c46c823edc6"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="61b8dd12-37e9-41c8-a7b3-9e431f8c973d"/> + <id value="f367520f-a1ce-43cb-9c11-b02a62696e3b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5_3cb47bc5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5_3cb47bc5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5_3cb47bc5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5_3cb47bc5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5_3cb47bc5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5_3cb47bc5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5_3cb47bc5/output.json new file mode 100644 index 00000000..1ac8f667 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5_3cb47bc5/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "4541ad93-e9c3-46c8-af84-713e461f467b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "91da39d3-f729-44b9-a0db-a59df623e4b1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a8a5c32a-9b18-494c-834d-0e750abfbad6" + }, + "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": "a8a5c32a-9b18-494c-834d-0e750abfbad6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0c85d7b7-cfeb-4526-8c85-7f43733042e9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "388ea15a-cdcf-4a8f-bb5a-51370fa47dd4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3cb47bc5_3cb47bc5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5_3cb47bc5/output.xml new file mode 100644 index 00000000..e3d24e7f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3cb47bc5_3cb47bc5/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4541ad93-e9c3-46c8-af84-713e461f467b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.553.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="91da39d3-f729-44b9-a0db-a59df623e4b1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a8a5c32a-9b18-494c-834d-0e750abfbad6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a8a5c32a-9b18-494c-834d-0e750abfbad6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09921210"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0c85d7b7-cfeb-4526-8c85-7f43733042e9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="473655401"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5210-24343099"/> + </telecom> + <telecom> + <system value="email"/> + <value value="michel.tremmel@xn--grtzinger-17a.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Albert-Einstein-Str. 43b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="43b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Albert-Einstein-Str."/> + </extension> + </line> + <city value="West William"/> + <postalCode value="00269"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="388ea15a-cdcf-4a8f-bb5a-51370fa47dd4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="360613903"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/output.json deleted file mode 100644 index d762b694..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "6f813b07-383a-4574-9032-f38bf5b838c8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "2ce64cbd-0d3a-4bb9-9470-2e00056d3b4e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/23f49074-f548-4792-b002-6c79e88330d9" - }, - "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": "23f49074-f548-4792-b002-6c79e88330d9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b73b9e8b-0e8d-43ae-b765-22ce0469eb54", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "b1356a52-6152-4020-8058-8eed2c628a1f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_6b244b96/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/output.xml deleted file mode 100644 index e745fc20..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6f813b07-383a-4574-9032-f38bf5b838c8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.533.49"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2ce64cbd-0d3a-4bb9-9470-2e00056d3b4e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/23f49074-f548-4792-b002-6c79e88330d9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="23f49074-f548-4792-b002-6c79e88330d9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="84264572"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b73b9e8b-0e8d-43ae-b765-22ce0469eb54"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="787145379"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(05009) 9116624"/> - </telecom> - <telecom> - <system value="email"/> - <value value="anthony.leyckes@fenner.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Ropenstaller Weg 700"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="700"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Ropenstaller Weg"/> - </extension> - </line> - <city value="Doskoczynskiburg"/> - <postalCode value="08984"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b1356a52-6152-4020-8058-8eed2c628a1f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="231796846"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96_6b244b96/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96_6b244b96/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96_6b244b96/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96_6b244b96/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96_6b244b96/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96_6b244b96/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96_6b244b96/output.json new file mode 100644 index 00000000..4f8dd9bc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96_6b244b96/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "5120992d-604e-4bcd-bca8-814228ade67c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ef0eb318-856a-4be1-9be2-6d5ba1b374eb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5fc0a1a2-96f8-4cde-80c8-b8750999895a" + }, + "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": "5fc0a1a2-96f8-4cde-80c8-b8750999895a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a1c7592e-05d2-4521-92c0-a6356bdd9ea1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4a5c571f-dceb-45dd-807a-5ec50f75b4a0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6b244b96_6b244b96/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96_6b244b96/output.xml new file mode 100644 index 00000000..bcab18b3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6_6b244b96_6b244b96/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5120992d-604e-4bcd-bca8-814228ade67c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ef0eb318-856a-4be1-9be2-6d5ba1b374eb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5fc0a1a2-96f8-4cde-80c8-b8750999895a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5fc0a1a2-96f8-4cde-80c8-b8750999895a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a1c7592e-05d2-4521-92c0-a6356bdd9ea1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="787145379"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05009) 9116624"/> + </telecom> + <telecom> + <system value="email"/> + <value value="anthony.leyckes@fenner.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Ropenstaller Weg 700"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="700"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ropenstaller Weg"/> + </extension> + </line> + <city value="Doskoczynskiburg"/> + <postalCode value="08984"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4a5c571f-dceb-45dd-807a-5ec50f75b4a0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="231796846"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.json index d9adb354..09acac54 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ba9777db-72ca-48e5-b233-28dac80a84c3", + "id": "be2cf67d-fc05-43ae-b275-9d63e7c019b6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "fc5bcbbf-f4b3-470f-ac7b-be0e02c26bcb", + "id": "a3514220-87fe-4503-8f33-0ac205654c67", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/5f0c8283-7df7-4866-969f-7de4a0ca21a5" + "reference": "Medication/8d7bace3-dc13-4531-86be-bbfa77481f1c" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5f0c8283-7df7-4866-969f-7de4a0ca21a5", + "id": "8d7bace3-dc13-4531-86be-bbfa77481f1c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "89302fdb-e35e-4a1f-a3ae-9a715289a644", + "id": "6f8976cb-d239-4442-a86f-8bfa69016674", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "604ed1f2-414e-4bec-8f85-d116749fd9e2", + "id": "afed53ee-daf2-411e-9185-b783f9c524fb", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.xml index e0bd8e2a..1c5a260c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="ba9777db-72ca-48e5-b233-28dac80a84c3"/> + <id value="be2cf67d-fc05-43ae-b275-9d63e7c019b6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="fc5bcbbf-f4b3-470f-ac7b-be0e02c26bcb"/> + <id value="a3514220-87fe-4503-8f33-0ac205654c67"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/5f0c8283-7df7-4866-969f-7de4a0ca21a5"/> + <reference value="Medication/8d7bace3-dc13-4531-86be-bbfa77481f1c"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5f0c8283-7df7-4866-969f-7de4a0ca21a5"/> + <id value="8d7bace3-dc13-4531-86be-bbfa77481f1c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="89302fdb-e35e-4a1f-a3ae-9a715289a644"/> + <id value="6f8976cb-d239-4442-a86f-8bfa69016674"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="604ed1f2-414e-4bec-8f85-d116749fd9e2"/> + <id value="afed53ee-daf2-411e-9185-b783f9c524fb"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/input.xml new file mode 100644 index 00000000..dbda7788 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="4d68c364-8926-44de-8ffd-b17756755efa"/> + <meta> + <lastUpdated value="2024-02-08T19:16:08.099+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.534.46"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:16:08.099+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/e0534847-3b69-4376-b26a-9e8926ebc358"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="e0534847-3b69-4376-b26a-9e8926ebc358"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ecfda365-3e4d-442a-b719-7486263cdcb1"/> + </subject> + <date value="2024-02-08T19:16:08+01:00"/> + <author> + <reference value="Practitioner/dcfc70e3-d76d-4447-b3a2-0a804192ce30"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/afab3d62-28ee-4284-9d70-1ffa7a9063ce"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/3109df5c-12dd-42fa-b1b5-8a3f6837177e"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/5f4ea0dc-b9de-4039-8540-728b644b0ae6"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/59b53a09-4763-4725-84a9-481f0a2cdb00"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="59b53a09-4763-4725-84a9-481f0a2cdb00"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="24025068"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/ecfda365-3e4d-442a-b719-7486263cdcb1"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ecfda365-3e4d-442a-b719-7486263cdcb1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1980-05-13"/> + <address> + <type value="both"/> + <line value="Herderstr. 94"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="94"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herderstr."/> + </extension> + </line> + <city value="Alt Nikitastadt"/> + <postalCode value="45836"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/afab3d62-28ee-4284-9d70-1ffa7a9063ce"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="afab3d62-28ee-4284-9d70-1ffa7a9063ce"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="469332828"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8724-61741673"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alan.tillack@matthes.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Habichtgasse 07a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="07a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Habichtgasse"/> + </extension> + </line> + <city value="Lunaburg"/> + <postalCode value="21832"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/3109df5c-12dd-42fa-b1b5-8a3f6837177e"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="3109df5c-12dd-42fa-b1b5-8a3f6837177e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="46"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/d400898a-135d-4146-891c-da9424a053f9"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141096"/> + </identifier> + <display value="LVM"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/dcfc70e3-d76d-4447-b3a2-0a804192ce30"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dcfc70e3-d76d-4447-b3a2-0a804192ce30"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="382278094"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/5f4ea0dc-b9de-4039-8540-728b644b0ae6"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5f4ea0dc-b9de-4039-8540-728b644b0ae6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/59b53a09-4763-4725-84a9-481f0a2cdb00"/> + </medicationReference> + <subject> + <reference value="Patient/ecfda365-3e4d-442a-b719-7486263cdcb1"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/dcfc70e3-d76d-4447-b3a2-0a804192ce30"/> + </requester> + <insurance> + <reference value="Coverage/3109df5c-12dd-42fa-b1b5-8a3f6837177e"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/output.json new file mode 100644 index 00000000..669a11f8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "fdc63e03-fd23-45dd-99fb-c1a39a0d0752", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ce335092-c403-4ca8-a44b-999ded3eb54a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e3eee5f6-1307-41a5-a240-55a0c5552cf6" + }, + "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": "e3eee5f6-1307-41a5-a240-55a0c5552cf6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "62b23c5c-30ce-46e1-a5da-b802dd4f39f5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2823f9f4-aa6f-470a-83a9-570778481ab6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_4d68c364_4d68c364/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/output.xml new file mode 100644 index 00000000..5a286991 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_4d68c364_4d68c364/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fdc63e03-fd23-45dd-99fb-c1a39a0d0752"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.534.46"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ce335092-c403-4ca8-a44b-999ded3eb54a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e3eee5f6-1307-41a5-a240-55a0c5552cf6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e3eee5f6-1307-41a5-a240-55a0c5552cf6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="24025068"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="62b23c5c-30ce-46e1-a5da-b802dd4f39f5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="469332828"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8724-61741673"/> + </telecom> + <telecom> + <system value="email"/> + <value value="alan.tillack@matthes.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Habichtgasse 07a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="07a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Habichtgasse"/> + </extension> + </line> + <city value="Lunaburg"/> + <postalCode value="21832"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2823f9f4-aa6f-470a-83a9-570778481ab6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="382278094"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/output.json deleted file mode 100644 index f0cd532f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "4e832ea1-7fec-43c3-a286-f5bbd1e15767", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "9cf8c8a9-cc6e-4c39-83c5-db07a4dd52ff", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/80e825ea-a2cd-4e84-8d61-5e5d491eb504" - }, - "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": "80e825ea-a2cd-4e84-8d61-5e5d491eb504", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f43f1643-7405-4c14-ae69-16893b61b9f4", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "60c7ecf3-262f-4282-b8f2-bedb0a092b81", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_ee45abcb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/output.xml deleted file mode 100644 index 7fb913e7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4e832ea1-7fec-43c3-a286-f5bbd1e15767"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.549.98"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9cf8c8a9-cc6e-4c39-83c5-db07a4dd52ff"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/80e825ea-a2cd-4e84-8d61-5e5d491eb504"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="80e825ea-a2cd-4e84-8d61-5e5d491eb504"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10642981"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f43f1643-7405-4c14-ae69-16893b61b9f4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="479601479"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-7131-23459087"/> - </telecom> - <telecom> - <system value="email"/> - <value value="klaas.reinelt@bigdeli.ch"/> - </telecom> - <address> - <type value="both"/> - <line value="Memelstr. 60"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="60"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Memelstr."/> - </extension> - </line> - <city value="Davidescheid"/> - <postalCode value="75449"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="60c7ecf3-262f-4282-b8f2-bedb0a092b81"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="786249106"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb/output.json new file mode 100644 index 00000000..fa9c3182 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "daa1b962-7791-41e0-bac2-14094dc929a8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "82218fbe-8c3d-4938-9d90-5e93406b5d6d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/db117c1c-7cec-4bc3-a32a-1956eb67a424" + }, + "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": "db117c1c-7cec-4bc3-a32a-1956eb67a424", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f4603732-79be-42d6-a208-f7614478ae0a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "767049ef-7155-4d71-b283-7064334d6665", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ee45abcb_ee45abcb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb/output.xml new file mode 100644 index 00000000..d50702f3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9_ee45abcb_ee45abcb/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="daa1b962-7791-41e0-bac2-14094dc929a8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.549.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="82218fbe-8c3d-4938-9d90-5e93406b5d6d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/db117c1c-7cec-4bc3-a32a-1956eb67a424"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="db117c1c-7cec-4bc3-a32a-1956eb67a424"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10642981"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f4603732-79be-42d6-a208-f7614478ae0a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="479601479"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7131-23459087"/> + </telecom> + <telecom> + <system value="email"/> + <value value="klaas.reinelt@bigdeli.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Memelstr. 60"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="60"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Memelstr."/> + </extension> + </line> + <city value="Davidescheid"/> + <postalCode value="75449"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="767049ef-7155-4d71-b283-7064334d6665"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="786249106"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/output.json deleted file mode 100644 index ad3bddc4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e92bddd8-7b1e-4e02-b46e-0bd842d8b0f0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "8c43ccbc-1379-4e90-87ed-c208666ea88c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/fd2bd7d3-0a30-4b9c-8e5d-ebc117a6805e" - }, - "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": "fd2bd7d3-0a30-4b9c-8e5d-ebc117a6805e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cd5b5eb1-81e9-4c42-b7a1-4177961d3426", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "1f1747d9-7a15-468b-afd7-40f6ab2f9175", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_3817df9f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/output.xml deleted file mode 100644 index dca8324a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e92bddd8-7b1e-4e02-b46e-0bd842d8b0f0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.554.83"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8c43ccbc-1379-4e90-87ed-c208666ea88c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/fd2bd7d3-0a30-4b9c-8e5d-ebc117a6805e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fd2bd7d3-0a30-4b9c-8e5d-ebc117a6805e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="89414303"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="cd5b5eb1-81e9-4c42-b7a1-4177961d3426"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="614508968"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(04452) 0775160"/> - </telecom> - <telecom> - <system value="email"/> - <value value="peter.wiebe@scherz.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Borussiastr. 085"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="085"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Borussiastr."/> - </extension> - </line> - <city value="Bad Alinahagen"/> - <postalCode value="60537"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1f1747d9-7a15-468b-afd7-40f6ab2f9175"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="356309197"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/input.xml new file mode 100644 index 00000000..9e051845 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="3817df9f-9c38-4dbe-b0a4-787b92471380"/> + <meta> + <lastUpdated value="2024-02-08T19:20:41.559+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.554.83"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:20:41.559+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/70451b85-ed12-4ef1-b27d-8d3e8062f619"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="70451b85-ed12-4ef1-b27d-8d3e8062f619"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/12bad474-1fa3-47d8-a441-2bc96e7271b7"/> + </subject> + <date value="2024-02-08T19:20:41+01:00"/> + <author> + <reference value="Practitioner/eda958eb-1d19-49a4-b985-ee3836751a4a"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/0acabb17-87fc-4902-be22-929a39a4d214"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/78edcbd5-587f-4c2d-a2c9-ed0695a4cd2a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/29b84e4d-e63e-4714-9bf4-1972e89dbd9c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/b153e444-f57a-4dc5-9ceb-f4518027accb"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b153e444-f57a-4dc5-9ceb-f4518027accb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="89414303"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/12bad474-1fa3-47d8-a441-2bc96e7271b7"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="12bad474-1fa3-47d8-a441-2bc96e7271b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2006-01-27"/> + <address> + <type value="both"/> + <line value="Neukronenberger Str. 63b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="63b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Neukronenberger Str."/> + </extension> + </line> + <city value="Neu Emmy"/> + <postalCode value="34048"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/0acabb17-87fc-4902-be22-929a39a4d214"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0acabb17-87fc-4902-be22-929a39a4d214"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614508968"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(04452) 0775160"/> + </telecom> + <telecom> + <system value="email"/> + <value value="peter.wiebe@scherz.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Borussiastr. 085"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="085"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Borussiastr."/> + </extension> + </line> + <city value="Bad Alinahagen"/> + <postalCode value="60537"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/78edcbd5-587f-4c2d-a2c9-ed0695a4cd2a"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="78edcbd5-587f-4c2d-a2c9-ed0695a4cd2a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="98"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1c56fdf1-ad3c-4d70-8a67-3eff790b7f1b"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141154"/> + </identifier> + <display value="Vigo Krankenversicherung VVaG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/eda958eb-1d19-49a4-b985-ee3836751a4a"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="eda958eb-1d19-49a4-b985-ee3836751a4a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="356309197"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/29b84e4d-e63e-4714-9bf4-1972e89dbd9c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="29b84e4d-e63e-4714-9bf4-1972e89dbd9c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b153e444-f57a-4dc5-9ceb-f4518027accb"/> + </medicationReference> + <subject> + <reference value="Patient/12bad474-1fa3-47d8-a441-2bc96e7271b7"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/eda958eb-1d19-49a4-b985-ee3836751a4a"/> + </requester> + <insurance> + <reference value="Coverage/78edcbd5-587f-4c2d-a2c9-ed0695a4cd2a"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/output.json new file mode 100644 index 00000000..f266165f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ed615efd-41fe-4a81-8157-eac74487dc9e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "57413dcd-41f5-4f89-8355-756bae425e0f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2718379f-a379-47b1-99e1-9e8d8bfdf58c" + }, + "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": "2718379f-a379-47b1-99e1-9e8d8bfdf58c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "11dfb04d-ec79-4054-be60-166d9970046a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8e622f80-2580-48ac-9b2b-eb5ab665da6d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3817df9f_3817df9f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/output.xml new file mode 100644 index 00000000..bf000bbb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a_3817df9f_3817df9f/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ed615efd-41fe-4a81-8157-eac74487dc9e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.554.83"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="57413dcd-41f5-4f89-8355-756bae425e0f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2718379f-a379-47b1-99e1-9e8d8bfdf58c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2718379f-a379-47b1-99e1-9e8d8bfdf58c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="89414303"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="11dfb04d-ec79-4054-be60-166d9970046a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614508968"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(04452) 0775160"/> + </telecom> + <telecom> + <system value="email"/> + <value value="peter.wiebe@scherz.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Borussiastr. 085"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="085"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Borussiastr."/> + </extension> + </line> + <city value="Bad Alinahagen"/> + <postalCode value="60537"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8e622f80-2580-48ac-9b2b-eb5ab665da6d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="356309197"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/output.json deleted file mode 100644 index 11c8ea6f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e3db08d1-ed39-4b99-ad6c-a80a3d83dfa0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "91c43718-166a-4b27-a900-4317b5f8f699", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/6f5f820f-5ae5-4f3b-ba7c-5baaa6581f51" - }, - "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": "6f5f820f-5ae5-4f3b-ba7c-5baaa6581f51", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "553421a5-b474-46e4-9d26-ed4b22c2148f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "8b8c7745-0434-4954-9ce6-df168cf5879d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9963336d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/output.xml deleted file mode 100644 index 4fa2b3fc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e3db08d1-ed39-4b99-ad6c-a80a3d83dfa0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.531.55"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="91c43718-166a-4b27-a900-4317b5f8f699"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/6f5f820f-5ae5-4f3b-ba7c-5baaa6581f51"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6f5f820f-5ae5-4f3b-ba7c-5baaa6581f51"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="74302188"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="553421a5-b474-46e4-9d26-ed4b22c2148f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="464680902"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0118) 367892342"/> - </telecom> - <telecom> - <system value="email"/> - <value value="thomas.hort@marahrens.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Behringstr. 32a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="32a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Behringstr."/> - </extension> - </line> - <city value="Goedickehagen"/> - <postalCode value="97285"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="8b8c7745-0434-4954-9ce6-df168cf5879d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="056578601"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d_9963336d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d_9963336d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d_9963336d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d_9963336d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d_9963336d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d_9963336d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d_9963336d/output.json new file mode 100644 index 00000000..2505c24a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d_9963336d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "8f70fc25-1ec1-43d0-aaf0-03bc7d1d05b0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b763e286-0b1b-4024-8175-d2709809dbcc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/08c3c6e2-10a6-4eda-a861-8af75beff637" + }, + "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": "08c3c6e2-10a6-4eda-a861-8af75beff637", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fe7bd7fc-0883-440f-abba-691cb931bcd7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8f604df7-2e4e-4652-9aaf-4d5954ca3fe8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9963336d_9963336d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d_9963336d/output.xml new file mode 100644 index 00000000..f2e2be84 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a_9963336d_9963336d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8f70fc25-1ec1-43d0-aaf0-03bc7d1d05b0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.531.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b763e286-0b1b-4024-8175-d2709809dbcc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/08c3c6e2-10a6-4eda-a861-8af75beff637"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="08c3c6e2-10a6-4eda-a861-8af75beff637"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="74302188"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fe7bd7fc-0883-440f-abba-691cb931bcd7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="464680902"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0118) 367892342"/> + </telecom> + <telecom> + <system value="email"/> + <value value="thomas.hort@marahrens.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Behringstr. 32a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="32a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Behringstr."/> + </extension> + </line> + <city value="Goedickehagen"/> + <postalCode value="97285"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8f604df7-2e4e-4652-9aaf-4d5954ca3fe8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="056578601"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.json index c66ef63a..1c352988 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "2dfcd22f-184c-438f-a67b-d1b6a1851f1f", + "id": "523d782c-3a0b-409a-9192-00963ab439b3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "86ebc768-7bb2-4450-add7-2034fc09a836", + "id": "f1bb858f-700b-4184-b944-cdd18c598fbe", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/a29f0182-3a4e-4a66-9966-69e0dd2a06a5" + "reference": "Medication/75877f0b-aec7-404c-99d1-5a90cb3b9f66" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a29f0182-3a4e-4a66-9966-69e0dd2a06a5", + "id": "75877f0b-aec7-404c-99d1-5a90cb3b9f66", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "128e59b9-6663-4920-b9c8-508c7a40c58a", + "id": "ac5a9498-1fc3-410b-82ac-d08e3cf80b47", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "07e21b03-16b6-4961-b4b5-2939af39ec69", + "id": "4ad6d119-3984-4fec-9431-abbc5f54e141", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.xml index ab338904..c6ddf0e9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="2dfcd22f-184c-438f-a67b-d1b6a1851f1f"/> + <id value="523d782c-3a0b-409a-9192-00963ab439b3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="86ebc768-7bb2-4450-add7-2034fc09a836"/> + <id value="f1bb858f-700b-4184-b944-cdd18c598fbe"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/a29f0182-3a4e-4a66-9966-69e0dd2a06a5"/> + <reference value="Medication/75877f0b-aec7-404c-99d1-5a90cb3b9f66"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a29f0182-3a4e-4a66-9966-69e0dd2a06a5"/> + <id value="75877f0b-aec7-404c-99d1-5a90cb3b9f66"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="128e59b9-6663-4920-b9c8-508c7a40c58a"/> + <id value="ac5a9498-1fc3-410b-82ac-d08e3cf80b47"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="07e21b03-16b6-4961-b4b5-2939af39ec69"/> + <id value="4ad6d119-3984-4fec-9431-abbc5f54e141"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/input.xml new file mode 100644 index 00000000..e13b101d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="6b244b96-f0a8-4e31-b739-9998ba4f667a"/> + <meta> + <lastUpdated value="2024-02-08T19:15:57.560+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:15:57.560+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/9855bc2c-b0d8-44f0-b360-3b1f9fa6b6fe"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="9855bc2c-b0d8-44f0-b360-3b1f9fa6b6fe"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/71c2b277-2dc1-4ea9-a7d5-be021a99e29f"/> + </subject> + <date value="2024-02-08T19:15:57+01:00"/> + <author> + <reference value="Practitioner/fff69e0e-0805-42dc-90df-7298c7aad109"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/ca6ecc74-32d5-4daa-9013-285eb20d6ef9"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/3ff9d7fd-15cc-4df7-bf10-f25fd99dfac5"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/f5aaf0db-d8ed-4ea0-92ec-48a08df224f8"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/81a3a319-f7a4-42d1-bd10-d929186b36b7"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="81a3a319-f7a4-42d1-bd10-d929186b36b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/71c2b277-2dc1-4ea9-a7d5-be021a99e29f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="71c2b277-2dc1-4ea9-a7d5-be021a99e29f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1962-11-24"/> + <address> + <type value="both"/> + <line value="Adolf-Baeyer-Str. 19a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="19a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Adolf-Baeyer-Str."/> + </extension> + </line> + <city value="Groß Bianca"/> + <postalCode value="82646"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/ca6ecc74-32d5-4daa-9013-285eb20d6ef9"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ca6ecc74-32d5-4daa-9013-285eb20d6ef9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="787145379"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05009) 9116624"/> + </telecom> + <telecom> + <system value="email"/> + <value value="anthony.leyckes@fenner.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Ropenstaller Weg 700"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="700"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ropenstaller Weg"/> + </extension> + </line> + <city value="Doskoczynskiburg"/> + <postalCode value="08984"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/3ff9d7fd-15cc-4df7-bf10-f25fd99dfac5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="3ff9d7fd-15cc-4df7-bf10-f25fd99dfac5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="88"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/215077be-0034-4a9c-b51b-47826f3d3978"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141041"/> + </identifier> + <display value="KUK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/fff69e0e-0805-42dc-90df-7298c7aad109"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="fff69e0e-0805-42dc-90df-7298c7aad109"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="231796846"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/f5aaf0db-d8ed-4ea0-92ec-48a08df224f8"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f5aaf0db-d8ed-4ea0-92ec-48a08df224f8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/81a3a319-f7a4-42d1-bd10-d929186b36b7"/> + </medicationReference> + <subject> + <reference value="Patient/71c2b277-2dc1-4ea9-a7d5-be021a99e29f"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/fff69e0e-0805-42dc-90df-7298c7aad109"/> + </requester> + <insurance> + <reference value="Coverage/3ff9d7fd-15cc-4df7-bf10-f25fd99dfac5"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/output.json new file mode 100644 index 00000000..5e2911bf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "65c25dfe-d389-4b78-bb23-559f0033f18e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c516c03c-2823-45dd-b213-c5aff7aede07", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c6b8f9d2-0cca-4e77-a859-c56eddca349d" + }, + "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": "c6b8f9d2-0cca-4e77-a859-c56eddca349d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bfdc3cb0-240c-41c3-a8fc-4b4a4f789556", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "91e0010a-90b0-4b97-a6a8-02ac80e07305", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6b244b96_6b244b96/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/output.xml new file mode 100644 index 00000000..84c4a28f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6b244b96_6b244b96/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="65c25dfe-d389-4b78-bb23-559f0033f18e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.533.49"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c516c03c-2823-45dd-b213-c5aff7aede07"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c6b8f9d2-0cca-4e77-a859-c56eddca349d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c6b8f9d2-0cca-4e77-a859-c56eddca349d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="84264572"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bfdc3cb0-240c-41c3-a8fc-4b4a4f789556"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="787145379"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(05009) 9116624"/> + </telecom> + <telecom> + <system value="email"/> + <value value="anthony.leyckes@fenner.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Ropenstaller Weg 700"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="700"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ropenstaller Weg"/> + </extension> + </line> + <city value="Doskoczynskiburg"/> + <postalCode value="08984"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="91e0010a-90b0-4b97-a6a8-02ac80e07305"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="231796846"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/output.json deleted file mode 100644 index 54eb6880..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "161c574b-6153-4065-9ff7-89a8da89ee5a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "702aed9d-38ac-4670-9bb3-f286254710e7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/ee14340f-80f1-4aaf-b97e-ef3013a5fa85" - }, - "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": "ee14340f-80f1-4aaf-b97e-ef3013a5fa85", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ca0c7d08-39ac-471f-916f-daf2fca3c9b0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "0aa93716-2205-4fa1-9813-b4c2b5d44ed0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_a49d100a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/output.xml deleted file mode 100644 index 541409f7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="161c574b-6153-4065-9ff7-89a8da89ee5a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.529.61"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="702aed9d-38ac-4670-9bb3-f286254710e7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/ee14340f-80f1-4aaf-b97e-ef3013a5fa85"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ee14340f-80f1-4aaf-b97e-ef3013a5fa85"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="94890460"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ca0c7d08-39ac-471f-916f-daf2fca3c9b0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="033064063"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0747) 184790321"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hamza.reppin@xn--thrnhardt-x2a.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Ehrlichstr. 3"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="3"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Ehrlichstr."/> - </extension> - </line> - <city value="Alt Melek"/> - <postalCode value="51285"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="0aa93716-2205-4fa1-9813-b4c2b5d44ed0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="770468750"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a_a49d100a/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a_a49d100a/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a_a49d100a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a_a49d100a/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a_a49d100a/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a_a49d100a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a_a49d100a/output.json new file mode 100644 index 00000000..3177df8a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a_a49d100a/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "4432b526-e02d-480b-bbf6-f65e3a6ae2ed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "11bfc90b-6279-46a7-998c-30e36c251c00", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2dc779a5-09dd-4bcf-9089-d3935a756616" + }, + "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": "2dc779a5-09dd-4bcf-9089-d3935a756616", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "05db8e8f-fc5a-4ab8-b921-0aed379bd5e9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "49453444-4e84-4d27-89f5-e3361fdd134a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a49d100a_a49d100a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a_a49d100a/output.xml new file mode 100644 index 00000000..3d4fcb7b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753_a49d100a_a49d100a/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4432b526-e02d-480b-bbf6-f65e3a6ae2ed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.529.61"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="11bfc90b-6279-46a7-998c-30e36c251c00"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2dc779a5-09dd-4bcf-9089-d3935a756616"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2dc779a5-09dd-4bcf-9089-d3935a756616"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="94890460"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="05db8e8f-fc5a-4ab8-b921-0aed379bd5e9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="033064063"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0747) 184790321"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hamza.reppin@xn--thrnhardt-x2a.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Ehrlichstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ehrlichstr."/> + </extension> + </line> + <city value="Alt Melek"/> + <postalCode value="51285"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="49453444-4e84-4d27-89f5-e3361fdd134a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="770468750"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/output.json deleted file mode 100644 index 378b67f6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "df646cd9-0bce-435a-9520-109e6398dbd1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "5957b6b1-81e5-40db-890e-dc2481d8ff84", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/bce6cd0f-7b60-4910-b28b-92099868e6a1" - }, - "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": "bce6cd0f-7b60-4910-b28b-92099868e6a1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e73a347c-05be-4d8c-91fa-aea3b1a74a01", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "792c6244-66f3-464d-b057-4ea58f98da76", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_90b31bf4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/output.xml deleted file mode 100644 index 39e6bfb3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="df646cd9-0bce-435a-9520-109e6398dbd1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.527.67"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5957b6b1-81e5-40db-890e-dc2481d8ff84"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/bce6cd0f-7b60-4910-b28b-92099868e6a1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bce6cd0f-7b60-4910-b28b-92099868e6a1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="64184374"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e73a347c-05be-4d8c-91fa-aea3b1a74a01"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="711209517"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-5122-37264545"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hailey.heinze@gutjahr.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Wannseestr. 75a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="75a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Wannseestr."/> - </extension> - </line> - <city value="Groß Hasan"/> - <postalCode value="47624"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="792c6244-66f3-464d-b057-4ea58f98da76"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="834553350"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4_90b31bf4/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4_90b31bf4/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4_90b31bf4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4_90b31bf4/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4_90b31bf4/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4_90b31bf4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4_90b31bf4/output.json new file mode 100644 index 00000000..99b3b24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4_90b31bf4/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "51b41199-7bcf-43a3-8b1b-86d616c0c347", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "18177142-7647-4798-a90e-56e7cc88bf39", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bd7bbc58-1cb8-48c4-864a-68f35cacec36" + }, + "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": "bd7bbc58-1cb8-48c4-864a-68f35cacec36", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a2576457-da35-48ae-9aa9-feff01df8728", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9d1a4c84-814a-4aac-9ed9-04b5dd9e1a28", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_90b31bf4_90b31bf4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4_90b31bf4/output.xml new file mode 100644 index 00000000..44d0c038 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904_90b31bf4_90b31bf4/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="51b41199-7bcf-43a3-8b1b-86d616c0c347"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.527.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="18177142-7647-4798-a90e-56e7cc88bf39"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bd7bbc58-1cb8-48c4-864a-68f35cacec36"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bd7bbc58-1cb8-48c4-864a-68f35cacec36"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64184374"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a2576457-da35-48ae-9aa9-feff01df8728"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711209517"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5122-37264545"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hailey.heinze@gutjahr.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Wannseestr. 75a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wannseestr."/> + </extension> + </line> + <city value="Groß Hasan"/> + <postalCode value="47624"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9d1a4c84-814a-4aac-9ed9-04b5dd9e1a28"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="834553350"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.json index 86ef0e96..79617275 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "46ba8ce8-2a59-4d6b-87bb-21f910ae4a91", + "id": "0abdea04-c546-46a4-aef1-4a0e78dfa0fc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "8fb271e8-3653-4024-b01f-30e30dadeabc", + "id": "5f77db2b-7497-4012-9cce-1340b11f98f8", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/1a18bd6d-c83f-4a0c-9fc5-f27ccf53f300" + "reference": "Medication/a5fdcf21-63c9-4475-965d-d5b6fb61436b" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "1a18bd6d-c83f-4a0c-9fc5-f27ccf53f300", + "id": "a5fdcf21-63c9-4475-965d-d5b6fb61436b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f040bce8-c9e8-4bfe-bbb6-2bc6310fe912", + "id": "93d57469-de1d-4b1c-ba0d-ea850bf606a8", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "1262d119-d8a6-4f78-b89f-24b21f9a651a", + "id": "7ae39c99-0499-4305-978f-6f79a0ada2ce", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.xml index a65e2bad..25a75ff7 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="46ba8ce8-2a59-4d6b-87bb-21f910ae4a91"/> + <id value="0abdea04-c546-46a4-aef1-4a0e78dfa0fc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8fb271e8-3653-4024-b01f-30e30dadeabc"/> + <id value="5f77db2b-7497-4012-9cce-1340b11f98f8"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/1a18bd6d-c83f-4a0c-9fc5-f27ccf53f300"/> + <reference value="Medication/a5fdcf21-63c9-4475-965d-d5b6fb61436b"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="1a18bd6d-c83f-4a0c-9fc5-f27ccf53f300"/> + <id value="a5fdcf21-63c9-4475-965d-d5b6fb61436b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f040bce8-c9e8-4bfe-bbb6-2bc6310fe912"/> + <id value="93d57469-de1d-4b1c-ba0d-ea850bf606a8"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1262d119-d8a6-4f78-b89f-24b21f9a651a"/> + <id value="7ae39c99-0499-4305-978f-6f79a0ada2ce"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/input.xml new file mode 100644 index 00000000..d8b4151b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="90b31bf4-1ee7-49ac-9a96-2841ad637acb"/> + <meta> + <lastUpdated value="2024-02-08T19:14:15.550+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.527.67"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:14:15.550+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/31fd3704-a4cc-42d5-a5fc-a839ccb35dcb"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="31fd3704-a4cc-42d5-a5fc-a839ccb35dcb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/a440b0ca-047c-4fa7-bb0d-959a6c2891af"/> + </subject> + <date value="2024-02-08T19:14:15+01:00"/> + <author> + <reference value="Practitioner/6ecb3294-b24f-45cf-bb33-0350bc6071e6"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/271fe1b2-d18d-4f9b-95cb-7e9abea43942"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/387fa35b-bae6-4377-ba7e-1ca37855ade4"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/c716a081-6bd4-4210-b97b-4b1cf50bff40"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/06e192d7-a295-4572-8824-2270041cd3d0"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="06e192d7-a295-4572-8824-2270041cd3d0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64184374"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/a440b0ca-047c-4fa7-bb0d-959a6c2891af"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="a440b0ca-047c-4fa7-bb0d-959a6c2891af"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2002-02-23"/> + <address> + <type value="both"/> + <line value="Bohnenkampsweg 80b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="80b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Bohnenkampsweg"/> + </extension> + </line> + <city value="Moedlscheid"/> + <postalCode value="41371"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/271fe1b2-d18d-4f9b-95cb-7e9abea43942"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="271fe1b2-d18d-4f9b-95cb-7e9abea43942"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711209517"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5122-37264545"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hailey.heinze@gutjahr.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Wannseestr. 75a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wannseestr."/> + </extension> + </line> + <city value="Groß Hasan"/> + <postalCode value="47624"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/387fa35b-bae6-4377-ba7e-1ca37855ade4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="387fa35b-bae6-4377-ba7e-1ca37855ade4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="49"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/756a81ff-2cee-422c-ac8b-28ab0a2f6823"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141085"/> + </identifier> + <display value="Union Krankenversicherung AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/6ecb3294-b24f-45cf-bb33-0350bc6071e6"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6ecb3294-b24f-45cf-bb33-0350bc6071e6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="834553350"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/c716a081-6bd4-4210-b97b-4b1cf50bff40"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c716a081-6bd4-4210-b97b-4b1cf50bff40"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/06e192d7-a295-4572-8824-2270041cd3d0"/> + </medicationReference> + <subject> + <reference value="Patient/a440b0ca-047c-4fa7-bb0d-959a6c2891af"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/6ecb3294-b24f-45cf-bb33-0350bc6071e6"/> + </requester> + <insurance> + <reference value="Coverage/387fa35b-bae6-4377-ba7e-1ca37855ade4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/output.json new file mode 100644 index 00000000..849a875f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "d5707c76-ca98-4f98-9e86-ef5fc2063d9b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "21a3d5f5-3f59-4310-bbcb-c43318eddec7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8e82bb65-7bc2-43cf-a966-bcce4330e43d" + }, + "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": "8e82bb65-7bc2-43cf-a966-bcce4330e43d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a297c668-3a4a-4a8d-b615-e7559491b51b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0f6e3874-998b-404c-92f3-3832720c5de4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_90b31bf4_90b31bf4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/output.xml new file mode 100644 index 00000000..7272a189 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_90b31bf4_90b31bf4/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d5707c76-ca98-4f98-9e86-ef5fc2063d9b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.527.67"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="21a3d5f5-3f59-4310-bbcb-c43318eddec7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8e82bb65-7bc2-43cf-a966-bcce4330e43d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8e82bb65-7bc2-43cf-a966-bcce4330e43d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="64184374"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a297c668-3a4a-4a8d-b615-e7559491b51b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711209517"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5122-37264545"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hailey.heinze@gutjahr.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Wannseestr. 75a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="75a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wannseestr."/> + </extension> + </line> + <city value="Groß Hasan"/> + <postalCode value="47624"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0f6e3874-998b-404c-92f3-3832720c5de4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="834553350"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.json index c01bcd18..444f1842 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "6d59c589-e42d-44ca-82d5-aeac51dbce6c", + "id": "5168d8b4-8fb3-410f-8a9b-097f03b3144e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "9346ce42-ab11-4696-ba96-0d095c6d07b0", + "id": "15bbe318-03ac-4b86-ad53-01855d031687", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/985a8657-e3f2-4e05-a198-c2312895a000" + "reference": "Medication/89e31a02-04d4-4645-aa84-726b15531241" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "985a8657-e3f2-4e05-a198-c2312895a000", + "id": "89e31a02-04d4-4645-aa84-726b15531241", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "65d02fb9-e808-40be-b5ec-155ed32d04c1", + "id": "9b112035-9dc4-4ab5-ade4-5f1f90064e35", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "133b5295-7a8f-4191-9a25-813c036acfda", + "id": "c9e37799-83e5-460d-9f4a-e52a81c7554b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.xml index 74aa35ab..a259f1da 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="6d59c589-e42d-44ca-82d5-aeac51dbce6c"/> + <id value="5168d8b4-8fb3-410f-8a9b-097f03b3144e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9346ce42-ab11-4696-ba96-0d095c6d07b0"/> + <id value="15bbe318-03ac-4b86-ad53-01855d031687"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/985a8657-e3f2-4e05-a198-c2312895a000"/> + <reference value="Medication/89e31a02-04d4-4645-aa84-726b15531241"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="985a8657-e3f2-4e05-a198-c2312895a000"/> + <id value="89e31a02-04d4-4645-aa84-726b15531241"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="65d02fb9-e808-40be-b5ec-155ed32d04c1"/> + <id value="9b112035-9dc4-4ab5-ade4-5f1f90064e35"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="133b5295-7a8f-4191-9a25-813c036acfda"/> + <id value="c9e37799-83e5-460d-9f4a-e52a81c7554b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/input.xml new file mode 100644 index 00000000..06719594 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9963336d-6760-4665-8808-ca1ab04a7e31"/> + <meta> + <lastUpdated value="2024-02-08T19:15:30.510+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.531.55"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:15:30.510+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/1c265454-260b-43c6-abad-616bd9745415"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1c265454-260b-43c6-abad-616bd9745415"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/be08f095-4586-43d5-a416-3f9df347d8a7"/> + </subject> + <date value="2024-02-08T19:15:30+01:00"/> + <author> + <reference value="Practitioner/8ca98f72-306e-4fc5-86ed-01a8855a4b6e"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/cafc01fb-2330-4ab2-9293-bca778597728"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/4289b844-133c-40b8-957a-cf1c1c56188c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/7b68fef2-0e14-448e-a666-5ef6c5092f58"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/72e068f7-731f-4930-8f3f-60d36e210a64"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="72e068f7-731f-4930-8f3f-60d36e210a64"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="74302188"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/be08f095-4586-43d5-a416-3f9df347d8a7"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="be08f095-4586-43d5-a416-3f9df347d8a7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1976-07-24"/> + <address> + <type value="both"/> + <line value="Im Oberfeld 5"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="5"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Im Oberfeld"/> + </extension> + </line> + <city value="Liebachgrün"/> + <postalCode value="60209"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/cafc01fb-2330-4ab2-9293-bca778597728"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cafc01fb-2330-4ab2-9293-bca778597728"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="464680902"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0118) 367892342"/> + </telecom> + <telecom> + <system value="email"/> + <value value="thomas.hort@marahrens.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Behringstr. 32a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="32a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Behringstr."/> + </extension> + </line> + <city value="Goedickehagen"/> + <postalCode value="97285"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/4289b844-133c-40b8-957a-cf1c1c56188c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="4289b844-133c-40b8-957a-cf1c1c56188c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="88"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/5ce7031d-4b54-4e5f-8501-12325048e42d"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140346"/> + </identifier> + <display value="Allianz"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/8ca98f72-306e-4fc5-86ed-01a8855a4b6e"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8ca98f72-306e-4fc5-86ed-01a8855a4b6e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="056578601"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/7b68fef2-0e14-448e-a666-5ef6c5092f58"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7b68fef2-0e14-448e-a666-5ef6c5092f58"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/72e068f7-731f-4930-8f3f-60d36e210a64"/> + </medicationReference> + <subject> + <reference value="Patient/be08f095-4586-43d5-a416-3f9df347d8a7"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/8ca98f72-306e-4fc5-86ed-01a8855a4b6e"/> + </requester> + <insurance> + <reference value="Coverage/4289b844-133c-40b8-957a-cf1c1c56188c"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/output.json new file mode 100644 index 00000000..f383cd82 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "3a5ca2d1-0d1e-4a65-816b-0eade49ae64a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ce5637c2-1edd-4cb2-adcc-d29f26dbc80b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7b35dcdd-e89d-47ca-a12e-4cac5b01a7b0" + }, + "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": "7b35dcdd-e89d-47ca-a12e-4cac5b01a7b0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "54e3f153-62bb-48dd-995f-a25693f7743c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "24b156d6-4a95-4002-9992-7603c4825051", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9963336d_9963336d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/output.xml new file mode 100644 index 00000000..1417f1d5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9963336d_9963336d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3a5ca2d1-0d1e-4a65-816b-0eade49ae64a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.531.55"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ce5637c2-1edd-4cb2-adcc-d29f26dbc80b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7b35dcdd-e89d-47ca-a12e-4cac5b01a7b0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7b35dcdd-e89d-47ca-a12e-4cac5b01a7b0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="74302188"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="54e3f153-62bb-48dd-995f-a25693f7743c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="464680902"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0118) 367892342"/> + </telecom> + <telecom> + <system value="email"/> + <value value="thomas.hort@marahrens.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Behringstr. 32a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="32a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Behringstr."/> + </extension> + </line> + <city value="Goedickehagen"/> + <postalCode value="97285"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="24b156d6-4a95-4002-9992-7603c4825051"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="056578601"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/output.json deleted file mode 100644 index 61c4f408..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "34de8c9d-4208-442b-b81f-9f8cfb109e6f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "6ac58a49-bd7c-4c09-9ccb-7383a2f0d872", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/05836186-207a-4442-af6d-b7c9447512c4" - }, - "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": "05836186-207a-4442-af6d-b7c9447512c4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5dbc0c51-11cd-4d96-ae41-61b6aee0dac9", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "7f67da86-8bdf-493e-ae82-7e54813a9ba7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_a79dd76f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/output.xml deleted file mode 100644 index 2fbef6f3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="34de8c9d-4208-442b-b81f-9f8cfb109e6f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.550.95"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6ac58a49-bd7c-4c09-9ccb-7383a2f0d872"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/05836186-207a-4442-af6d-b7c9447512c4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="05836186-207a-4442-af6d-b7c9447512c4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16833239"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5dbc0c51-11cd-4d96-ae41-61b6aee0dac9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="178331393"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0086) 004305314"/> - </telecom> - <telecom> - <system value="email"/> - <value value="lisa.schahbasian@leist.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Gabriele-Münter-Str. 97a"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="97a"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Gabriele-Münter-Str."/> - </extension> - </line> - <city value="Neu David"/> - <postalCode value="28914"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7f67da86-8bdf-493e-ae82-7e54813a9ba7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="423315810"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f_a79dd76f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f_a79dd76f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f_a79dd76f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f_a79dd76f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f_a79dd76f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f_a79dd76f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f_a79dd76f/output.json new file mode 100644 index 00000000..7548c557 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f_a79dd76f/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ccc61422-dd3f-43aa-ad79-6d0221f6f33e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3ee94d4a-cc31-4d70-9309-9028631c9f37", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0e1f15d9-24e9-45d8-91e7-18e442b41fc5" + }, + "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": "0e1f15d9-24e9-45d8-91e7-18e442b41fc5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "05903cf6-3091-430e-82a3-a7d067b893eb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ac84db1c-0269-4c71-8fff-267dda997eeb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a79dd76f_a79dd76f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f_a79dd76f/output.xml new file mode 100644 index 00000000..486decea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7_a79dd76f_a79dd76f/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ccc61422-dd3f-43aa-ad79-6d0221f6f33e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.550.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3ee94d4a-cc31-4d70-9309-9028631c9f37"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0e1f15d9-24e9-45d8-91e7-18e442b41fc5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0e1f15d9-24e9-45d8-91e7-18e442b41fc5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16833239"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="05903cf6-3091-430e-82a3-a7d067b893eb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="178331393"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0086) 004305314"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lisa.schahbasian@leist.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Gabriele-Münter-Str. 97a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="97a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Gabriele-Münter-Str."/> + </extension> + </line> + <city value="Neu David"/> + <postalCode value="28914"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ac84db1c-0269-4c71-8fff-267dda997eeb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="423315810"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/output.json deleted file mode 100644 index 60295803..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "ac8f780c-6e91-4e3b-ad9c-9c5360e031c1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "cae12871-f900-49b5-93f4-5d24e81afb83", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/0c9d6a2d-f6da-4108-bcf7-7eb8c138f5a6" - }, - "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": "0c9d6a2d-f6da-4108-bcf7-7eb8c138f5a6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a6136bf8-e470-49e6-bd5f-2c32ede366a5", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "16153b16-b085-4617-92ad-e2f1e6195840", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_3cb47bc5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/output.xml deleted file mode 100644 index a48265f9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ac8f780c-6e91-4e3b-ad9c-9c5360e031c1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.553.86"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="cae12871-f900-49b5-93f4-5d24e81afb83"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/0c9d6a2d-f6da-4108-bcf7-7eb8c138f5a6"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0c9d6a2d-f6da-4108-bcf7-7eb8c138f5a6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09921210"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a6136bf8-e470-49e6-bd5f-2c32ede366a5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="473655401"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-5210-24343099"/> - </telecom> - <telecom> - <system value="email"/> - <value value="michel.tremmel@xn--grtzinger-17a.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Albert-Einstein-Str. 43b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="43b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Albert-Einstein-Str."/> - </extension> - </line> - <city value="West William"/> - <postalCode value="00269"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="16153b16-b085-4617-92ad-e2f1e6195840"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="360613903"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/input.xml new file mode 100644 index 00000000..38aa8fac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="3cb47bc5-a1ac-44ec-9d29-24249515812f"/> + <meta> + <lastUpdated value="2024-02-08T19:20:30.004+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.553.86"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:20:30.004+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/8c37965c-23f4-4c16-af7d-828a01242ce3"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8c37965c-23f4-4c16-af7d-828a01242ce3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/7e31d20e-285c-45e2-9481-b2b8788317f5"/> + </subject> + <date value="2024-02-08T19:20:30+01:00"/> + <author> + <reference value="Practitioner/611d17b9-b047-44a8-866a-95263cf17ef2"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d93dcbd1-c72f-4553-b29c-708d405243a6"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/6b41c94d-08f2-4fca-bd5b-1ec48ba18d8a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/6a2767f7-a321-4178-82c0-0132c153ac61"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/7570cb81-1f77-482a-9e97-e370734ae496"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7570cb81-1f77-482a-9e97-e370734ae496"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09921210"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/7e31d20e-285c-45e2-9481-b2b8788317f5"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="7e31d20e-285c-45e2-9481-b2b8788317f5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2003-11-05"/> + <address> + <type value="both"/> + <line value="Mülheimer Str. 17"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Mülheimer Str."/> + </extension> + </line> + <city value="Bad Alena"/> + <postalCode value="08851"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/d93dcbd1-c72f-4553-b29c-708d405243a6"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d93dcbd1-c72f-4553-b29c-708d405243a6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="473655401"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5210-24343099"/> + </telecom> + <telecom> + <system value="email"/> + <value value="michel.tremmel@xn--grtzinger-17a.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Albert-Einstein-Str. 43b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="43b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Albert-Einstein-Str."/> + </extension> + </line> + <city value="West William"/> + <postalCode value="00269"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/6b41c94d-08f2-4fca-bd5b-1ec48ba18d8a"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="6b41c94d-08f2-4fca-bd5b-1ec48ba18d8a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="51"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/e88216d0-e1a7-442a-b958-26f533eab91e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140017"/> + </identifier> + <display value="Continentale"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/611d17b9-b047-44a8-866a-95263cf17ef2"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="611d17b9-b047-44a8-866a-95263cf17ef2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="360613903"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/6a2767f7-a321-4178-82c0-0132c153ac61"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6a2767f7-a321-4178-82c0-0132c153ac61"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/7570cb81-1f77-482a-9e97-e370734ae496"/> + </medicationReference> + <subject> + <reference value="Patient/7e31d20e-285c-45e2-9481-b2b8788317f5"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/611d17b9-b047-44a8-866a-95263cf17ef2"/> + </requester> + <insurance> + <reference value="Coverage/6b41c94d-08f2-4fca-bd5b-1ec48ba18d8a"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/output.json new file mode 100644 index 00000000..dce4926d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "6769fc5e-a0d7-4e59-9933-84104c94a51c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2aeac7aa-4912-40b0-9fb3-17019d51a28d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/34ca06c0-7970-4d49-bbb2-b8b2d7476b66" + }, + "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": "34ca06c0-7970-4d49-bbb2-b8b2d7476b66", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e4bac92e-dac2-464c-9137-539bcf22676c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e2220de5-bf6e-4bf3-928e-f0d308700db5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3cb47bc5_3cb47bc5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/output.xml new file mode 100644 index 00000000..5ba843c1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a_3cb47bc5_3cb47bc5/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6769fc5e-a0d7-4e59-9933-84104c94a51c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.553.86"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2aeac7aa-4912-40b0-9fb3-17019d51a28d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/34ca06c0-7970-4d49-bbb2-b8b2d7476b66"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="34ca06c0-7970-4d49-bbb2-b8b2d7476b66"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09921210"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e4bac92e-dac2-464c-9137-539bcf22676c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="473655401"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-5210-24343099"/> + </telecom> + <telecom> + <system value="email"/> + <value value="michel.tremmel@xn--grtzinger-17a.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Albert-Einstein-Str. 43b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="43b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Albert-Einstein-Str."/> + </extension> + </line> + <city value="West William"/> + <postalCode value="00269"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e2220de5-bf6e-4bf3-928e-f0d308700db5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="360613903"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.json index d51fa1f3..dba1a3f9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "cb93c49b-e57f-41dc-90c5-c66d95f99bdc", + "id": "cddb1242-a3bc-460b-b9f4-d9eb344d333b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "afa667d3-f897-47f2-8db6-8d1b662d7ba4", + "id": "fb6857bd-a38c-4433-b71e-9b351fa3378f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/5c8c722f-70c7-4224-b84a-e31055ed0927" + "reference": "Medication/4f6c8426-96fb-4140-bcac-bb155ee2bf32" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5c8c722f-70c7-4224-b84a-e31055ed0927", + "id": "4f6c8426-96fb-4140-bcac-bb155ee2bf32", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "8e8a7d1e-d470-4e3f-ade9-d03c0e8e3146", + "id": "a1b514b4-455c-4970-9b59-58f7a31ecb48", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "8efd747f-d568-4f95-890b-c7d1b1a70083", + "id": "2f0e6346-dec7-429a-991c-da8f07e74bec", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.xml index abea75b6..b9ddcae9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="cb93c49b-e57f-41dc-90c5-c66d95f99bdc"/> + <id value="cddb1242-a3bc-460b-b9f4-d9eb344d333b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="afa667d3-f897-47f2-8db6-8d1b662d7ba4"/> + <id value="fb6857bd-a38c-4433-b71e-9b351fa3378f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/5c8c722f-70c7-4224-b84a-e31055ed0927"/> + <reference value="Medication/4f6c8426-96fb-4140-bcac-bb155ee2bf32"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5c8c722f-70c7-4224-b84a-e31055ed0927"/> + <id value="4f6c8426-96fb-4140-bcac-bb155ee2bf32"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="8e8a7d1e-d470-4e3f-ade9-d03c0e8e3146"/> + <id value="a1b514b4-455c-4970-9b59-58f7a31ecb48"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="8efd747f-d568-4f95-890b-c7d1b1a70083"/> + <id value="2f0e6346-dec7-429a-991c-da8f07e74bec"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/input.xml new file mode 100644 index 00000000..d47f8caa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="a49d100a-e15f-496d-ace2-b5dbbca4f770"/> + <meta> + <lastUpdated value="2024-02-08T19:14:52.136+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.529.61"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:14:52.136+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/1bc6caa3-99fe-44f8-99d2-aef36ac0a2bb"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1bc6caa3-99fe-44f8-99d2-aef36ac0a2bb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/b5bb188a-1b07-4349-8dbd-28851185c2a4"/> + </subject> + <date value="2024-02-08T19:14:52+01:00"/> + <author> + <reference value="Practitioner/ce1e28d2-4412-4268-bef8-7d80893c998c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/33d1739a-9b0c-4ea5-8274-db76c6549d27"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/bb138de8-eb35-4358-b854-1b817f67b77c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/4befd3ae-d557-4f61-b4fb-799158e906f3"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/a656e1d6-a37c-4753-9b26-b90bb0eddd30"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a656e1d6-a37c-4753-9b26-b90bb0eddd30"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="94890460"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/b5bb188a-1b07-4349-8dbd-28851185c2a4"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="b5bb188a-1b07-4349-8dbd-28851185c2a4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1968-04-25"/> + <address> + <type value="both"/> + <line value="Beerenstr. 92a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="92a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Beerenstr."/> + </extension> + </line> + <city value="Jennybrunn"/> + <postalCode value="77713"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/33d1739a-9b0c-4ea5-8274-db76c6549d27"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="33d1739a-9b0c-4ea5-8274-db76c6549d27"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="033064063"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0747) 184790321"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hamza.reppin@xn--thrnhardt-x2a.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Ehrlichstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ehrlichstr."/> + </extension> + </line> + <city value="Alt Melek"/> + <postalCode value="51285"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/bb138de8-eb35-4358-b854-1b817f67b77c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="bb138de8-eb35-4358-b854-1b817f67b77c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="98"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/8be38daf-4e57-4da4-82c3-149199347f6e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141176"/> + </identifier> + <display value="HUK-COBURG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/ce1e28d2-4412-4268-bef8-7d80893c998c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ce1e28d2-4412-4268-bef8-7d80893c998c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="770468750"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/4befd3ae-d557-4f61-b4fb-799158e906f3"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4befd3ae-d557-4f61-b4fb-799158e906f3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a656e1d6-a37c-4753-9b26-b90bb0eddd30"/> + </medicationReference> + <subject> + <reference value="Patient/b5bb188a-1b07-4349-8dbd-28851185c2a4"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/ce1e28d2-4412-4268-bef8-7d80893c998c"/> + </requester> + <insurance> + <reference value="Coverage/bb138de8-eb35-4358-b854-1b817f67b77c"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/output.json new file mode 100644 index 00000000..b3006a55 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "eef22086-46ae-470b-bd13-8f4e6c6b7a8c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "930ae3ef-ad56-4522-a4a0-06eb951a09d4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/19846cfc-4d47-486d-81c2-641938456dc0" + }, + "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": "19846cfc-4d47-486d-81c2-641938456dc0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7f2b7706-4049-4c5a-b027-f0bc84f41141", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "78e3fbcf-5c9a-48f9-9c27-e451d7c6721b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a49d100a_a49d100a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/output.xml new file mode 100644 index 00000000..335aeef4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a49d100a_a49d100a/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="eef22086-46ae-470b-bd13-8f4e6c6b7a8c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.529.61"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="930ae3ef-ad56-4522-a4a0-06eb951a09d4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/19846cfc-4d47-486d-81c2-641938456dc0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="19846cfc-4d47-486d-81c2-641938456dc0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="94890460"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7f2b7706-4049-4c5a-b027-f0bc84f41141"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="033064063"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0747) 184790321"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hamza.reppin@xn--thrnhardt-x2a.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Ehrlichstr. 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Ehrlichstr."/> + </extension> + </line> + <city value="Alt Melek"/> + <postalCode value="51285"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="78e3fbcf-5c9a-48f9-9c27-e451d7c6721b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="770468750"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.json index b0f509d3..1bc3f4b5 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "635d9974-d93f-43bf-ad93-a1e6386ca601", + "id": "4c5aa2b9-157d-4286-8687-088166322d91", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "4b4faa9c-f18b-4ff8-911a-294902ca33f3", + "id": "0b4bb515-364c-43bd-9e2b-c413d1eac4fc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/4c5cac68-9021-4981-8b5e-1ba7bdc2cc8b" + "reference": "Medication/b8bb7c61-6cc7-4540-9531-fbc5642ac5df" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "4c5cac68-9021-4981-8b5e-1ba7bdc2cc8b", + "id": "b8bb7c61-6cc7-4540-9531-fbc5642ac5df", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "38113a25-d7e6-4fdc-ae1a-288ebabec9cd", + "id": "9908a8e7-060c-4eca-b85e-64e385e56940", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "0a611f87-0d4d-4d08-9df8-51162abe7036", + "id": "d2bdb212-2e99-411a-9b2f-e7e83985ae03", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.xml index fa4e27c8..c4018880 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="635d9974-d93f-43bf-ad93-a1e6386ca601"/> + <id value="4c5aa2b9-157d-4286-8687-088166322d91"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4b4faa9c-f18b-4ff8-911a-294902ca33f3"/> + <id value="0b4bb515-364c-43bd-9e2b-c413d1eac4fc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/4c5cac68-9021-4981-8b5e-1ba7bdc2cc8b"/> + <reference value="Medication/b8bb7c61-6cc7-4540-9531-fbc5642ac5df"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="4c5cac68-9021-4981-8b5e-1ba7bdc2cc8b"/> + <id value="b8bb7c61-6cc7-4540-9531-fbc5642ac5df"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="38113a25-d7e6-4fdc-ae1a-288ebabec9cd"/> + <id value="9908a8e7-060c-4eca-b85e-64e385e56940"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="0a611f87-0d4d-4d08-9df8-51162abe7036"/> + <id value="d2bdb212-2e99-411a-9b2f-e7e83985ae03"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/input.xml new file mode 100644 index 00000000..d1d96782 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="a79dd76f-4a88-4b1c-917e-d7ef80c2cdaf"/> + <meta> + <lastUpdated value="2024-02-08T19:19:43.771+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.550.95"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:19:43.771+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/95acd051-52a9-4d8d-a7b7-36f24e3533b6"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="95acd051-52a9-4d8d-a7b7-36f24e3533b6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/b9c628bc-a10c-45a9-a83f-f2257cd0f399"/> + </subject> + <date value="2024-02-08T19:19:43+01:00"/> + <author> + <reference value="Practitioner/3311f7c6-2753-4f47-8dd9-d311fd8c972e"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/577378c3-1022-4446-bc46-fc692267cdc8"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/6cc4afd1-f3e9-4aab-a26b-2965809104cf"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/5c899df7-a876-43e8-baac-9a6688a5fcaa"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/623d572c-765b-4bf1-bcd4-6169a20a0a87"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="623d572c-765b-4bf1-bcd4-6169a20a0a87"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16833239"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/b9c628bc-a10c-45a9-a83f-f2257cd0f399"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="b9c628bc-a10c-45a9-a83f-f2257cd0f399"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1990-11-20"/> + <address> + <type value="both"/> + <line value="Rudolf-Stracke-Str. 31c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="31c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Rudolf-Stracke-Str."/> + </extension> + </line> + <city value="Nord Azra"/> + <postalCode value="04389"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/577378c3-1022-4446-bc46-fc692267cdc8"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="577378c3-1022-4446-bc46-fc692267cdc8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="178331393"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0086) 004305314"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lisa.schahbasian@leist.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Gabriele-Münter-Str. 97a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="97a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Gabriele-Münter-Str."/> + </extension> + </line> + <city value="Neu David"/> + <postalCode value="28914"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/6cc4afd1-f3e9-4aab-a26b-2965809104cf"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="6cc4afd1-f3e9-4aab-a26b-2965809104cf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/59d22882-4177-40e9-bf5a-2e4a8cd0afbe"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141198"/> + </identifier> + <display value="Gothaer"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/3311f7c6-2753-4f47-8dd9-d311fd8c972e"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="3311f7c6-2753-4f47-8dd9-d311fd8c972e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="423315810"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/5c899df7-a876-43e8-baac-9a6688a5fcaa"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5c899df7-a876-43e8-baac-9a6688a5fcaa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/623d572c-765b-4bf1-bcd4-6169a20a0a87"/> + </medicationReference> + <subject> + <reference value="Patient/b9c628bc-a10c-45a9-a83f-f2257cd0f399"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/3311f7c6-2753-4f47-8dd9-d311fd8c972e"/> + </requester> + <insurance> + <reference value="Coverage/6cc4afd1-f3e9-4aab-a26b-2965809104cf"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/output.json new file mode 100644 index 00000000..a42690ca --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "bc33648a-ee14-4e56-a019-cad57e5d0303", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7369a0ba-1f95-41c5-99e8-ce5c190f9e41", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/da6c7662-d53e-4206-aa5b-560cb8158633" + }, + "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": "da6c7662-d53e-4206-aa5b-560cb8158633", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f6d40242-68ab-4a1e-ae69-252e1d286bc5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7d08d087-d469-4b9b-bcd8-935beb8ca211", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a79dd76f_a79dd76f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/output.xml new file mode 100644 index 00000000..1ebc553b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a79dd76f_a79dd76f/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bc33648a-ee14-4e56-a019-cad57e5d0303"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.550.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7369a0ba-1f95-41c5-99e8-ce5c190f9e41"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/da6c7662-d53e-4206-aa5b-560cb8158633"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="da6c7662-d53e-4206-aa5b-560cb8158633"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16833239"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f6d40242-68ab-4a1e-ae69-252e1d286bc5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="178331393"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0086) 004305314"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lisa.schahbasian@leist.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Gabriele-Münter-Str. 97a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="97a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Gabriele-Münter-Str."/> + </extension> + </line> + <city value="Neu David"/> + <postalCode value="28914"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7d08d087-d469-4b9b-bcd8-935beb8ca211"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="423315810"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.json index 2e912c36..5390a13a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "3b7f2e25-c317-442d-89b6-e3bfb2c831d4", + "id": "20fd4b69-311d-4779-9609-897a6ec4b918", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "c5a6c262-ec96-4fb6-82ae-88bfc22722ac", + "id": "03c9c081-3304-473d-8f85-7bddb9f8bc7c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/67f56058-088e-4cf1-8ea9-39b90928b13c" + "reference": "Medication/fc3ee424-e79e-4ea4-8532-d984db055b28" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "67f56058-088e-4cf1-8ea9-39b90928b13c", + "id": "fc3ee424-e79e-4ea4-8532-d984db055b28", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d3308c0f-eae6-45f5-bdc9-24d42286b43c", + "id": "ff14eb94-93ff-4e6b-b1ae-6039992c7ba0", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "424eecb0-635a-4fb9-8246-38de9f76882a", + "id": "a13fbe47-e68a-4c77-98b6-efed40c8ee23", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.xml index bafa70a4..300e49a3 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="3b7f2e25-c317-442d-89b6-e3bfb2c831d4"/> + <id value="20fd4b69-311d-4779-9609-897a6ec4b918"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c5a6c262-ec96-4fb6-82ae-88bfc22722ac"/> + <id value="03c9c081-3304-473d-8f85-7bddb9f8bc7c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/67f56058-088e-4cf1-8ea9-39b90928b13c"/> + <reference value="Medication/fc3ee424-e79e-4ea4-8532-d984db055b28"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="67f56058-088e-4cf1-8ea9-39b90928b13c"/> + <id value="fc3ee424-e79e-4ea4-8532-d984db055b28"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d3308c0f-eae6-45f5-bdc9-24d42286b43c"/> + <id value="ff14eb94-93ff-4e6b-b1ae-6039992c7ba0"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="424eecb0-635a-4fb9-8246-38de9f76882a"/> + <id value="a13fbe47-e68a-4c77-98b6-efed40c8ee23"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/input.xml new file mode 100644 index 00000000..0f2f768e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c44d90eb-1775-4ee5-a376-12c50d53fb10"/> + <meta> + <lastUpdated value="2024-02-08T19:15:41.066+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.532.52"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:15:41.066+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/384768c2-20d7-464d-af6a-5f13e47018e6"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="384768c2-20d7-464d-af6a-5f13e47018e6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/b8d71e9c-3309-4c87-a007-44e5d77c2da0"/> + </subject> + <date value="2024-02-08T19:15:41+01:00"/> + <author> + <reference value="Practitioner/c89ed67d-4e1b-4c56-a5c8-8c9fc6a4e092"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/e6f15b23-161f-4065-b903-10dd335c28d2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/b42b2f49-2370-4b4c-95a6-394e444e9edc"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/3d6d6d77-716a-462e-9f9c-974f4e838ec2"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/4c7680d4-c589-4ca4-b6d6-bf1a7e1310a9"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4c7680d4-c589-4ca4-b6d6-bf1a7e1310a9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="22477205"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/b8d71e9c-3309-4c87-a007-44e5d77c2da0"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="b8d71e9c-3309-4c87-a007-44e5d77c2da0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1989-05-22"/> + <address> + <type value="both"/> + <line value="Auf der Weide 809"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="809"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Auf der Weide"/> + </extension> + </line> + <city value="Bad Finjaland"/> + <postalCode value="83495"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/e6f15b23-161f-4065-b903-10dd335c28d2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e6f15b23-161f-4065-b903-10dd335c28d2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="383269360"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(01048) 7836562"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mirac.cleem@schonberg.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Goethestr. 54c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="54c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Goethestr."/> + </extension> + </line> + <city value="Lindenmayerberg"/> + <postalCode value="10316"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/b42b2f49-2370-4b4c-95a6-394e444e9edc"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="b42b2f49-2370-4b4c-95a6-394e444e9edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="98"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/05d32a16-bd0b-4254-9d09-1c68b3f9646d"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="950686021"/> + </identifier> + <display value="KVB Krankenversorgung der Bundesbahnbeamten"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/c89ed67d-4e1b-4c56-a5c8-8c9fc6a4e092"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c89ed67d-4e1b-4c56-a5c8-8c9fc6a4e092"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="735114655"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/3d6d6d77-716a-462e-9f9c-974f4e838ec2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3d6d6d77-716a-462e-9f9c-974f4e838ec2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/4c7680d4-c589-4ca4-b6d6-bf1a7e1310a9"/> + </medicationReference> + <subject> + <reference value="Patient/b8d71e9c-3309-4c87-a007-44e5d77c2da0"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/c89ed67d-4e1b-4c56-a5c8-8c9fc6a4e092"/> + </requester> + <insurance> + <reference value="Coverage/b42b2f49-2370-4b4c-95a6-394e444e9edc"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/output.json new file mode 100644 index 00000000..c0178143 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "b99ba532-2159-49ec-8ff3-892672a05f4c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2ddf4e2f-907d-417e-a70f-9fb409aa1043", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5e94d7a6-85ac-4341-a9b7-e14405564bfc" + }, + "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": "5e94d7a6-85ac-4341-a9b7-e14405564bfc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9a692de5-ecbf-4895-8878-c6237a35e4da", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "36c3bbb6-e4e5-4b07-9fc3-7dc2cd76aea4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c44d90eb_c44d90eb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/output.xml new file mode 100644 index 00000000..5b86e35a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_c44d90eb_c44d90eb/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b99ba532-2159-49ec-8ff3-892672a05f4c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.532.52"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2ddf4e2f-907d-417e-a70f-9fb409aa1043"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5e94d7a6-85ac-4341-a9b7-e14405564bfc"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5e94d7a6-85ac-4341-a9b7-e14405564bfc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="22477205"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9a692de5-ecbf-4895-8878-c6237a35e4da"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="383269360"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(01048) 7836562"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mirac.cleem@schonberg.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Goethestr. 54c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="54c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Goethestr."/> + </extension> + </line> + <city value="Lindenmayerberg"/> + <postalCode value="10316"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="36c3bbb6-e4e5-4b07-9fc3-7dc2cd76aea4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="735114655"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.json index 7107f19d..55e4ab2e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "23294794-c3f5-40f5-adfc-f471114978cc", + "id": "146e5a89-0203-4459-9e36-5b87edfdf7fc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "a8d98ef3-6202-4619-a50a-b0783bf87f1e", + "id": "4bee110b-96d7-4ffe-86aa-6fab2d8f7550", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/9d396d92-dae3-4cbc-bf0b-e4a1a30f8694" + "reference": "Medication/86267af7-fc95-4bd6-ad54-9a9a60c6d8c5" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "9d396d92-dae3-4cbc-bf0b-e4a1a30f8694", + "id": "86267af7-fc95-4bd6-ad54-9a9a60c6d8c5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "a75a0a2c-6f3d-414d-a506-c7a74890e80a", + "id": "9272dc14-3de7-479a-aba0-519e5cb4bdcb", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "e3b636a7-5277-40c9-843e-07329ac59118", + "id": "2c18c90f-b81c-42f1-b71a-8d6638453f8a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.xml index 469b5a1d..901e722d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="23294794-c3f5-40f5-adfc-f471114978cc"/> + <id value="146e5a89-0203-4459-9e36-5b87edfdf7fc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a8d98ef3-6202-4619-a50a-b0783bf87f1e"/> + <id value="4bee110b-96d7-4ffe-86aa-6fab2d8f7550"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/9d396d92-dae3-4cbc-bf0b-e4a1a30f8694"/> + <reference value="Medication/86267af7-fc95-4bd6-ad54-9a9a60c6d8c5"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="9d396d92-dae3-4cbc-bf0b-e4a1a30f8694"/> + <id value="86267af7-fc95-4bd6-ad54-9a9a60c6d8c5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="a75a0a2c-6f3d-414d-a506-c7a74890e80a"/> + <id value="9272dc14-3de7-479a-aba0-519e5cb4bdcb"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e3b636a7-5277-40c9-843e-07329ac59118"/> + <id value="2c18c90f-b81c-42f1-b71a-8d6638453f8a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/input.xml new file mode 100644 index 00000000..9a72ca7c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ee45abcb-b5d8-490f-9fd9-779a74fb640b"/> + <meta> + <lastUpdated value="2024-02-08T19:19:34.596+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.549.98"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:19:34.596+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/1b762a2e-b22f-4e71-8158-cf18f24903ca"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1b762a2e-b22f-4e71-8158-cf18f24903ca"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/83c55f36-867c-4c19-ba79-de3453298465"/> + </subject> + <date value="2024-02-08T19:19:34+01:00"/> + <author> + <reference value="Practitioner/ef2c8c6f-cd17-4f1e-9ed2-a67cc413c3db"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/044efc30-b658-4948-bcf4-5381d8141a1a"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/d3d12f5e-930d-40f8-901a-2254762df188"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/2eb96e18-4f0b-4c63-9a92-7a11ec03b064"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/e4d32334-507c-4f9c-9111-c66d065c2cad"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e4d32334-507c-4f9c-9111-c66d065c2cad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10642981"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/83c55f36-867c-4c19-ba79-de3453298465"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="83c55f36-867c-4c19-ba79-de3453298465"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2002-08-19"/> + <address> + <type value="both"/> + <line value="Vincent-van-Gogh-Str. 53c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="53c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Vincent-van-Gogh-Str."/> + </extension> + </line> + <city value="Kohnlehagen"/> + <postalCode value="16861"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/044efc30-b658-4948-bcf4-5381d8141a1a"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="044efc30-b658-4948-bcf4-5381d8141a1a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="479601479"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7131-23459087"/> + </telecom> + <telecom> + <system value="email"/> + <value value="klaas.reinelt@bigdeli.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Memelstr. 60"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="60"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Memelstr."/> + </extension> + </line> + <city value="Davidescheid"/> + <postalCode value="75449"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/d3d12f5e-930d-40f8-901a-2254762df188"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="d3d12f5e-930d-40f8-901a-2254762df188"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="03"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/7b25a472-03da-4478-974f-b4231cfa72a9"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141154"/> + </identifier> + <display value="Vigo Krankenversicherung VVaG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/ef2c8c6f-cd17-4f1e-9ed2-a67cc413c3db"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ef2c8c6f-cd17-4f1e-9ed2-a67cc413c3db"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="786249106"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/2eb96e18-4f0b-4c63-9a92-7a11ec03b064"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2eb96e18-4f0b-4c63-9a92-7a11ec03b064"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/e4d32334-507c-4f9c-9111-c66d065c2cad"/> + </medicationReference> + <subject> + <reference value="Patient/83c55f36-867c-4c19-ba79-de3453298465"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/ef2c8c6f-cd17-4f1e-9ed2-a67cc413c3db"/> + </requester> + <insurance> + <reference value="Coverage/d3d12f5e-930d-40f8-901a-2254762df188"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/output.json new file mode 100644 index 00000000..a6eb428d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "41043fa8-0a8a-49b6-bb9f-a7f365dba21f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "73f7341f-f1ce-4af6-88a4-16c4d991a6cf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/be6f81ac-162d-4bac-b221-eff3290d82e4" + }, + "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": "be6f81ac-162d-4bac-b221-eff3290d82e4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "96bdc5aa-1ca8-415b-ab20-d497dafc0aeb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6da11efe-9931-445e-b6b9-a66fc9c0d877", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ee45abcb_ee45abcb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/output.xml new file mode 100644 index 00000000..d25a5786 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_ee45abcb_ee45abcb/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="41043fa8-0a8a-49b6-bb9f-a7f365dba21f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.549.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="73f7341f-f1ce-4af6-88a4-16c4d991a6cf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/be6f81ac-162d-4bac-b221-eff3290d82e4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="be6f81ac-162d-4bac-b221-eff3290d82e4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10642981"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="96bdc5aa-1ca8-415b-ab20-d497dafc0aeb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="479601479"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7131-23459087"/> + </telecom> + <telecom> + <system value="email"/> + <value value="klaas.reinelt@bigdeli.ch"/> + </telecom> + <address> + <type value="both"/> + <line value="Memelstr. 60"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="60"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Memelstr."/> + </extension> + </line> + <city value="Davidescheid"/> + <postalCode value="75449"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6da11efe-9931-445e-b6b9-a66fc9c0d877"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="786249106"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/output.json deleted file mode 100644 index 6323e3a6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "b720bd78-cf92-4cc3-876d-32c974ce54d7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "4d3ec88e-456b-4420-b069-7b4d83fefff2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/ff08a3ab-c2d6-4daa-94b3-4e84dc3dde63" - }, - "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": "ff08a3ab-c2d6-4daa-94b3-4e84dc3dde63", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "08cd82bb-8444-4000-8300-963b76926d05", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "a03eace4-4ca8-41ea-941a-9bec39442882", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_25e815da/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/output.xml deleted file mode 100644 index 25d874e0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b720bd78-cf92-4cc3-876d-32c974ce54d7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.541.25"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4d3ec88e-456b-4420-b069-7b4d83fefff2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/ff08a3ab-c2d6-4daa-94b3-4e84dc3dde63"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ff08a3ab-c2d6-4daa-94b3-4e84dc3dde63"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="25582871"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="08cd82bb-8444-4000-8300-963b76926d05"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="559166155"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-3334-51630533"/> - </telecom> - <telecom> - <system value="email"/> - <value value="vivien.schwandke@xn--knig-5qa.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Karl-Wingchen-Str. 44c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="44c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Karl-Wingchen-Str."/> - </extension> - </line> - <city value="Kjellgrün"/> - <postalCode value="37345"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a03eace4-4ca8-41ea-941a-9bec39442882"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="781777272"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/input.xml new file mode 100644 index 00000000..92f6d4a7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="25e815da-8070-42d1-aa8b-1c211317cf56"/> + <meta> + <lastUpdated value="2024-02-08T19:18:01.145+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.541.25"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:18:01.145+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/818c226c-e2fc-4ef1-8875-95abc24d577c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="818c226c-e2fc-4ef1-8875-95abc24d577c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/dc49d750-fa24-4995-9f5b-ad1ae4b1203a"/> + </subject> + <date value="2024-02-08T19:18:01+01:00"/> + <author> + <reference value="Practitioner/65b0bbdf-df35-4010-96db-2d192657bb17"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/be4df0c0-14f4-40ce-8887-b4e913a57009"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/952156a8-1e4c-411e-9572-aa32229ec87b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/bdb8478d-17cc-4da0-a464-acc2831976db"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/15a37998-7cf6-43ed-8d6f-80c931464059"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="15a37998-7cf6-43ed-8d6f-80c931464059"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25582871"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/dc49d750-fa24-4995-9f5b-ad1ae4b1203a"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="dc49d750-fa24-4995-9f5b-ad1ae4b1203a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2005-03-20"/> + <address> + <type value="both"/> + <line value="Schloßstr. 268"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="268"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Schloßstr."/> + </extension> + </line> + <city value="Slottagrün"/> + <postalCode value="89333"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/be4df0c0-14f4-40ce-8887-b4e913a57009"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="be4df0c0-14f4-40ce-8887-b4e913a57009"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="559166155"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3334-51630533"/> + </telecom> + <telecom> + <system value="email"/> + <value value="vivien.schwandke@xn--knig-5qa.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Wingchen-Str. 44c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="44c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Wingchen-Str."/> + </extension> + </line> + <city value="Kjellgrün"/> + <postalCode value="37345"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/952156a8-1e4c-411e-9572-aa32229ec87b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="952156a8-1e4c-411e-9572-aa32229ec87b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="47"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/d449fc9e-de45-45c5-a2a8-1300320c90eb"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141450"/> + </identifier> + <display value="INTER"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/65b0bbdf-df35-4010-96db-2d192657bb17"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="65b0bbdf-df35-4010-96db-2d192657bb17"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="781777272"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/bdb8478d-17cc-4da0-a464-acc2831976db"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="bdb8478d-17cc-4da0-a464-acc2831976db"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/15a37998-7cf6-43ed-8d6f-80c931464059"/> + </medicationReference> + <subject> + <reference value="Patient/dc49d750-fa24-4995-9f5b-ad1ae4b1203a"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/65b0bbdf-df35-4010-96db-2d192657bb17"/> + </requester> + <insurance> + <reference value="Coverage/952156a8-1e4c-411e-9572-aa32229ec87b"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/output.json new file mode 100644 index 00000000..fc3525a6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "fef92a7f-51ba-4c2c-a28c-f35801f99d44", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "506531c7-e352-4c76-9fac-74eccb3e3f8f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ff6650a8-ecc8-49f6-9cc8-a5fd5950abc5" + }, + "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": "ff6650a8-ecc8-49f6-9cc8-a5fd5950abc5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d653bb45-c1c2-49d3-96eb-69dbdc5f04fb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "44e86554-e757-482d-9409-380f756599c7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_25e815da_25e815da/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/output.xml new file mode 100644 index 00000000..6bd915bb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767_25e815da_25e815da/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fef92a7f-51ba-4c2c-a28c-f35801f99d44"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.541.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="506531c7-e352-4c76-9fac-74eccb3e3f8f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ff6650a8-ecc8-49f6-9cc8-a5fd5950abc5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ff6650a8-ecc8-49f6-9cc8-a5fd5950abc5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25582871"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d653bb45-c1c2-49d3-96eb-69dbdc5f04fb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="559166155"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3334-51630533"/> + </telecom> + <telecom> + <system value="email"/> + <value value="vivien.schwandke@xn--knig-5qa.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Karl-Wingchen-Str. 44c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="44c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Karl-Wingchen-Str."/> + </extension> + </line> + <city value="Kjellgrün"/> + <postalCode value="37345"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="44e86554-e757-482d-9409-380f756599c7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="781777272"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/output.json deleted file mode 100644 index 16edbff4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "2ab981eb-efa8-4d1f-a75c-728c39a15069", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "66bbc488-79b6-4ea5-9ca2-0fa22238f394", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/429f9f16-9838-4500-9660-badbabd42094" - }, - "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": "429f9f16-9838-4500-9660-badbabd42094", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dbfdbe36-ef3f-4d94-a10c-673ab0da4705", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "ec559470-f30d-40ee-a062-69c9c6a43701", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_3a052e22/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/output.xml deleted file mode 100644 index f66bf2fd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2ab981eb-efa8-4d1f-a75c-728c39a15069"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.552.89"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="66bbc488-79b6-4ea5-9ca2-0fa22238f394"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/429f9f16-9838-4500-9660-badbabd42094"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="429f9f16-9838-4500-9660-badbabd42094"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="72828845"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="dbfdbe36-ef3f-4d94-a10c-673ab0da4705"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="737393702"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(02065) 5910464"/> - </telecom> - <telecom> - <system value="email"/> - <value value="gina.kaesmacher@faulhaber.info"/> - </telecom> - <address> - <type value="both"/> - <line value="Van't-Hoff-Str. 35"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="35"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Van't-Hoff-Str."/> - </extension> - </line> - <city value="Kayberg"/> - <postalCode value="20971"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="ec559470-f30d-40ee-a062-69c9c6a43701"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="936686332"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/input.xml new file mode 100644 index 00000000..ea3ed576 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="3a052e22-7b00-471a-bd98-ab71a6854703"/> + <meta> + <lastUpdated value="2024-02-08T19:20:11.020+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.552.89"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:20:11.020+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/b7a74656-c578-4483-b6d6-f1adb258de22"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="b7a74656-c578-4483-b6d6-f1adb258de22"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/787525c3-82e0-4cdb-8bcf-47db56a2c4ff"/> + </subject> + <date value="2024-02-08T19:20:11+01:00"/> + <author> + <reference value="Practitioner/2c335f1b-1e9f-4132-8772-67b354f06c2e"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/72ae487f-9a5e-4518-a1d6-24e0faedb5cf"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/88a304e1-3a47-4b6d-9fbd-6eeab4d455bd"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/714f438a-cfd0-4ffa-af3d-bec187e39286"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/b6498800-1520-41a1-9444-5a12077bae9f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b6498800-1520-41a1-9444-5a12077bae9f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="72828845"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/787525c3-82e0-4cdb-8bcf-47db56a2c4ff"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="787525c3-82e0-4cdb-8bcf-47db56a2c4ff"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2004-04-12"/> + <address> + <type value="both"/> + <line value="Feuerbachstr. 78c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="78c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Feuerbachstr."/> + </extension> + </line> + <city value="Bad Lya"/> + <postalCode value="28163"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/72ae487f-9a5e-4518-a1d6-24e0faedb5cf"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="72ae487f-9a5e-4518-a1d6-24e0faedb5cf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="737393702"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02065) 5910464"/> + </telecom> + <telecom> + <system value="email"/> + <value value="gina.kaesmacher@faulhaber.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Van't-Hoff-Str. 35"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="35"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Van't-Hoff-Str."/> + </extension> + </line> + <city value="Kayberg"/> + <postalCode value="20971"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/88a304e1-3a47-4b6d-9fbd-6eeab4d455bd"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="88a304e1-3a47-4b6d-9fbd-6eeab4d455bd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="62"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/f82dd05a-fbbf-4edc-8a0f-1a6f113ce4b8"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140530"/> + </identifier> + <display value="FREIE ARZT- UND MEDIZINKASSE"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/2c335f1b-1e9f-4132-8772-67b354f06c2e"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2c335f1b-1e9f-4132-8772-67b354f06c2e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="936686332"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/714f438a-cfd0-4ffa-af3d-bec187e39286"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="714f438a-cfd0-4ffa-af3d-bec187e39286"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b6498800-1520-41a1-9444-5a12077bae9f"/> + </medicationReference> + <subject> + <reference value="Patient/787525c3-82e0-4cdb-8bcf-47db56a2c4ff"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/2c335f1b-1e9f-4132-8772-67b354f06c2e"/> + </requester> + <insurance> + <reference value="Coverage/88a304e1-3a47-4b6d-9fbd-6eeab4d455bd"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/output.json new file mode 100644 index 00000000..05651ae1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "8ca527e2-9106-400d-84ae-cce53e379308", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "34563d42-dbd6-468e-b8b7-d4df87285789", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/02ebf5a7-b2e4-46d9-9975-88cc72914458" + }, + "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": "02ebf5a7-b2e4-46d9-9975-88cc72914458", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e7d8b1b5-894b-45b6-a7cd-e966613184f0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "00ddf93e-0181-4c7a-8eab-d8bb169f0b39", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3a052e22_3a052e22/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/output.xml new file mode 100644 index 00000000..a94d88b1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7_3a052e22_3a052e22/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8ca527e2-9106-400d-84ae-cce53e379308"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.552.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="34563d42-dbd6-468e-b8b7-d4df87285789"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/02ebf5a7-b2e4-46d9-9975-88cc72914458"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="02ebf5a7-b2e4-46d9-9975-88cc72914458"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="72828845"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e7d8b1b5-894b-45b6-a7cd-e966613184f0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="737393702"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(02065) 5910464"/> + </telecom> + <telecom> + <system value="email"/> + <value value="gina.kaesmacher@faulhaber.info"/> + </telecom> + <address> + <type value="both"/> + <line value="Van't-Hoff-Str. 35"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="35"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Van't-Hoff-Str."/> + </extension> + </line> + <city value="Kayberg"/> + <postalCode value="20971"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="00ddf93e-0181-4c7a-8eab-d8bb169f0b39"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="936686332"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/output.json deleted file mode 100644 index 061e7fd7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "35de5532-c65e-4aa9-a794-fb7a23af82a8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "a137e129-04eb-4245-8a61-5f6842a9983c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/01b6d6bb-126a-489a-8309-d62e3713a1df" - }, - "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": "01b6d6bb-126a-489a-8309-d62e3713a1df", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f8790317-5d78-46b9-a581-fb078c6d477b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "80b861a2-d019-4f9d-a505-518378fff6f6", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_c80f28e3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/output.xml deleted file mode 100644 index 4513cdb9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="35de5532-c65e-4aa9-a794-fb7a23af82a8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.810.39"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a137e129-04eb-4245-8a61-5f6842a9983c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/01b6d6bb-126a-489a-8309-d62e3713a1df"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="3"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="01b6d6bb-126a-489a-8309-d62e3713a1df"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f8790317-5d78-46b9-a581-fb078c6d477b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="208729108"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-585-7812901"/> - </telecom> - <telecom> - <system value="email"/> - <value value="lennart.keil@xn--schffer-7wa.net"/> - </telecom> - <address> - <type value="both"/> - <line value="Im Oberfeld 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Im Oberfeld"/> - </extension> - </line> - <city value="Ost Aleastadt"/> - <postalCode value="71010"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="80b861a2-d019-4f9d-a505-518378fff6f6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="577428372"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3_c80f28e3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3_c80f28e3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3_c80f28e3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3_c80f28e3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3_c80f28e3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3_c80f28e3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3_c80f28e3/output.json new file mode 100644 index 00000000..a5e0a52f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3_c80f28e3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "0a920015-9f3c-468d-b718-5a3ffc6688e3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8a1135c1-c154-4851-a502-040c5e0520d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9e3755ad-d8bf-4747-a311-d2724c6607c7" + }, + "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": "9e3755ad-d8bf-4747-a311-d2724c6607c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "74dc37cf-84a7-4781-8f88-f35cc53b33b7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "39a5ad1e-f625-4088-b2ab-409a67c6ff53", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c80f28e3_c80f28e3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3_c80f28e3/output.xml new file mode 100644 index 00000000..6b98f9de --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6_c80f28e3_c80f28e3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0a920015-9f3c-468d-b718-5a3ffc6688e3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.810.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8a1135c1-c154-4851-a502-040c5e0520d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9e3755ad-d8bf-4747-a311-d2724c6607c7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9e3755ad-d8bf-4747-a311-d2724c6607c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="74dc37cf-84a7-4781-8f88-f35cc53b33b7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="208729108"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-585-7812901"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lennart.keil@xn--schffer-7wa.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Im Oberfeld 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Im Oberfeld"/> + </extension> + </line> + <city value="Ost Aleastadt"/> + <postalCode value="71010"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="39a5ad1e-f625-4088-b2ab-409a67c6ff53"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="577428372"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.json index a4639c36..bb7a41af 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "53d3b312-5003-4031-bab4-620b9cd1dd9f", + "id": "4a93d4bc-2f73-48fc-be2c-704d159a9d08", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "0dbbe49f-3a1f-4ed0-91a4-d9a944db4af7", + "id": "56e1ea33-a51f-4a39-b514-e1016b3c35df", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/3f692e19-a999-48dc-b160-8d87b35e938a" + "reference": "Medication/0cbd8766-414b-4b8b-8190-c491d9c9112a" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "3f692e19-a999-48dc-b160-8d87b35e938a", + "id": "0cbd8766-414b-4b8b-8190-c491d9c9112a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "bb75cb49-c9ca-4653-a3f2-2937762ec454", + "id": "6e574cb0-4742-4e10-947e-7d8d8a83d5ee", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "05b90f18-8a39-4daa-ad59-6110f5d42f42", + "id": "f94b5495-ef6e-4258-938d-2ecd4d34cbbb", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.xml index b46f1ac4..4fe8cd2d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="53d3b312-5003-4031-bab4-620b9cd1dd9f"/> + <id value="4a93d4bc-2f73-48fc-be2c-704d159a9d08"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0dbbe49f-3a1f-4ed0-91a4-d9a944db4af7"/> + <id value="56e1ea33-a51f-4a39-b514-e1016b3c35df"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/3f692e19-a999-48dc-b160-8d87b35e938a"/> + <reference value="Medication/0cbd8766-414b-4b8b-8190-c491d9c9112a"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="3f692e19-a999-48dc-b160-8d87b35e938a"/> + <id value="0cbd8766-414b-4b8b-8190-c491d9c9112a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="bb75cb49-c9ca-4653-a3f2-2937762ec454"/> + <id value="6e574cb0-4742-4e10-947e-7d8d8a83d5ee"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="05b90f18-8a39-4daa-ad59-6110f5d42f42"/> + <id value="f94b5495-ef6e-4258-938d-2ecd4d34cbbb"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d_93c38d8d/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d_93c38d8d/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d_93c38d8d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d_93c38d8d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d_93c38d8d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d_93c38d8d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d_93c38d8d/output.json new file mode 100644 index 00000000..4dda60b5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d_93c38d8d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "afa96e57-e291-4bd5-843b-25469e2afa24", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "82e6a7bd-c45f-4c64-b573-cc2b7ae6ec15", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d11e13c4-8b0a-4a86-877c-133b7df66745" + }, + "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": "d11e13c4-8b0a-4a86-877c-133b7df66745", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f1e324d9-b99f-418b-90b8-83b8a6e9cc5d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6ea86220-dc23-439a-9019-12fff1234aa4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_93c38d8d_93c38d8d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d_93c38d8d/output.xml new file mode 100644 index 00000000..92897178 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_93c38d8d_93c38d8d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="afa96e57-e291-4bd5-843b-25469e2afa24"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.809.42"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="82e6a7bd-c45f-4c64-b573-cc2b7ae6ec15"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d11e13c4-8b0a-4a86-877c-133b7df66745"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d11e13c4-8b0a-4a86-877c-133b7df66745"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f1e324d9-b99f-418b-90b8-83b8a6e9cc5d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="609724093"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0602) 198161888"/> + </telecom> + <telecom> + <system value="email"/> + <value value="robin.hingsen@kluge.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Linienstr. 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Linienstr."/> + </extension> + </line> + <city value="Alt Finnleyfeld"/> + <postalCode value="72153"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6ea86220-dc23-439a-9019-12fff1234aa4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="054643243"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.json index 38118f8c..0035ac35 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "9bc86710-5b45-461a-85e7-156b3186e25f", + "id": "3669493d-de08-496a-bed1-436271b8e1cb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "0dd8aa44-9331-4216-9aeb-4cff66f94df3", + "id": "eeb1ab74-1dc7-4b81-9e37-a453e2a55307", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/c07f55c3-6216-4969-a248-ca1f2e1d8eb7" + "reference": "Medication/cf08341f-f162-484f-b387-b88aa0b6ba6f" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "c07f55c3-6216-4969-a248-ca1f2e1d8eb7", + "id": "cf08341f-f162-484f-b387-b88aa0b6ba6f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "6c95084c-3414-487e-9ad4-d8ab5c83d8b6", + "id": "f6290fbc-2a3f-4b88-9ef4-027692917452", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "47c94ff6-476f-4dcd-96ca-fa3016013371", + "id": "d617593e-94de-41f3-a34d-8b2cd5bc3c38", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.xml index 0cc77294..1409227a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="9bc86710-5b45-461a-85e7-156b3186e25f"/> + <id value="3669493d-de08-496a-bed1-436271b8e1cb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0dd8aa44-9331-4216-9aeb-4cff66f94df3"/> + <id value="eeb1ab74-1dc7-4b81-9e37-a453e2a55307"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/c07f55c3-6216-4969-a248-ca1f2e1d8eb7"/> + <reference value="Medication/cf08341f-f162-484f-b387-b88aa0b6ba6f"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="c07f55c3-6216-4969-a248-ca1f2e1d8eb7"/> + <id value="cf08341f-f162-484f-b387-b88aa0b6ba6f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="6c95084c-3414-487e-9ad4-d8ab5c83d8b6"/> + <id value="f6290fbc-2a3f-4b88-9ef4-027692917452"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="47c94ff6-476f-4dcd-96ca-fa3016013371"/> + <id value="d617593e-94de-41f3-a34d-8b2cd5bc3c38"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/input.xml new file mode 100644 index 00000000..4945dfe9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c80f28e3-4e69-40ab-b4ce-aa56c4e83000"/> + <meta> + <lastUpdated value="2024-02-08T19:22:52.688+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.810.39"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:22:52.688+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/f2fef97f-c3bf-48a1-b271-c3b74aba5fa0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f2fef97f-c3bf-48a1-b271-c3b74aba5fa0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/075ef5f0-3b70-4685-9ea0-96d76f862319"/> + </subject> + <date value="2024-02-08T19:22:52+01:00"/> + <author> + <reference value="Practitioner/a9ab08d7-de91-4651-8599-a68bccd6182c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/ff5c546e-9300-43ac-a90a-7354529ff3d3"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/5f1b0ce2-6203-42be-bf61-2870e29c45e8"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/8bb89159-7d5f-44d3-84cd-2d0bc31c500d"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/d8ed2888-26c4-4855-bfc0-395de5ec214d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d8ed2888-26c4-4855-bfc0-395de5ec214d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/075ef5f0-3b70-4685-9ea0-96d76f862319"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="075ef5f0-3b70-4685-9ea0-96d76f862319"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1984-11-22"/> + <address> + <type value="both"/> + <line value="Nordstr. 00b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="00b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Nordstr."/> + </extension> + </line> + <city value="Vogelscheid"/> + <postalCode value="43977"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/ff5c546e-9300-43ac-a90a-7354529ff3d3"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ff5c546e-9300-43ac-a90a-7354529ff3d3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="208729108"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-585-7812901"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lennart.keil@xn--schffer-7wa.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Im Oberfeld 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Im Oberfeld"/> + </extension> + </line> + <city value="Ost Aleastadt"/> + <postalCode value="71010"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/5f1b0ce2-6203-42be-bf61-2870e29c45e8"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="5f1b0ce2-6203-42be-bf61-2870e29c45e8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="61"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/5ca51180-05b9-4e28-a3c5-65e79ab60a81"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="105530331"/> + </identifier> + <display value="BKK Herkules"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/a9ab08d7-de91-4651-8599-a68bccd6182c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a9ab08d7-de91-4651-8599-a68bccd6182c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="577428372"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/8bb89159-7d5f-44d3-84cd-2d0bc31c500d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8bb89159-7d5f-44d3-84cd-2d0bc31c500d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/d8ed2888-26c4-4855-bfc0-395de5ec214d"/> + </medicationReference> + <subject> + <reference value="Patient/075ef5f0-3b70-4685-9ea0-96d76f862319"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/a9ab08d7-de91-4651-8599-a68bccd6182c"/> + </requester> + <insurance> + <reference value="Coverage/5f1b0ce2-6203-42be-bf61-2870e29c45e8"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/output.json new file mode 100644 index 00000000..1eea3bc7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "0b547c21-c7ca-48ad-82a7-c2a616e0bfff", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1bf21da9-8e40-46af-9a45-5d4349daf7b4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8316422c-815a-49ff-bf91-d0523769b46b" + }, + "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": "8316422c-815a-49ff-bf91-d0523769b46b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "47afc673-0a1e-4be3-9ca7-57798b9cb7ce", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f19eafdb-9bae-425b-acdc-3ff121c2cc97", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c80f28e3_c80f28e3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/output.xml new file mode 100644 index 00000000..6e2d2616 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_c80f28e3_c80f28e3/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0b547c21-c7ca-48ad-82a7-c2a616e0bfff"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.810.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1bf21da9-8e40-46af-9a45-5d4349daf7b4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8316422c-815a-49ff-bf91-d0523769b46b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8316422c-815a-49ff-bf91-d0523769b46b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="47afc673-0a1e-4be3-9ca7-57798b9cb7ce"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="208729108"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-585-7812901"/> + </telecom> + <telecom> + <system value="email"/> + <value value="lennart.keil@xn--schffer-7wa.net"/> + </telecom> + <address> + <type value="both"/> + <line value="Im Oberfeld 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Im Oberfeld"/> + </extension> + </line> + <city value="Ost Aleastadt"/> + <postalCode value="71010"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f19eafdb-9bae-425b-acdc-3ff121c2cc97"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="577428372"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/output.json deleted file mode 100644 index f3842d25..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "b3b20c43-bf3e-4a23-937b-3640825060eb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "6309b1e0-b8d6-4ca0-8ba0-599e10206afc", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/c6987725-633a-4fd1-9552-1559741df942" - }, - "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": "c6987725-633a-4fd1-9552-1559741df942", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b1925fd8-2a62-4d77-8f60-df032e770103", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "c6c4cee3-be4a-49fe-9d7a-3d9789dc68a9", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_93c38d8d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/output.xml deleted file mode 100644 index d57350d4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b3b20c43-bf3e-4a23-937b-3640825060eb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.809.42"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6309b1e0-b8d6-4ca0-8ba0-599e10206afc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/c6987725-633a-4fd1-9552-1559741df942"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="3"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c6987725-633a-4fd1-9552-1559741df942"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="12345678"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b1925fd8-2a62-4d77-8f60-df032e770103"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="609724093"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0602) 198161888"/> - </telecom> - <telecom> - <system value="email"/> - <value value="robin.hingsen@kluge.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Linienstr. 1"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="1"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Linienstr."/> - </extension> - </line> - <city value="Alt Finnleyfeld"/> - <postalCode value="72153"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c6c4cee3-be4a-49fe-9d7a-3d9789dc68a9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="054643243"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/input.xml new file mode 100644 index 00000000..e5557089 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="93c38d8d-5ee4-4efc-a424-d46c8e08f54e"/> + <meta> + <lastUpdated value="2024-02-08T19:22:32.404+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.809.42"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:22:32.404+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/7a5cc09c-df76-456f-aee2-84beccdedbbc"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="7a5cc09c-df76-456f-aee2-84beccdedbbc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/552f2794-06eb-477f-999f-60afdb012b04"/> + </subject> + <date value="2024-02-08T19:22:32+01:00"/> + <author> + <reference value="Practitioner/19dc95ce-8079-41c0-ab13-947020d80c83"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/28e63588-bd32-4c3c-b11d-8f94433e0a98"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/df392a19-7b54-4786-9475-8e131ea0594a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/7663dd6e-e211-4c1c-a957-438f074f2c8f"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/5c1bf313-affe-4ce9-92b1-764efea16ed1"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5c1bf313-affe-4ce9-92b1-764efea16ed1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/552f2794-06eb-477f-999f-60afdb012b04"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="552f2794-06eb-477f-999f-60afdb012b04"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1972-10-28"/> + <address> + <type value="both"/> + <line value="Im Kirchfeld 019"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="019"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Im Kirchfeld"/> + </extension> + </line> + <city value="Schön Penelopestadt"/> + <postalCode value="59454"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/28e63588-bd32-4c3c-b11d-8f94433e0a98"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="28e63588-bd32-4c3c-b11d-8f94433e0a98"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="609724093"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0602) 198161888"/> + </telecom> + <telecom> + <system value="email"/> + <value value="robin.hingsen@kluge.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Linienstr. 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Linienstr."/> + </extension> + </line> + <city value="Alt Finnleyfeld"/> + <postalCode value="72153"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/df392a19-7b54-4786-9475-8e131ea0594a"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="df392a19-7b54-4786-9475-8e131ea0594a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="78"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/b535443f-fd14-47ce-87a5-47fde22db828"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101575519"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/19dc95ce-8079-41c0-ab13-947020d80c83"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="19dc95ce-8079-41c0-ab13-947020d80c83"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="054643243"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/7663dd6e-e211-4c1c-a957-438f074f2c8f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7663dd6e-e211-4c1c-a957-438f074f2c8f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5c1bf313-affe-4ce9-92b1-764efea16ed1"/> + </medicationReference> + <subject> + <reference value="Patient/552f2794-06eb-477f-999f-60afdb012b04"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/19dc95ce-8079-41c0-ab13-947020d80c83"/> + </requester> + <insurance> + <reference value="Coverage/df392a19-7b54-4786-9475-8e131ea0594a"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/output.json new file mode 100644 index 00000000..f96a29bb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "c3cf1c35-a3c3-4ec6-bec6-e523ff303f99", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3d2598fb-cbef-4107-94c9-41e97f43e6e3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fc19e497-0e9f-4eef-b963-251bd1547ae1" + }, + "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": "fc19e497-0e9f-4eef-b963-251bd1547ae1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ae15d371-34fb-48bf-a5af-91780e1a5932", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7ba0407f-245c-4724-8384-56199e74ad20", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_93c38d8d_93c38d8d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/output.xml new file mode 100644 index 00000000..100a45c2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d_93c38d8d_93c38d8d/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c3cf1c35-a3c3-4ec6-bec6-e523ff303f99"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.809.42"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3d2598fb-cbef-4107-94c9-41e97f43e6e3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fc19e497-0e9f-4eef-b963-251bd1547ae1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="3"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fc19e497-0e9f-4eef-b963-251bd1547ae1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="12345678"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ae15d371-34fb-48bf-a5af-91780e1a5932"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="609724093"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0602) 198161888"/> + </telecom> + <telecom> + <system value="email"/> + <value value="robin.hingsen@kluge.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Linienstr. 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Linienstr."/> + </extension> + </line> + <city value="Alt Finnleyfeld"/> + <postalCode value="72153"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7ba0407f-245c-4724-8384-56199e74ad20"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="054643243"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.json index 2674d551..ea806676 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "4aa9f350-bc38-41d1-baf4-72078d4c66f1", + "id": "75576bde-3261-4986-9577-397dccbe9840", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "8851d990-5575-466b-95e2-9560f11067d1", + "id": "6d08ecb1-deed-4937-8434-11213beab795", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/d32dfd3c-76e6-42c5-89d4-3db1aaac9585" + "reference": "Medication/8f86b0d1-078e-4912-b9e6-bf7cfab0ac28" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "d32dfd3c-76e6-42c5-89d4-3db1aaac9585", + "id": "8f86b0d1-078e-4912-b9e6-bf7cfab0ac28", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "c9885977-7a49-44c9-8ac2-4490f63d430a", + "id": "c2b4f6c5-7ea2-44b1-9da3-914d99b84068", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "5468020b-9074-4151-b7a8-748893e608a7", + "id": "74a5ba21-5bec-499b-a11b-749005f3aaa2", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.xml index 6df625d1..8768fc3e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="4aa9f350-bc38-41d1-baf4-72078d4c66f1"/> + <id value="75576bde-3261-4986-9577-397dccbe9840"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8851d990-5575-466b-95e2-9560f11067d1"/> + <id value="6d08ecb1-deed-4937-8434-11213beab795"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/d32dfd3c-76e6-42c5-89d4-3db1aaac9585"/> + <reference value="Medication/8f86b0d1-078e-4912-b9e6-bf7cfab0ac28"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="d32dfd3c-76e6-42c5-89d4-3db1aaac9585"/> + <id value="8f86b0d1-078e-4912-b9e6-bf7cfab0ac28"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="c9885977-7a49-44c9-8ac2-4490f63d430a"/> + <id value="c2b4f6c5-7ea2-44b1-9da3-914d99b84068"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5468020b-9074-4151-b7a8-748893e608a7"/> + <id value="74a5ba21-5bec-499b-a11b-749005f3aaa2"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989_04ef6989/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989_04ef6989/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989_04ef6989/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989_04ef6989/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989_04ef6989/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989_04ef6989/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989_04ef6989/output.json new file mode 100644 index 00000000..a5cb2335 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989_04ef6989/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "259798df-9b42-4011-a558-6b16f427b8da", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1baafc4c-e1b8-48a9-a978-e097f4bc2b47", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d26182b0-8e7e-4aec-8531-0319d2b6e930" + }, + "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": "d26182b0-8e7e-4aec-8531-0319d2b6e930", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4cb11d01-219e-402d-95fc-2ce86905a0cc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c7a25057-f9e9-432f-8e4e-6774da002d05", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_04ef6989_04ef6989/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989_04ef6989/output.xml new file mode 100644 index 00000000..49cb29d9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_04ef6989_04ef6989/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="259798df-9b42-4011-a558-6b16f427b8da"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.528.64"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1baafc4c-e1b8-48a9-a978-e097f4bc2b47"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d26182b0-8e7e-4aec-8531-0319d2b6e930"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d26182b0-8e7e-4aec-8531-0319d2b6e930"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87002772"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4cb11d01-219e-402d-95fc-2ce86905a0cc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="472318252"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-726-9527977"/> + </telecom> + <telecom> + <system value="email"/> + <value value="finlay.astafei@seitz.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Weiherstr. 85"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="85"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weiherstr."/> + </extension> + </line> + <city value="Mohammedberg"/> + <postalCode value="42390"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c7a25057-f9e9-432f-8e4e-6774da002d05"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="237531105"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.json index 9c932f56..6bb121b0 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "0e6ebf08-be15-4c9c-9ac2-e571b05f24aa", + "id": "c08e1806-dbc1-4bf7-b8c6-e78ad691529d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "70c88aa4-cdc8-412f-b7bb-0d2593033335", + "id": "33285c52-5a97-478e-b7b2-f466df67c946", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/c18865c7-4ad5-4e99-96b6-f59360bd2499" + "reference": "Medication/7a220c0c-7465-41b4-9c12-af4a89f8402d" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "c18865c7-4ad5-4e99-96b6-f59360bd2499", + "id": "7a220c0c-7465-41b4-9c12-af4a89f8402d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "3098457a-a1a9-4ab7-b8f5-0e8be585625c", + "id": "89342524-e31c-4368-8064-6bb09c366b87", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "d562fed1-bea0-4638-bd84-e7275a5aee4b", + "id": "933d0f47-b8de-45dc-9e14-b908e7bc6d28", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.xml index 94c8ec13..7d51b837 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="0e6ebf08-be15-4c9c-9ac2-e571b05f24aa"/> + <id value="c08e1806-dbc1-4bf7-b8c6-e78ad691529d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="70c88aa4-cdc8-412f-b7bb-0d2593033335"/> + <id value="33285c52-5a97-478e-b7b2-f466df67c946"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/c18865c7-4ad5-4e99-96b6-f59360bd2499"/> + <reference value="Medication/7a220c0c-7465-41b4-9c12-af4a89f8402d"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="c18865c7-4ad5-4e99-96b6-f59360bd2499"/> + <id value="7a220c0c-7465-41b4-9c12-af4a89f8402d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="3098457a-a1a9-4ab7-b8f5-0e8be585625c"/> + <id value="89342524-e31c-4368-8064-6bb09c366b87"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d562fed1-bea0-4638-bd84-e7275a5aee4b"/> + <id value="933d0f47-b8de-45dc-9e14-b908e7bc6d28"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9_207902f9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9_207902f9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9_207902f9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9_207902f9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9_207902f9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9_207902f9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9_207902f9/output.json new file mode 100644 index 00000000..24d527f2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9_207902f9/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "2c33253c-1dc5-4f09-9ed7-4fadc70fecad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6eedcf36-7578-41d8-a169-5583bf475c85", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d070d844-c88f-4ab3-9eec-1d65449246d7" + }, + "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": "d070d844-c88f-4ab3-9eec-1d65449246d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4e62b7f4-ced5-451f-a828-180186c9774c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "91292fff-b39e-4b02-8300-f53dac562768", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_207902f9_207902f9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9_207902f9/output.xml new file mode 100644 index 00000000..af1ad8b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_207902f9_207902f9/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2c33253c-1dc5-4f09-9ed7-4fadc70fecad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.535.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6eedcf36-7578-41d8-a169-5583bf475c85"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d070d844-c88f-4ab3-9eec-1d65449246d7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d070d844-c88f-4ab3-9eec-1d65449246d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87382645"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4e62b7f4-ced5-451f-a828-180186c9774c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="881916350"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3035-48165913"/> + </telecom> + <telecom> + <system value="email"/> + <value value="emilie.bork@ney.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Kiefernweg 01"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kiefernweg"/> + </extension> + </line> + <city value="Neu Taminoheim"/> + <postalCode value="11986"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="91292fff-b39e-4b02-8300-f53dac562768"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="116260144"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.json index c1360af9..da9f3c6d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "2f1c5072-5471-4bb3-9ea0-6796665dcda5", + "id": "6af2c971-c6f0-47b6-8cce-e30d820b91ac", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "b40f24ec-6a90-4867-b3b3-df25e54e1bea", + "id": "eb1b0c99-90ef-4eda-a499-f1e528c427dd", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/af18e8c9-55dc-4a5e-af9a-2a4a8f759ce1" + "reference": "Medication/a1906756-3b2c-4705-8484-98369e8d1c67" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "af18e8c9-55dc-4a5e-af9a-2a4a8f759ce1", + "id": "a1906756-3b2c-4705-8484-98369e8d1c67", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "1b046e0a-5a17-4a65-a059-5b3beeec2b05", + "id": "c7afba6c-5f21-4990-a90a-fbad1276942d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "4c8974d7-b5a9-4986-97e2-39cda846b3e0", + "id": "1971c26b-847f-4f8e-9028-c64be2dcd6e0", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.xml index 432b1faf..e63f92de 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="2f1c5072-5471-4bb3-9ea0-6796665dcda5"/> + <id value="6af2c971-c6f0-47b6-8cce-e30d820b91ac"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b40f24ec-6a90-4867-b3b3-df25e54e1bea"/> + <id value="eb1b0c99-90ef-4eda-a499-f1e528c427dd"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/af18e8c9-55dc-4a5e-af9a-2a4a8f759ce1"/> + <reference value="Medication/a1906756-3b2c-4705-8484-98369e8d1c67"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="af18e8c9-55dc-4a5e-af9a-2a4a8f759ce1"/> + <id value="a1906756-3b2c-4705-8484-98369e8d1c67"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="1b046e0a-5a17-4a65-a059-5b3beeec2b05"/> + <id value="c7afba6c-5f21-4990-a90a-fbad1276942d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4c8974d7-b5a9-4986-97e2-39cda846b3e0"/> + <id value="1971c26b-847f-4f8e-9028-c64be2dcd6e0"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33_251cee33/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33_251cee33/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33_251cee33/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33_251cee33/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33_251cee33/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33_251cee33/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33_251cee33/output.json new file mode 100644 index 00000000..106902ac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33_251cee33/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "08fc6f4a-8d27-4260-b514-d656ec0f3ebe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f3ecc18e-8def-4584-9b72-e4ff596cd565", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/31176740-00eb-4e17-94c1-2794cef9351f" + }, + "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": "31176740-00eb-4e17-94c1-2794cef9351f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cfbabc95-29a9-4786-83cf-7bc4d3d79020", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "44ca2b27-ae4e-42d7-bb21-a56b4d5fb5c2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_251cee33_251cee33/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33_251cee33/output.xml new file mode 100644 index 00000000..1ac495d1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_251cee33_251cee33/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="08fc6f4a-8d27-4260-b514-d656ec0f3ebe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.530.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f3ecc18e-8def-4584-9b72-e4ff596cd565"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/31176740-00eb-4e17-94c1-2794cef9351f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="31176740-00eb-4e17-94c1-2794cef9351f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="78632037"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cfbabc95-29a9-4786-83cf-7bc4d3d79020"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="020891625"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8772-75652867"/> + </telecom> + <telecom> + <system value="email"/> + <value value="elif.kresse@hooss.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Dieselstr. 718"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="718"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dieselstr."/> + </extension> + </line> + <city value="Kleiberstadt"/> + <postalCode value="09209"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="44ca2b27-ae4e-42d7-bb21-a56b4d5fb5c2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="633789165"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/output.json deleted file mode 100644 index cd737729..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "db19407b-e783-45b3-8b78-664b49ad40b5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "5079a719-9bd5-4643-9f38-b2abd01fa6e8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/8e21ca5b-e203-41f7-9e0b-191e2ba17325" - }, - "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": "8e21ca5b-e203-41f7-9e0b-191e2ba17325", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "416e51ab-2e7c-4886-a31e-9a6f74bea818", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "1d2c3ae6-9a8e-4203-968d-b44e43d86d47", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_251cee33/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/output.xml deleted file mode 100644 index 05b0ae96..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="db19407b-e783-45b3-8b78-664b49ad40b5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.530.58"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5079a719-9bd5-4643-9f38-b2abd01fa6e8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/8e21ca5b-e203-41f7-9e0b-191e2ba17325"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8e21ca5b-e203-41f7-9e0b-191e2ba17325"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="78632037"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="416e51ab-2e7c-4886-a31e-9a6f74bea818"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="020891625"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-8772-75652867"/> - </telecom> - <telecom> - <system value="email"/> - <value value="elif.kresse@hooss.com"/> - </telecom> - <address> - <type value="both"/> - <line value="Dieselstr. 718"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="718"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Dieselstr."/> - </extension> - </line> - <city value="Kleiberstadt"/> - <postalCode value="09209"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1d2c3ae6-9a8e-4203-968d-b44e43d86d47"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="633789165"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/input.xml new file mode 100644 index 00000000..4e6b5b63 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="251cee33-049b-4e24-83f0-f5d887e54891"/> + <meta> + <lastUpdated value="2024-02-08T19:15:11.882+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.530.58"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:15:11.882+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/d347ad9a-802a-429f-b5c5-c13ef4f5eb23"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d347ad9a-802a-429f-b5c5-c13ef4f5eb23"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/27ed9fd3-a297-4ffb-b40e-e27ba636d037"/> + </subject> + <date value="2024-02-08T19:15:11+01:00"/> + <author> + <reference value="Practitioner/dbcaeac6-ef8f-4960-8d67-9c9bf66ca2f6"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/70f452df-8e59-47d2-b8db-e82af5a13b5e"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/3ecef90d-151b-42e2-bdb3-9d6af4521e5e"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/d76648ab-cb2b-42ab-a778-45fdcd199e3c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/935cf074-8360-466f-b82a-a0a912f333c6"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="935cf074-8360-466f-b82a-a0a912f333c6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="78632037"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/27ed9fd3-a297-4ffb-b40e-e27ba636d037"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="27ed9fd3-a297-4ffb-b40e-e27ba636d037"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="2004-09-15"/> + <address> + <type value="both"/> + <line value="Hindenburgstr. 63b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="63b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Hindenburgstr."/> + </extension> + </line> + <city value="Nord Kayraburg"/> + <postalCode value="51440"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/70f452df-8e59-47d2-b8db-e82af5a13b5e"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="70f452df-8e59-47d2-b8db-e82af5a13b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="020891625"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8772-75652867"/> + </telecom> + <telecom> + <system value="email"/> + <value value="elif.kresse@hooss.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Dieselstr. 718"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="718"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dieselstr."/> + </extension> + </line> + <city value="Kleiberstadt"/> + <postalCode value="09209"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/3ecef90d-151b-42e2-bdb3-9d6af4521e5e"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="3ecef90d-151b-42e2-bdb3-9d6af4521e5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="60"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/7acb4d86-75cf-4927-977e-a996ecdf0de0"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168140040"/> + </identifier> + <display value="Generali"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/dbcaeac6-ef8f-4960-8d67-9c9bf66ca2f6"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dbcaeac6-ef8f-4960-8d67-9c9bf66ca2f6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="633789165"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/d76648ab-cb2b-42ab-a778-45fdcd199e3c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d76648ab-cb2b-42ab-a778-45fdcd199e3c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/935cf074-8360-466f-b82a-a0a912f333c6"/> + </medicationReference> + <subject> + <reference value="Patient/27ed9fd3-a297-4ffb-b40e-e27ba636d037"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/dbcaeac6-ef8f-4960-8d67-9c9bf66ca2f6"/> + </requester> + <insurance> + <reference value="Coverage/3ecef90d-151b-42e2-bdb3-9d6af4521e5e"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/output.json new file mode 100644 index 00000000..9e5eaf83 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "4ecaae26-9ef0-40b8-a6af-8a1a90b6d5e2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3881c709-89a8-473e-a33e-065b090c7860", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b388c7da-91cc-4ddf-bca1-107cabdaafdf" + }, + "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": "b388c7da-91cc-4ddf-bca1-107cabdaafdf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c1ebf4a8-9d7a-424d-a7ad-eeb48b7b33e5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7992627d-db71-49d2-bac1-0a3779a53f42", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_251cee33_251cee33/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/output.xml new file mode 100644 index 00000000..98a36562 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a_251cee33_251cee33/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4ecaae26-9ef0-40b8-a6af-8a1a90b6d5e2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.530.58"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3881c709-89a8-473e-a33e-065b090c7860"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b388c7da-91cc-4ddf-bca1-107cabdaafdf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b388c7da-91cc-4ddf-bca1-107cabdaafdf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="78632037"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c1ebf4a8-9d7a-424d-a7ad-eeb48b7b33e5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="020891625"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-8772-75652867"/> + </telecom> + <telecom> + <system value="email"/> + <value value="elif.kresse@hooss.com"/> + </telecom> + <address> + <type value="both"/> + <line value="Dieselstr. 718"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="718"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Dieselstr."/> + </extension> + </line> + <city value="Kleiberstadt"/> + <postalCode value="09209"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7992627d-db71-49d2-bac1-0a3779a53f42"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="633789165"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/output.json deleted file mode 100644 index 96a02e62..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "3b23fcac-ba11-477c-9a69-d6a003569baf", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "338c3ec4-1334-4d98-bcf1-74c49968e416", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/51b9ca04-65b3-497a-9a4c-1823d0ff0fed" - }, - "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": "51b9ca04-65b3-497a-9a4c-1823d0ff0fed", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "be10ca81-1199-4467-8575-a335488058cd", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "98bc544f-7bd5-431f-97fa-e31e3eca018d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_04ef6989/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/output.xml deleted file mode 100644 index c0e6666e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="3b23fcac-ba11-477c-9a69-d6a003569baf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.528.64"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="338c3ec4-1334-4d98-bcf1-74c49968e416"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/51b9ca04-65b3-497a-9a4c-1823d0ff0fed"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="51b9ca04-65b3-497a-9a4c-1823d0ff0fed"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="87002772"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="be10ca81-1199-4467-8575-a335488058cd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="472318252"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-726-9527977"/> - </telecom> - <telecom> - <system value="email"/> - <value value="finlay.astafei@seitz.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Weiherstr. 85"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="85"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Weiherstr."/> - </extension> - </line> - <city value="Mohammedberg"/> - <postalCode value="42390"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="98bc544f-7bd5-431f-97fa-e31e3eca018d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="237531105"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/input.xml new file mode 100644 index 00000000..48fbfd2f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="04ef6989-0443-4f78-8c3b-af75b30d8342"/> + <meta> + <lastUpdated value="2024-02-08T19:14:35.238+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.528.64"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:14:35.238+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/a0bb10b0-4003-431b-9348-64e6a02c23d0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a0bb10b0-4003-431b-9348-64e6a02c23d0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/9c2d57d9-a953-4f4a-8390-cfd7d3f22f6f"/> + </subject> + <date value="2024-02-08T19:14:35+01:00"/> + <author> + <reference value="Practitioner/0d7fa00a-f3fd-45dc-9e41-3821332d3cd6"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/b1da4c2f-98cd-468f-bcbb-8f9744dfc316"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/04f7703a-8ac1-4696-991b-8579a3815916"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/08d44885-7cb5-4319-9c4b-55a4040100e9"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/fd02588d-b2f9-4d37-a188-6b7c24382ead"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fd02588d-b2f9-4d37-a188-6b7c24382ead"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87002772"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/9c2d57d9-a953-4f4a-8390-cfd7d3f22f6f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="9c2d57d9-a953-4f4a-8390-cfd7d3f22f6f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1959-08-14"/> + <address> + <type value="both"/> + <line value="Sperberweg 8"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="8"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Sperberweg"/> + </extension> + </line> + <city value="Schön Joey"/> + <postalCode value="26207"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/b1da4c2f-98cd-468f-bcbb-8f9744dfc316"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b1da4c2f-98cd-468f-bcbb-8f9744dfc316"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="472318252"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-726-9527977"/> + </telecom> + <telecom> + <system value="email"/> + <value value="finlay.astafei@seitz.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Weiherstr. 85"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="85"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weiherstr."/> + </extension> + </line> + <city value="Mohammedberg"/> + <postalCode value="42390"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/04f7703a-8ac1-4696-991b-8579a3815916"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="04f7703a-8ac1-4696-991b-8579a3815916"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/b3cc10a1-454d-43bc-9f50-8d3c9bae543f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141041"/> + </identifier> + <display value="KUK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/0d7fa00a-f3fd-45dc-9e41-3821332d3cd6"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0d7fa00a-f3fd-45dc-9e41-3821332d3cd6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="237531105"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/08d44885-7cb5-4319-9c4b-55a4040100e9"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="08d44885-7cb5-4319-9c4b-55a4040100e9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/fd02588d-b2f9-4d37-a188-6b7c24382ead"/> + </medicationReference> + <subject> + <reference value="Patient/9c2d57d9-a953-4f4a-8390-cfd7d3f22f6f"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/0d7fa00a-f3fd-45dc-9e41-3821332d3cd6"/> + </requester> + <insurance> + <reference value="Coverage/04f7703a-8ac1-4696-991b-8579a3815916"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/output.json new file mode 100644 index 00000000..cc8e4059 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "6ea2a5ee-3529-4ef2-98c9-065fe2c9857a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d107be5b-2623-4b1d-878b-0cd89320d0ae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e1c2e75b-1811-4a32-8e45-47891f4f19e4" + }, + "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": "e1c2e75b-1811-4a32-8e45-47891f4f19e4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "76b6705a-44a8-43bd-af2a-b8181612b0ed", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "06e51ee8-7c31-4fa8-a613-03417cc27b74", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_04ef6989_04ef6989/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/output.xml new file mode 100644 index 00000000..cce7141f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7_04ef6989_04ef6989/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6ea2a5ee-3529-4ef2-98c9-065fe2c9857a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.528.64"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d107be5b-2623-4b1d-878b-0cd89320d0ae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e1c2e75b-1811-4a32-8e45-47891f4f19e4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e1c2e75b-1811-4a32-8e45-47891f4f19e4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87002772"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="76b6705a-44a8-43bd-af2a-b8181612b0ed"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="472318252"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-726-9527977"/> + </telecom> + <telecom> + <system value="email"/> + <value value="finlay.astafei@seitz.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Weiherstr. 85"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="85"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Weiherstr."/> + </extension> + </line> + <city value="Mohammedberg"/> + <postalCode value="42390"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="06e51ee8-7c31-4fa8-a613-03417cc27b74"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="237531105"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/output.json deleted file mode 100644 index 073551af..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "51afd3ac-5cb4-4d59-a286-7b9f66c95d21", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "57ac9f32-27b7-42c7-ae3a-34b293f963e3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/375db5fb-e1a7-4d0f-affa-d1e7f350e211" - }, - "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": "375db5fb-e1a7-4d0f-affa-d1e7f350e211", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2f5148d8-5a22-4e1f-a63e-1f4ce4369de7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "938dc360-826d-4c3c-8672-27654d6882c3", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_207902f9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/output.xml deleted file mode 100644 index 06fb7356..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="51afd3ac-5cb4-4d59-a286-7b9f66c95d21"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.535.43"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="57ac9f32-27b7-42c7-ae3a-34b293f963e3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/375db5fb-e1a7-4d0f-affa-d1e7f350e211"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="375db5fb-e1a7-4d0f-affa-d1e7f350e211"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="87382645"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2f5148d8-5a22-4e1f-a63e-1f4ce4369de7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="881916350"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-3035-48165913"/> - </telecom> - <telecom> - <system value="email"/> - <value value="emilie.bork@ney.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Kiefernweg 01"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="01"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Kiefernweg"/> - </extension> - </line> - <city value="Neu Taminoheim"/> - <postalCode value="11986"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="938dc360-826d-4c3c-8672-27654d6882c3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="116260144"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/input.xml new file mode 100644 index 00000000..3d3ae811 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="207902f9-6d4f-4a92-933d-d5c8154464b3"/> + <meta> + <lastUpdated value="2024-02-08T19:16:28.420+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.535.43"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:16:28.420+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/278ccb16-70a6-4707-a5bc-7aaaffc552fb"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="278ccb16-70a6-4707-a5bc-7aaaffc552fb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/81b4ac4b-0bec-4177-b230-74f3e2b503dc"/> + </subject> + <date value="2024-02-08T19:16:28+01:00"/> + <author> + <reference value="Practitioner/1dbda1e4-6399-4f21-937d-31e9886b2810"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/6a2b6f05-00e4-4cdc-8f1f-53094da218a4"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/c914b67b-1240-4239-bce9-4cab008e66ee"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/9f7ffe58-d8c5-4e2c-87c5-26ad66976b03"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/bc1c6f86-2c26-4ed2-b717-fd73022e6f53"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bc1c6f86-2c26-4ed2-b717-fd73022e6f53"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87382645"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/81b4ac4b-0bec-4177-b230-74f3e2b503dc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="81b4ac4b-0bec-4177-b230-74f3e2b503dc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1997-07-22"/> + <address> + <type value="both"/> + <line value="Frischenberg 04c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="04c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Frischenberg"/> + </extension> + </line> + <city value="Klein Marten"/> + <postalCode value="57022"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/6a2b6f05-00e4-4cdc-8f1f-53094da218a4"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6a2b6f05-00e4-4cdc-8f1f-53094da218a4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="881916350"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3035-48165913"/> + </telecom> + <telecom> + <system value="email"/> + <value value="emilie.bork@ney.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Kiefernweg 01"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kiefernweg"/> + </extension> + </line> + <city value="Neu Taminoheim"/> + <postalCode value="11986"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/c914b67b-1240-4239-bce9-4cab008e66ee"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="c914b67b-1240-4239-bce9-4cab008e66ee"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="83"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/60859d5d-6962-4b96-b58f-90f71921304d"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141392"/> + </identifier> + <display value="Württembergische"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/1dbda1e4-6399-4f21-937d-31e9886b2810"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1dbda1e4-6399-4f21-937d-31e9886b2810"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="116260144"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/9f7ffe58-d8c5-4e2c-87c5-26ad66976b03"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9f7ffe58-d8c5-4e2c-87c5-26ad66976b03"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/bc1c6f86-2c26-4ed2-b717-fd73022e6f53"/> + </medicationReference> + <subject> + <reference value="Patient/81b4ac4b-0bec-4177-b230-74f3e2b503dc"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/1dbda1e4-6399-4f21-937d-31e9886b2810"/> + </requester> + <insurance> + <reference value="Coverage/c914b67b-1240-4239-bce9-4cab008e66ee"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/output.json new file mode 100644 index 00000000..77e6a22d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "6f9f63cd-34c8-4b0e-9d57-b7b6a7a93e28", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f4d05ad6-05bd-48fd-87e8-bf0d97f220ad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8c809c37-ba6b-440a-a147-4f7b6331ad97" + }, + "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": "8c809c37-ba6b-440a-a147-4f7b6331ad97", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1233a4b1-55f7-4266-82e3-49a289c90299", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "615b9338-4e8b-41b6-99d7-ed428f3d1365", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_207902f9_207902f9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/output.xml new file mode 100644 index 00000000..c7a5c955 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe_207902f9_207902f9/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6f9f63cd-34c8-4b0e-9d57-b7b6a7a93e28"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.535.43"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f4d05ad6-05bd-48fd-87e8-bf0d97f220ad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8c809c37-ba6b-440a-a147-4f7b6331ad97"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8c809c37-ba6b-440a-a147-4f7b6331ad97"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="87382645"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1233a4b1-55f7-4266-82e3-49a289c90299"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="881916350"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-3035-48165913"/> + </telecom> + <telecom> + <system value="email"/> + <value value="emilie.bork@ney.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Kiefernweg 01"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kiefernweg"/> + </extension> + </line> + <city value="Neu Taminoheim"/> + <postalCode value="11986"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="615b9338-4e8b-41b6-99d7-ed428f3d1365"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="116260144"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.json index 84c6e042..68112241 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "70f4a49d-68a0-4abc-9d15-8130e77e0490", + "id": "28920bb5-05cf-433a-b168-e88aa847c193", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "0ca22004-c50c-45fc-ad3d-85a61d87bc6a", + "id": "57463b41-8268-4925-8105-1bdbe5926445", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/0bc4215c-3666-4765-9984-38ef4159df8e" + "reference": "Medication/c641abc6-a50b-457f-aeb2-529531a63c67" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "0bc4215c-3666-4765-9984-38ef4159df8e", + "id": "c641abc6-a50b-457f-aeb2-529531a63c67", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f98e36f4-a62b-488e-8487-ece10ed86c7e", + "id": "2575c31d-74e1-42e4-be6c-c8d830c6d447", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "c911c8f3-3dc1-4e93-9c55-b3d165b12e51", + "id": "6ec5e8fc-f418-4a63-be69-ac66fbe5df35", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.xml index 0fb8d2f8..e9c97fd3 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="70f4a49d-68a0-4abc-9d15-8130e77e0490"/> + <id value="28920bb5-05cf-433a-b168-e88aa847c193"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0ca22004-c50c-45fc-ad3d-85a61d87bc6a"/> + <id value="57463b41-8268-4925-8105-1bdbe5926445"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/0bc4215c-3666-4765-9984-38ef4159df8e"/> + <reference value="Medication/c641abc6-a50b-457f-aeb2-529531a63c67"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="0bc4215c-3666-4765-9984-38ef4159df8e"/> + <id value="c641abc6-a50b-457f-aeb2-529531a63c67"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f98e36f4-a62b-488e-8487-ece10ed86c7e"/> + <id value="2575c31d-74e1-42e4-be6c-c8d830c6d447"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c911c8f3-3dc1-4e93-9c55-b3d165b12e51"/> + <id value="6ec5e8fc-f418-4a63-be69-ac66fbe5df35"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77_9e9b3d77/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77_9e9b3d77/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77_9e9b3d77/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77_9e9b3d77/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77_9e9b3d77/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77_9e9b3d77/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77_9e9b3d77/output.json new file mode 100644 index 00000000..76eec32a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77_9e9b3d77/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "c4e94906-486a-449c-936b-aa6ee155c6f9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "55976c4a-1d98-4f61-b15c-3ee117168a6d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b9a545b2-a52b-4fb1-a9f5-06a5622e3fc5" + }, + "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": "b9a545b2-a52b-4fb1-a9f5-06a5622e3fc5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0c399928-64be-4a5f-8998-55ccd62a0754", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "730e9e13-f9be-4f73-8873-e7568b05418d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9e9b3d77_9e9b3d77/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77_9e9b3d77/output.xml new file mode 100644 index 00000000..ce6c34d3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_9e9b3d77_9e9b3d77/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c4e94906-486a-449c-936b-aa6ee155c6f9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.526.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="55976c4a-1d98-4f61-b15c-3ee117168a6d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b9a545b2-a52b-4fb1-a9f5-06a5622e3fc5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b9a545b2-a52b-4fb1-a9f5-06a5622e3fc5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10256692"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0c399928-64be-4a5f-8998-55ccd62a0754"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="030858272"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7111-25857900"/> + </telecom> + <telecom> + <system value="email"/> + <value value="giuseppe.filipowski@rodowski.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Gierener Weg 17"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Gierener Weg"/> + </extension> + </line> + <city value="Franzisburg"/> + <postalCode value="48462"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="730e9e13-f9be-4f73-8873-e7568b05418d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="032950438"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/output.json deleted file mode 100644 index b9553664..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "87ca8b01-2ad1-49a9-8e36-e5f5d72b31c2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "abbbd7fc-3901-404b-9e88-c52038065130", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/e4ecf19b-3097-44b7-a731-5e1b090ac829" - }, - "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": "e4ecf19b-3097-44b7-a731-5e1b090ac829", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dd189bd9-b2da-4f0e-8b71-409e683d627a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "4464d15a-f7bf-40da-a46f-a0e4c30a9021", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9e9b3d77/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/output.xml deleted file mode 100644 index dc213682..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="87ca8b01-2ad1-49a9-8e36-e5f5d72b31c2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="200.000.002.096.526.70"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="abbbd7fc-3901-404b-9e88-c52038065130"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/e4ecf19b-3097-44b7-a731-5e1b090ac829"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e4ecf19b-3097-44b7-a731-5e1b090ac829"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10256692"/> - </coding> - <text value="Schmerzmittel"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="dd189bd9-b2da-4f0e-8b71-409e683d627a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="030858272"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="+49-7111-25857900"/> - </telecom> - <telecom> - <system value="email"/> - <value value="giuseppe.filipowski@rodowski.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Gierener Weg 17"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="17"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Gierener Weg"/> - </extension> - </line> - <city value="Franzisburg"/> - <postalCode value="48462"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4464d15a-f7bf-40da-a46f-a0e4c30a9021"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="032950438"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/input.xml new file mode 100644 index 00000000..ca91b36d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9e9b3d77-4f67-4f1f-bde8-9b9c7160aa8e"/> + <meta> + <lastUpdated value="2024-02-08T19:13:58.052+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.526.70"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:13:58.052+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/eaedf95e-2ce4-4b9e-be17-73ea608526da"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="eaedf95e-2ce4-4b9e-be17-73ea608526da"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/640c9ba3-2649-4faf-9a6b-93d25c7404f8"/> + </subject> + <date value="2024-02-08T19:13:58+01:00"/> + <author> + <reference value="Practitioner/1988c2db-98d0-416e-b624-31c637af6ac4"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/56cea22d-a1cc-4d26-862c-1449bf8984b8"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/79441c9a-c7be-4f9a-a14a-6b890b73d9d2"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/67c52422-5216-4786-beca-f94baf2e43ad"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/9c18ac42-2969-44aa-b951-c6bfa687b5bf"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9c18ac42-2969-44aa-b951-c6bfa687b5bf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10256692"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/640c9ba3-2649-4faf-9a6b-93d25c7404f8"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="640c9ba3-2649-4faf-9a6b-93d25c7404f8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="X110465770"/> + </identifier> + <name> + <use value="official"/> + <family value="Angermänn"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Angermänn"/> + </extension> + </family> + <given value="Günther"/> + </name> + <birthDate value="1968-09-01"/> + <address> + <type value="both"/> + <line value="Am Knechtsgraben 357"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="357"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Knechtsgraben"/> + </extension> + </line> + <city value="Olbrichbrunn"/> + <postalCode value="68242"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/56cea22d-a1cc-4d26-862c-1449bf8984b8"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="56cea22d-a1cc-4d26-862c-1449bf8984b8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="030858272"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7111-25857900"/> + </telecom> + <telecom> + <system value="email"/> + <value value="giuseppe.filipowski@rodowski.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Gierener Weg 17"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Gierener Weg"/> + </extension> + </line> + <city value="Franzisburg"/> + <postalCode value="48462"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/79441c9a-c7be-4f9a-a14a-6b890b73d9d2"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="79441c9a-c7be-4f9a-a14a-6b890b73d9d2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="48"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93a9c42e-bbc9-4d2b-aba0-7459d32b1476"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="168141198"/> + </identifier> + <display value="Gothaer"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/1988c2db-98d0-416e-b624-31c637af6ac4"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="1988c2db-98d0-416e-b624-31c637af6ac4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="032950438"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/67c52422-5216-4786-beca-f94baf2e43ad"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="67c52422-5216-4786-beca-f94baf2e43ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/9c18ac42-2969-44aa-b951-c6bfa687b5bf"/> + </medicationReference> + <subject> + <reference value="Patient/640c9ba3-2649-4faf-9a6b-93d25c7404f8"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/1988c2db-98d0-416e-b624-31c637af6ac4"/> + </requester> + <insurance> + <reference value="Coverage/79441c9a-c7be-4f9a-a14a-6b890b73d9d2"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/output.json new file mode 100644 index 00000000..82dc456a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "fda09444-d989-43c3-a32b-84d0afea6e86", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "dc9f4228-967d-4c53-91fd-cdf48431195e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/28f94a96-a4fc-4ba7-81cb-06072c0e6acf" + }, + "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": "28f94a96-a4fc-4ba7-81cb-06072c0e6acf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9f6f937a-7a81-42a7-bf76-6e5bc9724f18", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4e42fcf8-1338-4628-8329-6233537c85a5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9e9b3d77_9e9b3d77/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/output.xml new file mode 100644 index 00000000..d1ac5c03 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800_9e9b3d77_9e9b3d77/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fda09444-d989-43c3-a32b-84d0afea6e86"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="200.000.002.096.526.70"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="dc9f4228-967d-4c53-91fd-cdf48431195e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/28f94a96-a4fc-4ba7-81cb-06072c0e6acf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="28f94a96-a4fc-4ba7-81cb-06072c0e6acf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10256692"/> + </coding> + <text value="Schmerzmittel"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9f6f937a-7a81-42a7-bf76-6e5bc9724f18"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="030858272"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="+49-7111-25857900"/> + </telecom> + <telecom> + <system value="email"/> + <value value="giuseppe.filipowski@rodowski.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Gierener Weg 17"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="17"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Gierener Weg"/> + </extension> + </line> + <city value="Franzisburg"/> + <postalCode value="48462"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4e42fcf8-1338-4628-8329-6233537c85a5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="032950438"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/output.json deleted file mode 100644 index ded168b2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/output.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "9140b26a-3b00-4d60-a60c-92e3fabcd6de", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "08075aa9-bbd9-4b83-99e2-b77885180d64", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/9120bfcf-140e-4ce9-b546-8f759b807ce0" - }, - "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": "9120bfcf-140e-4ce9-b546-8f759b807ce0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4d0942fb-c913-4d3d-adfa-56ee28892259", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "f70521e9-9ef3-4634-92c7-eadd54297067", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_7adc4492/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/output.xml deleted file mode 100644 index a9c10af3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/output.xml +++ /dev/null @@ -1,236 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9140b26a-3b00-4d60-a60c-92e3fabcd6de"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.798.75"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="08075aa9-bbd9-4b83-99e2-b77885180d64"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="2"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-05-08"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:13061707"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/9120bfcf-140e-4ce9-b546-8f759b807ce0"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9120bfcf-140e-4ce9-b546-8f759b807ce0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="77712610"/> - </coding> - <text value="Aceterfen"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4d0942fb-c913-4d3d-adfa-56ee28892259"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="711020854"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0340) 561450343"/> - </telecom> - <telecom> - <system value="email"/> - <value value="saphira.schaffarzik@jungbluth.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Am Arenzberg 46b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="46b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Am Arenzberg"/> - </extension> - </line> - <city value="Jessicafeld"/> - <postalCode value="12141"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f70521e9-9ef3-4634-92c7-eadd54297067"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="616562658"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492_7adc4492/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492_7adc4492/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492_7adc4492/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492_7adc4492/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492_7adc4492/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492_7adc4492/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492_7adc4492/output.json new file mode 100644 index 00000000..0d7e4a8c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492_7adc4492/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "d75d344b-e8c8-41c8-8f93-92fd08099e82", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b7f75841-8880-439a-8cde-b8fb01292a4d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/6166b8f4-2ed3-45d1-a579-20abd32d4ffb" + }, + "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": "6166b8f4-2ed3-45d1-a579-20abd32d4ffb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cd7b08a5-1055-41d3-b70f-625094543461", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ca669fa0-d168-4b23-a8af-c675a85d939a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7adc4492_7adc4492/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492_7adc4492/output.xml new file mode 100644 index 00000000..89f68d25 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d_7adc4492_7adc4492/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d75d344b-e8c8-41c8-8f93-92fd08099e82"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.798.75"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b7f75841-8880-439a-8cde-b8fb01292a4d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6166b8f4-2ed3-45d1-a579-20abd32d4ffb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6166b8f4-2ed3-45d1-a579-20abd32d4ffb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="77712610"/> + </coding> + <text value="Aceterfen"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cd7b08a5-1055-41d3-b70f-625094543461"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ca669fa0-d168-4b23-a8af-c675a85d939a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/output.json deleted file mode 100644 index c99c69b2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "89b7102f-5c9e-41ed-9dd9-fd94ca62da41", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "95daf59c-b43b-491b-a092-4f7091ed0ded", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/6e2ab523-4e89-4022-9f42-2ea87bafe359" - }, - "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": "6e2ab523-4e89-4022-9f42-2ea87bafe359", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ba598291-a742-44b0-b99f-0d1cce940aba", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "993918b5-7875-493b-8170-19aed70a7250", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_d04a95ee/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/output.xml deleted file mode 100644 index d1bca5e5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="89b7102f-5c9e-41ed-9dd9-fd94ca62da41"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="209.000.000.033.001.16"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="95daf59c-b43b-491b-a092-4f7091ed0ded"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/6e2ab523-4e89-4022-9f42-2ea87bafe359"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6e2ab523-4e89-4022-9f42-2ea87bafe359"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="67209235"/> - </coding> - <text value="Zytostatika_WF209"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ba598291-a742-44b0-b99f-0d1cce940aba"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="476736714"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0048) 622241522"/> - </telecom> - <telecom> - <system value="email"/> - <value value="ismael.riethmüller@brauer.org"/> - </telecom> - <address> - <type value="both"/> - <line value="Kanalstr. 01c"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="01c"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Kanalstr."/> - </extension> - </line> - <city value="Griemburg"/> - <postalCode value="85414"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="993918b5-7875-493b-8170-19aed70a7250"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="874457048"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee_d04a95ee/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee_d04a95ee/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee_d04a95ee/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee_d04a95ee/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee_d04a95ee/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee_d04a95ee/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee_d04a95ee/output.json new file mode 100644 index 00000000..75e12a19 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee_d04a95ee/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ef8a2227-529b-4a9c-aaa5-2d7336e0b4ea", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5e993bce-5885-43e6-b5c4-59ad39cd09cd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ad3cc475-fa8b-4427-8049-1586e22dd84b" + }, + "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": "ad3cc475-fa8b-4427-8049-1586e22dd84b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0159b0dc-c8ed-447e-bc9c-a603165022ab", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "553c7e00-25d0-4228-ad97-4a16a29baa78", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d04a95ee_d04a95ee/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee_d04a95ee/output.xml new file mode 100644 index 00000000..90fb91e7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67_d04a95ee_d04a95ee/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ef8a2227-529b-4a9c-aaa5-2d7336e0b4ea"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.033.001.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5e993bce-5885-43e6-b5c4-59ad39cd09cd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ad3cc475-fa8b-4427-8049-1586e22dd84b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ad3cc475-fa8b-4427-8049-1586e22dd84b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="67209235"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0159b0dc-c8ed-447e-bc9c-a603165022ab"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="476736714"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0048) 622241522"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ismael.riethmüller@brauer.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Kanalstr. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kanalstr."/> + </extension> + </line> + <city value="Griemburg"/> + <postalCode value="85414"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="553c7e00-25d0-4228-ad97-4a16a29baa78"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="874457048"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.json index 93ed492d..b37cc823 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "5df8b25d-afad-4bfb-9445-df25075e4435", + "id": "40f58621-e73d-42f6-a974-c821947280ca", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "1249b007-4195-4408-988d-92896a83e74e", + "id": "54af9ab7-14fb-4c70-81eb-9003220608a2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -54,7 +54,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/75c9f8ee-898f-44a0-8af8-82586724fae2" + "reference": "Medication/16116043-f736-4135-9912-611fc8b082f0" }, "subject": { "identifier": { @@ -78,7 +78,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "75c9f8ee-898f-44a0-8af8-82586724fae2", + "id": "16116043-f736-4135-9912-611fc8b082f0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -125,7 +125,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f61e8913-0995-4194-b0c0-d7c91742986a", + "id": "e6c37931-ba4a-456b-9be5-12117d0b77eb", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -187,7 +187,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "b1b3cf0f-acf4-43f8-ac1a-2ca058abcdb1", + "id": "18f3e8dd-3826-4685-8362-62cdf3478b2e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.xml index 21ca6e8a..6abb5877 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="5df8b25d-afad-4bfb-9445-df25075e4435"/> + <id value="40f58621-e73d-42f6-a974-c821947280ca"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1249b007-4195-4408-988d-92896a83e74e"/> + <id value="54af9ab7-14fb-4c70-81eb-9003220608a2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -53,7 +53,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/75c9f8ee-898f-44a0-8af8-82586724fae2"/> + <reference value="Medication/16116043-f736-4135-9912-611fc8b082f0"/> </medicationReference> <subject> <identifier> @@ -79,7 +79,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="75c9f8ee-898f-44a0-8af8-82586724fae2"/> + <id value="16116043-f736-4135-9912-611fc8b082f0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -126,7 +126,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f61e8913-0995-4194-b0c0-d7c91742986a"/> + <id value="e6c37931-ba4a-456b-9be5-12117d0b77eb"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -190,7 +190,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b1b3cf0f-acf4-43f8-ac1a-2ca058abcdb1"/> + <id value="18f3e8dd-3826-4685-8362-62cdf3478b2e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/input.xml new file mode 100644 index 00000000..2d8f769d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/input.xml @@ -0,0 +1,402 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7adc4492-5af0-4817-a3bd-d50985fd906c"/> + <meta> + <lastUpdated value="2024-02-08T19:12:22.465+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.798.75"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:12:22.465+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/95f29aff-e1bb-4971-b229-83ee0867f388"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="95f29aff-e1bb-4971-b229-83ee0867f388"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <date value="2024-02-08T19:12:22+01:00"/> + <author> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/b65e10a9-fbf8-424a-b17a-3625a5a73630"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/6425421f-f50a-4a62-b8e5-89f786f709bc"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6425421f-f50a-4a62-b8e5-89f786f709bc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="77712610"/> + </coding> + <text value="Aceterfen"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1963-08-18"/> + <address> + <type value="both"/> + <line value="Friedrich-List-Str. 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Friedrich-List-Str."/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="40934"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="268d5615-319b-448d-884a-ce034b70d01c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="47"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/e11c162b-d22c-4576-88e2-21a9c878c33e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108433248"/> + </identifier> + <display value="Siemens‐Betriebskrankenkasse SBK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/b65e10a9-fbf8-424a-b17a-3625a5a73630"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b65e10a9-fbf8-424a-b17a-3625a5a73630"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/6425421f-f50a-4a62-b8e5-89f786f709bc"/> + </medicationReference> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + </requester> + <insurance> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/output.json new file mode 100644 index 00000000..71e53a5b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "25b44ef9-4518-4204-af7a-cdf35d5f58a1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "48b82274-8607-4ac3-aac1-03fb5563c9c2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/5ec43739-781a-4300-aab6-fd9db8452f27" + }, + "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": "5ec43739-781a-4300-aab6-fd9db8452f27", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b861f149-3a6c-48f3-890b-bd30c7165a45", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ea114708-4f2a-4107-b516-c64d8a4cee4c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7adc4492_7adc4492/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/output.xml new file mode 100644 index 00000000..aa9e84bd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_7adc4492_7adc4492/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="25b44ef9-4518-4204-af7a-cdf35d5f58a1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.798.75"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="48b82274-8607-4ac3-aac1-03fb5563c9c2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-05-08"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5ec43739-781a-4300-aab6-fd9db8452f27"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5ec43739-781a-4300-aab6-fd9db8452f27"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="77712610"/> + </coding> + <text value="Aceterfen"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b861f149-3a6c-48f3-890b-bd30c7165a45"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ea114708-4f2a-4107-b516-c64d8a4cee4c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.json index 59ec055e..f9cad0df 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "5a041313-b5fc-4afa-bb64-4bcc59d80c7c", + "id": "5d7804c0-4ef0-4a05-991c-031382ad0e19", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "fa75dd25-5ec8-4778-9818-65909688fb27", + "id": "3c81a3b4-b056-4769-99f1-6a91a920c4a6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/47d40911-8cbf-4ef0-87a8-5dd94e506465" + "reference": "Medication/be1acdb9-01d9-47c4-a3ba-efe29c081589" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "47d40911-8cbf-4ef0-87a8-5dd94e506465", + "id": "be1acdb9-01d9-47c4-a3ba-efe29c081589", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "2e5999ed-9ff5-4829-9681-20e4ae59166d", + "id": "85c0caf6-a06f-4033-80cf-954eb7fa7dbe", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "e9d12162-325f-46b1-a995-fb13e203eb0c", + "id": "a283b8cb-37c6-4882-ac9e-eaaf44987f77", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.xml index 6db58cfd..2d98dff6 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="5a041313-b5fc-4afa-bb64-4bcc59d80c7c"/> + <id value="5d7804c0-4ef0-4a05-991c-031382ad0e19"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="fa75dd25-5ec8-4778-9818-65909688fb27"/> + <id value="3c81a3b4-b056-4769-99f1-6a91a920c4a6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/47d40911-8cbf-4ef0-87a8-5dd94e506465"/> + <reference value="Medication/be1acdb9-01d9-47c4-a3ba-efe29c081589"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="47d40911-8cbf-4ef0-87a8-5dd94e506465"/> + <id value="be1acdb9-01d9-47c4-a3ba-efe29c081589"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="2e5999ed-9ff5-4829-9681-20e4ae59166d"/> + <id value="85c0caf6-a06f-4033-80cf-954eb7fa7dbe"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e9d12162-325f-46b1-a995-fb13e203eb0c"/> + <id value="a283b8cb-37c6-4882-ac9e-eaaf44987f77"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/input.xml new file mode 100644 index 00000000..904005ae --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="d04a95ee-2318-4f6f-bbfe-b6d3f91ad18d"/> + <meta> + <lastUpdated value="2024-02-08T19:22:16.011+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.033.001.16"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:22:16.011+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/60826a15-2c18-429e-8f97-27580ebf5fff"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="60826a15-2c18-429e-8f97-27580ebf5fff"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/48cecd0a-359d-4612-9aef-952c8b4f5e76"/> + </subject> + <date value="2024-02-08T19:22:16+01:00"/> + <author> + <reference value="Practitioner/7098d491-104d-41b2-88ba-47c8b726742e"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/61f02908-fa5a-4a22-b260-38df7e66e35e"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/61833af2-097b-4f8a-bd53-32092d694fe3"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/3a829bdb-804e-43d7-82ce-a52023ecb34d"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/0f8c77f3-fc49-4c5a-8331-5b8516251d4d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0f8c77f3-fc49-4c5a-8331-5b8516251d4d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="67209235"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/48cecd0a-359d-4612-9aef-952c8b4f5e76"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="48cecd0a-359d-4612-9aef-952c8b4f5e76"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110488614"/> + </identifier> + <name> + <use value="official"/> + <family value="Hütter"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hütter"/> + </extension> + </family> + <given value="Leonie"/> + </name> + <birthDate value="1991-07-25"/> + <address> + <type value="both"/> + <line value="Drachenfelsstr. 27a"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27a"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Drachenfelsstr."/> + </extension> + </line> + <city value="Süd Maira"/> + <postalCode value="47752"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/61f02908-fa5a-4a22-b260-38df7e66e35e"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="61f02908-fa5a-4a22-b260-38df7e66e35e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="476736714"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0048) 622241522"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ismael.riethmüller@brauer.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Kanalstr. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kanalstr."/> + </extension> + </line> + <city value="Griemburg"/> + <postalCode value="85414"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/61833af2-097b-4f8a-bd53-32092d694fe3"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="61833af2-097b-4f8a-bd53-32092d694fe3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="52"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/75b014b1-f45c-4ae8-b4b1-170bb155993f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="102122557"/> + </identifier> + <display value="BKK exklusiv"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/7098d491-104d-41b2-88ba-47c8b726742e"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7098d491-104d-41b2-88ba-47c8b726742e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="874457048"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/3a829bdb-804e-43d7-82ce-a52023ecb34d"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3a829bdb-804e-43d7-82ce-a52023ecb34d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/0f8c77f3-fc49-4c5a-8331-5b8516251d4d"/> + </medicationReference> + <subject> + <reference value="Patient/48cecd0a-359d-4612-9aef-952c8b4f5e76"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/7098d491-104d-41b2-88ba-47c8b726742e"/> + </requester> + <insurance> + <reference value="Coverage/61833af2-097b-4f8a-bd53-32092d694fe3"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/output.json new file mode 100644 index 00000000..b5417d4c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "156258d9-f5c8-481e-b13c-ffeadbfe7d51", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d73ae127-9711-4078-9039-ec80e0e15b2a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7e48d66e-aa79-4a3a-aa43-ad6cb3d97cd8" + }, + "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": "7e48d66e-aa79-4a3a-aa43-ad6cb3d97cd8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "45264b34-fea7-4187-ac5f-1f24310023a5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5dd6a3f8-6bba-4870-858e-b13feca2c4a4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d04a95ee_d04a95ee/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/output.xml new file mode 100644 index 00000000..9fa8cd16 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_d04a95ee_d04a95ee/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="156258d9-f5c8-481e-b13c-ffeadbfe7d51"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="209.000.000.033.001.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d73ae127-9711-4078-9039-ec80e0e15b2a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7e48d66e-aa79-4a3a-aa43-ad6cb3d97cd8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7e48d66e-aa79-4a3a-aa43-ad6cb3d97cd8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="67209235"/> + </coding> + <text value="Zytostatika_WF209"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="45264b34-fea7-4187-ac5f-1f24310023a5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="476736714"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0048) 622241522"/> + </telecom> + <telecom> + <system value="email"/> + <value value="ismael.riethmüller@brauer.org"/> + </telecom> + <address> + <type value="both"/> + <line value="Kanalstr. 01c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="01c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Kanalstr."/> + </extension> + </line> + <city value="Griemburg"/> + <postalCode value="85414"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5dd6a3f8-6bba-4870-858e-b13feca2c4a4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="874457048"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/output.json deleted file mode 100644 index 495d19a5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/output.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "0bd80d27-daaa-4db7-a3a7-49eb3af0df81", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "efab9486-c3de-42b7-8250-9381beebc333", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/020cdd1e-b8f6-4795-be74-7c8fbe0f501c" - }, - "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": "020cdd1e-b8f6-4795-be74-7c8fbe0f501c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "75777c9e-5a5c-4995-9368-88f2f2b3a3b7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "f9285000-bce3-41d3-b13d-045d026922ad", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_71606533/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/output.xml deleted file mode 100644 index bf4c5eb3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/output.xml +++ /dev/null @@ -1,236 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0bd80d27-daaa-4db7-a3a7-49eb3af0df81"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.799.72"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="efab9486-c3de-42b7-8250-9381beebc333"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="3"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-08-06"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:13061707"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/020cdd1e-b8f6-4795-be74-7c8fbe0f501c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="020cdd1e-b8f6-4795-be74-7c8fbe0f501c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="25184159"/> - </coding> - <text value="Aciamior"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="75777c9e-5a5c-4995-9368-88f2f2b3a3b7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="711020854"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0340) 561450343"/> - </telecom> - <telecom> - <system value="email"/> - <value value="saphira.schaffarzik@jungbluth.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Am Arenzberg 46b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="46b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Am Arenzberg"/> - </extension> - </line> - <city value="Jessicafeld"/> - <postalCode value="12141"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f9285000-bce3-41d3-b13d-045d026922ad"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="616562658"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533_71606533/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533_71606533/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533_71606533/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533_71606533/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533_71606533/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533_71606533/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533_71606533/output.json new file mode 100644 index 00000000..05b3e9f4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533_71606533/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "f5fecc91-358f-4fa5-a20c-028b6ba13225", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "19f6b2f1-ac7f-46bf-b8b2-31afd1555884", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/fbf8a76b-dd31-46fd-a3fb-cdbbc5692b6d" + }, + "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": "fbf8a76b-dd31-46fd-a3fb-cdbbc5692b6d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5136b9e0-0fdc-4765-8e49-e1f3590e2f6b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "dc4ad2fa-cc65-4d2e-a5fe-40728bb3b42f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_71606533_71606533/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533_71606533/output.xml new file mode 100644 index 00000000..2e9cf0e0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f_71606533_71606533/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f5fecc91-358f-4fa5-a20c-028b6ba13225"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.799.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="19f6b2f1-ac7f-46bf-b8b2-31afd1555884"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-08-06"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fbf8a76b-dd31-46fd-a3fb-cdbbc5692b6d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fbf8a76b-dd31-46fd-a3fb-cdbbc5692b6d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25184159"/> + </coding> + <text value="Aciamior"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5136b9e0-0fdc-4765-8e49-e1f3590e2f6b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dc4ad2fa-cc65-4d2e-a5fe-40728bb3b42f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.json index 04a3e136..399b78e8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "eb019bdf-c449-4b18-b812-f1f7a5918357", + "id": "a096163f-53b1-45a7-b8d3-ddd3de6bbfcb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "1b580808-bcc4-4bb6-a53d-22734fc08625", + "id": "3471fca8-3856-41e5-bb37-acc095099418", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -54,7 +54,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/8154e9e6-c004-4cd4-9f21-bc8fa904b543" + "reference": "Medication/94ab59f1-c470-4cc3-ae27-884fa7c139cb" }, "subject": { "identifier": { @@ -78,7 +78,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "8154e9e6-c004-4cd4-9f21-bc8fa904b543", + "id": "94ab59f1-c470-4cc3-ae27-884fa7c139cb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -125,7 +125,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "03e76247-e3cf-44b4-a846-3a0fa4484694", + "id": "25a03200-7199-4c0b-b699-d5509f4a730e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -187,7 +187,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "685d44bd-5946-40e5-b022-c1d0adf2af35", + "id": "a47cf5ed-b3e6-4800-88ff-dd5568791d33", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.xml index 23b7ab2f..7b424ccc 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="eb019bdf-c449-4b18-b812-f1f7a5918357"/> + <id value="a096163f-53b1-45a7-b8d3-ddd3de6bbfcb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1b580808-bcc4-4bb6-a53d-22734fc08625"/> + <id value="3471fca8-3856-41e5-bb37-acc095099418"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -53,7 +53,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/8154e9e6-c004-4cd4-9f21-bc8fa904b543"/> + <reference value="Medication/94ab59f1-c470-4cc3-ae27-884fa7c139cb"/> </medicationReference> <subject> <identifier> @@ -79,7 +79,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="8154e9e6-c004-4cd4-9f21-bc8fa904b543"/> + <id value="94ab59f1-c470-4cc3-ae27-884fa7c139cb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -126,7 +126,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="03e76247-e3cf-44b4-a846-3a0fa4484694"/> + <id value="25a03200-7199-4c0b-b699-d5509f4a730e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -190,7 +190,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="685d44bd-5946-40e5-b022-c1d0adf2af35"/> + <id value="a47cf5ed-b3e6-4800-88ff-dd5568791d33"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/input.xml new file mode 100644 index 00000000..879e7ecb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/input.xml @@ -0,0 +1,402 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="71606533-794f-4fff-ad5a-56fdc7a56a9b"/> + <meta> + <lastUpdated value="2024-02-08T19:12:22.875+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.799.72"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:12:22.875+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/a5444495-f33d-4a18-8572-023a77b4ce8c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a5444495-f33d-4a18-8572-023a77b4ce8c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <date value="2024-02-08T19:12:22+01:00"/> + <author> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/db6c9edc-a925-4dc3-b5f2-8c4522ac395f"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/b4550149-210c-4e86-8623-607e482400e0"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b4550149-210c-4e86-8623-607e482400e0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25184159"/> + </coding> + <text value="Aciamior"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1963-08-18"/> + <address> + <type value="both"/> + <line value="Friedrich-List-Str. 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Friedrich-List-Str."/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="40934"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="268d5615-319b-448d-884a-ce034b70d01c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="47"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/e11c162b-d22c-4576-88e2-21a9c878c33e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108433248"/> + </identifier> + <display value="Siemens‐Betriebskrankenkasse SBK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/db6c9edc-a925-4dc3-b5f2-8c4522ac395f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="db6c9edc-a925-4dc3-b5f2-8c4522ac395f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-08-06"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b4550149-210c-4e86-8623-607e482400e0"/> + </medicationReference> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + </requester> + <insurance> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/output.json new file mode 100644 index 00000000..3ad5d655 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "2ee4ef09-39e4-4d51-8331-1d90d0ec892c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "90a09c47-d6be-45a9-9691-e7950e788c74", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/71137031-b35d-4b4e-8b0d-1113815c5a3b" + }, + "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": "71137031-b35d-4b4e-8b0d-1113815c5a3b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "11f8f763-13cd-4aec-b1ac-5c1cb6b01fc4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "99f01c8f-48d4-4843-92bf-a402d0e79413", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_71606533_71606533/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/output.xml new file mode 100644 index 00000000..edbabfb3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_71606533_71606533/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2ee4ef09-39e4-4d51-8331-1d90d0ec892c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.799.72"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="90a09c47-d6be-45a9-9691-e7950e788c74"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-08-06"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/71137031-b35d-4b4e-8b0d-1113815c5a3b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="71137031-b35d-4b4e-8b0d-1113815c5a3b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="25184159"/> + </coding> + <text value="Aciamior"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="11f8f763-13cd-4aec-b1ac-5c1cb6b01fc4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="99f01c8f-48d4-4843-92bf-a402d0e79413"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/output.json deleted file mode 100644 index e6b728cc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/output.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "79996d2b-8e74-48eb-8c51-88dd1bfc0e01", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "c976d252-b85f-4281-b5b7-4da0013bab3d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/9f58d1e7-f603-4fdb-90ce-8820e9bbf82c" - }, - "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": "9f58d1e7-f603-4fdb-90ce-8820e9bbf82c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9f2263bd-c9f0-4ec8-a02f-c3bf5cfd7428", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "f38389f4-48d2-46a4-98ed-d305cbd28ddc", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_7b2ca3fe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/output.xml deleted file mode 100644 index 4a57ae45..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/output.xml +++ /dev/null @@ -1,236 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="79996d2b-8e74-48eb-8c51-88dd1bfc0e01"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.800.69"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c976d252-b85f-4281-b5b7-4da0013bab3d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-11-04"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:13061707"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/9f58d1e7-f603-4fdb-90ce-8820e9bbf82c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9f58d1e7-f603-4fdb-90ce-8820e9bbf82c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="29470620"/> - </coding> - <text value="Aceternin"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9f2263bd-c9f0-4ec8-a02f-c3bf5cfd7428"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="711020854"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Schraßer"/> - <telecom> - <system value="phone"/> - <value value="(0340) 561450343"/> - </telecom> - <telecom> - <system value="email"/> - <value value="saphira.schaffarzik@jungbluth.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Am Arenzberg 46b"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="46b"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Am Arenzberg"/> - </extension> - </line> - <city value="Jessicafeld"/> - <postalCode value="12141"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f38389f4-48d2-46a4-98ed-d305cbd28ddc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="616562658"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Dr. Schraßer"/> - <family value="Schraßer"/> - <given value="Dr."/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe/output.json new file mode 100644 index 00000000..b2865277 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "17260a6e-efe7-4f37-ab1f-19efa9a43aab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "498a2d16-8440-4060-a42f-5ed3cc7be9da", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/1dcec48d-b50b-4d3c-8b32-8a5047294e62" + }, + "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": "1dcec48d-b50b-4d3c-8b32-8a5047294e62", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7d945d01-95f5-48fc-b578-5dbe3b23de93", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ddfb9cab-1b88-401e-bc59-8ca2ee55391e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7b2ca3fe_7b2ca3fe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe/output.xml new file mode 100644 index 00000000..cae10207 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774_7b2ca3fe_7b2ca3fe/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="17260a6e-efe7-4f37-ab1f-19efa9a43aab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.800.69"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="498a2d16-8440-4060-a42f-5ed3cc7be9da"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1dcec48d-b50b-4d3c-8b32-8a5047294e62"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1dcec48d-b50b-4d3c-8b32-8a5047294e62"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="29470620"/> + </coding> + <text value="Aceternin"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7d945d01-95f5-48fc-b578-5dbe3b23de93"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ddfb9cab-1b88-401e-bc59-8ca2ee55391e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.json index a1edec54..c868871d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "fca7aa89-c5a9-44b7-b689-69882731cacc", + "id": "e437d9c9-f558-4a6a-ad25-544c556d89fc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "2166f056-3960-425d-a7a0-1ef860dda2a9", + "id": "8f342639-93c0-441f-8005-5259f4ab39c3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -54,7 +54,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/32a8787e-dd42-4957-a5bb-a25cb2e17bee" + "reference": "Medication/68eff2f6-5512-490f-ada3-c554776a5085" }, "subject": { "identifier": { @@ -78,7 +78,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "32a8787e-dd42-4957-a5bb-a25cb2e17bee", + "id": "68eff2f6-5512-490f-ada3-c554776a5085", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -125,7 +125,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "447bd3e3-bd63-4143-9d1e-7ecfb4cab39d", + "id": "bdae28e6-19a9-4fcb-8bf8-17f3a7b49997", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -187,7 +187,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "1db2d5b3-0cb9-46fe-89d1-a3aaafeac609", + "id": "c18360ee-6aed-4c92-998f-d6929d114696", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.xml index 765ec0f5..5caf9c73 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="fca7aa89-c5a9-44b7-b689-69882731cacc"/> + <id value="e437d9c9-f558-4a6a-ad25-544c556d89fc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2166f056-3960-425d-a7a0-1ef860dda2a9"/> + <id value="8f342639-93c0-441f-8005-5259f4ab39c3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -53,7 +53,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/32a8787e-dd42-4957-a5bb-a25cb2e17bee"/> + <reference value="Medication/68eff2f6-5512-490f-ada3-c554776a5085"/> </medicationReference> <subject> <identifier> @@ -79,7 +79,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="32a8787e-dd42-4957-a5bb-a25cb2e17bee"/> + <id value="68eff2f6-5512-490f-ada3-c554776a5085"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -126,7 +126,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="447bd3e3-bd63-4143-9d1e-7ecfb4cab39d"/> + <id value="bdae28e6-19a9-4fcb-8bf8-17f3a7b49997"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -190,7 +190,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1db2d5b3-0cb9-46fe-89d1-a3aaafeac609"/> + <id value="c18360ee-6aed-4c92-998f-d6929d114696"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/input.xml new file mode 100644 index 00000000..54c480a3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/input.xml @@ -0,0 +1,402 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7b2ca3fe-d2e2-4d47-9f1b-45336c9e69c1"/> + <meta> + <lastUpdated value="2024-02-08T19:12:23.333+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.800.69"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:12:23.333+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/ae11f11c-ef4b-4ff4-b103-df25553c3cbb"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ae11f11c-ef4b-4ff4-b103-df25553c3cbb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <date value="2024-02-08T19:12:23+01:00"/> + <author> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/4b0e36c2-247b-461f-b6f6-064c9588bf95"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/26ee32f9-70d5-485f-9342-c416105339a3"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="26ee32f9-70d5-485f-9342-c416105339a3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="29470620"/> + </coding> + <text value="Aceternin"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1963-08-18"/> + <address> + <type value="both"/> + <line value="Friedrich-List-Str. 26"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="26"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Friedrich-List-Str."/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="40934"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/268d5615-319b-448d-884a-ce034b70d01c"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="268d5615-319b-448d-884a-ce034b70d01c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="47"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/e11c162b-d22c-4576-88e2-21a9c878c33e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108433248"/> + </identifier> + <display value="Siemens‐Betriebskrankenkasse SBK"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <name> + <use value="official"/> + <family value="Schraßer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schraßer"/> + </extension> + </family> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/4b0e36c2-247b-461f-b6f6-064c9588bf95"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4b0e36c2-247b-461f-b6f6-064c9588bf95"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/26ee32f9-70d5-485f-9342-c416105339a3"/> + </medicationReference> + <subject> + <reference value="Patient/4b6f4f8f-ef81-4b9a-a079-630b23c38984"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/bc5f90a0-07d4-4c91-a441-a17cdc39377b"/> + </requester> + <insurance> + <reference value="Coverage/8431d0d9-9509-4e8a-87c3-7d9963dbb39b"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/output.json new file mode 100644 index 00000000..b801fcaf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/output.json @@ -0,0 +1,233 @@ +{ + "resourceType": "Parameters", + "id": "bb2d9706-2799-4d9e-a0a2-2a4c413c20fe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e9c0fbed-30d6-4923-b65e-00862db4a604", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/6b8b6b30-0823-4ba5-9d27-57307863d275" + }, + "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": "6b8b6b30-0823-4ba5-9d27-57307863d275", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "90ae98f6-7664-4bac-9169-1310a6cc13ba", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "68eb288a-3eb1-4c56-8936-6f4f7266cfd3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7b2ca3fe_7b2ca3fe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/output.xml new file mode 100644 index 00000000..a3f50a64 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_7b2ca3fe_7b2ca3fe/output.xml @@ -0,0 +1,236 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bb2d9706-2799-4d9e-a0a2-2a4c413c20fe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.800.69"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e9c0fbed-30d6-4923-b65e-00862db4a604"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-04"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:13061707"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6b8b6b30-0823-4ba5-9d27-57307863d275"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6b8b6b30-0823-4ba5-9d27-57307863d275"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="29470620"/> + </coding> + <text value="Aceternin"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="90ae98f6-7664-4bac-9169-1310a6cc13ba"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="711020854"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Schraßer"/> + <telecom> + <system value="phone"/> + <value value="(0340) 561450343"/> + </telecom> + <telecom> + <system value="email"/> + <value value="saphira.schaffarzik@jungbluth.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Am Arenzberg 46b"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="46b"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Am Arenzberg"/> + </extension> + </line> + <city value="Jessicafeld"/> + <postalCode value="12141"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="68eb288a-3eb1-4c56-8936-6f4f7266cfd3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="616562658"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Dr. Schraßer"/> + <family value="Schraßer"/> + <given value="Dr."/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/output.json deleted file mode 100644 index 7fde1c9e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "bef761bd-523a-4178-a38e-6949f4e871eb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "6d2925fa-f904-4d3b-9401-22e7ba8fc3ec", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/fe38cec6-5616-40b9-9205-3f4a53f274df" - }, - "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": "fe38cec6-5616-40b9-9205-3f4a53f274df", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "286cbc8c-cf54-47ad-85c8-06fd6b50af92", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "22e4f33a-820a-4b2d-bf23-47df972d5a76", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/output.xml deleted file mode 100644 index 21f6c4dc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bef761bd-523a-4178-a38e-6949f4e871eb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.010.12"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6d2925fa-f904-4d3b-9401-22e7ba8fc3ec"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2022-05-20"/> - <end value="2022-06-30"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/fe38cec6-5616-40b9-9205-3f4a53f274df"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fe38cec6-5616-40b9-9205-3f4a53f274df"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="286cbc8c-cf54-47ad-85c8-06fd6b50af92"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="22e4f33a-820a-4b2d-bf23-47df972d5a76"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b/output.json new file mode 100644 index 00000000..c0625009 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "a4c06c47-5fc4-4c01-ae18-d99fc3883a68", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1f9843e3-a2b3-4bb7-b216-2c977c4e45b4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/1a274649-9121-4dba-9d2c-7ce420decd92" + }, + "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": "1a274649-9121-4dba-9d2c-7ce420decd92", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "72f4bc84-a557-4ced-a361-64b844e1b03b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7b061daa-83fa-427a-b016-b17b486ae5cb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c44ddc5b_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b/output.xml new file mode 100644 index 00000000..8d3e9402 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e_c44ddc5b_c44ddc5b/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a4c06c47-5fc4-4c01-ae18-d99fc3883a68"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1f9843e3-a2b3-4bb7-b216-2c977c4e45b4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-05-20"/> + <end value="2022-06-30"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1a274649-9121-4dba-9d2c-7ce420decd92"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1a274649-9121-4dba-9d2c-7ce420decd92"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="72f4bc84-a557-4ced-a361-64b844e1b03b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7b061daa-83fa-427a-b016-b17b486ae5cb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.json index 9ec7382f..a346c90d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "7272fb21-b558-4855-8bd8-65f1d01322a4", + "id": "37100c64-773a-4090-860b-69508e0e8116", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "4a2632e2-0a13-45e2-a57e-e1c160e7486e", + "id": "f1f53be5-a230-4d09-816b-2b1291180c2e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -55,7 +55,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/db0e5e45-e5a6-4a20-9eda-1c81c1813157" + "reference": "Medication/c18fdb2c-e360-4158-bc92-347e76ca7eca" }, "subject": { "identifier": { @@ -79,7 +79,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "db0e5e45-e5a6-4a20-9eda-1c81c1813157", + "id": "c18fdb2c-e360-4158-bc92-347e76ca7eca", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -114,7 +114,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "149b60ca-7e32-4c05-86f4-bbfe219a933e", + "id": "e48cf593-45fc-410a-9e09-d87efa6a36b4", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -179,7 +179,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "398bfe45-b6cd-4ce9-af28-a391c0fb2931", + "id": "44a1887a-c36a-4d9d-a3a8-d3173de1645b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.xml index f297df6a..23e3f763 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="7272fb21-b558-4855-8bd8-65f1d01322a4"/> + <id value="37100c64-773a-4090-860b-69508e0e8116"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4a2632e2-0a13-45e2-a57e-e1c160e7486e"/> + <id value="f1f53be5-a230-4d09-816b-2b1291180c2e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -54,7 +54,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/db0e5e45-e5a6-4a20-9eda-1c81c1813157"/> + <reference value="Medication/c18fdb2c-e360-4158-bc92-347e76ca7eca"/> </medicationReference> <subject> <identifier> @@ -80,7 +80,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="db0e5e45-e5a6-4a20-9eda-1c81c1813157"/> + <id value="c18fdb2c-e360-4158-bc92-347e76ca7eca"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -116,7 +116,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="149b60ca-7e32-4c05-86f4-bbfe219a933e"/> + <id value="e48cf593-45fc-410a-9e09-d87efa6a36b4"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -184,7 +184,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="398bfe45-b6cd-4ce9-af28-a391c0fb2931"/> + <id value="44a1887a-c36a-4d9d-a3a8-d3173de1645b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/input.xml new file mode 100644 index 00000000..ae66cfbc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c44ddc5b-21f5-4ce3-995d-ab5ca2633154"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/a77cc2f2-5574-4292-b1b5-2633b7989970"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a77cc2f2-5574-4292-b1b5-2633b7989970"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/00a18271-c4fd-40b6-93a2-d913e51dded6"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/00a18271-c4fd-40b6-93a2-d913e51dded6"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="00a18271-c4fd-40b6-93a2-d913e51dded6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2022-05-20"/> + <end value="2022-06-30"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/output.json new file mode 100644 index 00000000..bd3a93b0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "dd905dc5-c779-4c74-9b90-cf2e85db330c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "067d47f3-13df-44a9-8695-492b4130be96", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/e602406c-16aa-4627-8d39-bc395632f2e0" + }, + "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": "e602406c-16aa-4627-8d39-bc395632f2e0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1b5538a5-d5fc-47b2-a271-c651884ebb74", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6f6349a8-3e7f-4af5-bb4d-5eb5602be25a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c44ddc5b_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/output.xml new file mode 100644 index 00000000..f3da7a50 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_c44ddc5b_c44ddc5b/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dd905dc5-c779-4c74-9b90-cf2e85db330c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="067d47f3-13df-44a9-8695-492b4130be96"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-05-20"/> + <end value="2022-06-30"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e602406c-16aa-4627-8d39-bc395632f2e0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e602406c-16aa-4627-8d39-bc395632f2e0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1b5538a5-d5fc-47b2-a271-c651884ebb74"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6f6349a8-3e7f-4af5-bb4d-5eb5602be25a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.json index 6cd55ce1..d6c2d8bd 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "8479ad9c-a3f7-4f64-845e-4489c5213b1b", + "id": "116fdc66-3477-4e8f-acc0-4c38476aa177", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "cac272c6-2be6-4544-a315-ff17f5f175b3", + "id": "e7180fe5-b427-452a-a0b5-67f1e7ff5139", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -55,7 +55,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/8bbd214e-2480-4835-9cf7-08bed9b57a90" + "reference": "Medication/e4fc36cd-8797-4c2d-b189-b2a867c65ce3" }, "subject": { "identifier": { @@ -79,7 +79,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "8bbd214e-2480-4835-9cf7-08bed9b57a90", + "id": "e4fc36cd-8797-4c2d-b189-b2a867c65ce3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -114,7 +114,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "c7d804f5-62cd-4c55-9c38-71437c8cb33a", + "id": "4cd00361-c803-4800-8a4a-4bf85fba854f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -179,7 +179,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "b4a400a2-4dca-48b3-a5d9-dec63fad35fa", + "id": "e7f9c55f-728a-420e-9a59-d53a4f7262b8", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.xml index 2c6e5de6..f7dd5d99 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="8479ad9c-a3f7-4f64-845e-4489c5213b1b"/> + <id value="116fdc66-3477-4e8f-acc0-4c38476aa177"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="cac272c6-2be6-4544-a315-ff17f5f175b3"/> + <id value="e7180fe5-b427-452a-a0b5-67f1e7ff5139"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -54,7 +54,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/8bbd214e-2480-4835-9cf7-08bed9b57a90"/> + <reference value="Medication/e4fc36cd-8797-4c2d-b189-b2a867c65ce3"/> </medicationReference> <subject> <identifier> @@ -80,7 +80,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="8bbd214e-2480-4835-9cf7-08bed9b57a90"/> + <id value="e4fc36cd-8797-4c2d-b189-b2a867c65ce3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -116,7 +116,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="c7d804f5-62cd-4c55-9c38-71437c8cb33a"/> + <id value="4cd00361-c803-4800-8a4a-4bf85fba854f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -184,7 +184,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b4a400a2-4dca-48b3-a5d9-dec63fad35fa"/> + <id value="e7f9c55f-728a-420e-9a59-d53a4f7262b8"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3_7031f7f3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3_7031f7f3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3_7031f7f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3_7031f7f3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3_7031f7f3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3_7031f7f3/output.json new file mode 100644 index 00000000..ebbe308c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3_7031f7f3/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "509554b4-fdc0-4447-860b-82fd0fff7753", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "46d0e3c6-09d9-4a94-84ce-8715291cd6ca", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/833cb427-8524-4c63-9e8f-1d09aa14d04d" + }, + "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": "833cb427-8524-4c63-9e8f-1d09aa14d04d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7c9c082c-a3d8-46bf-b220-49da785e636e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9118fa29-004a-45ba-bb21-fe0a3f792eef", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7031f7f3_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3_7031f7f3/output.xml new file mode 100644 index 00000000..3a1ab85d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_7031f7f3_7031f7f3/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="509554b4-fdc0-4447-860b-82fd0fff7753"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="46d0e3c6-09d9-4a94-84ce-8715291cd6ca"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-06-15"/> + <end value="2022-09-30"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/833cb427-8524-4c63-9e8f-1d09aa14d04d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="833cb427-8524-4c63-9e8f-1d09aa14d04d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7c9c082c-a3d8-46bf-b220-49da785e636e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9118fa29-004a-45ba-bb21-fe0a3f792eef"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/output.json deleted file mode 100644 index 8bb0bc3b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "878f3719-1fc6-4bfb-b3ed-6a03530b66b8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "2a172e89-ed8a-4471-9d6a-b5733722672f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/c900587b-5485-4508-9a25-db6e8a8bc578" - }, - "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": "c900587b-5485-4508-9a25-db6e8a8bc578", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "43377148-5cc0-42c9-8771-90a998df4de2", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "1cff1592-480a-4b26-8092-b2c4445a8b59", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/output.xml deleted file mode 100644 index c2d54a8c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="878f3719-1fc6-4bfb-b3ed-6a03530b66b8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.015.94"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2a172e89-ed8a-4471-9d6a-b5733722672f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="2"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2022-06-15"/> - <end value="2022-09-30"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/c900587b-5485-4508-9a25-db6e8a8bc578"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c900587b-5485-4508-9a25-db6e8a8bc578"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="43377148-5cc0-42c9-8771-90a998df4de2"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1cff1592-480a-4b26-8092-b2c4445a8b59"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/input.xml new file mode 100644 index 00000000..79301704 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7031f7f3-cf51-4e77-82d7-b9bdb0a5959f"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/d9e03f5a-9b53-4f21-b0d6-c7e86fdee0c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d9e03f5a-9b53-4f21-b0d6-c7e86fdee0c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/68794d6d-2b05-4d5e-aaf1-49b4b6430104"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/68794d6d-2b05-4d5e-aaf1-49b4b6430104"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="68794d6d-2b05-4d5e-aaf1-49b4b6430104"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2022-06-15"/> + <end value="2022-09-30"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/output.json new file mode 100644 index 00000000..8ff5f3dc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "6dac15c8-0b6a-4bb3-9191-6b830c28e5ab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6e3b5201-6ed7-4a70-b47b-a0792f78b93d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/b3ed9790-7c67-468d-bcc6-cc6e9d701a45" + }, + "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": "b3ed9790-7c67-468d-bcc6-cc6e9d701a45", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6d13164e-f165-4dd3-9b79-7ce641178d94", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "480cf903-bd31-4f45-9fdc-340f6b96350f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7031f7f3_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/output.xml new file mode 100644 index 00000000..41aec0be --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14_7031f7f3_7031f7f3/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6dac15c8-0b6a-4bb3-9191-6b830c28e5ab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6e3b5201-6ed7-4a70-b47b-a0792f78b93d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-06-15"/> + <end value="2022-09-30"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b3ed9790-7c67-468d-bcc6-cc6e9d701a45"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b3ed9790-7c67-468d-bcc6-cc6e9d701a45"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6d13164e-f165-4dd3-9b79-7ce641178d94"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="480cf903-bd31-4f45-9fdc-340f6b96350f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/output.json deleted file mode 100644 index 5013b067..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "4a0d8117-6fc9-47f6-b7a1-4f68179d5f83", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "e884c9f9-548e-491d-b251-97954139cb08", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/082d4956-5d08-4376-917a-f39bf19b90c4" - }, - "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": "082d4956-5d08-4376-917a-f39bf19b90c4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fb90ffad-03ba-4519-87e2-7bbf1e2d8afc", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "2f3a2727-a639-43f9-8f91-add765262652", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/output.xml deleted file mode 100644 index e1297471..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4a0d8117-6fc9-47f6-b7a1-4f68179d5f83"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.016.91"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e884c9f9-548e-491d-b251-97954139cb08"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="3"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2022-09-15"/> - <end value="2022-12-31"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/082d4956-5d08-4376-917a-f39bf19b90c4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="082d4956-5d08-4376-917a-f39bf19b90c4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="fb90ffad-03ba-4519-87e2-7bbf1e2d8afc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2f3a2727-a639-43f9-8f91-add765262652"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0_f70585e0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0_f70585e0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0_f70585e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0_f70585e0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0_f70585e0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0_f70585e0/output.json new file mode 100644 index 00000000..cb9f3dcd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0_f70585e0/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "4b109829-4314-4d30-ab85-a275e425fdfb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "59f3f3ca-ebc1-4b01-bac0-ba2f37562b6f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/4d8c942f-e1cc-44ba-9439-bc922203f1a2" + }, + "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": "4d8c942f-e1cc-44ba-9439-bc922203f1a2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c719aa68-a255-4bdd-85ac-f4208b4fb523", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "186d2c8a-9a50-4601-9023-2a5a5517d7a7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f70585e0_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0_f70585e0/output.xml new file mode 100644 index 00000000..a2482123 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944_f70585e0_f70585e0/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4b109829-4314-4d30-ab85-a275e425fdfb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="59f3f3ca-ebc1-4b01-bac0-ba2f37562b6f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-09-15"/> + <end value="2022-12-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4d8c942f-e1cc-44ba-9439-bc922203f1a2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4d8c942f-e1cc-44ba-9439-bc922203f1a2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c719aa68-a255-4bdd-85ac-f4208b4fb523"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="186d2c8a-9a50-4601-9023-2a5a5517d7a7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.json index c5f76209..0175aa04 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c1d4aaf1-7819-45a5-aa91-f3f3de59feae", + "id": "cba7a9c8-ead0-480b-a893-410724570be8", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "eafa6045-eb7c-47a9-aabc-370bf57db30a", + "id": "5cb64a7e-7336-469d-8d43-6eaba98eca58", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -55,7 +55,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/1564482b-650b-4e8d-ad6f-015b1f2dd452" + "reference": "Medication/b8e598c9-a1f6-48b2-b2db-cd2c850dc961" }, "subject": { "identifier": { @@ -79,7 +79,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "1564482b-650b-4e8d-ad6f-015b1f2dd452", + "id": "b8e598c9-a1f6-48b2-b2db-cd2c850dc961", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -114,7 +114,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "ac1a6245-72cf-482f-8c88-2f2e6c27fcfc", + "id": "7fa5ac7d-3121-4786-91f3-a61990bc13ff", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -179,7 +179,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "2ee50348-c2aa-4679-b2d2-7e22bd95b4d4", + "id": "4feda0f3-5320-43db-b625-23d6f5666476", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.xml index 3d90028b..8e71ad1b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c1d4aaf1-7819-45a5-aa91-f3f3de59feae"/> + <id value="cba7a9c8-ead0-480b-a893-410724570be8"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="eafa6045-eb7c-47a9-aabc-370bf57db30a"/> + <id value="5cb64a7e-7336-469d-8d43-6eaba98eca58"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -54,7 +54,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/1564482b-650b-4e8d-ad6f-015b1f2dd452"/> + <reference value="Medication/b8e598c9-a1f6-48b2-b2db-cd2c850dc961"/> </medicationReference> <subject> <identifier> @@ -80,7 +80,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="1564482b-650b-4e8d-ad6f-015b1f2dd452"/> + <id value="b8e598c9-a1f6-48b2-b2db-cd2c850dc961"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -116,7 +116,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="ac1a6245-72cf-482f-8c88-2f2e6c27fcfc"/> + <id value="7fa5ac7d-3121-4786-91f3-a61990bc13ff"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -184,7 +184,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2ee50348-c2aa-4679-b2d2-7e22bd95b4d4"/> + <id value="4feda0f3-5320-43db-b625-23d6f5666476"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/input.xml new file mode 100644 index 00000000..3a97f315 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="f70585e0-82f9-4d3d-b248-94504ccf6a66"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/1868bb7c-c1a6-48a6-a327-05ff8d24c64a"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1868bb7c-c1a6-48a6-a327-05ff8d24c64a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/76b5767d-55a5-4233-8f85-e15a24a5193a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/76b5767d-55a5-4233-8f85-e15a24a5193a"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="76b5767d-55a5-4233-8f85-e15a24a5193a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2022-09-15"/> + <end value="2022-12-31"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/output.json new file mode 100644 index 00000000..316d8b39 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "35a6a729-365f-4dae-9480-a567e653fbc8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "66157e34-2183-4812-a239-645d971e0f5e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/2d8a470c-17a5-4682-a6fd-e61f291f9213" + }, + "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": "2d8a470c-17a5-4682-a6fd-e61f291f9213", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1f56e4f8-bc15-449d-b356-63f68498ff97", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8244c130-d831-4c2a-a142-422edb314a8e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f70585e0_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/output.xml new file mode 100644 index 00000000..a4c46f60 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_f70585e0_f70585e0/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="35a6a729-365f-4dae-9480-a567e653fbc8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="66157e34-2183-4812-a239-645d971e0f5e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-09-15"/> + <end value="2022-12-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2d8a470c-17a5-4682-a6fd-e61f291f9213"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2d8a470c-17a5-4682-a6fd-e61f291f9213"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1f56e4f8-bc15-449d-b356-63f68498ff97"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8244c130-d831-4c2a-a142-422edb314a8e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.json index 8536274d..91f2f45d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "b1731577-b4f9-4757-a8b2-6b8e011e3f22", + "id": "fc5116f8-ab96-4af3-801c-5bd4c523985c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "6bb2edca-5ea1-4c3a-8c43-d3d0eae12423", + "id": "99453773-8c77-4c82-b5f4-2d68b83a93d9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -54,7 +54,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/e909c391-a892-42ca-9e84-84837967a022" + "reference": "Medication/5facadee-6b7b-411b-b3d1-755b11a93c05" }, "subject": { "identifier": { @@ -78,7 +78,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "e909c391-a892-42ca-9e84-84837967a022", + "id": "5facadee-6b7b-411b-b3d1-755b11a93c05", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -113,7 +113,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "61a4e391-3fd1-48a7-b5ef-cbee52bdffc7", + "id": "65948fb5-211d-4458-9a54-549a33cee29f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -178,7 +178,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "03fa573b-9aac-4c16-b241-eb475ec43645", + "id": "ce0bc886-7b0e-4df4-b63b-1cefcdd9cef8", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.xml index c5863906..28df24ba 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="b1731577-b4f9-4757-a8b2-6b8e011e3f22"/> + <id value="fc5116f8-ab96-4af3-801c-5bd4c523985c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6bb2edca-5ea1-4c3a-8c43-d3d0eae12423"/> + <id value="99453773-8c77-4c82-b5f4-2d68b83a93d9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -53,7 +53,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/e909c391-a892-42ca-9e84-84837967a022"/> + <reference value="Medication/5facadee-6b7b-411b-b3d1-755b11a93c05"/> </medicationReference> <subject> <identifier> @@ -79,7 +79,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="e909c391-a892-42ca-9e84-84837967a022"/> + <id value="5facadee-6b7b-411b-b3d1-755b11a93c05"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -115,7 +115,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="61a4e391-3fd1-48a7-b5ef-cbee52bdffc7"/> + <id value="65948fb5-211d-4458-9a54-549a33cee29f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -183,7 +183,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="03fa573b-9aac-4c16-b241-eb475ec43645"/> + <id value="ce0bc886-7b0e-4df4-b63b-1cefcdd9cef8"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c_15da065c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c_15da065c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c_15da065c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c_15da065c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c_15da065c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c_15da065c/output.json new file mode 100644 index 00000000..f03dfcd2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c_15da065c/output.json @@ -0,0 +1,224 @@ +{ + "resourceType": "Parameters", + "id": "3fa368f3-b1e0-4f9b-9f6a-345a4e883fb0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5506d84c-36a9-4e2d-8de5-bd71b383c8cc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/8fe4b933-3fe1-4373-bebf-accff576c6b2" + }, + "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": "8fe4b933-3fe1-4373-bebf-accff576c6b2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ed6804a0-3c88-4c52-a79a-1c99a713d109", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "da16c1de-cc2c-44fe-b757-fa653af18fd1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_15da065c_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c_15da065c/output.xml new file mode 100644 index 00000000..c785d719 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_15da065c_15da065c/output.xml @@ -0,0 +1,229 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3fa368f3-b1e0-4f9b-9f6a-345a4e883fb0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5506d84c-36a9-4e2d-8de5-bd71b383c8cc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-12-01"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8fe4b933-3fe1-4373-bebf-accff576c6b2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8fe4b933-3fe1-4373-bebf-accff576c6b2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ed6804a0-3c88-4c52-a79a-1c99a713d109"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="da16c1de-cc2c-44fe-b757-fa653af18fd1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/output.json deleted file mode 100644 index 02347257..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/output.json +++ /dev/null @@ -1,224 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "60935382-7711-4e13-9455-5194350888ff", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "64120918-0416-4cf7-ad20-e376ab22e34e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/36a5be6e-d069-4102-bb98-4cb6f30ea2f4" - }, - "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": "36a5be6e-d069-4102-bb98-4cb6f30ea2f4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5235c4f0-5c31-4c31-8036-8dd8ecfd89eb", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "7fc3c337-9089-4f4d-8e8d-b5d992d3a989", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/output.xml deleted file mode 100644 index 67616bb1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c/output.xml +++ /dev/null @@ -1,229 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="60935382-7711-4e13-9455-5194350888ff"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.017.88"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="64120918-0416-4cf7-ad20-e376ab22e34e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2022-12-01"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/36a5be6e-d069-4102-bb98-4cb6f30ea2f4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="36a5be6e-d069-4102-bb98-4cb6f30ea2f4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5235c4f0-5c31-4c31-8036-8dd8ecfd89eb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7fc3c337-9089-4f4d-8e8d-b5d992d3a989"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/input.xml new file mode 100644 index 00000000..a5a20395 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/input.xml @@ -0,0 +1,407 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="15da065c-5b75-4acf-a2ba-1355de821d6e"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/f62c91e7-e280-4d32-961b-b07168ab47d7"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f62c91e7-e280-4d32-961b-b07168ab47d7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/1e923204-6866-4030-a460-2ce5bd9db26b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/1e923204-6866-4030-a460-2ce5bd9db26b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1e923204-6866-4030-a460-2ce5bd9db26b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2022-12-01"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/output.json new file mode 100644 index 00000000..f0c02716 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/output.json @@ -0,0 +1,224 @@ +{ + "resourceType": "Parameters", + "id": "2b5391c5-1069-48d5-b82b-4881dd64cb47", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e8b6fddb-16d1-40cc-9ae9-1334dc3cb004", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/6c655c99-75ce-4856-ba42-d65079583064" + }, + "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": "6c655c99-75ce-4856-ba42-d65079583064", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3901b9ab-9a21-4616-8a97-04c0443ff09c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "11d46a46-98f4-4568-a0d8-4a1a9471964d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_15da065c_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/output.xml new file mode 100644 index 00000000..bd23295c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c_15da065c_15da065c/output.xml @@ -0,0 +1,229 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2b5391c5-1069-48d5-b82b-4881dd64cb47"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e8b6fddb-16d1-40cc-9ae9-1334dc3cb004"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2022-12-01"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6c655c99-75ce-4856-ba42-d65079583064"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6c655c99-75ce-4856-ba42-d65079583064"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3901b9ab-9a21-4616-8a97-04c0443ff09c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="11d46a46-98f4-4568-a0d8-4a1a9471964d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/output.json deleted file mode 100644 index ec35aac8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/output.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "89d731d1-bdc4-4b58-b1e0-5269f4b87f2b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "cdaac3a2-3cf4-457d-bd15-6ef97b1f1aa5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/9ce9d45d-d54a-48c8-83e7-c45287f4cdc4" - }, - "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": "9ce9d45d-d54a-48c8-83e7-c45287f4cdc4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "58726d8d-3bc1-4daf-bea5-4872c9bb1110", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "9ce155bb-8ecf-4b4b-9c47-009edf140706", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/output.xml deleted file mode 100644 index b5f24d99..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="89d731d1-bdc4-4b58-b1e0-5269f4b87f2b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.003.33"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-03"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="cdaac3a2-3cf4-457d-bd15-6ef97b1f1aa5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/9ce9d45d-d54a-48c8-83e7-c45287f4cdc4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-03"/> - <dosageInstruction> - <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9ce9d45d-d54a-48c8-83e7-c45287f4cdc4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03386388"/> - </coding> - <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SUP"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="58726d8d-3bc1-4daf-bea5-4872c9bb1110"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="687777700"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Kinderarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="09411234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Yorckstraße 15"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="15"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Yorckstraße"/> - </extension> - </line> - <line value="Hinterhaus"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Hinterhaus"/> - </extension> - </line> - <city value="Regensburg"/> - <postalCode value="93049"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="9ce155bb-8ecf-4b4b-9c47-009edf140706"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="456456534"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Maximilian Weber"/> - <family value="Weber"/> - <given value="Maximilian"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01_690a7f01/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01_690a7f01/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01_690a7f01/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01_690a7f01/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01_690a7f01/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01_690a7f01/output.json new file mode 100644 index 00000000..54c8023e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01_690a7f01/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "07912d35-2399-4e11-a585-12ea89e0d79d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "95a7e5bc-9eb0-4491-ac21-9d1e481b588a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c869fc3d-9240-42fc-aa8e-e228ce7c368d" + }, + "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": "c869fc3d-9240-42fc-aa8e-e228ce7c368d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "20a04f99-433c-4dca-9117-ccb497500500", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "764a101a-0fee-43b3-bda0-3309e6e5affa", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_690a7f01_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01_690a7f01/output.xml new file mode 100644 index 00000000..0add7a03 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537_690a7f01_690a7f01/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="07912d35-2399-4e11-a585-12ea89e0d79d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="95a7e5bc-9eb0-4491-ac21-9d1e481b588a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c869fc3d-9240-42fc-aa8e-e228ce7c368d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c869fc3d-9240-42fc-aa8e-e228ce7c368d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUP"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="20a04f99-433c-4dca-9117-ccb497500500"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="764a101a-0fee-43b3-bda0-3309e6e5affa"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.json index 4adbedfd..dbddc4d1 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "e42901ab-bb44-4716-bd30-584f33856961", + "id": "2bef0ceb-36e6-4dc9-a621-376e7229a6a1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "5ad95ce9-e1e2-4726-b1a3-c90ee6db941f", + "id": "601f6041-7e2f-432c-8a99-6ae8a1ac562c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/8053f0cb-97fa-4b6d-ba0f-d1cc70451c0c" + "reference": "Medication/ab3fbb07-a3bf-4d57-9396-a902afdad567" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "8053f0cb-97fa-4b6d-ba0f-d1cc70451c0c", + "id": "ab3fbb07-a3bf-4d57-9396-a902afdad567", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -95,7 +95,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e6bec2cc-e1b7-45c1-83ca-8cef6be67a62", + "id": "a0f8ed72-bc98-4662-9c71-22d2f5e0d625", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "d1b3b660-49e1-4c25-a091-37c75d563271", + "id": "6c2011fd-55d7-4c42-9342-080419c3e959", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.xml index 0e7472c0..adea2fd9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="e42901ab-bb44-4716-bd30-584f33856961"/> + <id value="2bef0ceb-36e6-4dc9-a621-376e7229a6a1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5ad95ce9-e1e2-4726-b1a3-c90ee6db941f"/> + <id value="601f6041-7e2f-432c-8a99-6ae8a1ac562c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/8053f0cb-97fa-4b6d-ba0f-d1cc70451c0c"/> + <reference value="Medication/ab3fbb07-a3bf-4d57-9396-a902afdad567"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="8053f0cb-97fa-4b6d-ba0f-d1cc70451c0c"/> + <id value="ab3fbb07-a3bf-4d57-9396-a902afdad567"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -97,7 +97,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e6bec2cc-e1b7-45c1-83ca-8cef6be67a62"/> + <id value="a0f8ed72-bc98-4662-9c71-22d2f5e0d625"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -162,7 +162,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d1b3b660-49e1-4c25-a091-37c75d563271"/> + <id value="6c2011fd-55d7-4c42-9342-080419c3e959"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/input.xml new file mode 100644 index 00000000..bd9ea61c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/input.xml @@ -0,0 +1,379 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="690a7f01-058e-492a-b1dc-d6d8c8a30a59"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/8c5aad28-6029-452d-8f97-0bf213b1a0e3"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8c5aad28-6029-452d-8f97-0bf213b1a0e3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/e538cd5e-883e-4645-af3a-49352fece39b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/76696615-4c18-410e-bcf9-382590c6df3b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/e538cd5e-883e-4645-af3a-49352fece39b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e538cd5e-883e-4645-af3a-49352fece39b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="true"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a0da7cea-dd87-45ab-988d-0f7c26bd3d0b"/> + </medicationReference> + <subject> + <reference value="Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + </subject> + <authoredOn value="2021-04-03"/> + <requester> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + </requester> + <insurance> + <reference value="Coverage/76696615-4c18-410e-bcf9-382590c6df3b"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a0da7cea-dd87-45ab-988d-0f7c26bd3d0b"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a0da7cea-dd87-45ab-988d-0f7c26bd3d0b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUP"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119814"/> + </identifier> + <name> + <use value="official"/> + <family value="Klein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Klein"/> + </extension> + </family> + <given value="Teddy"/> + </name> + <birthDate value="2020-02-29"/> + <address> + <type value="both"/> + <line value="Roritzerstraße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Roritzerstraße"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93047"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <name> + <use value="official"/> + <family value="Weber"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Weber"/> + </extension> + </family> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Kinder- und Jugendmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/76696615-4c18-410e-bcf9-382590c6df3b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="76696615-4c18-410e-bcf9-382590c6df3b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108416214"/> + </identifier> + <display value="AOK Bayern Die Gesundh."/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/output.json new file mode 100644 index 00000000..30976afb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "1e1032b0-ff65-4150-b2b3-dc165db30957", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c7ab0ee3-14be-41aa-b018-8e06eda2bb5c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8f756dc0-fce4-4c81-b7dd-e21a57c4c8b2" + }, + "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": "8f756dc0-fce4-4c81-b7dd-e21a57c4c8b2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "180a2300-46d9-42b4-92b2-5f4363295fc8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "11255499-4d2e-4f6f-8072-a4fc961be8a4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_690a7f01_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/output.xml new file mode 100644 index 00000000..5d411a71 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_690a7f01_690a7f01/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1e1032b0-ff65-4150-b2b3-dc165db30957"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c7ab0ee3-14be-41aa-b018-8e06eda2bb5c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8f756dc0-fce4-4c81-b7dd-e21a57c4c8b2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8f756dc0-fce4-4c81-b7dd-e21a57c4c8b2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUP"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="180a2300-46d9-42b4-92b2-5f4363295fc8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="11255499-4d2e-4f6f-8072-a4fc961be8a4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.json index e333d895..f8a42470 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c517f834-f47a-4668-be47-b54a122c56cf", + "id": "0b18d601-fe14-4724-b91d-9cc808ef7aed", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "99c0d74d-9639-4ba8-b4b7-83769f269802", + "id": "280b3cd5-672b-48f1-9c0b-c5e2a282c799", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/caf15093-4bf0-4342-8b87-806958f6073f" + "reference": "Medication/128564bf-a90d-4086-aeec-68cf151de051" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "caf15093-4bf0-4342-8b87-806958f6073f", + "id": "128564bf-a90d-4086-aeec-68cf151de051", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "aa9e5c45-8b3e-46ca-805f-af420fff27d4", + "id": "970ea848-47ce-47dd-a89b-1c9817c436b5", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -171,7 +171,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "9eb0b7d5-e3b1-44f8-abd7-7fd723c4d970", + "id": "9d662817-7071-4e9f-b56d-8cd1b980a838", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.xml index d50b058d..1d413817 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c517f834-f47a-4668-be47-b54a122c56cf"/> + <id value="0b18d601-fe14-4724-b91d-9cc808ef7aed"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="99c0d74d-9639-4ba8-b4b7-83769f269802"/> + <id value="280b3cd5-672b-48f1-9c0b-c5e2a282c799"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/caf15093-4bf0-4342-8b87-806958f6073f"/> + <reference value="Medication/128564bf-a90d-4086-aeec-68cf151de051"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="caf15093-4bf0-4342-8b87-806958f6073f"/> + <id value="128564bf-a90d-4086-aeec-68cf151de051"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -110,7 +110,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="aa9e5c45-8b3e-46ca-805f-af420fff27d4"/> + <id value="970ea848-47ce-47dd-a89b-1c9817c436b5"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -174,7 +174,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="9eb0b7d5-e3b1-44f8-abd7-7fd723c4d970"/> + <id value="9d662817-7071-4e9f-b56d-8cd1b980a838"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7_14f3cff7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7_14f3cff7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7_14f3cff7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7_14f3cff7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7_14f3cff7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7_14f3cff7/output.json new file mode 100644 index 00000000..640b66c8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7_14f3cff7/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "836fdbd9-7762-45c5-950a-9dbf90eb99d6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fe4d440b-eb57-4781-9d60-7dbd545b3135", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6d8916ba-e6e7-4989-ac1a-022d7b50a99d" + }, + "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": "6d8916ba-e6e7-4989-ac1a-022d7b50a99d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "79e8ade3-f840-448c-be4c-1727e65e0ebe", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "84a86a9d-f312-40a4-866a-c9143ef1edf3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_14f3cff7_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7_14f3cff7/output.xml new file mode 100644 index 00000000..2a5ae8c7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_14f3cff7_14f3cff7/output.xml @@ -0,0 +1,220 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="836fdbd9-7762-45c5-950a-9dbf90eb99d6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fe4d440b-eb57-4781-9d60-7dbd545b3135"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6d8916ba-e6e7-4989-ac1a-022d7b50a99d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6d8916ba-e6e7-4989-ac1a-022d7b50a99d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="79e8ade3-f840-448c-be4c-1727e65e0ebe"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="84a86a9d-f312-40a4-866a-c9143ef1edf3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Mia Meyer"/> + <family value="Meyer"/> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/output.json deleted file mode 100644 index 152b2159..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/output.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "51abd53f-f3ce-4f11-bc5c-ea2cdef45bb4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "0010aa6e-1578-4952-8801-565ce8ba9f1c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/3afcfb6f-55d2-475f-bf66-a7ec58ed5748" - }, - "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": "3afcfb6f-55d2-475f-bf66-a7ec58ed5748", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1a142467-e936-48ce-9d74-5e2af5d766ed", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "4a3696fb-e4f8-4b66-8a93-2d0ff247fbd0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/output.xml deleted file mode 100644 index 884179e7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7/output.xml +++ /dev/null @@ -1,220 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="51abd53f-f3ce-4f11-bc5c-ea2cdef45bb4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.011.09"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-03"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0010aa6e-1578-4952-8801-565ce8ba9f1c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/3afcfb6f-55d2-475f-bf66-a7ec58ed5748"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-03"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3afcfb6f-55d2-475f-bf66-a7ec58ed5748"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="04773414"/> - </coding> - <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1a142467-e936-48ce-9d74-5e2af5d766ed"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="757299999"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Krankenhaus"/> - <telecom> - <system value="phone"/> - <value value="0309876543"/> - </telecom> - <telecom> - <system value="email"/> - <value value="krankenhaus@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Wegelystraße 3"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="3"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Wegelystraße"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4a3696fb-e4f8-4b66-8a93-2d0ff247fbd0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="159753527"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Mia Meyer"/> - <family value="Meyer"/> - <given value="Mia"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/input.xml new file mode 100644 index 00000000..c129adfd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="14f3cff7-f921-429e-98ca-c65dcb367ba9"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/8068fd3c-6eed-4b58-9840-c0661e48b6a9"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8068fd3c-6eed-4b58-9840-c0661e48b6a9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="04"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/fe73acaf-c683-460d-9961-3ae6f87068f2"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/fe73acaf-c683-460d-9961-3ae6f87068f2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fe73acaf-c683-460d-9961-3ae6f87068f2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/c1e7027e-3c5b-4e87-a10a-572676b92e22"/> + </medicationReference> + <subject> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </subject> + <authoredOn value="2021-04-03"/> + <requester> + <reference value="Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + </requester> + <insurance> + <reference value="Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/c1e7027e-3c5b-4e87-a10a-572676b92e22"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c1e7027e-3c5b-4e87-a10a-572676b92e22"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="c9e9eeb8-e397-4d62-a977-656a18027f90"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="P223331978"/> + </identifier> + <name> + <use value="official"/> + <family value="Pan"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Pan"/> + </extension> + </family> + <given value="Peter"/> + </name> + <birthDate value="1972"/> + <address> + <type value="both"/> + <line value="Siebengebirgsstraße 59"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="59"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siebengebirgsstraße"/> + </extension> + </line> + <line value="33. Obergeschoss - Hinterhof, halbrechts"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="33. Obergeschoss - Hinterhof, halbrechts"/> + </extension> + </line> + <city value="Königswinter"/> + <postalCode value="53639"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <name> + <use value="official"/> + <family value="Meyer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Meyer"/> + </extension> + </family> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin der Onkologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101377508"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/output.json new file mode 100644 index 00000000..f9a46680 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "6fed5164-93ea-41a6-9315-4b2f92d802c4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "093f7d08-97ba-4275-bca8-fffea87af727", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0098f2d0-1444-46db-9a19-f88455572cb8" + }, + "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": "0098f2d0-1444-46db-9a19-f88455572cb8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5c2db0b5-31c5-4515-ab9f-39f940d1aa67", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "64d49293-6196-4140-9ad0-53aa718e787a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_14f3cff7_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/output.xml new file mode 100644 index 00000000..710fa6ee --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66_14f3cff7_14f3cff7/output.xml @@ -0,0 +1,220 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6fed5164-93ea-41a6-9315-4b2f92d802c4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="093f7d08-97ba-4275-bca8-fffea87af727"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0098f2d0-1444-46db-9a19-f88455572cb8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0098f2d0-1444-46db-9a19-f88455572cb8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5c2db0b5-31c5-4515-ab9f-39f940d1aa67"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="64d49293-6196-4140-9ad0-53aa718e787a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Mia Meyer"/> + <family value="Meyer"/> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/output.json deleted file mode 100644 index bf260019..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/output.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "9b292344-510d-4393-b7c3-dd5e70eba022", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "dabf85ad-0de6-4d8f-9307-f5110b0ad883", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/55290623-7eea-4386-b3a5-c508fe9033be" - }, - "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": "55290623-7eea-4386-b3a5-c508fe9033be", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e5d3a479-f4fe-4031-9a1d-e7bb1209a5a8", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "25f3950f-4d35-4cd6-b516-146e6dc44a56", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/output.xml deleted file mode 100644 index f298baee..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/output.xml +++ /dev/null @@ -1,221 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9b292344-510d-4393-b7c3-dd5e70eba022"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.012.06"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-03"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="dabf85ad-0de6-4d8f-9307-f5110b0ad883"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/55290623-7eea-4386-b3a5-c508fe9033be"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-03"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="55290623-7eea-4386-b3a5-c508fe9033be"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01256262"/> - </coding> - <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="98"/> - </extension> - <unit value="St"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e5d3a479-f4fe-4031-9a1d-e7bb1209a5a8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="25f3950f-4d35-4cd6-b516-146e6dc44a56"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92/output.json new file mode 100644 index 00000000..40861003 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "e77c1e8b-7d8c-472e-9349-0cead989fc5f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "531b6fef-5cc9-46b8-8cd4-4523b7dfe0e0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/48df2592-7ad7-477e-b283-7e4e91ddc993" + }, + "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": "48df2592-7ad7-477e-b283-7e4e91ddc993", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f75bb7ca-f147-4f5d-8b66-1f06001311c9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9d0bd166-56e9-4c90-99b3-98abae0dc432", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ee9d3b92_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92/output.xml new file mode 100644 index 00000000..029487f5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c_ee9d3b92_ee9d3b92/output.xml @@ -0,0 +1,221 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e77c1e8b-7d8c-472e-9349-0cead989fc5f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="531b6fef-5cc9-46b8-8cd4-4523b7dfe0e0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/48df2592-7ad7-477e-b283-7e4e91ddc993"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="48df2592-7ad7-477e-b283-7e4e91ddc993"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01256262"/> + </coding> + <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f75bb7ca-f147-4f5d-8b66-1f06001311c9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9d0bd166-56e9-4c90-99b3-98abae0dc432"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.json index 9ba12bb7..12a78765 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "67fc9c5b-293c-4535-9e81-fe773528dd1c", + "id": "ae778fa1-afdf-431d-8ffe-f412bc0f0fb5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "92d9f49e-535d-4b97-b6f2-b2c6f37e97c4", + "id": "363614a8-7a9f-4bb3-983f-083c7404be90", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/55e74dec-a419-43fa-a0c1-c4e187644ccf" + "reference": "Medication/809e887c-7530-4b5f-a2c1-f28bd90f50a1" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "55e74dec-a419-43fa-a0c1-c4e187644ccf", + "id": "809e887c-7530-4b5f-a2c1-f28bd90f50a1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d9dc6587-d645-47ff-910a-ed38e4d6212d", + "id": "d91aaea3-e643-4361-8bc9-ccd427cb9382", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -171,7 +171,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "945e5743-7291-42e8-b32a-db60c1050787", + "id": "60457ad1-7717-4702-98a0-bfe206c1508a", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.xml index 4eec1465..81727f99 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="67fc9c5b-293c-4535-9e81-fe773528dd1c"/> + <id value="ae778fa1-afdf-431d-8ffe-f412bc0f0fb5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="92d9f49e-535d-4b97-b6f2-b2c6f37e97c4"/> + <id value="363614a8-7a9f-4bb3-983f-083c7404be90"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/55e74dec-a419-43fa-a0c1-c4e187644ccf"/> + <reference value="Medication/809e887c-7530-4b5f-a2c1-f28bd90f50a1"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="55e74dec-a419-43fa-a0c1-c4e187644ccf"/> + <id value="809e887c-7530-4b5f-a2c1-f28bd90f50a1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -107,7 +107,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d9dc6587-d645-47ff-910a-ed38e4d6212d"/> + <id value="d91aaea3-e643-4361-8bc9-ccd427cb9382"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -175,7 +175,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="945e5743-7291-42e8-b32a-db60c1050787"/> + <id value="60457ad1-7717-4702-98a0-bfe206c1508a"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/input.xml new file mode 100644 index 00000000..8fb5aa07 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/input.xml @@ -0,0 +1,397 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ee9d3b92-7667-4dfe-8331-f768b2eaca3c"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/ccb7da6a-dcd7-45d1-926f-061c25222ddd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ccb7da6a-dcd7-45d1-926f-061c25222ddd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="10"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/07aca829-ef92-42a5-9163-778f2b06a82e"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/07aca829-ef92-42a5-9163-778f2b06a82e"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="07aca829-ef92-42a5-9163-778f2b06a82e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/cc81b7f8-c01d-446b-996b-2302abac9aa4"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2021-04-03"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/cc81b7f8-c01d-446b-996b-2302abac9aa4"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cc81b7f8-c01d-446b-996b-2302abac9aa4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01256262"/> + </coding> + <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="98"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin: Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/output.json new file mode 100644 index 00000000..2e0b74d5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "9475dcd6-3ec6-4f6b-90ce-56b4ecb84d53", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f9726335-4c68-4daf-8da9-1a63a1e429cc", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5f910b5c-1fa4-499c-8dc4-ce23c4970960" + }, + "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": "5f910b5c-1fa4-499c-8dc4-ce23c4970960", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "937389e4-f956-4191-b5c3-9dc918db8b7d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ffb272ca-6503-4deb-9199-0238aa73a943", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ee9d3b92_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/output.xml new file mode 100644 index 00000000..3c3394e5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_ee9d3b92_ee9d3b92/output.xml @@ -0,0 +1,221 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9475dcd6-3ec6-4f6b-90ce-56b4ecb84d53"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f9726335-4c68-4daf-8da9-1a63a1e429cc"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5f910b5c-1fa4-499c-8dc4-ce23c4970960"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5f910b5c-1fa4-499c-8dc4-ce23c4970960"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01256262"/> + </coding> + <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="937389e4-f956-4191-b5c3-9dc918db8b7d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ffb272ca-6503-4deb-9199-0238aa73a943"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/output.json deleted file mode 100644 index 771c970b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/output.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "4500c74c-d11d-48d3-a8c8-6ba099335906", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "e2d5f732-311f-49e7-84bb-4aacc3f1d054", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/c1feaaab-c1d6-424d-a24b-3c73d060086b" - }, - "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": "c1feaaab-c1d6-424d-a24b-3c73d060086b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "af07710e-df00-494a-9437-48e7cecb1b8f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "6c9f3d62-e0f4-40a7-aefc-7ac0c3348986", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/output.xml deleted file mode 100644 index 9f0ad18f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/output.xml +++ /dev/null @@ -1,211 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4500c74c-d11d-48d3-a8c8-6ba099335906"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-03"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e2d5f732-311f-49e7-84bb-4aacc3f1d054"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/c1feaaab-c1d6-424d-a24b-3c73d060086b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-03"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c1feaaab-c1d6-424d-a24b-3c73d060086b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16332684"/> - </coding> - <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="af07710e-df00-494a-9437-48e7cecb1b8f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="722222200"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> - <telecom> - <system value="phone"/> - <value value="030741852963"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6c9f3d62-e0f4-40a7-aefc-7ac0c3348986"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="167761816"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Prof. Dr. med Elias Wagner"/> - <family value="Wagner"/> - <given value="Elias"/> - <prefix value="Prof. Dr. med"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b_753fff3b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b_753fff3b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b_753fff3b/output.json new file mode 100644 index 00000000..a0487aaa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b_753fff3b/output.json @@ -0,0 +1,209 @@ +{ + "resourceType": "Parameters", + "id": "d72e1902-0792-47b8-80d2-7767b38ec04e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1df6cedd-a773-424b-bc98-094227849d59", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4c1dbd24-2ec6-4378-8484-d20c34055edb" + }, + "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": "4c1dbd24-2ec6-4378-8484-d20c34055edb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ee858450-e9e0-4d97-9fbc-d022a16f8dfb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "23243bf6-ab76-414b-85b9-a383bd84bd6f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b_753fff3b/output.xml new file mode 100644 index 00000000..31951ed6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791_753fff3b_753fff3b/output.xml @@ -0,0 +1,211 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d72e1902-0792-47b8-80d2-7767b38ec04e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1df6cedd-a773-424b-bc98-094227849d59"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4c1dbd24-2ec6-4378-8484-d20c34055edb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4c1dbd24-2ec6-4378-8484-d20c34055edb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ee858450-e9e0-4d97-9fbc-d022a16f8dfb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="23243bf6-ab76-414b-85b9-a383bd84bd6f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.json index 16d8512e..74d7eb48 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "5b547071-0955-4857-ba54-d183977961f8", + "id": "780e6d30-0e4d-45a1-9edb-7e0c6c487951", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "c948ccc1-edc3-46c8-bc08-024aa31e7827", + "id": "4a195f8d-3168-49dc-b0f4-d0902a6e726e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/7bc124ee-5da3-4eb7-99d3-76cef9caa819" + "reference": "Medication/65a0e725-f1eb-421f-b5cd-a9839271f48d" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "7bc124ee-5da3-4eb7-99d3-76cef9caa819", + "id": "65a0e725-f1eb-421f-b5cd-a9839271f48d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "0162047d-448a-4013-b6c3-8b4e61af0c0f", + "id": "d166eae5-a1a7-4a0f-b0c5-d319addfa88f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -163,7 +163,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "a80bfb84-c659-42e3-9439-473d8b300242", + "id": "7446504d-953a-4f0d-9f91-fddb1e5fcab7", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.xml index 73f18133..1b4b5f0b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="5b547071-0955-4857-ba54-d183977961f8"/> + <id value="780e6d30-0e4d-45a1-9edb-7e0c6c487951"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c948ccc1-edc3-46c8-bc08-024aa31e7827"/> + <id value="4a195f8d-3168-49dc-b0f4-d0902a6e726e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/7bc124ee-5da3-4eb7-99d3-76cef9caa819"/> + <reference value="Medication/65a0e725-f1eb-421f-b5cd-a9839271f48d"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="7bc124ee-5da3-4eb7-99d3-76cef9caa819"/> + <id value="65a0e725-f1eb-421f-b5cd-a9839271f48d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="0162047d-448a-4013-b6c3-8b4e61af0c0f"/> + <id value="d166eae5-a1a7-4a0f-b0c5-d319addfa88f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -165,7 +165,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a80bfb84-c659-42e3-9439-473d8b300242"/> + <id value="7446504d-953a-4f0d-9f91-fddb1e5fcab7"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/input.xml new file mode 100644 index 00000000..d8d12e55 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/input.xml @@ -0,0 +1,384 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="753fff3b-5373-4f8d-aa22-852792e799d8"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/607046ff-f07a-4093-8880-e7961c0e0ca8"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="607046ff-f07a-4093-8880-e7961c0e0ca8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/06c35aa5-d009-436f-aaba-93d835a2fe72"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/53dff04a-fa41-45cf-81bc-ce62629917ad"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/53dff04a-fa41-45cf-81bc-ce62629917ad"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53dff04a-fa41-45cf-81bc-ce62629917ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/704db507-79b4-44a1-84b8-344255ad7e36"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2021-04-03"/> + <requester> + <reference value="Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/704db507-79b4-44a1-84b8-344255ad7e36"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="704db507-79b4-44a1-84b8-344255ad7e36"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1984-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <name> + <use value="official"/> + <family value="Wagner"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Wagner"/> + </extension> + </family> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Gynäkologie und Geburtshilfe"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/06c35aa5-d009-436f-aaba-93d835a2fe72"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="06c35aa5-d009-436f-aaba-93d835a2fe72"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/output.json new file mode 100644 index 00000000..4daae281 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/output.json @@ -0,0 +1,209 @@ +{ + "resourceType": "Parameters", + "id": "f1555374-70e8-4f43-9ff1-9ef90d9db051", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e1a5e3bd-7610-4abf-a8ab-d9584e78137f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4f37b11c-4331-41ff-b7b9-c4e3ab56d0c6" + }, + "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": "4f37b11c-4331-41ff-b7b9-c4e3ab56d0c6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d2962e40-1d7b-4622-9cb8-13f282cdfbb7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "dc41d4ec-fbd5-4668-b776-99f0c7e5adc4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/output.xml new file mode 100644 index 00000000..4e6ce470 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_753fff3b_753fff3b/output.xml @@ -0,0 +1,211 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f1555374-70e8-4f43-9ff1-9ef90d9db051"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e1a5e3bd-7610-4abf-a8ab-d9584e78137f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4f37b11c-4331-41ff-b7b9-c4e3ab56d0c6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4f37b11c-4331-41ff-b7b9-c4e3ab56d0c6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d2962e40-1d7b-4622-9cb8-13f282cdfbb7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dc41d4ec-fbd5-4668-b776-99f0c7e5adc4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.json index a88d05a2..c084e6ae 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "46440043-e5a2-4b45-befd-6e5b3d59ae45", + "id": "7bda163e-e81e-4e47-8aa7-19901ff75456", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "d644af15-9e9d-4535-a437-1b5cc8a63f08", + "id": "6248c799-c26a-4ac1-9dc6-b5f66594b8bd", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/11cc013d-5888-48a7-ae08-254433e65e80" + "reference": "Medication/886db295-a9e3-466d-95e6-7101957adfa9" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "11cc013d-5888-48a7-ae08-254433e65e80", + "id": "886db295-a9e3-466d-95e6-7101957adfa9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "b06102fb-4882-4ae4-b900-5939eb9c6159", + "id": "6fecd5ce-6899-405b-896d-536c2a76f748", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "552644ed-53b4-42ae-b056-7f29f6146563", + "id": "c2f04486-f11e-45d2-ab97-fe66633cab28", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.xml index 604d2e10..78c96ee5 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="46440043-e5a2-4b45-befd-6e5b3d59ae45"/> + <id value="7bda163e-e81e-4e47-8aa7-19901ff75456"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d644af15-9e9d-4535-a437-1b5cc8a63f08"/> + <id value="6248c799-c26a-4ac1-9dc6-b5f66594b8bd"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/11cc013d-5888-48a7-ae08-254433e65e80"/> + <reference value="Medication/886db295-a9e3-466d-95e6-7101957adfa9"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="11cc013d-5888-48a7-ae08-254433e65e80"/> + <id value="886db295-a9e3-466d-95e6-7101957adfa9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="b06102fb-4882-4ae4-b900-5939eb9c6159"/> + <id value="6fecd5ce-6899-405b-896d-536c2a76f748"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="552644ed-53b4-42ae-b056-7f29f6146563"/> + <id value="c2f04486-f11e-45d2-ab97-fe66633cab28"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97_34abcf97/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97_34abcf97/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97_34abcf97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97_34abcf97/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97_34abcf97/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97_34abcf97/output.json new file mode 100644 index 00000000..456f568a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97_34abcf97/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "5dc8d251-c456-4f40-b5c2-4328f2c28c32", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "79b4b1d7-8356-45a9-ac1b-6dc4b73c4523", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a60dcd8f-f310-47ca-bd4d-68beaef7e1d3" + }, + "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": "a60dcd8f-f310-47ca-bd4d-68beaef7e1d3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a1676ec2-f9b7-48b7-8b61-ee2564930f35", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7d26aba3-963d-4133-a659-916991d96f7e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_34abcf97_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97_34abcf97/output.xml new file mode 100644 index 00000000..dead366c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_34abcf97_34abcf97/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5dc8d251-c456-4f40-b5c2-4328f2c28c32"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="79b4b1d7-8356-45a9-ac1b-6dc4b73c4523"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a60dcd8f-f310-47ca-bd4d-68beaef7e1d3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a60dcd8f-f310-47ca-bd4d-68beaef7e1d3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08671219"/> + </coding> + <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a1676ec2-f9b7-48b7-8b61-ee2564930f35"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7d26aba3-963d-4133-a659-916991d96f7e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/output.json deleted file mode 100644 index 6f626c2e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "34c12817-68ed-4a63-b17c-3f1051aec101", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "df6f4b77-9608-4c5d-b55c-2c7437488ecf", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/8d6241c7-c50f-4ce2-9c01-fedcb8091d0c" - }, - "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": "8d6241c7-c50f-4ce2-9c01-fedcb8091d0c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7d2b62ea-87e5-4b79-9f1e-aa4448a20cff", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "266e1fba-ae00-4901-a398-faed16b92dc0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/output.xml deleted file mode 100644 index fbf27105..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="34c12817-68ed-4a63-b17c-3f1051aec101"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.014.97"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-03"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="df6f4b77-9608-4c5d-b55c-2c7437488ecf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/8d6241c7-c50f-4ce2-9c01-fedcb8091d0c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-03"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="8d6241c7-c50f-4ce2-9c01-fedcb8091d0c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08671219"/> - </coding> - <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="7d2b62ea-87e5-4b79-9f1e-aa4448a20cff"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="266e1fba-ae00-4901-a398-faed16b92dc0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/input.xml new file mode 100644 index 00000000..1fe9e77f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/input.xml @@ -0,0 +1,388 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="34abcf97-6693-422e-b6f0-0ba9b232843e"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/2300d28c-c5db-45ce-bcb6-1d3bc126f846"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="2300d28c-c5db-45ce-bcb6-1d3bc126f846"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/f3de8250-06d8-492a-8f53-978d97a21836"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/f3de8250-06d8-492a-8f53-978d97a21836"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f3de8250-06d8-492a-8f53-978d97a21836"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/89d7fd61-1f81-4ee5-aab1-d6428e0c6e79"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2021-04-03"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/89d7fd61-1f81-4ee5-aab1-d6428e0c6e79"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="89d7fd61-1f81-4ee5-aab1-d6428e0c6e79"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08671219"/> + </coding> + <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus BKK"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/output.json new file mode 100644 index 00000000..262d6346 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "21a06802-2033-4230-a0c0-d8e281782f85", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "ded6955a-d4c0-4003-895c-bc626a5ae074", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ea8fab18-cbff-479a-a537-b923c1986a1a" + }, + "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": "ea8fab18-cbff-479a-a537-b923c1986a1a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f2d0abcf-c560-4ab7-aef3-14fce1c897b1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "80628785-7048-47dc-8e63-83b5a3b3a4c4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_34abcf97_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/output.xml new file mode 100644 index 00000000..5a8b25f6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0_34abcf97_34abcf97/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="21a06802-2033-4230-a0c0-d8e281782f85"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ded6955a-d4c0-4003-895c-bc626a5ae074"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ea8fab18-cbff-479a-a537-b923c1986a1a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ea8fab18-cbff-479a-a537-b923c1986a1a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08671219"/> + </coding> + <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f2d0abcf-c560-4ab7-aef3-14fce1c897b1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="80628785-7048-47dc-8e63-83b5a3b3a4c4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json index 7d078275..0f51d261 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "f6776167-5243-4275-9302-4cadd66c78d8", + "id": "a583dd5a-9a53-4a5f-a81c-dd5de97e862f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "d7a04af9-6e15-48b2-9ca1-ea287c0c68ab", + "id": "5bcfb2eb-0f03-4dac-8d41-f3b199de995e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/d3393451-2a9f-4239-baa3-cedfa59492fe" + "reference": "Medication/d208e6df-c0a1-451a-9de5-04acdfdde535" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "d3393451-2a9f-4239-baa3-cedfa59492fe", + "id": "d208e6df-c0a1-451a-9de5-04acdfdde535", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "3dad1a9b-3591-45d1-8385-3149ee58d924", + "id": "ecee875a-d451-4c98-860d-097cbbb53c04", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -157,7 +157,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "85e6ae00-91f7-4491-a352-b88230fab940", + "id": "8adda00f-1401-426b-8dfb-7eafaea3b8df", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.xml index 5a9953e9..995d4303 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="f6776167-5243-4275-9302-4cadd66c78d8"/> + <id value="a583dd5a-9a53-4a5f-a81c-dd5de97e862f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d7a04af9-6e15-48b2-9ca1-ea287c0c68ab"/> + <id value="5bcfb2eb-0f03-4dac-8d41-f3b199de995e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/d3393451-2a9f-4239-baa3-cedfa59492fe"/> + <reference value="Medication/d208e6df-c0a1-451a-9de5-04acdfdde535"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="d3393451-2a9f-4239-baa3-cedfa59492fe"/> + <id value="d208e6df-c0a1-451a-9de5-04acdfdde535"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="3dad1a9b-3591-45d1-8385-3149ee58d924"/> + <id value="ecee875a-d451-4c98-860d-097cbbb53c04"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -162,7 +162,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="85e6ae00-91f7-4491-a352-b88230fab940"/> + <id value="8adda00f-1401-426b-8dfb-7eafaea3b8df"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9_44420ed9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9_44420ed9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9_44420ed9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9_44420ed9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9_44420ed9/output.json new file mode 100644 index 00000000..bcddaa27 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9_44420ed9/output.json @@ -0,0 +1,203 @@ +{ + "resourceType": "Parameters", + "id": "ff8e5cdb-d326-4e11-ac2a-07c9e6710b24", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c25707bf-3ee7-4e53-baba-edfb789f0763", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e364de29-f64f-4279-ac62-569d2a9be86e" + }, + "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": "e364de29-f64f-4279-ac62-569d2a9be86e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b732db45-5532-4879-9c1a-229c68cbc014", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "cbd5f21e-3900-479d-a9a2-b8243e34b9c3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_44420ed9_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9_44420ed9/output.xml new file mode 100644 index 00000000..254bd6bb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_44420ed9_44420ed9/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ff8e5cdb-d326-4e11-ac2a-07c9e6710b24"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c25707bf-3ee7-4e53-baba-edfb789f0763"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e364de29-f64f-4279-ac62-569d2a9be86e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e364de29-f64f-4279-ac62-569d2a9be86e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b732db45-5532-4879-9c1a-229c68cbc014"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cbd5f21e-3900-479d-a9a2-b8243e34b9c3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/output.json deleted file mode 100644 index 0b0f07d6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/output.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "c4b34b53-6298-40b1-86ed-6820c4cf1ea5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "58b987c6-55b5-4118-826e-9efc04e42232", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/b5b37ed9-f079-4e93-9976-1bea6fe69b75" - }, - "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": "b5b37ed9-f079-4e93-9976-1bea6fe69b75", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "23eb5279-1e1c-4c78-b1ee-e0f22e4ba230", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "5a1fa31f-b6b3-47b1-bcdb-7a08e684249d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_f12fa769_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/output.xml deleted file mode 100644 index 7efe64b0..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c4b34b53-6298-40b1-86ed-6820c4cf1ea5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.006.24"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="58b987c6-55b5-4118-826e-9efc04e42232"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/b5b37ed9-f079-4e93-9976-1bea6fe69b75"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b5b37ed9-f079-4e93-9976-1bea6fe69b75"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00814665"/> - </coding> - <text value="Januvia® 50 mg 28 Filmtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="23eb5279-1e1c-4c78-b1ee-e0f22e4ba230"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5a1fa31f-b6b3-47b1-bcdb-7a08e684249d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9_44420ed9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9_44420ed9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9_44420ed9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9_44420ed9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9_44420ed9/output.json new file mode 100644 index 00000000..5f7c3c49 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9_44420ed9/output.json @@ -0,0 +1,203 @@ +{ + "resourceType": "Parameters", + "id": "b3a41ffa-96ac-4823-9856-83816f07e001", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b77585e0-0221-4535-8655-c5af98d5f55e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a732799a-40fd-48aa-a44e-e68359a7473c" + }, + "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": "a732799a-40fd-48aa-a44e-e68359a7473c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d1417e8e-8248-4dbb-aa87-901653e04841", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "17f639a0-1ab8-460e-b790-e142ac5bfdba", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f12fa769_44420ed9_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9_44420ed9/output.xml new file mode 100644 index 00000000..cbf26d9b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f12fa769_44420ed9_44420ed9/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b3a41ffa-96ac-4823-9856-83816f07e001"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b77585e0-0221-4535-8655-c5af98d5f55e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a732799a-40fd-48aa-a44e-e68359a7473c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a732799a-40fd-48aa-a44e-e68359a7473c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d1417e8e-8248-4dbb-aa87-901653e04841"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="17f639a0-1ab8-460e-b790-e142ac5bfdba"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/output.json deleted file mode 100644 index d8f9f913..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/output.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "897c5af1-19d9-4e59-869c-3e88f21f2ec2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "e2491abc-7d2b-4589-8aba-85b6195d7a3b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/ef5e5039-ab0d-41f1-a949-3388936ea7ca" - }, - "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": "ef5e5039-ab0d-41f1-a949-3388936ea7ca", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "02a959d4-8436-4dfd-9961-7b53142abff8", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "937387a5-696b-43c8-b715-117688635a97", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/output.xml deleted file mode 100644 index 1daedddf..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="897c5af1-19d9-4e59-869c-3e88f21f2ec2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.006.24"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e2491abc-7d2b-4589-8aba-85b6195d7a3b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/ef5e5039-ab0d-41f1-a949-3388936ea7ca"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ef5e5039-ab0d-41f1-a949-3388936ea7ca"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00814665"/> - </coding> - <text value="Januvia® 50 mg 28 Filmtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="02a959d4-8436-4dfd-9961-7b53142abff8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="937387a5-696b-43c8-b715-117688635a97"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/input.xml new file mode 100644 index 00000000..e6e9fe0a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/input.xml @@ -0,0 +1,384 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="44420ed9-7388-4be5-acc5-9c124fad9f34"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin: Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/output.json new file mode 100644 index 00000000..a0b3dc41 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/output.json @@ -0,0 +1,203 @@ +{ + "resourceType": "Parameters", + "id": "dc21e19e-5890-4c41-8808-3cc33948479e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "95d796d0-a44f-4390-b5cd-da799c5e6788", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bce0e056-1205-4e45-acc8-6c7f0a945d6b" + }, + "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": "bce0e056-1205-4e45-acc8-6c7f0a945d6b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bdf40cb7-0ae9-41f5-bf4d-3eca9ed05027", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6319ef55-a00b-48f4-9061-e72d81fcf574", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_44420ed9_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/output.xml new file mode 100644 index 00000000..1b64697c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0_44420ed9_44420ed9/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dc21e19e-5890-4c41-8808-3cc33948479e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="95d796d0-a44f-4390-b5cd-da799c5e6788"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bce0e056-1205-4e45-acc8-6c7f0a945d6b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bce0e056-1205-4e45-acc8-6c7f0a945d6b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bdf40cb7-0ae9-41f5-bf4d-3eca9ed05027"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6319ef55-a00b-48f4-9061-e72d81fcf574"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/output.json deleted file mode 100644 index 9f784ff1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/output.json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "31da28e7-2d15-4bc7-8e26-59bee34e9936", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "0d57ffc9-173c-4a69-be12-1e38d0fde637", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/6795cb07-ae93-484a-a46f-7b9333a371a2" - }, - "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": "6795cb07-ae93-484a-a46f-7b9333a371a2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4d82e642-95f4-4ec5-bf5f-c0660e0725cd", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "c69636e2-cacd-4b1c-86f2-2b5c1de07e92", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_2b6860ab_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/output.xml deleted file mode 100644 index 67de1f4a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/output.xml +++ /dev/null @@ -1,214 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="31da28e7-2d15-4bc7-8e26-59bee34e9936"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.21"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0d57ffc9-173c-4a69-be12-1e38d0fde637"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/6795cb07-ae93-484a-a46f-7b9333a371a2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <note> - <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> - </note> - <dosageInstruction> - <text value="1x täglich"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6795cb07-ae93-484a-a46f-7b9333a371a2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08850519"/> - </coding> - <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SMT"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="70"/> - </extension> - <unit value="Stück"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="4d82e642-95f4-4ec5-bf5f-c0660e0725cd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="723333300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Psychiatrie und Psychotherapie"/> - <telecom> - <system value="phone"/> - <value value="030369258147"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c69636e2-cacd-4b1c-86f2-2b5c1de07e92"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="582369858"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Emilia Becker"/> - <family value="Becker"/> - <given value="Emilia"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2_6d5162b2/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2_6d5162b2/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2_6d5162b2/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2_6d5162b2/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2_6d5162b2/output.json new file mode 100644 index 00000000..778b7ea4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2_6d5162b2/output.json @@ -0,0 +1,210 @@ +{ + "resourceType": "Parameters", + "id": "ac219191-8611-4904-8c2f-a0a88567a94d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "73a840bc-04c2-4b18-ae5d-11485657a89e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5dff4a2d-745d-43d3-906a-8ad2ed3f8d65" + }, + "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": "5dff4a2d-745d-43d3-906a-8ad2ed3f8d65", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3589cb73-aece-4b26-bc37-38b6cf87ade3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ef0e6a0d-8263-4b9b-ad6c-81eca4a5d8dd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_2b6860ab_6d5162b2_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2_6d5162b2/output.xml new file mode 100644 index 00000000..73763792 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_2b6860ab_6d5162b2_6d5162b2/output.xml @@ -0,0 +1,214 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ac219191-8611-4904-8c2f-a0a88567a94d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="73a840bc-04c2-4b18-ae5d-11485657a89e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5dff4a2d-745d-43d3-906a-8ad2ed3f8d65"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5dff4a2d-745d-43d3-906a-8ad2ed3f8d65"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3589cb73-aece-4b26-bc37-38b6cf87ade3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ef0e6a0d-8263-4b9b-ad6c-81eca4a5d8dd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json index de1a4f79..df781177 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "0a41d481-04db-417a-8fb6-bccdceed680b", + "id": "b0eb8158-eadd-43c2-865c-a4acd0f12f1e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "73e3d216-44f0-4217-a0bb-01f6107ac26e", + "id": "326aaa83-1fce-43d3-ab0c-aa7fcb39ce02", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/92f837f1-efdb-4e30-8d05-2eb390d66185" + "reference": "Medication/d8f8b06c-2245-442a-b62e-364a7a5f81c2" }, "subject": { "identifier": { @@ -63,7 +63,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "92f837f1-efdb-4e30-8d05-2eb390d66185", + "id": "d8f8b06c-2245-442a-b62e-364a7a5f81c2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -112,7 +112,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "aa7e12ac-aa7c-43fb-b518-72b55e317264", + "id": "eed712ea-f823-446f-b5b9-b9102d20c934", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -171,7 +171,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "d71486c9-e06e-4d94-a2ee-b6699fdd8db2", + "id": "81c3050a-08f5-4ad4-8e44-4c0c6bf2c266", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.xml index 2628e87a..b107ac63 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="0a41d481-04db-417a-8fb6-bccdceed680b"/> + <id value="b0eb8158-eadd-43c2-865c-a4acd0f12f1e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="73e3d216-44f0-4217-a0bb-01f6107ac26e"/> + <id value="326aaa83-1fce-43d3-ab0c-aa7fcb39ce02"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/92f837f1-efdb-4e30-8d05-2eb390d66185"/> + <reference value="Medication/d8f8b06c-2245-442a-b62e-364a7a5f81c2"/> </medicationReference> <subject> <identifier> @@ -64,7 +64,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="92f837f1-efdb-4e30-8d05-2eb390d66185"/> + <id value="d8f8b06c-2245-442a-b62e-364a7a5f81c2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -113,7 +113,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="aa7e12ac-aa7c-43fb-b518-72b55e317264"/> + <id value="eed712ea-f823-446f-b5b9-b9102d20c934"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -173,7 +173,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d71486c9-e06e-4d94-a2ee-b6699fdd8db2"/> + <id value="81c3050a-08f5-4ad4-8e44-4c0c6bf2c266"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2/output.json new file mode 100644 index 00000000..ecb92ae8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2/output.json @@ -0,0 +1,210 @@ +{ + "resourceType": "Parameters", + "id": "dfa8a3cc-a1f4-49c6-975b-5eb335562d0e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "903ed049-ad68-4252-9b51-b857b2f1703d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9ccedba3-079a-476a-9316-4af79556d5a9" + }, + "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": "9ccedba3-079a-476a-9316-4af79556d5a9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9a2fcca0-91ef-4da4-bd34-5f3d0bb72502", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "bb1f5da5-3de8-4fdb-aaa3-0a9f8c2f4399", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6d5162b2_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2/output.xml new file mode 100644 index 00000000..53aea287 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_6d5162b2_6d5162b2/output.xml @@ -0,0 +1,214 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="dfa8a3cc-a1f4-49c6-975b-5eb335562d0e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="903ed049-ad68-4252-9b51-b857b2f1703d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9ccedba3-079a-476a-9316-4af79556d5a9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9ccedba3-079a-476a-9316-4af79556d5a9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9a2fcca0-91ef-4da4-bd34-5f3d0bb72502"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bb1f5da5-3de8-4fdb-aaa3-0a9f8c2f4399"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/output.json deleted file mode 100644 index 2e1b25c6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/output.json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "450ac1e3-bb82-4d6a-ab52-4180f7c7bcbc", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "ca055931-42ea-43cb-9c80-9e5c7c4c40ff", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/b4607653-7c39-4259-967a-12fbf200f291" - }, - "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": "b4607653-7c39-4259-967a-12fbf200f291", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "06402dda-84fb-4f5e-8355-509381d69937", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "f0852f8d-e799-4376-a4ec-4a6cf91f9fb3", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/output.xml deleted file mode 100644 index f2a8fb18..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2/output.xml +++ /dev/null @@ -1,214 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="450ac1e3-bb82-4d6a-ab52-4180f7c7bcbc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.21"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ca055931-42ea-43cb-9c80-9e5c7c4c40ff"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/b4607653-7c39-4259-967a-12fbf200f291"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <note> - <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> - </note> - <dosageInstruction> - <text value="1x täglich"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b4607653-7c39-4259-967a-12fbf200f291"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08850519"/> - </coding> - <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SMT"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="70"/> - </extension> - <unit value="Stück"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="06402dda-84fb-4f5e-8355-509381d69937"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="723333300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Psychiatrie und Psychotherapie"/> - <telecom> - <system value="phone"/> - <value value="030369258147"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f0852f8d-e799-4376-a4ec-4a6cf91f9fb3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="582369858"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Emilia Becker"/> - <family value="Becker"/> - <given value="Emilia"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/input.xml new file mode 100644 index 00000000..2a6cb1e2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="6d5162b2-abc9-4c0c-9c46-4deb3b64edd7"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/2edc3279-e54d-43b9-8590-4007f1b20fbd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="2edc3279-e54d-43b9-8590-4007f1b20fbd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/0587787f-3f1b-4578-a412-ce5bae8215b9"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/0587787f-3f1b-4578-a412-ce5bae8215b9"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0587787f-3f1b-4578-a412-ce5bae8215b9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/03758a20-5f15-4d10-a0ea-c8a594cea651"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + </requester> + <insurance> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </insurance> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/03758a20-5f15-4d10-a0ea-c8a594cea651"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="03758a20-5f15-4d10-a0ea-c8a594cea651"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <name> + <use value="official"/> + <family value="Becker"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Becker"/> + </extension> + </family> + <given value="Emilia"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Psychiatrie und Psychotherapie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="AOK Rheinland/Hamburg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/output.json new file mode 100644 index 00000000..e1456f8f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/output.json @@ -0,0 +1,210 @@ +{ + "resourceType": "Parameters", + "id": "753bc60f-9e36-4443-9cad-1e52a8581225", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e0a7c755-32dd-48fe-9a96-b26ceb0d8f7e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6d454e5b-f0b8-4c49-b61e-1e2f2e211a96" + }, + "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": "6d454e5b-f0b8-4c49-b61e-1e2f2e211a96", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "710f6bf7-9330-401a-bcd4-78fba5c29cf5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4fcffe18-87e5-4f74-a56e-a851ca179a0a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6d5162b2_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/output.xml new file mode 100644 index 00000000..8d491541 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e_6d5162b2_6d5162b2/output.xml @@ -0,0 +1,214 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="753bc60f-9e36-4443-9cad-1e52a8581225"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e0a7c755-32dd-48fe-9a96-b26ceb0d8f7e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6d454e5b-f0b8-4c49-b61e-1e2f2e211a96"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6d454e5b-f0b8-4c49-b61e-1e2f2e211a96"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="710f6bf7-9330-401a-bcd4-78fba5c29cf5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4fcffe18-87e5-4f74-a56e-a851ca179a0a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/output.json deleted file mode 100644 index acd91ba8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "87805912-47a6-4888-b05a-66ef080c5ff6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "0e6fa4ea-2ab5-4136-b8a5-70345125ee47", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/cb7ddfde-e420-4271-b036-334a1971a718" - }, - "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": "cb7ddfde-e420-4271-b036-334a1971a718", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3991e023-f159-434d-9eac-d2af172b7952", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "65086806-c32a-4a5a-9ccc-215e130098d3", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_846d07e6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/output.xml deleted file mode 100644 index 2a568594..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="87805912-47a6-4888-b05a-66ef080c5ff6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.034.37"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0e6fa4ea-2ab5-4136-b8a5-70345125ee47"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/cb7ddfde-e420-4271-b036-334a1971a718"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="cb7ddfde-e420-4271-b036-334a1971a718"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01347970"/> - </coding> - <text value="Roxythromycin 300 Heumann FTA 7 ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3991e023-f159-434d-9eac-d2af172b7952"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="65086806-c32a-4a5a-9ccc-215e130098d3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6_846d07e6/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6_846d07e6/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6_846d07e6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6_846d07e6/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6_846d07e6/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6_846d07e6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6_846d07e6/output.json new file mode 100644 index 00000000..7a218207 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6_846d07e6/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "8ec82c39-10c6-4995-af48-bfe70a4ea089", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d4b6b045-d519-4bbe-b1b5-b784fdf65549", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c1b6ec29-c679-4e65-9d6e-2f38e5192117" + }, + "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": "c1b6ec29-c679-4e65-9d6e-2f38e5192117", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "479c544a-aa92-461f-b2a8-01c6cb15f38f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9754c821-7996-4b22-9c12-7a3b77a565bb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_846d07e6_846d07e6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6_846d07e6/output.xml new file mode 100644 index 00000000..e94b8f0b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8_846d07e6_846d07e6/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8ec82c39-10c6-4995-af48-bfe70a4ea089"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.034.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d4b6b045-d519-4bbe-b1b5-b784fdf65549"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c1b6ec29-c679-4e65-9d6e-2f38e5192117"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c1b6ec29-c679-4e65-9d6e-2f38e5192117"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01347970"/> + </coding> + <text value="Roxythromycin 300 Heumann FTA 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="479c544a-aa92-461f-b2a8-01c6cb15f38f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9754c821-7996-4b22-9c12-7a3b77a565bb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.json index 5bc068f5..25eb7f51 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c9bdbb93-f76e-424b-90ba-b13b69bc2823", + "id": "b4a498fa-1526-42c3-97c0-cf9f5e1c857a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "5d9261a9-d70b-48d2-828f-adbf1135e65c", + "id": "bd6f603c-8864-4986-babf-70f420948485", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/b3dc3262-2c8d-4f16-ad99-681cb0674c6c" + "reference": "Medication/168bd993-b13e-4d69-b07a-2128a6f86caa" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "b3dc3262-2c8d-4f16-ad99-681cb0674c6c", + "id": "168bd993-b13e-4d69-b07a-2128a6f86caa", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "c567160a-3927-42d6-bec1-5d0b516d7f09", + "id": "43c52c30-2449-4415-94df-6368a5c14f5f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "5313ef8a-7b01-4ab7-a1fd-c96e6cefd7e5", + "id": "cf7f533d-2484-4c52-bdc3-61d76217a6fb", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.xml index 915df8d9..b7df61fe 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c9bdbb93-f76e-424b-90ba-b13b69bc2823"/> + <id value="b4a498fa-1526-42c3-97c0-cf9f5e1c857a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5d9261a9-d70b-48d2-828f-adbf1135e65c"/> + <id value="bd6f603c-8864-4986-babf-70f420948485"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/b3dc3262-2c8d-4f16-ad99-681cb0674c6c"/> + <reference value="Medication/168bd993-b13e-4d69-b07a-2128a6f86caa"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="b3dc3262-2c8d-4f16-ad99-681cb0674c6c"/> + <id value="168bd993-b13e-4d69-b07a-2128a6f86caa"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="c567160a-3927-42d6-bec1-5d0b516d7f09"/> + <id value="43c52c30-2449-4415-94df-6368a5c14f5f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5313ef8a-7b01-4ab7-a1fd-c96e6cefd7e5"/> + <id value="cf7f533d-2484-4c52-bdc3-61d76217a6fb"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/input.xml new file mode 100644 index 00000000..d48e05fb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="846d07e6-4776-4ae1-8749-0b9334314b97"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.034.37"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/fc7c4f58-5141-463d-a8f6-543c8d951042"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="fc7c4f58-5141-463d-a8f6-543c8d951042"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/c18ca813-66ac-49f6-808a-a90fd1ab3563"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/c18ca813-66ac-49f6-808a-a90fd1ab3563"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c18ca813-66ac-49f6-808a-a90fd1ab3563"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/d344ab61-4321-448f-83af-a2c95ae242a4"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/d344ab61-4321-448f-83af-a2c95ae242a4"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d344ab61-4321-448f-83af-a2c95ae242a4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01347970"/> + </coding> + <text value="Roxythromycin 300 Heumann FTA 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/output.json new file mode 100644 index 00000000..c60ae096 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "c87af385-7615-4eb7-83e4-473a350e5cf1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "11834d57-e8e7-4051-bc58-941383b001c9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/50fa1b67-57b3-4bb9-97c4-84b19b1afe69" + }, + "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": "50fa1b67-57b3-4bb9-97c4-84b19b1afe69", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c5b24745-c627-4bca-b8af-53485eefee7e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "cfe0a7a4-49fb-4e78-942e-6851f512d023", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_846d07e6_846d07e6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/output.xml new file mode 100644 index 00000000..9631fda2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_846d07e6_846d07e6/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c87af385-7615-4eb7-83e4-473a350e5cf1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.034.37"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="11834d57-e8e7-4051-bc58-941383b001c9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/50fa1b67-57b3-4bb9-97c4-84b19b1afe69"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="50fa1b67-57b3-4bb9-97c4-84b19b1afe69"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01347970"/> + </coding> + <text value="Roxythromycin 300 Heumann FTA 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c5b24745-c627-4bca-b8af-53485eefee7e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cfe0a7a4-49fb-4e78-942e-6851f512d023"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.json index b6dc4058..3a01bc19 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "e4b64e96-a7e1-409f-886b-ceefd4c50ed3", + "id": "96cf93b1-ddc9-427b-999c-9732290db483", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "78c67cb3-336e-4693-8714-4a3eed4412a3", + "id": "e533d04f-a2b6-4917-858d-512fb98210ec", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/064c489f-aff8-49b7-b0b0-a474e2b9713f" + "reference": "Medication/8f52dcf8-4cbd-4aeb-856a-5f68bd718d46" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "064c489f-aff8-49b7-b0b0-a474e2b9713f", + "id": "8f52dcf8-4cbd-4aeb-856a-5f68bd718d46", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "8d26cb67-8721-40c0-9477-385a1b6a502f", + "id": "19036b00-e474-4ccd-b4cd-ef9a06914716", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "5e28bccc-9f72-4c68-8dd3-6297a9754165", + "id": "189c2ad3-6b31-4278-af14-6cfe00b4390c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.xml index 5d9eb8e8..4cbef307 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="e4b64e96-a7e1-409f-886b-ceefd4c50ed3"/> + <id value="96cf93b1-ddc9-427b-999c-9732290db483"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="78c67cb3-336e-4693-8714-4a3eed4412a3"/> + <id value="e533d04f-a2b6-4917-858d-512fb98210ec"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/064c489f-aff8-49b7-b0b0-a474e2b9713f"/> + <reference value="Medication/8f52dcf8-4cbd-4aeb-856a-5f68bd718d46"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="064c489f-aff8-49b7-b0b0-a474e2b9713f"/> + <id value="8f52dcf8-4cbd-4aeb-856a-5f68bd718d46"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="8d26cb67-8721-40c0-9477-385a1b6a502f"/> + <id value="19036b00-e474-4ccd-b4cd-ef9a06914716"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5e28bccc-9f72-4c68-8dd3-6297a9754165"/> + <id value="189c2ad3-6b31-4278-af14-6cfe00b4390c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e_7f12495e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e_7f12495e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e_7f12495e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e_7f12495e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e_7f12495e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e_7f12495e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e_7f12495e/output.json new file mode 100644 index 00000000..5e968571 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e_7f12495e/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "b11021c0-96d2-4944-aeb4-adb8bb249eed", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "203c7eb0-69c7-4012-858a-e605ed6fc9fd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5e48b930-bf58-4304-b400-a19acf482585" + }, + "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": "5e48b930-bf58-4304-b400-a19acf482585", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "345ed6dc-ef0b-4a2c-87bd-ce44cf39f68d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d545e74a-2442-47ef-a4eb-2e81c06611c9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7f12495e_7f12495e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e_7f12495e/output.xml new file mode 100644 index 00000000..5852045c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_7f12495e_7f12495e/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b11021c0-96d2-4944-aeb4-adb8bb249eed"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.035.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="203c7eb0-69c7-4012-858a-e605ed6fc9fd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5e48b930-bf58-4304-b400-a19acf482585"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5e48b930-bf58-4304-b400-a19acf482585"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00067808"/> + </coding> + <text value="Remicade 100MG Pulver PIK 4ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PIK"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="345ed6dc-ef0b-4a2c-87bd-ce44cf39f68d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d545e74a-2442-47ef-a4eb-2e81c06611c9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/output.json deleted file mode 100644 index 963580ea..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "3d4c5356-a51c-47a8-b938-f965600f50f8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "3e68d33b-9cab-48a0-993e-0089d8791b10", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/d4db8a5b-8808-47d1-a883-4521d11c0520" - }, - "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": "d4db8a5b-8808-47d1-a883-4521d11c0520", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f503de4a-3954-4750-b0e8-c989f00c0aee", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "c7dbb02a-c28b-49d7-8adb-0c08852d842a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_7f12495e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/output.xml deleted file mode 100644 index aef6d850..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="3d4c5356-a51c-47a8-b938-f965600f50f8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.035.34"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3e68d33b-9cab-48a0-993e-0089d8791b10"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/d4db8a5b-8808-47d1-a883-4521d11c0520"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="d4db8a5b-8808-47d1-a883-4521d11c0520"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00067808"/> - </coding> - <text value="Remicade 100MG Pulver PIK 4ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PIK"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f503de4a-3954-4750-b0e8-c989f00c0aee"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c7dbb02a-c28b-49d7-8adb-0c08852d842a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/input.xml new file mode 100644 index 00000000..cdbc1dbe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7f12495e-709a-47cb-b589-995356926876"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.035.34"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/dc3b185f-b1f3-458d-b3ba-ac099a0225a0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="dc3b185f-b1f3-458d-b3ba-ac099a0225a0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/416b7bc3-7483-46ba-bc67-306bf671c569"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/008b6625-1ad8-4719-9b5f-1104485b9726"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/9af316b6-b8f6-42a9-85d7-fd1984a54966"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/008b6625-1ad8-4719-9b5f-1104485b9726"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="008b6625-1ad8-4719-9b5f-1104485b9726"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/9e43b5c5-6b34-4762-b196-1db3633e63c4"/> + </medicationReference> + <subject> + <reference value="Patient/416b7bc3-7483-46ba-bc67-306bf671c569"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/9af316b6-b8f6-42a9-85d7-fd1984a54966"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/9e43b5c5-6b34-4762-b196-1db3633e63c4"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9e43b5c5-6b34-4762-b196-1db3633e63c4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00067808"/> + </coding> + <text value="Remicade 100MG Pulver PIK 4ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PIK"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/416b7bc3-7483-46ba-bc67-306bf671c569"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="416b7bc3-7483-46ba-bc67-306bf671c569"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="D111111110"/> + </identifier> + <name> + <use value="official"/> + <family value="Birke"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Birke"/> + </extension> + </family> + <given value="Bruno"/> + </name> + <birthDate value="2002-02-02"/> + <address> + <type value="both"/> + <line value="Markt 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Markt"/> + </extension> + </line> + <city value="Güstrow"/> + <postalCode value="18273"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/9af316b6-b8f6-42a9-85d7-fd1984a54966"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="9af316b6-b8f6-42a9-85d7-fd1984a54966"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="78"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/416b7bc3-7483-46ba-bc67-306bf671c569"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="100105006"/> + </identifier> + <display value="KN Knappschaft"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/output.json new file mode 100644 index 00000000..9c22d261 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "61fe8d34-84f8-47b3-a1c3-d93476d9a90d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c0025f56-d05a-4715-8830-76eedae20f6e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fb791192-76bf-4deb-9f40-7501e628d9de" + }, + "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": "fb791192-76bf-4deb-9f40-7501e628d9de", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0d7c4146-c3fd-446e-a2a6-bf3adef79ef7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ff1cd815-3365-4e28-8467-05a789d1b957", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7f12495e_7f12495e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/output.xml new file mode 100644 index 00000000..8f719bef --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc_7f12495e_7f12495e/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="61fe8d34-84f8-47b3-a1c3-d93476d9a90d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.035.34"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c0025f56-d05a-4715-8830-76eedae20f6e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fb791192-76bf-4deb-9f40-7501e628d9de"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fb791192-76bf-4deb-9f40-7501e628d9de"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00067808"/> + </coding> + <text value="Remicade 100MG Pulver PIK 4ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PIK"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0d7c4146-c3fd-446e-a2a6-bf3adef79ef7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ff1cd815-3365-4e28-8467-05a789d1b957"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/output.json deleted file mode 100644 index 3a924b8d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "d870478b-a7dc-4ee4-80cd-b0085322aae5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "e87bb65e-bb1d-4987-a5cf-33fa9977dcdb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/d1a948da-7e96-4697-b7bd-a4b5410eba2c" - }, - "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": "d1a948da-7e96-4697-b7bd-a4b5410eba2c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "19c800b9-58da-4797-885d-5231e6978dd5", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "af7fa001-b837-44e6-9493-c3e266105112", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_6f404894/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/output.xml deleted file mode 100644 index cbfe1153..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d870478b-a7dc-4ee4-80cd-b0085322aae5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.036.31"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e87bb65e-bb1d-4987-a5cf-33fa9977dcdb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/d1a948da-7e96-4697-b7bd-a4b5410eba2c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="d1a948da-7e96-4697-b7bd-a4b5410eba2c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="07765007"/> - </coding> - <text value="NEUPRO 8MG/24H PFT 7 ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PFT"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="19c800b9-58da-4797-885d-5231e6978dd5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="af7fa001-b837-44e6-9493-c3e266105112"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894_6f404894/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894_6f404894/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894_6f404894/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894_6f404894/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894_6f404894/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894_6f404894/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894_6f404894/output.json new file mode 100644 index 00000000..7fc003f5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894_6f404894/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "702d3d08-4950-4555-bb8e-3ed21ce0830c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "33912800-45f2-4b80-9fe3-0686c51411c5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1a89e99a-27ce-469f-8295-7f02bf197b16" + }, + "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": "1a89e99a-27ce-469f-8295-7f02bf197b16", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a6d36386-0a84-411c-9729-e5d0b1bdfb44", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "828d7572-469e-41d4-ac15-36a2a300ed27", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6f404894_6f404894/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894_6f404894/output.xml new file mode 100644 index 00000000..92202e64 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd_6f404894_6f404894/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="702d3d08-4950-4555-bb8e-3ed21ce0830c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.036.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="33912800-45f2-4b80-9fe3-0686c51411c5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1a89e99a-27ce-469f-8295-7f02bf197b16"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1a89e99a-27ce-469f-8295-7f02bf197b16"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07765007"/> + </coding> + <text value="NEUPRO 8MG/24H PFT 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a6d36386-0a84-411c-9729-e5d0b1bdfb44"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="828d7572-469e-41d4-ac15-36a2a300ed27"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.json index 5822b546..326bc300 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "7c229e68-29f7-438c-99ae-1a7d56ba7df8", + "id": "daf56979-3315-42e3-8f19-fb0baed0768b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "288d62e4-bd7f-44c3-b1bf-d79071da17c6", + "id": "4ffdc0a6-9de0-46f5-b474-a05f84550d4b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/e82de270-7a83-42da-b8f9-67cf5e503539" + "reference": "Medication/1e9773cc-ea47-44fd-a047-a0b3d96650f7" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "e82de270-7a83-42da-b8f9-67cf5e503539", + "id": "1e9773cc-ea47-44fd-a047-a0b3d96650f7", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "766dafd9-bb68-4763-8d30-a8a8481d7721", + "id": "3f41cbdd-c63e-4b43-a095-a2149db05551", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "11bffdb3-16bf-4034-a249-479e7ea55128", + "id": "e785b003-b53b-4e38-9d2f-9d4f441e600d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.xml index dfd903d1..1d69f2f7 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="7c229e68-29f7-438c-99ae-1a7d56ba7df8"/> + <id value="daf56979-3315-42e3-8f19-fb0baed0768b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="288d62e4-bd7f-44c3-b1bf-d79071da17c6"/> + <id value="4ffdc0a6-9de0-46f5-b474-a05f84550d4b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/e82de270-7a83-42da-b8f9-67cf5e503539"/> + <reference value="Medication/1e9773cc-ea47-44fd-a047-a0b3d96650f7"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="e82de270-7a83-42da-b8f9-67cf5e503539"/> + <id value="1e9773cc-ea47-44fd-a047-a0b3d96650f7"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="766dafd9-bb68-4763-8d30-a8a8481d7721"/> + <id value="3f41cbdd-c63e-4b43-a095-a2149db05551"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="11bffdb3-16bf-4034-a249-479e7ea55128"/> + <id value="e785b003-b53b-4e38-9d2f-9d4f441e600d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/input.xml new file mode 100644 index 00000000..4f967c85 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/input.xml @@ -0,0 +1,369 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="6f404894-137e-44e6-abe9-ea2ddc286317"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.036.31"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/7cdf08d0-5e54-4f6b-9e5c-36d0b55ca011"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="7cdf08d0-5e54-4f6b-9e5c-36d0b55ca011"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/45116c65-4d9f-4190-a101-5f2c019fbae5"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/45116c65-4d9f-4190-a101-5f2c019fbae5"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="45116c65-4d9f-4190-a101-5f2c019fbae5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/d5c1f731-49c2-4c43-b362-71dda955c0cb"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/d5c1f731-49c2-4c43-b362-71dda955c0cb"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d5c1f731-49c2-4c43-b362-71dda955c0cb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07765007"/> + </coding> + <text value="NEUPRO 8MG/24H PFT 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/output.json new file mode 100644 index 00000000..f8ba2522 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "86f9ef8e-7ec6-4fc9-81df-90f3cb816c1b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8d9d101a-c227-440f-b46a-460a57870010", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/00a7da68-2325-4764-99a2-0e9e97da7a00" + }, + "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": "00a7da68-2325-4764-99a2-0e9e97da7a00", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4f459648-e640-4f7b-a2dd-87ec627c4a95", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "67a37cd3-1ba1-469c-ae59-3728748a5353", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6f404894_6f404894/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/output.xml new file mode 100644 index 00000000..f9e30458 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_6f404894_6f404894/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="86f9ef8e-7ec6-4fc9-81df-90f3cb816c1b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.036.31"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8d9d101a-c227-440f-b46a-460a57870010"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/00a7da68-2325-4764-99a2-0e9e97da7a00"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="00a7da68-2325-4764-99a2-0e9e97da7a00"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07765007"/> + </coding> + <text value="NEUPRO 8MG/24H PFT 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4f459648-e640-4f7b-a2dd-87ec627c4a95"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="67a37cd3-1ba1-469c-ae59-3728748a5353"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.json index e818ea3a..c185a130 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "8c6ca65f-6f20-4571-bbb0-192ddc527771", + "id": "868e6ebd-aa0b-46c2-829f-a3b5ffd575d9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "a32d3d36-aa3c-4420-aa2c-241b68d8f0b5", + "id": "0d0a8b65-ba99-4bd8-bde8-204dfc810e47", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/02788839-24ef-4e3c-b34a-2a736a8f9e0a" + "reference": "Medication/bbaf5d9a-9f9e-4050-8150-897730768809" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "02788839-24ef-4e3c-b34a-2a736a8f9e0a", + "id": "bbaf5d9a-9f9e-4050-8150-897730768809", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "2545d4c8-da9f-45cd-bfa6-f3dce637d373", + "id": "d49de07b-11e6-4a89-8dae-1c0adeeb2ee3", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "43d60f17-05da-4b69-b270-fa2a2d777751", + "id": "633e423d-d33f-44ba-9cb0-e7e37f3ea9aa", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.xml index a6ebc4f6..dd1d5bcd 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="8c6ca65f-6f20-4571-bbb0-192ddc527771"/> + <id value="868e6ebd-aa0b-46c2-829f-a3b5ffd575d9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a32d3d36-aa3c-4420-aa2c-241b68d8f0b5"/> + <id value="0d0a8b65-ba99-4bd8-bde8-204dfc810e47"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/02788839-24ef-4e3c-b34a-2a736a8f9e0a"/> + <reference value="Medication/bbaf5d9a-9f9e-4050-8150-897730768809"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="02788839-24ef-4e3c-b34a-2a736a8f9e0a"/> + <id value="bbaf5d9a-9f9e-4050-8150-897730768809"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="2545d4c8-da9f-45cd-bfa6-f3dce637d373"/> + <id value="d49de07b-11e6-4a89-8dae-1c0adeeb2ee3"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="43d60f17-05da-4b69-b270-fa2a2d777751"/> + <id value="633e423d-d33f-44ba-9cb0-e7e37f3ea9aa"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0_1f339db0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0_1f339db0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0_1f339db0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0_1f339db0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0_1f339db0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0_1f339db0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0_1f339db0/output.json new file mode 100644 index 00000000..66205ca2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0_1f339db0/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "7540a2af-0584-46ff-a694-bf516f7c57ac", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fd8ee3f3-b938-4afd-bd19-21c32543805f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3be55e4d-ef51-43de-9e52-1c1b7ff523ef" + }, + "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": "3be55e4d-ef51-43de-9e52-1c1b7ff523ef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "db5a91dd-3076-4bc1-979a-06a4552b337e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f6c92a7c-b861-41fd-99b3-04daa63efc46", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_1f339db0_1f339db0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0_1f339db0/output.xml new file mode 100644 index 00000000..3ba2e9a7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_1f339db0_1f339db0/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7540a2af-0584-46ff-a694-bf516f7c57ac"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.037.28"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fd8ee3f3-b938-4afd-bd19-21c32543805f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3be55e4d-ef51-43de-9e52-1c1b7ff523ef"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3be55e4d-ef51-43de-9e52-1c1b7ff523ef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07765007"/> + </coding> + <text value="NEUPRO 8MG/24H PFT 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="db5a91dd-3076-4bc1-979a-06a4552b337e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f6c92a7c-b861-41fd-99b3-04daa63efc46"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/output.json deleted file mode 100644 index 0012fe31..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "be106313-7566-4f70-9915-57a085a35ef7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "6c7da9f9-e30c-4636-9dc1-d2b4f64920e8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/a98bd81b-0082-44ea-887b-682fe258534b" - }, - "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": "a98bd81b-0082-44ea-887b-682fe258534b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "20da1109-ffac-4d36-b290-d5bd87bba315", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "da14332b-689d-45fc-9289-a82539b08362", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_1f339db0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/output.xml deleted file mode 100644 index 06b76df4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="be106313-7566-4f70-9915-57a085a35ef7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.037.28"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6c7da9f9-e30c-4636-9dc1-d2b4f64920e8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/a98bd81b-0082-44ea-887b-682fe258534b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a98bd81b-0082-44ea-887b-682fe258534b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="07765007"/> - </coding> - <text value="NEUPRO 8MG/24H PFT 7 ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PFT"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="20da1109-ffac-4d36-b290-d5bd87bba315"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="da14332b-689d-45fc-9289-a82539b08362"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/input.xml new file mode 100644 index 00000000..cd406b7c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/input.xml @@ -0,0 +1,369 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="1f339db0-9e55-4946-9dfa-f1b30953be9b"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.037.28"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/88c4029f-dfab-415a-b6de-64fd1a4058e6"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="88c4029f-dfab-415a-b6de-64fd1a4058e6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/43c2b7ae-ad11-4387-910a-e6b7a3c38d4f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/43c2b7ae-ad11-4387-910a-e6b7a3c38d4f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="43c2b7ae-ad11-4387-910a-e6b7a3c38d4f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5ff1bd22-ce14-484e-be56-d2ba4adeac31"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/5ff1bd22-ce14-484e-be56-d2ba4adeac31"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5ff1bd22-ce14-484e-be56-d2ba4adeac31"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07765007"/> + </coding> + <text value="NEUPRO 8MG/24H PFT 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/output.json new file mode 100644 index 00000000..81edcfd2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "672cbdd3-e79f-4323-83f8-49c16ba86769", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "da9a7aca-c16b-49b3-b925-a9a806d65634", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f9d28177-3520-4e84-bee6-bd69b21890a4" + }, + "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": "f9d28177-3520-4e84-bee6-bd69b21890a4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3da8a649-639f-4524-9795-19d57fa41b28", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c737cb5d-53c7-4cef-b719-fcb2323e6dc5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_1f339db0_1f339db0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/output.xml new file mode 100644 index 00000000..c7c3720d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096_1f339db0_1f339db0/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="672cbdd3-e79f-4323-83f8-49c16ba86769"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.037.28"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="da9a7aca-c16b-49b3-b925-a9a806d65634"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f9d28177-3520-4e84-bee6-bd69b21890a4"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f9d28177-3520-4e84-bee6-bd69b21890a4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07765007"/> + </coding> + <text value="NEUPRO 8MG/24H PFT 7 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3da8a649-639f-4524-9795-19d57fa41b28"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c737cb5d-53c7-4cef-b719-fcb2323e6dc5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/output.json deleted file mode 100644 index f5c84cad..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "4b42a68c-741d-4934-931f-3c7dbb4adc71", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "55f00ba1-090f-47e3-be6d-f0ad397347e6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/92df17d7-253d-4acd-a809-0b0c8a11bc47" - }, - "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": "92df17d7-253d-4acd-a809-0b0c8a11bc47", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8205bd15-d52c-4356-86e3-c070c9a6c0a4", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "d2845b83-c3d6-43b2-925e-5442ff362cce", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_d38c02fa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/output.xml deleted file mode 100644 index 8f3a3958..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4b42a68c-741d-4934-931f-3c7dbb4adc71"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.038.25"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="55f00ba1-090f-47e3-be6d-f0ad397347e6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/92df17d7-253d-4acd-a809-0b0c8a11bc47"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="92df17d7-253d-4acd-a809-0b0c8a11bc47"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01403987"/> - </coding> - <text value="ABILIFY 5MG TAB Beragena"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8205bd15-d52c-4356-86e3-c070c9a6c0a4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d2845b83-c3d6-43b2-925e-5442ff362cce"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa_d38c02fa/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa_d38c02fa/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa_d38c02fa/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa_d38c02fa/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa_d38c02fa/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa_d38c02fa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa_d38c02fa/output.json new file mode 100644 index 00000000..54b1fb7c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa_d38c02fa/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "4f29d8c4-14c4-4030-8774-59dee16d1a15", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1d5dd171-bc4f-43db-9e57-406ea73f088b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c8ba84cd-97e4-4a32-a7a9-4eb0a2e781c5" + }, + "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": "c8ba84cd-97e4-4a32-a7a9-4eb0a2e781c5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "43dab6d5-54cb-463c-b257-e4561c909c11", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d59e9cf4-8192-4530-912a-1fd122e89450", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d38c02fa_d38c02fa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa_d38c02fa/output.xml new file mode 100644 index 00000000..3a54a358 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de_d38c02fa_d38c02fa/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4f29d8c4-14c4-4030-8774-59dee16d1a15"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.038.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1d5dd171-bc4f-43db-9e57-406ea73f088b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c8ba84cd-97e4-4a32-a7a9-4eb0a2e781c5"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c8ba84cd-97e4-4a32-a7a9-4eb0a2e781c5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01403987"/> + </coding> + <text value="ABILIFY 5MG TAB Beragena"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="43dab6d5-54cb-463c-b257-e4561c909c11"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d59e9cf4-8192-4530-912a-1fd122e89450"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.json index 110dfd14..b7bc20f1 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "908d50c5-accb-4f12-8e90-7652cf208d52", + "id": "88a8dc6a-9a67-4780-bbd2-d67684c11d56", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "6122de7f-dbf7-411e-ae98-cd1b81a28de9", + "id": "33018bbd-8101-4533-8a09-acb7dacf1bd2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/5f61c7c7-af46-4fee-ac6e-6173b600a89e" + "reference": "Medication/42ebe19d-4f5b-4128-a6a9-299022d34436" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5f61c7c7-af46-4fee-ac6e-6173b600a89e", + "id": "42ebe19d-4f5b-4128-a6a9-299022d34436", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e00db30a-c982-4a27-b43f-548a6454921b", + "id": "0bb287f6-df2f-45af-905c-48aaf0da0c15", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "b3df643f-628b-465f-bf6d-42d7db11e096", + "id": "5cfa1cf2-f732-4005-9d6f-0842f46be6ac", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.xml index b0309a5c..e342ccf6 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="908d50c5-accb-4f12-8e90-7652cf208d52"/> + <id value="88a8dc6a-9a67-4780-bbd2-d67684c11d56"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6122de7f-dbf7-411e-ae98-cd1b81a28de9"/> + <id value="33018bbd-8101-4533-8a09-acb7dacf1bd2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/5f61c7c7-af46-4fee-ac6e-6173b600a89e"/> + <reference value="Medication/42ebe19d-4f5b-4128-a6a9-299022d34436"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5f61c7c7-af46-4fee-ac6e-6173b600a89e"/> + <id value="42ebe19d-4f5b-4128-a6a9-299022d34436"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e00db30a-c982-4a27-b43f-548a6454921b"/> + <id value="0bb287f6-df2f-45af-905c-48aaf0da0c15"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b3df643f-628b-465f-bf6d-42d7db11e096"/> + <id value="5cfa1cf2-f732-4005-9d6f-0842f46be6ac"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/input.xml new file mode 100644 index 00000000..df647c81 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="d38c02fa-bbe3-444d-acfe-60698041bd1f"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.038.25"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/c62c5227-9d23-4a97-9180-f1c7d86e3939"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="c62c5227-9d23-4a97-9180-f1c7d86e3939"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/9284fb68-6f7b-4169-8567-70286e646eaf"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/9284fb68-6f7b-4169-8567-70286e646eaf"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9284fb68-6f7b-4169-8567-70286e646eaf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a627102f-2fb0-4eb6-87b9-f30c6900a23e"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a627102f-2fb0-4eb6-87b9-f30c6900a23e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a627102f-2fb0-4eb6-87b9-f30c6900a23e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01403987"/> + </coding> + <text value="ABILIFY 5MG TAB Beragena"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/output.json new file mode 100644 index 00000000..a5627fa3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "f8318c11-132f-44f5-803c-e5a220a89fd4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "097c9c4b-54b1-49ac-8327-7aac75babd3d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/65564352-f285-409e-b190-3c052a994838" + }, + "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": "65564352-f285-409e-b190-3c052a994838", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3be58d90-ce0a-469d-a52e-09a89677786e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "77f7cec0-e842-4a75-b44b-93fbbbeca2b7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d38c02fa_d38c02fa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/output.xml new file mode 100644 index 00000000..813adfc2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_d38c02fa_d38c02fa/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f8318c11-132f-44f5-803c-e5a220a89fd4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.038.25"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="097c9c4b-54b1-49ac-8327-7aac75babd3d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/65564352-f285-409e-b190-3c052a994838"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="65564352-f285-409e-b190-3c052a994838"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01403987"/> + </coding> + <text value="ABILIFY 5MG TAB Beragena"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3be58d90-ce0a-469d-a52e-09a89677786e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="77f7cec0-e842-4a75-b44b-93fbbbeca2b7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.json index 9889653a..030e48b1 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "7f1ec956-2358-4a82-9dbb-2373141662dc", + "id": "76c14716-0213-453b-a6bf-994703bd6706", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "1216ed7d-b35b-4998-aed7-a502e38b0585", + "id": "ebb28499-f95c-4ec5-ac13-bedb5e8a178c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/d28346f7-0053-4590-b91a-616a2a762a07" + "reference": "Medication/a63c17c3-b52a-48ab-b496-93263a8619be" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "d28346f7-0053-4590-b91a-616a2a762a07", + "id": "a63c17c3-b52a-48ab-b496-93263a8619be", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "03624c6a-4aee-45e9-846d-64e72f148d31", + "id": "41950e83-c3fc-4370-a5a5-d137e33c22c1", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "9dce6f24-927d-4cfe-bfdd-88de7e4eea80", + "id": "1689dad9-bf9c-4e6f-b44c-2377825a3514", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.xml index 6b0bab77..c0761cba 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="7f1ec956-2358-4a82-9dbb-2373141662dc"/> + <id value="76c14716-0213-453b-a6bf-994703bd6706"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1216ed7d-b35b-4998-aed7-a502e38b0585"/> + <id value="ebb28499-f95c-4ec5-ac13-bedb5e8a178c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/d28346f7-0053-4590-b91a-616a2a762a07"/> + <reference value="Medication/a63c17c3-b52a-48ab-b496-93263a8619be"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="d28346f7-0053-4590-b91a-616a2a762a07"/> + <id value="a63c17c3-b52a-48ab-b496-93263a8619be"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="03624c6a-4aee-45e9-846d-64e72f148d31"/> + <id value="41950e83-c3fc-4370-a5a5-d137e33c22c1"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="9dce6f24-927d-4cfe-bfdd-88de7e4eea80"/> + <id value="1689dad9-bf9c-4e6f-b44c-2377825a3514"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c_b942313c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c_b942313c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c_b942313c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c_b942313c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c_b942313c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c_b942313c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c_b942313c/output.json new file mode 100644 index 00000000..b5e33189 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c_b942313c/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "c1577b9d-2bc8-46a8-b468-b8e66d591983", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e81f1c1f-83d6-4e4f-a6de-3953df4c3036", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0670f645-c076-4c8d-81f7-e97388ea1442" + }, + "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": "0670f645-c076-4c8d-81f7-e97388ea1442", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a7559e35-b405-41b3-a78e-5ba1182b93e3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4d5bf26b-d836-4544-b5de-bbc445619ecb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b942313c_b942313c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c_b942313c/output.xml new file mode 100644 index 00000000..7d73886b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_b942313c_b942313c/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c1577b9d-2bc8-46a8-b468-b8e66d591983"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.039.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e81f1c1f-83d6-4e4f-a6de-3953df4c3036"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0670f645-c076-4c8d-81f7-e97388ea1442"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0670f645-c076-4c8d-81f7-e97388ea1442"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09943571"/> + </coding> + <text value="Sprycel 100MG FTA 30 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a7559e35-b405-41b3-a78e-5ba1182b93e3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4d5bf26b-d836-4544-b5de-bbc445619ecb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/output.json deleted file mode 100644 index 76a01562..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "0f3eecc4-52ec-424c-a2a6-ae898213fb55", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "060a029a-3f80-4149-a027-672c15e53cf7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/daa187eb-7c3b-45f1-9d4e-8172060d4c1b" - }, - "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": "daa187eb-7c3b-45f1-9d4e-8172060d4c1b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1a318e53-bf90-43ec-a48d-7cd2081cdcd6", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "22ee61dc-54db-4c11-a34d-a398bb905b81", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_b942313c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/output.xml deleted file mode 100644 index d559c918..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0f3eecc4-52ec-424c-a2a6-ae898213fb55"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.039.22"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="060a029a-3f80-4149-a027-672c15e53cf7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/daa187eb-7c3b-45f1-9d4e-8172060d4c1b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="daa187eb-7c3b-45f1-9d4e-8172060d4c1b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09943571"/> - </coding> - <text value="Sprycel 100MG FTA 30 ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1a318e53-bf90-43ec-a48d-7cd2081cdcd6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="22ee61dc-54db-4c11-a34d-a398bb905b81"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/input.xml new file mode 100644 index 00000000..f55c3324 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="b942313c-50b2-4fd8-b328-4fefc927223e"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.039.22"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/95658e04-f03d-42a6-8295-809136787a13"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="95658e04-f03d-42a6-8295-809136787a13"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/497aea30-5d16-4bb7-abf5-cf22e031d1e4"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/497aea30-5d16-4bb7-abf5-cf22e031d1e4"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="497aea30-5d16-4bb7-abf5-cf22e031d1e4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/05978c9d-93d9-4e9c-aa67-f0a2ff3f8a2a"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/05978c9d-93d9-4e9c-aa67-f0a2ff3f8a2a"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="05978c9d-93d9-4e9c-aa67-f0a2ff3f8a2a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09943571"/> + </coding> + <text value="Sprycel 100MG FTA 30 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/output.json new file mode 100644 index 00000000..f7d7021a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "2221ded7-72c9-4780-b1b8-cb3e0bc7d907", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e97d33bf-21ea-4d2f-865d-5bb373e97ace", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7e849346-00a2-4cc8-a8ee-7a07e0afa034" + }, + "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": "7e849346-00a2-4cc8-a8ee-7a07e0afa034", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d480aefb-cc56-459c-92d1-5d4c615fa8b4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "27fc309d-c21c-4869-ac3a-0ce27f75b56e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_b942313c_b942313c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/output.xml new file mode 100644 index 00000000..41cb8910 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067_b942313c_b942313c/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2221ded7-72c9-4780-b1b8-cb3e0bc7d907"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.039.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e97d33bf-21ea-4d2f-865d-5bb373e97ace"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7e849346-00a2-4cc8-a8ee-7a07e0afa034"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7e849346-00a2-4cc8-a8ee-7a07e0afa034"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09943571"/> + </coding> + <text value="Sprycel 100MG FTA 30 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d480aefb-cc56-459c-92d1-5d4c615fa8b4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="27fc309d-c21c-4869-ac3a-0ce27f75b56e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/output.json deleted file mode 100644 index 3945526f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "d98cec9c-4500-46c3-9bfa-30839eb818ba", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "e3f39d31-cb9a-4418-aa21-4d03c552a797", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/35f054a0-f813-4b6e-8712-ad7d8a003d31" - }, - "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": "35f054a0-f813-4b6e-8712-ad7d8a003d31", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "be7f14e4-18e1-451f-9fef-bd2f8b0d2b78", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "08c00031-4bf5-45c7-ad91-07358771ee3f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_c48d0fb5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/output.xml deleted file mode 100644 index 03e184f8..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d98cec9c-4500-46c3-9bfa-30839eb818ba"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.040.19"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e3f39d31-cb9a-4418-aa21-4d03c552a797"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/35f054a0-f813-4b6e-8712-ad7d8a003d31"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="35f054a0-f813-4b6e-8712-ad7d8a003d31"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09943571"/> - </coding> - <text value="Sprycel 100MG FTA 30 ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="be7f14e4-18e1-451f-9fef-bd2f8b0d2b78"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="08c00031-4bf5-45c7-ad91-07358771ee3f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5_c48d0fb5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5_c48d0fb5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5_c48d0fb5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5_c48d0fb5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5_c48d0fb5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5_c48d0fb5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5_c48d0fb5/output.json new file mode 100644 index 00000000..e95cc0cc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5_c48d0fb5/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "49ca7030-6388-4924-a292-658ea2a48ad7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6aeb2cc8-427a-4cb2-9ce8-a8b3893c909b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c250950b-5d62-4188-92e5-af32fcc33b68" + }, + "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": "c250950b-5d62-4188-92e5-af32fcc33b68", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d8e3930a-8b86-4b34-95a4-0bb7fe5754be", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "954cdcd0-bd2a-4944-b57d-4f284522ac88", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c48d0fb5_c48d0fb5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5_c48d0fb5/output.xml new file mode 100644 index 00000000..b1a25524 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc_c48d0fb5_c48d0fb5/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="49ca7030-6388-4924-a292-658ea2a48ad7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.040.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6aeb2cc8-427a-4cb2-9ce8-a8b3893c909b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c250950b-5d62-4188-92e5-af32fcc33b68"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c250950b-5d62-4188-92e5-af32fcc33b68"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09943571"/> + </coding> + <text value="Sprycel 100MG FTA 30 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d8e3930a-8b86-4b34-95a4-0bb7fe5754be"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="954cdcd0-bd2a-4944-b57d-4f284522ac88"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.json index 82fa7986..c4893fab 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "bf95ad65-6482-4185-89dc-543b167bdc03", + "id": "79155f35-ecb3-4b98-b64b-c62bdd888a82", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "7c11427c-6395-4f90-946d-4bec24b4f68b", + "id": "53c6088c-3c02-4a9a-ae93-3fc030b3d9a6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/91008231-5ab1-4cf8-9aeb-40dcd14b5226" + "reference": "Medication/b281801f-39ac-4a4c-9f4b-5738f9b9b400" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "91008231-5ab1-4cf8-9aeb-40dcd14b5226", + "id": "b281801f-39ac-4a4c-9f4b-5738f9b9b400", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f5cccc7e-dfa5-456d-8aa6-69d8260a4e28", + "id": "fae3e815-353c-49df-ae80-fe0b3ce53828", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "75b0e821-9ea9-46ac-9694-cf8a658025ac", + "id": "28b99e36-71ee-47f8-9690-721c82330ee1", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.xml index 3a631107..47dc32b9 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="bf95ad65-6482-4185-89dc-543b167bdc03"/> + <id value="79155f35-ecb3-4b98-b64b-c62bdd888a82"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7c11427c-6395-4f90-946d-4bec24b4f68b"/> + <id value="53c6088c-3c02-4a9a-ae93-3fc030b3d9a6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/91008231-5ab1-4cf8-9aeb-40dcd14b5226"/> + <reference value="Medication/b281801f-39ac-4a4c-9f4b-5738f9b9b400"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="91008231-5ab1-4cf8-9aeb-40dcd14b5226"/> + <id value="b281801f-39ac-4a4c-9f4b-5738f9b9b400"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f5cccc7e-dfa5-456d-8aa6-69d8260a4e28"/> + <id value="fae3e815-353c-49df-ae80-fe0b3ce53828"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="75b0e821-9ea9-46ac-9694-cf8a658025ac"/> + <id value="28b99e36-71ee-47f8-9690-721c82330ee1"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/input.xml new file mode 100644 index 00000000..cdd3d80c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/input.xml @@ -0,0 +1,383 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c48d0fb5-9d3a-4872-9879-cdd61c39fc1d"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.040.19"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/ca3a6bdf-75dd-425e-9bf4-4de5daa11d3f"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ca3a6bdf-75dd-425e-9bf4-4de5daa11d3f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/9218cbd8-71f1-4800-9b52-370860b7079f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/9218cbd8-71f1-4800-9b52-370860b7079f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9218cbd8-71f1-4800-9b52-370860b7079f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/523bfe94-d8f0-42ac-b4d1-92910cad5be7"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/523bfe94-d8f0-42ac-b4d1-92910cad5be7"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="523bfe94-d8f0-42ac-b4d1-92910cad5be7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09943571"/> + </coding> + <text value="Sprycel 100MG FTA 30 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus BKK"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/output.json new file mode 100644 index 00000000..e6eff3d4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "87256f34-e0fb-45b6-a979-77f73c442b87", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0496bb2d-79d6-4cbd-a651-36707701f0ce", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1c28b944-3dbd-4f90-b7d6-120a7bdf76ab" + }, + "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": "1c28b944-3dbd-4f90-b7d6-120a7bdf76ab", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "078ec9a8-b51d-41a0-882d-6f374ae56abc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "bb276929-c9e1-4083-bc2a-2608571932d1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c48d0fb5_c48d0fb5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/output.xml new file mode 100644 index 00000000..2a0a606f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_c48d0fb5_c48d0fb5/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="87256f34-e0fb-45b6-a979-77f73c442b87"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.040.19"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0496bb2d-79d6-4cbd-a651-36707701f0ce"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1c28b944-3dbd-4f90-b7d6-120a7bdf76ab"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1c28b944-3dbd-4f90-b7d6-120a7bdf76ab"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09943571"/> + </coding> + <text value="Sprycel 100MG FTA 30 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="078ec9a8-b51d-41a0-882d-6f374ae56abc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bb276929-c9e1-4083-bc2a-2608571932d1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/output.json deleted file mode 100644 index e821d6e1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "d8c0b742-349d-4fa8-8719-48f86231f5fb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "6f9fe860-1722-4c28-a07c-9f9f604d93ba", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/2b8805ff-ae5b-435a-861e-eb795aca1e4d" - }, - "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": "2b8805ff-ae5b-435a-861e-eb795aca1e4d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9931dda2-fd74-431c-b2b8-d2b0115c99a9", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "6ede807e-5d20-4cab-b608-73d16ee79046", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_7d1f08b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/output.xml deleted file mode 100644 index a27a61af..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d8c0b742-349d-4fa8-8719-48f86231f5fb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.041.16"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6f9fe860-1722-4c28-a07c-9f9f604d93ba"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/2b8805ff-ae5b-435a-861e-eb795aca1e4d"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2b8805ff-ae5b-435a-861e-eb795aca1e4d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02050605"/> - </coding> - <text value="Euthyrox 50 TAB 50 ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9931dda2-fd74-431c-b2b8-d2b0115c99a9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6ede807e-5d20-4cab-b608-73d16ee79046"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4/output.json new file mode 100644 index 00000000..9f51eb6c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "1f3db436-b90b-4660-ac9b-6b408e2cf3e4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1fee7b33-5bc6-4922-b9f0-5d44c4299566", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6e1ce94b-072a-4940-a30e-2de4f3bb5b7e" + }, + "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": "6e1ce94b-072a-4940-a30e-2de4f3bb5b7e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dab730ee-f851-486e-8e31-9a46f556944f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5e42fdd8-4815-4039-b161-c8c93895afbc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7d1f08b4_7d1f08b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4/output.xml new file mode 100644 index 00000000..88bfd09d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32_7d1f08b4_7d1f08b4/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1f3db436-b90b-4660-ac9b-6b408e2cf3e4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.041.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1fee7b33-5bc6-4922-b9f0-5d44c4299566"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6e1ce94b-072a-4940-a30e-2de4f3bb5b7e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6e1ce94b-072a-4940-a30e-2de4f3bb5b7e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02050605"/> + </coding> + <text value="Euthyrox 50 TAB 50 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dab730ee-f851-486e-8e31-9a46f556944f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5e42fdd8-4815-4039-b161-c8c93895afbc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.json index 7682bac6..3ba04228 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "70011f9c-0016-4f21-8752-b02cf6cb42d1", + "id": "1bf795c2-ed51-47c5-93d9-70675372b38f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "08d31d76-db22-4866-a946-1a01ccd2838d", + "id": "0d55cc27-05ad-49a8-9c28-2b9b02eb1a52", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/d1e4cd65-fb20-45dd-a8ef-de7721de0cd1" + "reference": "Medication/48b163cd-1d19-4fb2-80b5-99bc0e6333f2" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "d1e4cd65-fb20-45dd-a8ef-de7721de0cd1", + "id": "48b163cd-1d19-4fb2-80b5-99bc0e6333f2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "2b5793a7-1fb0-4e04-b3f6-a6859082a3a2", + "id": "a96ad47c-7ad8-4025-ab8e-1d0f71d8b7ae", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "add9b058-3c23-4af1-9f6e-0de6b29a6b5a", + "id": "67980b93-7f7d-47f9-91c8-670e12c59350", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.xml index 31c32c69..e32b0936 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="70011f9c-0016-4f21-8752-b02cf6cb42d1"/> + <id value="1bf795c2-ed51-47c5-93d9-70675372b38f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="08d31d76-db22-4866-a946-1a01ccd2838d"/> + <id value="0d55cc27-05ad-49a8-9c28-2b9b02eb1a52"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/d1e4cd65-fb20-45dd-a8ef-de7721de0cd1"/> + <reference value="Medication/48b163cd-1d19-4fb2-80b5-99bc0e6333f2"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="d1e4cd65-fb20-45dd-a8ef-de7721de0cd1"/> + <id value="48b163cd-1d19-4fb2-80b5-99bc0e6333f2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="2b5793a7-1fb0-4e04-b3f6-a6859082a3a2"/> + <id value="a96ad47c-7ad8-4025-ab8e-1d0f71d8b7ae"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="add9b058-3c23-4af1-9f6e-0de6b29a6b5a"/> + <id value="67980b93-7f7d-47f9-91c8-670e12c59350"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/input.xml new file mode 100644 index 00000000..5957f2ed --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7d1f08b4-0224-4088-b144-841a75011d18"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.041.16"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/60537e65-11db-4ae1-9310-dc40116ab1f2"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="60537e65-11db-4ae1-9310-dc40116ab1f2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/c799df54-4e42-4b0a-8508-39982c722e2c"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/c799df54-4e42-4b0a-8508-39982c722e2c"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c799df54-4e42-4b0a-8508-39982c722e2c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/2420612c-a1c8-4b08-be02-2ee831e0f82a"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/2420612c-a1c8-4b08-be02-2ee831e0f82a"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2420612c-a1c8-4b08-be02-2ee831e0f82a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02050605"/> + </coding> + <text value="Euthyrox 50 TAB 50 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/output.json new file mode 100644 index 00000000..2a08e833 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "ef44e65a-238a-48b7-a59b-b82168ae9f7a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3f9579d0-c369-4b66-8fdd-a5bcbf71642d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d93269b7-0c78-44bb-a27c-dee6d0a929ad" + }, + "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": "d93269b7-0c78-44bb-a27c-dee6d0a929ad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9e973ee6-e159-460f-a493-b0362754a916", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "39ec8a2b-c4d1-40f5-88a0-a587e5c00312", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7d1f08b4_7d1f08b4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/output.xml new file mode 100644 index 00000000..bd6b3d2d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_7d1f08b4_7d1f08b4/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ef44e65a-238a-48b7-a59b-b82168ae9f7a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.041.16"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3f9579d0-c369-4b66-8fdd-a5bcbf71642d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d93269b7-0c78-44bb-a27c-dee6d0a929ad"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d93269b7-0c78-44bb-a27c-dee6d0a929ad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02050605"/> + </coding> + <text value="Euthyrox 50 TAB 50 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9e973ee6-e159-460f-a493-b0362754a916"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="39ec8a2b-c4d1-40f5-88a0-a587e5c00312"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.json index e234cfc4..f89825fc 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "aafc54f2-0f82-4870-a4b7-e68fd7478395", + "id": "6eefac7c-6f79-4027-925b-1a7186bb0232", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "9a18f07b-7fe9-48e3-b485-10367fecc380", + "id": "55838735-8c59-4f4f-a8df-93c63fc545ad", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/4868fee5-cce3-4261-b079-3bb7affdf1fb" + "reference": "Medication/117551b9-42b9-4489-a9d3-1a38a5b4866b" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "4868fee5-cce3-4261-b079-3bb7affdf1fb", + "id": "117551b9-42b9-4489-a9d3-1a38a5b4866b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "5205c26e-cd63-4d3d-9283-022105a1404e", + "id": "163a12f1-5289-4b0f-939c-bf83c357cd34", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "2b06615e-a73b-4368-82dc-71640181ab2e", + "id": "1276fe68-c1d8-4052-aa64-c19c1799c5ad", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.xml index ca40842e..50add7d6 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="aafc54f2-0f82-4870-a4b7-e68fd7478395"/> + <id value="6eefac7c-6f79-4027-925b-1a7186bb0232"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="9a18f07b-7fe9-48e3-b485-10367fecc380"/> + <id value="55838735-8c59-4f4f-a8df-93c63fc545ad"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/4868fee5-cce3-4261-b079-3bb7affdf1fb"/> + <reference value="Medication/117551b9-42b9-4489-a9d3-1a38a5b4866b"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="4868fee5-cce3-4261-b079-3bb7affdf1fb"/> + <id value="117551b9-42b9-4489-a9d3-1a38a5b4866b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="5205c26e-cd63-4d3d-9283-022105a1404e"/> + <id value="163a12f1-5289-4b0f-939c-bf83c357cd34"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="2b06615e-a73b-4368-82dc-71640181ab2e"/> + <id value="1276fe68-c1d8-4052-aa64-c19c1799c5ad"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8_60e48db8/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8_60e48db8/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8_60e48db8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8_60e48db8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8_60e48db8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8_60e48db8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8_60e48db8/output.json new file mode 100644 index 00000000..4fa3b08c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8_60e48db8/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "61b97006-d9a5-46f3-9349-ce546914d041", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1712c9ec-5b5e-484c-a228-15b63e822d36", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f707c021-63ef-442c-b271-185ad8442cd6" + }, + "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": "f707c021-63ef-442c-b271-185ad8442cd6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "b893e21a-a440-444e-b512-a7cfd0b3abe9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "afca1bd2-4e47-406b-bee3-b107391b1e55", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_60e48db8_60e48db8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8_60e48db8/output.xml new file mode 100644 index 00000000..69d62d2a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_60e48db8_60e48db8/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="61b97006-d9a5-46f3-9349-ce546914d041"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.042.13"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1712c9ec-5b5e-484c-a228-15b63e822d36"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f707c021-63ef-442c-b271-185ad8442cd6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f707c021-63ef-442c-b271-185ad8442cd6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="17513301"/> + </coding> + <text value="Priorix docpharm"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PLI"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b893e21a-a440-444e-b512-a7cfd0b3abe9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="afca1bd2-4e47-406b-bee3-b107391b1e55"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/output.json deleted file mode 100644 index 760d8e6c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "f7e97add-d98e-4340-8e83-f0bb35f11d0d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "0f3bd670-5726-44a2-8f2c-b7a64290868f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/c56c8f85-3805-4a67-bd2c-bbdb4cdc3152" - }, - "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": "c56c8f85-3805-4a67-bd2c-bbdb4cdc3152", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.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": "99bd84d3-1518-4f81-b353-31092574bd27", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "9a0118a7-7844-4b6f-a85c-c2cfce7693ed", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_60e48db8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/output.xml deleted file mode 100644 index 2cbe0e3b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f7e97add-d98e-4340-8e83-f0bb35f11d0d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.042.13"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0f3bd670-5726-44a2-8f2c-b7a64290868f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/c56c8f85-3805-4a67-bd2c-bbdb4cdc3152"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c56c8f85-3805-4a67-bd2c-bbdb4cdc3152"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="17513301"/> - </coding> - <text value="Priorix docpharm"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PLI"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="99bd84d3-1518-4f81-b353-31092574bd27"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="9a0118a7-7844-4b6f-a85c-c2cfce7693ed"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/input.xml new file mode 100644 index 00000000..eb387b39 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="60e48db8-1164-4535-8600-ba83785ac58a"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.042.13"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/5597e0b6-86f9-460f-bdd2-469322a13f1d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="5597e0b6-86f9-460f-bdd2-469322a13f1d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/3e10ae87-8c81-4f69-ad74-cd15e50b0a69"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/3e10ae87-8c81-4f69-ad74-cd15e50b0a69"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3e10ae87-8c81-4f69-ad74-cd15e50b0a69"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/bdb52b32-96ef-4616-8368-c60148b090b1"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/bdb52b32-96ef-4616-8368-c60148b090b1"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2420612c-a1c8-4b08-be02-2ee831e0f82a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="17513301"/> + </coding> + <text value="Priorix docpharm"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PLI"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/output.json new file mode 100644 index 00000000..74500edb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "a19a7ce2-10ad-495d-b469-fcb3623515af", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "70391fa8-f321-42cb-b136-8fbb6241dd7f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/49df5c7e-3901-48e1-9f5c-1cd342d28e90" + }, + "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": "49df5c7e-3901-48e1-9f5c-1cd342d28e90", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "2390051f-b873-4481-9f7e-fcdd2228f5f5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b11f6691-8cae-43b3-b47d-104b8324d9bb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_60e48db8_60e48db8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/output.xml new file mode 100644 index 00000000..86dd0a53 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e_60e48db8_60e48db8/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a19a7ce2-10ad-495d-b469-fcb3623515af"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.042.13"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="70391fa8-f321-42cb-b136-8fbb6241dd7f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/49df5c7e-3901-48e1-9f5c-1cd342d28e90"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="49df5c7e-3901-48e1-9f5c-1cd342d28e90"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="17513301"/> + </coding> + <text value="Priorix docpharm"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PLI"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2390051f-b873-4481-9f7e-fcdd2228f5f5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b11f6691-8cae-43b3-b47d-104b8324d9bb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/output.json deleted file mode 100644 index 29cc5052..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "a4ac7a49-f178-471b-b7b6-79592503e05c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "0492af30-4af7-4d0b-ba6e-745f86146646", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/ac5921d3-463b-4e1e-8e40-435a4446e4cc" - }, - "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": "ac5921d3-463b-4e1e-8e40-435a4446e4cc", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "92e6b137-5bec-4f05-8829-f3ff2da96327", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "fe1c2db3-dd69-45a5-9304-c5f2ec11755e", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_acf39375/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/output.xml deleted file mode 100644 index e2704421..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a4ac7a49-f178-471b-b7b6-79592503e05c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.043.10"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0492af30-4af7-4d0b-ba6e-745f86146646"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/ac5921d3-463b-4e1e-8e40-435a4446e4cc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="ac5921d3-463b-4e1e-8e40-435a4446e4cc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="11219196"/> - </coding> - <text value="Abasaglar 100 E/ML KWIKPEN PEN 10x3ml"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="92e6b137-5bec-4f05-8829-f3ff2da96327"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="fe1c2db3-dd69-45a5-9304-c5f2ec11755e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375_acf39375/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375_acf39375/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375_acf39375/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375_acf39375/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375_acf39375/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375_acf39375/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375_acf39375/output.json new file mode 100644 index 00000000..de50e5b1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375_acf39375/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "d40cf765-b620-47fc-9722-1d8eaff54476", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c5e3c6a3-171c-4e8e-888f-5c5034a76b07", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/035ca387-b239-4369-9aca-d90f21668451" + }, + "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": "035ca387-b239-4369-9aca-d90f21668451", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b64db0ad-faf4-4697-8f36-3db640ef837f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b6d224db-1e00-4fe6-bd1c-c907cdf18be1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_acf39375_acf39375/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375_acf39375/output.xml new file mode 100644 index 00000000..40e0e72a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0_acf39375_acf39375/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d40cf765-b620-47fc-9722-1d8eaff54476"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.043.10"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c5e3c6a3-171c-4e8e-888f-5c5034a76b07"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/035ca387-b239-4369-9aca-d90f21668451"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="035ca387-b239-4369-9aca-d90f21668451"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11219196"/> + </coding> + <text value="Abasaglar 100 E/ML KWIKPEN PEN 10x3ml"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b64db0ad-faf4-4697-8f36-3db640ef837f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b6d224db-1e00-4fe6-bd1c-c907cdf18be1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.json index bf437c93..b84ef53b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ead8671b-d019-4895-9924-36a0c7f3546e", + "id": "63761d84-40ad-4650-a6ee-cc6b7e22b1b3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "8c3f3629-a598-4ef3-89ce-7662c5a4153e", + "id": "27730f30-6390-4e35-84bf-1a53064da5f0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/4bc88fd0-5fa7-4dc3-bd38-aa612a38406f" + "reference": "Medication/2b503604-56dd-450f-b9af-0299138a1412" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "4bc88fd0-5fa7-4dc3-bd38-aa612a38406f", + "id": "2b503604-56dd-450f-b9af-0299138a1412", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e37e4c1a-790e-45e6-8ec5-cc7399faf507", + "id": "5f8d0cdc-2588-43b5-8cf5-64c15c450e5b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "88e75171-afc8-45ac-86da-95c62d00ab1a", + "id": "e965d2bb-2270-4603-a654-13125d9b5ec5", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.xml index 1f88c74a..af2b9c88 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="ead8671b-d019-4895-9924-36a0c7f3546e"/> + <id value="63761d84-40ad-4650-a6ee-cc6b7e22b1b3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8c3f3629-a598-4ef3-89ce-7662c5a4153e"/> + <id value="27730f30-6390-4e35-84bf-1a53064da5f0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/4bc88fd0-5fa7-4dc3-bd38-aa612a38406f"/> + <reference value="Medication/2b503604-56dd-450f-b9af-0299138a1412"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="4bc88fd0-5fa7-4dc3-bd38-aa612a38406f"/> + <id value="2b503604-56dd-450f-b9af-0299138a1412"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e37e4c1a-790e-45e6-8ec5-cc7399faf507"/> + <id value="5f8d0cdc-2588-43b5-8cf5-64c15c450e5b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="88e75171-afc8-45ac-86da-95c62d00ab1a"/> + <id value="e965d2bb-2270-4603-a654-13125d9b5ec5"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/input.xml new file mode 100644 index 00000000..038a96ab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="acf39375-3a2b-4017-995d-531705fc129d"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.043.10"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/7a4dc8bb-78ab-4b90-8bae-410fb816de8d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="7a4dc8bb-78ab-4b90-8bae-410fb816de8d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/521786fd-c598-4b3f-95d1-51ac9540e836"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/521786fd-c598-4b3f-95d1-51ac9540e836"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="521786fd-c598-4b3f-95d1-51ac9540e836"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a23cea34-1141-42f3-903c-69740cc94a07"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a23cea34-1141-42f3-903c-69740cc94a07"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a23cea34-1141-42f3-903c-69740cc94a07"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11219196"/> + </coding> + <text value="Abasaglar 100 E/ML KWIKPEN PEN 10x3ml"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/output.json new file mode 100644 index 00000000..c5e3243b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "330553f3-515e-4298-9fc4-7ad7184653fa", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "237a12d8-e19e-476f-9d08-6aa62e4c8b88", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/350253e2-beba-499b-aef8-e4ecd1eaf742" + }, + "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": "350253e2-beba-499b-aef8-e4ecd1eaf742", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "428074c0-40c1-45be-aa00-2671cd807ae7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6b714b7f-a920-421c-b826-5b130bc99fa5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_acf39375_acf39375/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/output.xml new file mode 100644 index 00000000..6a7b2ede --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_acf39375_acf39375/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="330553f3-515e-4298-9fc4-7ad7184653fa"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.043.10"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="237a12d8-e19e-476f-9d08-6aa62e4c8b88"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/350253e2-beba-499b-aef8-e4ecd1eaf742"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="350253e2-beba-499b-aef8-e4ecd1eaf742"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11219196"/> + </coding> + <text value="Abasaglar 100 E/ML KWIKPEN PEN 10x3ml"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="428074c0-40c1-45be-aa00-2671cd807ae7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6b714b7f-a920-421c-b826-5b130bc99fa5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_328ad940_328ad940/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_328ad940_328ad940/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_328ad940_328ad940/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_328ad940_328ad940/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_328ad940_328ad940/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_328ad940_328ad940/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_328ad940_328ad940/output.json new file mode 100644 index 00000000..cea1e6b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_328ad940_328ad940/output.json @@ -0,0 +1,220 @@ +{ + "resourceType": "Parameters", + "id": "2804e079-d3ba-4e76-812a-11681b31dc97", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "addbc020-ffc2-429b-a485-de922b0bd026", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f044bbc6-85f2-4094-8f20-69b4f5402b74" + }, + "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": "f044bbc6-85f2-4094-8f20-69b4f5402b74", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "70a3d810-87ba-4a33-8bc3-806529bb9b06", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a24b24db-c917-4846-9ee2-d2615877bf8d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_328ad940_328ad940/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_328ad940_328ad940/output.xml new file mode 100644 index 00000000..df477c48 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_328ad940_328ad940/output.xml @@ -0,0 +1,224 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2804e079-d3ba-4e76-812a-11681b31dc97"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="addbc020-ffc2-429b-a485-de922b0bd026"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f044bbc6-85f2-4094-8f20-69b4f5402b74"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f044bbc6-85f2-4094-8f20-69b4f5402b74"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03879429"/> + </coding> + <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="30"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="70a3d810-87ba-4a33-8bc3-806529bb9b06"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-749999999"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a24b24db-c917-4846-9ee2-d2615877bf8d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-748382202"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/output.json deleted file mode 100644 index af8ecc14..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/output.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "57c424c3-c012-4916-bc16-1860a3f663f7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "3aade406-62fd-4014-9f43-a168750d2f7c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/fadf6fb2-85a9-4954-84c6-ce8e94462009" - }, - "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": "fadf6fb2-85a9-4954-84c6-ce8e94462009", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a687517b-7c92-4761-89a5-bbd2bfc5312b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "5ef66944-905a-4245-9c35-9cc97aee236c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_328ad940/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/output.xml deleted file mode 100644 index 79441630..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940/output.xml +++ /dev/null @@ -1,224 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="57c424c3-c012-4916-bc16-1860a3f663f7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.22"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3aade406-62fd-4014-9f43-a168750d2f7c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/fadf6fb2-85a9-4954-84c6-ce8e94462009"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="fadf6fb2-85a9-4954-84c6-ce8e94462009"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03879429"/> - </coding> - <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="RET"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="30"/> - </extension> - <unit value="Stück"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a687517b-7c92-4761-89a5-bbd2bfc5312b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="999999900"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-749999999"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5ef66944-905a-4245-9c35-9cc97aee236c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="999999900"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-748382202"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940_328ad940/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940_328ad940/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940_328ad940/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940_328ad940/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940_328ad940/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940_328ad940/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940_328ad940/output.json new file mode 100644 index 00000000..028bf8de --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940_328ad940/output.json @@ -0,0 +1,220 @@ +{ + "resourceType": "Parameters", + "id": "9bb69127-629b-433c-8904-e4144ea2536d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e9777969-224d-4a4d-933b-3709cc6b648f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/36a8f204-c914-4789-8d1b-adf3ee6e41d3" + }, + "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": "36a8f204-c914-4789-8d1b-adf3ee6e41d3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4ddc8750-c0ce-4cdf-9337-c65437d35a8d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "98df5afa-4511-4cdf-8d63-7b07e9832f3c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_328ad940_328ad940/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940_328ad940/output.xml new file mode 100644 index 00000000..5c347d13 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093_328ad940_328ad940/output.xml @@ -0,0 +1,224 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9bb69127-629b-433c-8904-e4144ea2536d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e9777969-224d-4a4d-933b-3709cc6b648f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/36a8f204-c914-4789-8d1b-adf3ee6e41d3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="36a8f204-c914-4789-8d1b-adf3ee6e41d3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03879429"/> + </coding> + <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="30"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4ddc8750-c0ce-4cdf-9337-c65437d35a8d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-749999999"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="98df5afa-4511-4cdf-8d63-7b07e9832f3c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-748382202"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.json index fd4e1557..8baa68cc 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "684f7211-f1af-4852-aa43-9470e553b6ad", + "id": "c8c64b51-6e50-4770-a8d8-eb1edfa8c855", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "b915ff87-c010-4919-a4c3-00f86db0525a", + "id": "98774cd6-e205-43df-b692-5f7a7b9cb4ed", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/555efbc0-97fd-4ac1-96b3-0f2ded43cdd5" + "reference": "Medication/a53c3e64-d5c6-45dd-95d7-d8f385f17944" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "555efbc0-97fd-4ac1-96b3-0f2ded43cdd5", + "id": "a53c3e64-d5c6-45dd-95d7-d8f385f17944", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "027248d4-2b59-4b6a-8c8c-03b8f38eef79", + "id": "e705ed3a-854f-428f-908a-0c63307aceed", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -174,7 +174,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "b554bee9-4b1a-4fce-a670-b9e9812d9e63", + "id": "2c16808b-32fb-49be-bd16-a393b6d1dd8d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.xml index f2ab4e7a..937bee3f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="684f7211-f1af-4852-aa43-9470e553b6ad"/> + <id value="c8c64b51-6e50-4770-a8d8-eb1edfa8c855"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b915ff87-c010-4919-a4c3-00f86db0525a"/> + <id value="98774cd6-e205-43df-b692-5f7a7b9cb4ed"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/555efbc0-97fd-4ac1-96b3-0f2ded43cdd5"/> + <reference value="Medication/a53c3e64-d5c6-45dd-95d7-d8f385f17944"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="555efbc0-97fd-4ac1-96b3-0f2ded43cdd5"/> + <id value="a53c3e64-d5c6-45dd-95d7-d8f385f17944"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -110,7 +110,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="027248d4-2b59-4b6a-8c8c-03b8f38eef79"/> + <id value="e705ed3a-854f-428f-908a-0c63307aceed"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -178,7 +178,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b554bee9-4b1a-4fce-a670-b9e9812d9e63"/> + <id value="2c16808b-32fb-49be-bd16-a393b6d1dd8d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/input.xml new file mode 100644 index 00000000..99796153 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/input.xml @@ -0,0 +1,406 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="328ad940-3fff-11ed-b878-0242ac120002"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.22"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03879429"/> + </coding> + <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="30"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="P123464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Privati"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Privati"/> + </extension> + </family> + <given value="Paula"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-748382202"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-749999999"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="123456789"/> + </identifier> + <display value="Allianz Private Krankenversicherung"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/output.json new file mode 100644 index 00000000..7c5c611a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/output.json @@ -0,0 +1,220 @@ +{ + "resourceType": "Parameters", + "id": "4209f7b4-778f-4b11-9b20-bcae844ef93b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6d2ed3cd-ee2b-4fff-8e70-6bf0ccc964b6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/dd9ed411-be5d-4c14-9999-9bbaa7d019b8" + }, + "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": "dd9ed411-be5d-4c14-9999-9bbaa7d019b8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "843c873a-150e-4e3e-a9c8-2d80a9e88cce", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a00e8032-3486-4353-9499-70d21e7fec56", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_328ad940_328ad940/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/output.xml new file mode 100644 index 00000000..21581b7a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_328ad940_328ad940/output.xml @@ -0,0 +1,224 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4209f7b4-778f-4b11-9b20-bcae844ef93b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6d2ed3cd-ee2b-4fff-8e70-6bf0ccc964b6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/dd9ed411-be5d-4c14-9999-9bbaa7d019b8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dd9ed411-be5d-4c14-9999-9bbaa7d019b8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03879429"/> + </coding> + <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="30"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="843c873a-150e-4e3e-a9c8-2d80a9e88cce"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-749999999"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a00e8032-3486-4353-9499-70d21e7fec56"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-748382202"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/output.json deleted file mode 100644 index e8050dbd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/output.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "78141812-7edd-4a9f-ae83-06ac64590a5b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "0adad16c-1b20-4088-a009-3a8027eb5c25", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/36433058-8288-4de7-9fae-1e7e6a3ba1be" - }, - "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": "36433058-8288-4de7-9fae-1e7e6a3ba1be", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "39953d75-a5ee-43df-81be-08ee68888627", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "da0cf893-0e8e-4a61-811f-062c113fdc80", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_fc33c82b_328ad940/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/output.xml deleted file mode 100644 index 8d3eadc5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940/output.xml +++ /dev/null @@ -1,224 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="78141812-7edd-4a9f-ae83-06ac64590a5b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.22"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0adad16c-1b20-4088-a009-3a8027eb5c25"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/36433058-8288-4de7-9fae-1e7e6a3ba1be"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="36433058-8288-4de7-9fae-1e7e6a3ba1be"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03879429"/> - </coding> - <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="RET"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="30"/> - </extension> - <unit value="Stück"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="39953d75-a5ee-43df-81be-08ee68888627"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="999999900"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-749999999"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="da0cf893-0e8e-4a61-811f-062c113fdc80"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="999999900"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-748382202"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/input.xml new file mode 100644 index 00000000..99796153 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/input.xml @@ -0,0 +1,406 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="328ad940-3fff-11ed-b878-0242ac120002"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.22"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03879429"/> + </coding> + <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="30"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/pkv/kvid-10"/> + <value value="P123464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Privati"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Privati"/> + </extension> + </family> + <given value="Paula"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-748382202"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-749999999"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="PKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="123456789"/> + </identifier> + <display value="Allianz Private Krankenversicherung"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/output.json new file mode 100644 index 00000000..a0cc26e7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/output.json @@ -0,0 +1,220 @@ +{ + "resourceType": "Parameters", + "id": "c49cef26-e938-4d1b-8abf-fa0c4ec0fed2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b3e47b10-2bab-4b34-8126-285b0c7db047", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7bfbd530-5dff-4b2f-9140-73a9cea35b89" + }, + "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": "7bfbd530-5dff-4b2f-9140-73a9cea35b89", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "53d65b2f-aa7c-41ac-8ec6-d2a4c65f34d0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "22fd935e-054d-40ee-8db1-b1b1ea3d5745", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_fc33c82b_328ad940_328ad940/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/output.xml new file mode 100644 index 00000000..cbdfb784 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_fc33c82b_328ad940_328ad940/output.xml @@ -0,0 +1,224 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c49cef26-e938-4d1b-8abf-fa0c4ec0fed2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.22"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b3e47b10-2bab-4b34-8126-285b0c7db047"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7bfbd530-5dff-4b2f-9140-73a9cea35b89"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7bfbd530-5dff-4b2f-9140-73a9cea35b89"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03879429"/> + </coding> + <text value="Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="30"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="53d65b2f-aa7c-41ac-8ec6-d2a4c65f34d0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-749999999"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="22fd935e-054d-40ee-8db1-b1b1ea3d5745"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="999999900"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-748382202"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.json index a44559a9..a95e93e6 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "0f834737-20c7-4b14-bd6f-ee8ed7537df4", + "id": "61497ba1-e9eb-4fea-9c36-0cc12ba215f3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "23c1f067-6687-4ec9-b1ed-77f30639276b", + "id": "46372e9e-672e-4d43-bcca-69b95eb5fee2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/934b7279-aede-47d7-80bb-26c3888c8840" + "reference": "Medication/65d0eaab-4a1d-4891-8b82-2915e55fbde7" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "934b7279-aede-47d7-80bb-26c3888c8840", + "id": "65d0eaab-4a1d-4891-8b82-2915e55fbde7", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "92291693-3f64-4323-950f-e1cddab3b913", + "id": "5a562383-90cf-4f10-b12e-a1882046ba95", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "b2ec3f52-4703-4368-8e6b-2a2dc5827454", + "id": "50f89de2-aa1c-4732-bf5d-7a3229001615", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.xml index 1f944835..fcbdb7ae 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="0f834737-20c7-4b14-bd6f-ee8ed7537df4"/> + <id value="61497ba1-e9eb-4fea-9c36-0cc12ba215f3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="23c1f067-6687-4ec9-b1ed-77f30639276b"/> + <id value="46372e9e-672e-4d43-bcca-69b95eb5fee2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/934b7279-aede-47d7-80bb-26c3888c8840"/> + <reference value="Medication/65d0eaab-4a1d-4891-8b82-2915e55fbde7"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="934b7279-aede-47d7-80bb-26c3888c8840"/> + <id value="65d0eaab-4a1d-4891-8b82-2915e55fbde7"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="92291693-3f64-4323-950f-e1cddab3b913"/> + <id value="5a562383-90cf-4f10-b12e-a1882046ba95"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b2ec3f52-4703-4368-8e6b-2a2dc5827454"/> + <id value="50f89de2-aa1c-4732-bf5d-7a3229001615"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152_50926152/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152_50926152/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152_50926152/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152_50926152/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152_50926152/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152_50926152/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152_50926152/output.json new file mode 100644 index 00000000..f7deb858 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152_50926152/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "b515ce3c-6dce-4109-bbbe-4d4b9f9b4f0b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d112dd07-5046-4e56-8029-bb7ab43aac12", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/53969fd9-abcb-44b8-858b-dc0c63fa815b" + }, + "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": "53969fd9-abcb-44b8-858b-dc0c63fa815b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c43b81c2-78b4-42b5-b672-eaba12934b39", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b200d74f-b131-4dbc-8c01-1d0e97a4be74", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_50926152_50926152/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152_50926152/output.xml new file mode 100644 index 00000000..1a285c84 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_50926152_50926152/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b515ce3c-6dce-4109-bbbe-4d4b9f9b4f0b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.044.07"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d112dd07-5046-4e56-8029-bb7ab43aac12"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/53969fd9-abcb-44b8-858b-dc0c63fa815b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="53969fd9-abcb-44b8-858b-dc0c63fa815b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09338114"/> + </coding> + <text value="Neupro 4MG/24H PFT 7ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c43b81c2-78b4-42b5-b672-eaba12934b39"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b200d74f-b131-4dbc-8c01-1d0e97a4be74"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/output.json deleted file mode 100644 index 79e9eb25..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "433064e6-f18b-40e4-9b5d-afa3b96adf8b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "31ff7a21-16fc-4faa-8239-a7dc9b54724b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/d4fa6b62-1eff-4b8d-a0d3-b7170caf3051" - }, - "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": "d4fa6b62-1eff-4b8d-a0d3-b7170caf3051", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3ab81784-0912-49b8-b186-556e1e30de43", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "10fc2027-c291-4325-99b7-c1e8ebfea3cb", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_50926152/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/output.xml deleted file mode 100644 index 07989837..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="433064e6-f18b-40e4-9b5d-afa3b96adf8b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.044.07"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="31ff7a21-16fc-4faa-8239-a7dc9b54724b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/d4fa6b62-1eff-4b8d-a0d3-b7170caf3051"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="d4fa6b62-1eff-4b8d-a0d3-b7170caf3051"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="09338114"/> - </coding> - <text value="Neupro 4MG/24H PFT 7ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PFT"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="3ab81784-0912-49b8-b186-556e1e30de43"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="10fc2027-c291-4325-99b7-c1e8ebfea3cb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/input.xml new file mode 100644 index 00000000..80acb153 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="50926152-1499-4084-b784-b696d468946b"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.044.07"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/1d912f7c-a525-481b-81ec-58aec41f1ea8"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1d912f7c-a525-481b-81ec-58aec41f1ea8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/c1f6cd7f-67ed-48eb-b221-bbafd05187cd"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/c1f6cd7f-67ed-48eb-b221-bbafd05187cd"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c1f6cd7f-67ed-48eb-b221-bbafd05187cd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/ea3e3f70-119f-4b81-800f-3a189dd4ce4c"/> + </medicationReference> + <subject> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/ea3e3f70-119f-4b81-800f-3a189dd4ce4c"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ea3e3f70-119f-4b81-800f-3a189dd4ce4c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09338114"/> + </coding> + <text value="Neupro 4MG/24H PFT 7ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="E111111113"/> + </identifier> + <name> + <use value="official"/> + <family value="Christrose"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Christrose"/> + </extension> + </family> + <given value="Christa"/> + </name> + <birthDate value="1933-03-13"/> + <address> + <type value="both"/> + <line value="Nagelsweg 27"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Nagelsweg"/> + </extension> + </line> + <city value="Hamburg"/> + <postalCode value="20097"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="02"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101560000"/> + </identifier> + <display value="DAK-GESUNDHEIT"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/output.json new file mode 100644 index 00000000..bd5caaf0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "70acb846-8809-4425-97e9-0b49360afa72", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7c2d71cd-1664-43ea-8bf3-d01f622622a2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f7c3bfce-c7c9-429b-b8f5-d2408774c744" + }, + "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": "f7c3bfce-c7c9-429b-b8f5-d2408774c744", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f81abbb8-3a1f-47fe-af68-a929e4b946be", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "83d0a143-0170-49ea-bb31-c5df86336fcf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_50926152_50926152/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/output.xml new file mode 100644 index 00000000..0a48ebdb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd_50926152_50926152/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="70acb846-8809-4425-97e9-0b49360afa72"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.044.07"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7c2d71cd-1664-43ea-8bf3-d01f622622a2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f7c3bfce-c7c9-429b-b8f5-d2408774c744"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f7c3bfce-c7c9-429b-b8f5-d2408774c744"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="09338114"/> + </coding> + <text value="Neupro 4MG/24H PFT 7ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f81abbb8-3a1f-47fe-af68-a929e4b946be"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="83d0a143-0170-49ea-bb31-c5df86336fcf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/output.json deleted file mode 100644 index 6fddd5cb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "3939e284-8578-4bcf-9cdc-60a4ef2b3c27", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "33f58606-64aa-4bb2-9b4b-12f0fbbb4ba8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/06bd93bc-1488-4fff-943b-30f85282658c" - }, - "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": "06bd93bc-1488-4fff-943b-30f85282658c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d860750c-dd4b-4618-8f84-a21c0adb2a3c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "d42d617f-0420-4ae6-ade5-a659a82b1f37", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_e9de4852/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/output.xml deleted file mode 100644 index 05c55f57..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="3939e284-8578-4bcf-9cdc-60a4ef2b3c27"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.045.04"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="33f58606-64aa-4bb2-9b4b-12f0fbbb4ba8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/06bd93bc-1488-4fff-943b-30f85282658c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="06bd93bc-1488-4fff-943b-30f85282658c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="07699339"/> - </coding> - <text value="Sortis 10MG FTA 50ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d860750c-dd4b-4618-8f84-a21c0adb2a3c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d42d617f-0420-4ae6-ade5-a659a82b1f37"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852_e9de4852/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852_e9de4852/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852_e9de4852/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852_e9de4852/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852_e9de4852/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852_e9de4852/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852_e9de4852/output.json new file mode 100644 index 00000000..4a4b2c77 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852_e9de4852/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "0b25d08a-298d-40e9-892f-e7300c26ba48", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "357893cd-d54a-423d-b488-9ad564f68cc0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/cb0d24c6-6136-4857-be31-d03a70ce77f2" + }, + "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": "cb0d24c6-6136-4857-be31-d03a70ce77f2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d7d24ae9-b8f9-4c9f-b563-21acd10a3286", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "beb48c30-9440-4b45-978c-e8dffe1dd5cc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e9de4852_e9de4852/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852_e9de4852/output.xml new file mode 100644 index 00000000..50ba3574 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b_e9de4852_e9de4852/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0b25d08a-298d-40e9-892f-e7300c26ba48"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.045.04"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="357893cd-d54a-423d-b488-9ad564f68cc0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/cb0d24c6-6136-4857-be31-d03a70ce77f2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cb0d24c6-6136-4857-be31-d03a70ce77f2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07699339"/> + </coding> + <text value="Sortis 10MG FTA 50ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d7d24ae9-b8f9-4c9f-b563-21acd10a3286"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="beb48c30-9440-4b45-978c-e8dffe1dd5cc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.json index be97e1e0..ab844350 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "59546e81-9268-4a85-94c9-a2317a1f4acb", + "id": "29d210bf-cd61-428a-9daf-cd3822f0212d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "88f1a50e-bfca-4fbd-ba6c-e5bc0972290f", + "id": "5e6332eb-9ccd-48ee-936a-bb1f30a6ec8c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/d7f03373-6d79-4028-a6f6-d23c9e6ad929" + "reference": "Medication/5cc5463e-cb4b-4be6-94c7-f25f587ca733" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "d7f03373-6d79-4028-a6f6-d23c9e6ad929", + "id": "5cc5463e-cb4b-4be6-94c7-f25f587ca733", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "c998bb82-a450-4dc8-8f8e-02ee639437c5", + "id": "628a011d-47de-4d12-bd85-c7da09aa787f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "52d73e76-8dc2-4e17-ab13-f7e0b86d0c13", + "id": "36584e58-951f-435c-9a98-7715a014ffb0", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.xml index a7fc3fcf..5a43d083 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="59546e81-9268-4a85-94c9-a2317a1f4acb"/> + <id value="29d210bf-cd61-428a-9daf-cd3822f0212d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="88f1a50e-bfca-4fbd-ba6c-e5bc0972290f"/> + <id value="5e6332eb-9ccd-48ee-936a-bb1f30a6ec8c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/d7f03373-6d79-4028-a6f6-d23c9e6ad929"/> + <reference value="Medication/5cc5463e-cb4b-4be6-94c7-f25f587ca733"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="d7f03373-6d79-4028-a6f6-d23c9e6ad929"/> + <id value="5cc5463e-cb4b-4be6-94c7-f25f587ca733"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="c998bb82-a450-4dc8-8f8e-02ee639437c5"/> + <id value="628a011d-47de-4d12-bd85-c7da09aa787f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="52d73e76-8dc2-4e17-ab13-f7e0b86d0c13"/> + <id value="36584e58-951f-435c-9a98-7715a014ffb0"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/input.xml new file mode 100644 index 00000000..e5a3faac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="e9de4852-9336-4fad-9378-3c904b54ced8"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.045.04"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/e8ae9644-4ebd-4b02-8c0b-c2736c26f4fa"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="e8ae9644-4ebd-4b02-8c0b-c2736c26f4fa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/92340404-2726-4170-a5e4-e5389aa3f68b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/92340404-2726-4170-a5e4-e5389aa3f68b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="92340404-2726-4170-a5e4-e5389aa3f68b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/abe4ad76-02c3-4da2-a1ff-56b038cb85b5"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/abe4ad76-02c3-4da2-a1ff-56b038cb85b5"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="abe4ad76-02c3-4da2-a1ff-56b038cb85b5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07699339"/> + </coding> + <text value="Sortis 10MG FTA 50ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/output.json new file mode 100644 index 00000000..c986cbcf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "5d0187ce-ec32-4c1f-8fa2-31ae9ca8000b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d176de0d-445d-4d89-9c79-8c6b3f5c4138", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bc1bbff2-96fa-4eba-a55e-bfe3599b31b1" + }, + "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": "bc1bbff2-96fa-4eba-a55e-bfe3599b31b1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8b5a61d4-05a1-4ee7-8283-78cd75e9cb59", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0212c86a-1b61-4bf8-b696-b3b1e42cda7d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_e9de4852_e9de4852/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/output.xml new file mode 100644 index 00000000..c73af73c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_e9de4852_e9de4852/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5d0187ce-ec32-4c1f-8fa2-31ae9ca8000b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.045.04"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d176de0d-445d-4d89-9c79-8c6b3f5c4138"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bc1bbff2-96fa-4eba-a55e-bfe3599b31b1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bc1bbff2-96fa-4eba-a55e-bfe3599b31b1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="07699339"/> + </coding> + <text value="Sortis 10MG FTA 50ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8b5a61d4-05a1-4ee7-8283-78cd75e9cb59"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0212c86a-1b61-4bf8-b696-b3b1e42cda7d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/output.json deleted file mode 100644 index 8c8d6ea1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "8337fb15-c3a7-4f75-ba58-109c17f26386", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "516d9a34-5b1d-49ce-99d9-d74712e63fbf", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/e7ac293b-dd8c-4c87-8053-aff67dd8653e" - }, - "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": "e7ac293b-dd8c-4c87-8053-aff67dd8653e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "88076610-6d43-4f29-bfc0-8f5b6d19c511", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "bbc6d39d-90f7-402f-af62-0fa8da1c7a00", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_fe9200db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/output.xml deleted file mode 100644 index 76143b46..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="8337fb15-c3a7-4f75-ba58-109c17f26386"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.046.98"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="516d9a34-5b1d-49ce-99d9-d74712e63fbf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/e7ac293b-dd8c-4c87-8053-aff67dd8653e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="e7ac293b-dd8c-4c87-8053-aff67dd8653e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="11164213"/> - </coding> - <text value="Neupro 4MG/24H PFT 7ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PFT"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="88076610-6d43-4f29-bfc0-8f5b6d19c511"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="bbc6d39d-90f7-402f-af62-0fa8da1c7a00"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db_fe9200db/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db_fe9200db/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db_fe9200db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db_fe9200db/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db_fe9200db/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db_fe9200db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db_fe9200db/output.json new file mode 100644 index 00000000..9e18a3fa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db_fe9200db/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "66649034-ef07-4235-84cf-8a546b58cefd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "97f6ad8e-87d7-45ca-921e-b8e73c491e18", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/90d07c00-1766-4b65-a024-de1e6268a901" + }, + "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": "90d07c00-1766-4b65-a024-de1e6268a901", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e59afa8b-c756-4720-af87-1c084b665243", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "04a0f85f-3058-47a5-a64c-c6a3fdbb6e68", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_fe9200db_fe9200db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db_fe9200db/output.xml new file mode 100644 index 00000000..6221ef28 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6_fe9200db_fe9200db/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="66649034-ef07-4235-84cf-8a546b58cefd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.046.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="97f6ad8e-87d7-45ca-921e-b8e73c491e18"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/90d07c00-1766-4b65-a024-de1e6268a901"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="90d07c00-1766-4b65-a024-de1e6268a901"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11164213"/> + </coding> + <text value="Neupro 4MG/24H PFT 7ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e59afa8b-c756-4720-af87-1c084b665243"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="04a0f85f-3058-47a5-a64c-c6a3fdbb6e68"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.json index c7f3ede6..a8447919 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "d918604e-2332-4345-b4f4-a0ea92e4ce0b", + "id": "aad587bd-0723-46cf-a093-925471b09d28", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "29447096-f464-40b7-b25b-22ac56b2dba8", + "id": "4dfb9263-690a-4498-8c54-ecf704472f1d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/8e4ddfde-1d0b-4d53-bd41-81d47cfa9c6b" + "reference": "Medication/97a5b8b7-05f0-4e29-860b-0641ec20060b" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "8e4ddfde-1d0b-4d53-bd41-81d47cfa9c6b", + "id": "97a5b8b7-05f0-4e29-860b-0641ec20060b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "518cf1d3-c485-49d4-9086-e179f9d290ae", + "id": "e601e33f-5199-45ef-8cbd-922044cde0d3", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "80446e6d-82e0-466b-b89c-26b07dcc3d40", + "id": "9000f9be-2ad6-4777-ac6a-dd97f7927852", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.xml index bfa483e3..c19222f7 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="d918604e-2332-4345-b4f4-a0ea92e4ce0b"/> + <id value="aad587bd-0723-46cf-a093-925471b09d28"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="29447096-f464-40b7-b25b-22ac56b2dba8"/> + <id value="4dfb9263-690a-4498-8c54-ecf704472f1d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/8e4ddfde-1d0b-4d53-bd41-81d47cfa9c6b"/> + <reference value="Medication/97a5b8b7-05f0-4e29-860b-0641ec20060b"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="8e4ddfde-1d0b-4d53-bd41-81d47cfa9c6b"/> + <id value="97a5b8b7-05f0-4e29-860b-0641ec20060b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="518cf1d3-c485-49d4-9086-e179f9d290ae"/> + <id value="e601e33f-5199-45ef-8cbd-922044cde0d3"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="80446e6d-82e0-466b-b89c-26b07dcc3d40"/> + <id value="9000f9be-2ad6-4777-ac6a-dd97f7927852"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/input.xml new file mode 100644 index 00000000..6dff2d2a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="fe9200db-d503-4a1b-bd13-96ab375f9bab"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.046.98"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/7a69f68c-b120-40b9-8ed7-aab2c84a3a1c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="7a69f68c-b120-40b9-8ed7-aab2c84a3a1c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/91921af0-93cc-4cae-a51c-c8bb779fcd09"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/91921af0-93cc-4cae-a51c-c8bb779fcd09"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="91921af0-93cc-4cae-a51c-c8bb779fcd09"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/d0da19d0-00a9-411a-bfe3-e75607c1f0b2"/> + </medicationReference> + <subject> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/d0da19d0-00a9-411a-bfe3-e75607c1f0b2"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d0da19d0-00a9-411a-bfe3-e75607c1f0b2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11164213"/> + </coding> + <text value="Neupro 4MG/24H PFT 7ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="E111111113"/> + </identifier> + <name> + <use value="official"/> + <family value="Christrose"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Christrose"/> + </extension> + </family> + <given value="Christa"/> + </name> + <birthDate value="1933-03-13"/> + <address> + <type value="both"/> + <line value="Nagelsweg 27"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="27"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Nagelsweg"/> + </extension> + </line> + <city value="Hamburg"/> + <postalCode value="20097"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="2ad99325-406a-42b1-8126-a96b5fa7b0c5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="02"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/d7723237-c01f-4e35-8482-1272d0b3fcf5"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101560000"/> + </identifier> + <display value="DAK-GESUNDHEIT"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/output.json new file mode 100644 index 00000000..bbbc6832 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "e6d44079-664e-476c-8c90-0965d35f1fca", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "25a2d562-33f5-4432-af03-16166c2a4533", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f1b8abe9-48fc-4569-867d-84b519240c08" + }, + "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": "f1b8abe9-48fc-4569-867d-84b519240c08", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "80de62f3-e1d8-4a43-81ed-cacc61aa544b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f45b3d8f-44ff-4fd4-9f90-e93362b10b3a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_fe9200db_fe9200db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/output.xml new file mode 100644 index 00000000..fed8e34b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_fe9200db_fe9200db/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e6d44079-664e-476c-8c90-0965d35f1fca"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.046.98"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="25a2d562-33f5-4432-af03-16166c2a4533"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f1b8abe9-48fc-4569-867d-84b519240c08"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f1b8abe9-48fc-4569-867d-84b519240c08"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="11164213"/> + </coding> + <text value="Neupro 4MG/24H PFT 7ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PFT"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="80de62f3-e1d8-4a43-81ed-cacc61aa544b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f45b3d8f-44ff-4fd4-9f90-e93362b10b3a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/output.json deleted file mode 100644 index 75d6ae0b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "2de12cef-f675-496f-bfb1-2caa49fd7b37", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "71ccdd69-4e1b-4867-8b40-51e5b465faf8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/15183369-d261-4f69-ba31-ff452dc8f096" - }, - "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": "15183369-d261-4f69-ba31-ff452dc8f096", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "29cd1d3d-56a0-42f1-b341-a5b275c1e08c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "11da98eb-4d88-41a2-bc9f-63519be2ad57", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_91c262e7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/output.xml deleted file mode 100644 index 9f8a2164..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2de12cef-f675-496f-bfb1-2caa49fd7b37"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.047.95"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="71ccdd69-4e1b-4867-8b40-51e5b465faf8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/15183369-d261-4f69-ba31-ff452dc8f096"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="15183369-d261-4f69-ba31-ff452dc8f096"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08454982"/> - </coding> - <text value="Pramipexol Hexal 1,05 MG RET 30ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="RET"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="29cd1d3d-56a0-42f1-b341-a5b275c1e08c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="11da98eb-4d88-41a2-bc9f-63519be2ad57"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7_91c262e7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7_91c262e7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7_91c262e7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7_91c262e7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7_91c262e7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7_91c262e7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7_91c262e7/output.json new file mode 100644 index 00000000..f3da583f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7_91c262e7/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "bb0d0535-10f5-4ae5-8683-af8b2476209d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "cb55d32d-f0e7-4fa5-933f-d0be85581b14", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/78f6b6cf-5e68-4a67-b1b5-28400df62cf2" + }, + "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": "78f6b6cf-5e68-4a67-b1b5-28400df62cf2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c579c502-7559-41d5-a4b5-b704c7e27225", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "60441dad-f5be-4fb5-bb10-260426e497bf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_91c262e7_91c262e7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7_91c262e7/output.xml new file mode 100644 index 00000000..0634acd2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1_91c262e7_91c262e7/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bb0d0535-10f5-4ae5-8683-af8b2476209d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.047.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cb55d32d-f0e7-4fa5-933f-d0be85581b14"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/78f6b6cf-5e68-4a67-b1b5-28400df62cf2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="78f6b6cf-5e68-4a67-b1b5-28400df62cf2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08454982"/> + </coding> + <text value="Pramipexol Hexal 1,05 MG RET 30ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c579c502-7559-41d5-a4b5-b704c7e27225"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="60441dad-f5be-4fb5-bb10-260426e497bf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.json index 4a5fe038..495e699e 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "d69ca653-106a-4d30-8324-92697209a76b", + "id": "0e8b032c-3e90-4789-8457-c955b6bc51c0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "dfe0121a-7187-4919-83b0-e85feb455f20", + "id": "f4426564-ca5f-4c37-bc33-0d8f34a0503b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/8b1ad3b7-c51c-43ad-8028-b7d74fc44239" + "reference": "Medication/798b55ca-be86-4020-b8d1-cf2e0d35e7d9" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "8b1ad3b7-c51c-43ad-8028-b7d74fc44239", + "id": "798b55ca-be86-4020-b8d1-cf2e0d35e7d9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "af595fc1-cfbb-4018-8839-e534a0e27644", + "id": "cb8dde12-da1b-45b4-bb49-eb2bb386b362", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "80e8873a-db9a-4fd3-aa0c-f1ca08e0e804", + "id": "70f074cb-dcba-4eb4-b313-771bcd1559d9", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.xml index 80b9b6ff..d775b350 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="d69ca653-106a-4d30-8324-92697209a76b"/> + <id value="0e8b032c-3e90-4789-8457-c955b6bc51c0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="dfe0121a-7187-4919-83b0-e85feb455f20"/> + <id value="f4426564-ca5f-4c37-bc33-0d8f34a0503b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/8b1ad3b7-c51c-43ad-8028-b7d74fc44239"/> + <reference value="Medication/798b55ca-be86-4020-b8d1-cf2e0d35e7d9"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="8b1ad3b7-c51c-43ad-8028-b7d74fc44239"/> + <id value="798b55ca-be86-4020-b8d1-cf2e0d35e7d9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="af595fc1-cfbb-4018-8839-e534a0e27644"/> + <id value="cb8dde12-da1b-45b4-bb49-eb2bb386b362"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="80e8873a-db9a-4fd3-aa0c-f1ca08e0e804"/> + <id value="70f074cb-dcba-4eb4-b313-771bcd1559d9"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/input.xml new file mode 100644 index 00000000..82c44910 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/input.xml @@ -0,0 +1,383 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="91c262e7-390e-4136-8243-7a68a4418d34"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.047.95"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/123b2135-fc42-4e62-8467-41ef9153a2ae"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="123b2135-fc42-4e62-8467-41ef9153a2ae"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/952f25b4-a28e-4f06-ae76-a99cf1cbd457"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/952f25b4-a28e-4f06-ae76-a99cf1cbd457"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="952f25b4-a28e-4f06-ae76-a99cf1cbd457"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b6869241-3d4b-4472-9933-1fee15a426f7"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/b6869241-3d4b-4472-9933-1fee15a426f7"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b6869241-3d4b-4472-9933-1fee15a426f7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08454982"/> + </coding> + <text value="Pramipexol Hexal 1,05 MG RET 30ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumberg-von-und-zu-Schaumburg-und-Radeberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg-von-und-zu-Schaumburg-und-Radeberg"/> + </extension> + </family> + <given value="Friedrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus BKK"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/output.json new file mode 100644 index 00000000..e4209ab1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "5a9d30bf-3684-4581-96bb-c21cf9b7af81", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a859fd08-69c8-495e-a220-0c17a752a433", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2fe4cd61-c485-4402-ae2c-e31bfd6b805f" + }, + "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": "2fe4cd61-c485-4402-ae2c-e31bfd6b805f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "624bc004-6220-4614-8f82-6d1d2b67f9bd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b6fa19c7-431e-4e64-8bca-6806afc5f508", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_91c262e7_91c262e7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/output.xml new file mode 100644 index 00000000..4ff69a3e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_91c262e7_91c262e7/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5a9d30bf-3684-4581-96bb-c21cf9b7af81"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.047.95"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a859fd08-69c8-495e-a220-0c17a752a433"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2fe4cd61-c485-4402-ae2c-e31bfd6b805f"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2fe4cd61-c485-4402-ae2c-e31bfd6b805f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08454982"/> + </coding> + <text value="Pramipexol Hexal 1,05 MG RET 30ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="RET"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="624bc004-6220-4614-8f82-6d1d2b67f9bd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b6fa19c7-431e-4e64-8bca-6806afc5f508"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.json index ca3de2a0..2c242cdd 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ca904df9-2ee1-443b-981b-5089a9bfac45", + "id": "3831b5b9-3e66-47b8-a7b9-5ef982ca5554", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "a5d02b79-5b63-43c5-a1b3-81935d2baec4", + "id": "8b2eb82d-69f5-4e20-8e97-545641820795", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/9d38882c-c6d2-4be4-b400-4cc52e0d9731" + "reference": "Medication/f740d84b-98f1-45a7-be33-bde7e0306277" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "9d38882c-c6d2-4be4-b400-4cc52e0d9731", + "id": "f740d84b-98f1-45a7-be33-bde7e0306277", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "87f5b175-56fc-4c35-b2b6-b89d474e6a3a", + "id": "3fc3629f-0a5b-4320-9b60-5ae359bd5450", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "cb48f4b8-4663-4cbe-a689-49e8eab19584", + "id": "28adfd7d-73b9-4a26-b036-098011c76632", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.xml index 3e2f3cb0..1e965ae3 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="ca904df9-2ee1-443b-981b-5089a9bfac45"/> + <id value="3831b5b9-3e66-47b8-a7b9-5ef982ca5554"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a5d02b79-5b63-43c5-a1b3-81935d2baec4"/> + <id value="8b2eb82d-69f5-4e20-8e97-545641820795"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/9d38882c-c6d2-4be4-b400-4cc52e0d9731"/> + <reference value="Medication/f740d84b-98f1-45a7-be33-bde7e0306277"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="9d38882c-c6d2-4be4-b400-4cc52e0d9731"/> + <id value="f740d84b-98f1-45a7-be33-bde7e0306277"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="87f5b175-56fc-4c35-b2b6-b89d474e6a3a"/> + <id value="3fc3629f-0a5b-4320-9b60-5ae359bd5450"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="cb48f4b8-4663-4cbe-a689-49e8eab19584"/> + <id value="28adfd7d-73b9-4a26-b036-098011c76632"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8_5702a4b8/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8_5702a4b8/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8_5702a4b8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8_5702a4b8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8_5702a4b8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8_5702a4b8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8_5702a4b8/output.json new file mode 100644 index 00000000..ca612cf2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8_5702a4b8/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "e4025be9-ed46-4ec0-83bd-1b9aa984af58", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "88a6b589-afdd-47e8-a640-44da6903b2b5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7fb95aee-98bb-4f92-bac5-055050f38dec" + }, + "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": "7fb95aee-98bb-4f92-bac5-055050f38dec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a44fe776-f210-474b-a5bd-b39a684e281b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4cbf1cb2-a51e-4061-922d-ff542dacbfe8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5702a4b8_5702a4b8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8_5702a4b8/output.xml new file mode 100644 index 00000000..073709a1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_5702a4b8_5702a4b8/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e4025be9-ed46-4ec0-83bd-1b9aa984af58"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.048.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="88a6b589-afdd-47e8-a640-44da6903b2b5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7fb95aee-98bb-4f92-bac5-055050f38dec"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7fb95aee-98bb-4f92-bac5-055050f38dec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00659288"/> + </coding> + <text value="L Thyrox JOD Hexal 100/100 TAB 50 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a44fe776-f210-474b-a5bd-b39a684e281b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4cbf1cb2-a51e-4061-922d-ff542dacbfe8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/output.json deleted file mode 100644 index 55553e38..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "d5005b06-2167-4877-a6e4-96d977c05c2b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "87b1e727-8ead-4325-b506-e5b6b5e596cd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/f8b57f2f-abe7-4732-bd18-2498c71b537a" - }, - "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": "f8b57f2f-abe7-4732-bd18-2498c71b537a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5ff8d42e-aa54-43ae-a558-da555ffd1348", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "004849c0-2a6f-4fcb-87ef-657f7702d4d0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_5702a4b8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/output.xml deleted file mode 100644 index 2328032f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d5005b06-2167-4877-a6e4-96d977c05c2b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.048.92"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="87b1e727-8ead-4325-b506-e5b6b5e596cd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/f8b57f2f-abe7-4732-bd18-2498c71b537a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f8b57f2f-abe7-4732-bd18-2498c71b537a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00659288"/> - </coding> - <text value="L Thyrox JOD Hexal 100/100 TAB 50 ST"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="5ff8d42e-aa54-43ae-a558-da555ffd1348"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="004849c0-2a6f-4fcb-87ef-657f7702d4d0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/input.xml new file mode 100644 index 00000000..26c5983b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5702a4b8-39a3-4183-9c38-99b749881781"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.048.92"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/21b527aa-97af-40f9-a88a-d6cf4f7e7e55"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="21b527aa-97af-40f9-a88a-d6cf4f7e7e55"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/0fbc885f-d376-4491-b86f-a04157394147"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/0fbc885f-d376-4491-b86f-a04157394147"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0fbc885f-d376-4491-b86f-a04157394147"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/cfadcd43-c146-4ec7-8bf8-04c09d1f5345"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/cfadcd43-c146-4ec7-8bf8-04c09d1f5345"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cfadcd43-c146-4ec7-8bf8-04c09d1f5345"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00659288"/> + </coding> + <text value="L Thyrox JOD Hexal 100/100 TAB 50 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/output.json new file mode 100644 index 00000000..a170c5f1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "12663a11-37d9-43cd-97a8-7821aad8116b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "db9279cb-4444-4ab5-ad60-146004b3eba5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/32d3ead0-f4b4-49c9-a469-1586f91e215c" + }, + "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": "32d3ead0-f4b4-49c9-a469-1586f91e215c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6b13b67e-5540-437d-96bf-49b1edfd9b4a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "25a523cd-4b02-4378-a948-91b662f26299", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5702a4b8_5702a4b8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/output.xml new file mode 100644 index 00000000..462dfa1a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485_5702a4b8_5702a4b8/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="12663a11-37d9-43cd-97a8-7821aad8116b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.048.92"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="db9279cb-4444-4ab5-ad60-146004b3eba5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/32d3ead0-f4b4-49c9-a469-1586f91e215c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="32d3ead0-f4b4-49c9-a469-1586f91e215c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00659288"/> + </coding> + <text value="L Thyrox JOD Hexal 100/100 TAB 50 ST"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6b13b67e-5540-437d-96bf-49b1edfd9b4a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="25a523cd-4b02-4378-a948-91b662f26299"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/output.json deleted file mode 100644 index 503818d9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "bc959bad-1812-4b9c-8219-bca7cfe526bf", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "f6eaae58-9993-41a3-b174-1c9c7700f033", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/90042b2c-81d4-473f-9c1d-077e18594687" - }, - "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": "90042b2c-81d4-473f-9c1d-077e18594687", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b3fd5d5b-bc9e-4918-843f-c3b7c465aca5", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "017c0293-1b69-4e16-9f24-55609f8bbe11", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_baac1cdd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/output.xml deleted file mode 100644 index d3aebf1b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="bc959bad-1812-4b9c-8219-bca7cfe526bf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.049.89"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="f6eaae58-9993-41a3-b174-1c9c7700f033"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/90042b2c-81d4-473f-9c1d-077e18594687"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="90042b2c-81d4-473f-9c1d-077e18594687"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02850079"/> - </coding> - <text value="Arcoxia 90 mg 50 FTA"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b3fd5d5b-bc9e-4918-843f-c3b7c465aca5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="017c0293-1b69-4e16-9f24-55609f8bbe11"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd_baac1cdd/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd_baac1cdd/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd_baac1cdd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd_baac1cdd/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd_baac1cdd/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd_baac1cdd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd_baac1cdd/output.json new file mode 100644 index 00000000..6888716e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd_baac1cdd/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "b6cc204c-fc86-4882-9aaa-6802168e75c5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "03a72210-55fa-44f8-972a-bbf71589260b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5c48009b-5434-4d90-a6f4-c2cb2b360ee7" + }, + "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": "5c48009b-5434-4d90-a6f4-c2cb2b360ee7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "02507ebc-08b9-4da9-8004-c5619985c011", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c297400e-1974-4357-837e-a0d54046c827", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_baac1cdd_baac1cdd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd_baac1cdd/output.xml new file mode 100644 index 00000000..368bd1c1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1_baac1cdd_baac1cdd/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b6cc204c-fc86-4882-9aaa-6802168e75c5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.049.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="03a72210-55fa-44f8-972a-bbf71589260b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5c48009b-5434-4d90-a6f4-c2cb2b360ee7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5c48009b-5434-4d90-a6f4-c2cb2b360ee7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02850079"/> + </coding> + <text value="Arcoxia 90 mg 50 FTA"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="02507ebc-08b9-4da9-8004-c5619985c011"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c297400e-1974-4357-837e-a0d54046c827"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.json index cddd6baa..8e4d92fd 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "1b0fe8f0-641f-4e61-9400-ec9f7ceab2b1", + "id": "90e9abb2-7d4e-46a5-8c21-7fe63f3b4b9f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "c9689fc7-9f76-4826-bd9b-34ba6bb3b478", + "id": "cdf5fad9-e8ea-48f4-b622-fec00f5a9610", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/1482af71-8b4b-41e1-a3f2-11ce421ab441" + "reference": "Medication/d4f0d8ad-40c2-43a9-bfff-d8fffdcf00ff" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "1482af71-8b4b-41e1-a3f2-11ce421ab441", + "id": "d4f0d8ad-40c2-43a9-bfff-d8fffdcf00ff", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "34b94a0b-81d0-4ba4-99c0-9aadbe4cf58f", + "id": "0210f0cf-c983-40f6-b12d-abaa88797e61", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "a2fb2091-5565-463f-bf19-729de8d85bdf", + "id": "033d982b-d84f-4909-b409-6fe95e4695e3", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.xml index acdbec46..4e9ae9ea 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="1b0fe8f0-641f-4e61-9400-ec9f7ceab2b1"/> + <id value="90e9abb2-7d4e-46a5-8c21-7fe63f3b4b9f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c9689fc7-9f76-4826-bd9b-34ba6bb3b478"/> + <id value="cdf5fad9-e8ea-48f4-b622-fec00f5a9610"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/1482af71-8b4b-41e1-a3f2-11ce421ab441"/> + <reference value="Medication/d4f0d8ad-40c2-43a9-bfff-d8fffdcf00ff"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="1482af71-8b4b-41e1-a3f2-11ce421ab441"/> + <id value="d4f0d8ad-40c2-43a9-bfff-d8fffdcf00ff"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="34b94a0b-81d0-4ba4-99c0-9aadbe4cf58f"/> + <id value="0210f0cf-c983-40f6-b12d-abaa88797e61"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a2fb2091-5565-463f-bf19-729de8d85bdf"/> + <id value="033d982b-d84f-4909-b409-6fe95e4695e3"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/input.xml new file mode 100644 index 00000000..27ed0009 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/input.xml @@ -0,0 +1,369 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="baac1cdd-1313-468f-9c9e-bde74acb308e"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.049.89"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/cb8f6636-f445-4263-b285-27cb5a2ac646"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="cb8f6636-f445-4263-b285-27cb5a2ac646"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/ab35643a-1809-48b0-9bfa-3d7b650631c2"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/ab35643a-1809-48b0-9bfa-3d7b650631c2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="ab35643a-1809-48b0-9bfa-3d7b650631c2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/1a3c5152-ec87-41b9-82e7-52c40eef7ec3"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/1a3c5152-ec87-41b9-82e7-52c40eef7ec3"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1a3c5152-ec87-41b9-82e7-52c40eef7ec3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02850079"/> + </coding> + <text value="Arcoxia 90 mg 50 FTA"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/output.json new file mode 100644 index 00000000..2be52bcf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "41e2e226-0b10-4247-ba0d-04f99c420fa3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "157e4e22-546b-40ab-b8df-fa9808dd4c46", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/44e717a3-b172-4cf1-8ad1-ad74ccd50611" + }, + "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": "44e717a3-b172-4cf1-8ad1-ad74ccd50611", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "eb4500df-df90-4633-81b2-4b102e6a2e86", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ce19bd29-e992-4198-8e50-7d6df783f19e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_baac1cdd_baac1cdd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/output.xml new file mode 100644 index 00000000..c89f8bff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_baac1cdd_baac1cdd/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="41e2e226-0b10-4247-ba0d-04f99c420fa3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.049.89"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="157e4e22-546b-40ab-b8df-fa9808dd4c46"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/44e717a3-b172-4cf1-8ad1-ad74ccd50611"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="44e717a3-b172-4cf1-8ad1-ad74ccd50611"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02850079"/> + </coding> + <text value="Arcoxia 90 mg 50 FTA"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="eb4500df-df90-4633-81b2-4b102e6a2e86"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ce19bd29-e992-4198-8e50-7d6df783f19e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json index f5e8b2a0..ee1a1482 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "89b878d0-ff37-49fa-8877-ca7642f15299", + "id": "c680c076-68e0-4770-a815-9f6286af7d08", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "da7f78e9-396a-4cd9-b1de-35dd64de8236", + "id": "dea33c92-6d3c-4222-93a7-5879090e8487", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/e2e31b22-cc33-41b5-b0cc-03168a1e7ccc" + "reference": "Medication/2f8a1c8d-61fe-4678-aa10-679f96b8c321" }, "subject": { "identifier": { @@ -63,7 +63,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "e2e31b22-cc33-41b5-b0cc-03168a1e7ccc", + "id": "2f8a1c8d-61fe-4678-aa10-679f96b8c321", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -112,7 +112,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "c26e82be-18c2-42f3-9a01-c562317676bb", + "id": "6c3225b3-09e5-4d24-8fd0-9a36a5cedabd", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -179,7 +179,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "13d98713-ca41-4c8a-b6a4-58665b727afc", + "id": "3ea0ae0e-349e-4c4b-b22f-9bb67912f28b", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.xml index 218bed7e..ba088099 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="89b878d0-ff37-49fa-8877-ca7642f15299"/> + <id value="c680c076-68e0-4770-a815-9f6286af7d08"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="da7f78e9-396a-4cd9-b1de-35dd64de8236"/> + <id value="dea33c92-6d3c-4222-93a7-5879090e8487"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/e2e31b22-cc33-41b5-b0cc-03168a1e7ccc"/> + <reference value="Medication/2f8a1c8d-61fe-4678-aa10-679f96b8c321"/> </medicationReference> <subject> <identifier> @@ -64,7 +64,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="e2e31b22-cc33-41b5-b0cc-03168a1e7ccc"/> + <id value="2f8a1c8d-61fe-4678-aa10-679f96b8c321"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -113,7 +113,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="c26e82be-18c2-42f3-9a01-c562317676bb"/> + <id value="6c3225b3-09e5-4d24-8fd0-9a36a5cedabd"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -182,7 +182,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="13d98713-ca41-4c8a-b6a4-58665b727afc"/> + <id value="3ea0ae0e-349e-4c4b-b22f-9bb67912f28b"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e_5f66314e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e_5f66314e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e_5f66314e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e_5f66314e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e_5f66314e/output.json new file mode 100644 index 00000000..0f65f908 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e_5f66314e/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "a2f6ec51-624b-4fc8-81cc-4398b532f5d1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c2b6d44f-e8ea-4601-8347-4871e15a1e96", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c42e6d92-db79-4f13-b1aa-0f5114cda1b3" + }, + "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": "c42e6d92-db79-4f13-b1aa-0f5114cda1b3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0d14e31b-dd46-4586-8307-4f96d22175e1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "589b4e11-1532-451e-b77a-db8708d8df27", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f66314e_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e_5f66314e/output.xml new file mode 100644 index 00000000..84f03aab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_5f66314e_5f66314e/output.xml @@ -0,0 +1,223 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a2f6ec51-624b-4fc8-81cc-4398b532f5d1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c2b6d44f-e8ea-4601-8347-4871e15a1e96"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c42e6d92-db79-4f13-b1aa-0f5114cda1b3"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c42e6d92-db79-4f13-b1aa-0f5114cda1b3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0d14e31b-dd46-4586-8307-4f96d22175e1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="589b4e11-1532-451e-b77a-db8708d8df27"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/output.json deleted file mode 100644 index 0381bc23..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/output.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "baefdc6e-c433-4353-bcd1-d1b96ea2fcdf", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "2fa03e4d-b6c6-4264-b505-331004542c51", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/bfc2b0eb-3870-4671-81c5-b57249d4292a" - }, - "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": "bfc2b0eb-3870-4671-81c5-b57249d4292a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9bea40aa-e84e-4e69-a83d-092523b0bc13", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "d645a900-003e-4626-b459-edcb15ad75e4", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_cd2e731a_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/output.xml deleted file mode 100644 index 1d9ab03f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e/output.xml +++ /dev/null @@ -1,223 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="baefdc6e-c433-4353-bcd1-d1b96ea2fcdf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.008.18"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2fa03e4d-b6c6-4264-b505-331004542c51"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/bfc2b0eb-3870-4671-81c5-b57249d4292a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <note> - <text value="Verwendung ohne Anlegen eines Verbandes"/> - </note> - <dosageInstruction> - <text value="3mal täglich dünn auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bfc2b0eb-3870-4671-81c5-b57249d4292a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02090906"/> - </coding> - <text value="Fucidine® 20mg/g Creme 15g N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="CRE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="15"/> - </extension> - <unit value="g"/> - <system value="http://unitsofmeasure.org"/> - <code value="g"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9bea40aa-e84e-4e69-a83d-092523b0bc13"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d645a900-003e-4626-b459-edcb15ad75e4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e_5f66314e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e_5f66314e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e_5f66314e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e_5f66314e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e_5f66314e/output.json new file mode 100644 index 00000000..dd4a65e7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e_5f66314e/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "e281486a-f46a-4b0b-bbfc-42eda4d54bd9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "36f979c6-b750-4732-8702-9fd5cdd23438", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/24b11d98-8c46-426f-a70a-92cb284e6936" + }, + "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": "24b11d98-8c46-426f-a70a-92cb284e6936", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "58f3b60e-4207-4d18-bdfb-df19d2a2a329", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "598e797c-9fec-4d21-82cb-86c11a4bc2bb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_cd2e731a_5f66314e_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e_5f66314e/output.xml new file mode 100644 index 00000000..73b3ccc4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_cd2e731a_5f66314e_5f66314e/output.xml @@ -0,0 +1,223 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e281486a-f46a-4b0b-bbfc-42eda4d54bd9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="36f979c6-b750-4732-8702-9fd5cdd23438"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/24b11d98-8c46-426f-a70a-92cb284e6936"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="24b11d98-8c46-426f-a70a-92cb284e6936"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="58f3b60e-4207-4d18-bdfb-df19d2a2a329"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="598e797c-9fec-4d21-82cb-86c11a4bc2bb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/output.json deleted file mode 100644 index fd1c6fdd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/output.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "f00b744f-27f7-4515-b593-5d154088fca7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "dfa2f78a-7807-42fe-9dab-b9288aea6802", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/2dcc89de-45b1-453b-864a-596ed783b2d3" - }, - "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": "2dcc89de-45b1-453b-864a-596ed783b2d3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ba5c9404-57fc-4db5-9d48-bb8cfbe4f061", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "24499ac0-96eb-446e-b800-60f45a773711", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/output.xml deleted file mode 100644 index 386857c1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e/output.xml +++ /dev/null @@ -1,223 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f00b744f-27f7-4515-b593-5d154088fca7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.008.18"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="dfa2f78a-7807-42fe-9dab-b9288aea6802"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/2dcc89de-45b1-453b-864a-596ed783b2d3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <note> - <text value="Verwendung ohne Anlegen eines Verbandes"/> - </note> - <dosageInstruction> - <text value="3mal täglich dünn auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2dcc89de-45b1-453b-864a-596ed783b2d3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02090906"/> - </coding> - <text value="Fucidine® 20mg/g Creme 15g N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="CRE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="15"/> - </extension> - <unit value="g"/> - <system value="http://unitsofmeasure.org"/> - <code value="g"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ba5c9404-57fc-4db5-9d48-bb8cfbe4f061"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="24499ac0-96eb-446e-b800-60f45a773711"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/input.xml new file mode 100644 index 00000000..13d36b8d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/input.xml @@ -0,0 +1,425 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5f66314e-459a-41e9-a3d7-65c935a8be2c"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/d8c9c61e-49a4-4af8-a6dc-20afbecff2ba"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d8c9c61e-49a4-4af8-a6dc-20afbecff2ba"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/a3420913-2b33-4f66-b3df-85f1b06bb226"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/a3420913-2b33-4f66-b3df-85f1b06bb226"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a3420913-2b33-4f66-b3df-85f1b06bb226"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="2"/> + </valueCoding> + </extension> + <extension url="Unfalltag"> + <valueDate value="2021-04-01"/> + </extension> + <extension url="Unfallbetrieb"> + <valueString value="Arbeitsplatz"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + </insurance> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Payor_Type_KBV"/> + <code value="UK"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Alternative_IK"> + <valueIdentifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="120591802"/> + </valueIdentifier> + </extension> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="Unfallkasse NRW"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/output.json new file mode 100644 index 00000000..77a0f7fd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "6b335116-5708-4524-905c-bbf0deb3318d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9f8c76d1-1ce8-4b6b-97b7-3493076d0ad4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/bd15dacd-93b6-4c1c-bc38-a171c5395c6d" + }, + "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": "bd15dacd-93b6-4c1c-bc38-a171c5395c6d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "29daa7d6-09a6-47d4-8c13-ef9bd1b0cc88", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0e49af6b-b93a-4480-973b-4917023755b9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f66314e_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/output.xml new file mode 100644 index 00000000..b66be4b2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9_5f66314e_5f66314e/output.xml @@ -0,0 +1,223 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="6b335116-5708-4524-905c-bbf0deb3318d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9f8c76d1-1ce8-4b6b-97b7-3493076d0ad4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bd15dacd-93b6-4c1c-bc38-a171c5395c6d"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bd15dacd-93b6-4c1c-bc38-a171c5395c6d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="g"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="29daa7d6-09a6-47d4-8c13-ef9bd1b0cc88"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0e49af6b-b93a-4480-973b-4917023755b9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.json index 95a2c4c6..237e2178 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "573b90ce-591e-475c-9ec6-877041cc69ec", + "id": "8cede37d-a27e-4bf3-ab06-aa7596124238", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "15a95252-1521-402a-89ad-06719766f2ae", + "id": "4aab9451-1191-41c4-96bc-26f7fe7fa166", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/bcfa5f14-c232-4f57-bf72-d9e412471b78" + "reference": "Medication/1f15274b-1da6-4119-a9fb-4e3db554057b" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "bcfa5f14-c232-4f57-bf72-d9e412471b78", + "id": "1f15274b-1da6-4119-a9fb-4e3db554057b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e93fb8a5-72b2-48c3-b3ae-143ace51d890", + "id": "c4dce354-c108-47ef-a562-c75ec0a60afe", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "f260346c-a9dd-44be-a0c0-ec64a09b121f", + "id": "c2831e21-c541-40b1-9ccb-0cd3ee8f5258", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.xml index 82046de0..b13ea925 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="573b90ce-591e-475c-9ec6-877041cc69ec"/> + <id value="8cede37d-a27e-4bf3-ab06-aa7596124238"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="15a95252-1521-402a-89ad-06719766f2ae"/> + <id value="4aab9451-1191-41c4-96bc-26f7fe7fa166"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/bcfa5f14-c232-4f57-bf72-d9e412471b78"/> + <reference value="Medication/1f15274b-1da6-4119-a9fb-4e3db554057b"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="bcfa5f14-c232-4f57-bf72-d9e412471b78"/> + <id value="1f15274b-1da6-4119-a9fb-4e3db554057b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e93fb8a5-72b2-48c3-b3ae-143ace51d890"/> + <id value="c4dce354-c108-47ef-a562-c75ec0a60afe"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f260346c-a9dd-44be-a0c0-ec64a09b121f"/> + <id value="c2831e21-c541-40b1-9ccb-0cd3ee8f5258"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3_d390d0d3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3_d390d0d3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3_d390d0d3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3_d390d0d3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3_d390d0d3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3_d390d0d3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3_d390d0d3/output.json new file mode 100644 index 00000000..e4fb5eda --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3_d390d0d3/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "9f052b75-aa2b-4638-91e8-6f78bf2db718", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9fca6b3c-3ba2-4bb6-bb6f-e9beb5615107", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/010d3694-af59-4318-b6ac-7b2a7cfde554" + }, + "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": "010d3694-af59-4318-b6ac-7b2a7cfde554", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "ed30a8d1-ea5a-4597-8d3e-b0d358680643", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b18fd561-c244-494c-ab15-c0042d968ac3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d390d0d3_d390d0d3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3_d390d0d3/output.xml new file mode 100644 index 00000000..75a85262 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_d390d0d3_d390d0d3/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9f052b75-aa2b-4638-91e8-6f78bf2db718"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.054.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9fca6b3c-3ba2-4bb6-bb6f-e9beb5615107"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/010d3694-af59-4318-b6ac-7b2a7cfde554"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="010d3694-af59-4318-b6ac-7b2a7cfde554"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01358117"/> + </coding> + <text value="TD- Impfstoff"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="ISU"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ed30a8d1-ea5a-4597-8d3e-b0d358680643"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b18fd561-c244-494c-ab15-c0042d968ac3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/output.json deleted file mode 100644 index e3d37fe6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "0ee15ace-5bf6-4b62-9a45-b05d6130f73c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "3f3123f8-23bc-46a1-b50e-6348a08bde5b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/15f031fe-bafa-40af-9dc8-74d47a77a10b" - }, - "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": "15f031fe-bafa-40af-9dc8-74d47a77a10b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.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": "204a53b4-70cd-44b7-848a-31737717d3eb", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "c89df941-d977-4de0-95ad-285529619697", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_d390d0d3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/output.xml deleted file mode 100644 index dc21a100..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0ee15ace-5bf6-4b62-9a45-b05d6130f73c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.054.74"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3f3123f8-23bc-46a1-b50e-6348a08bde5b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/15f031fe-bafa-40af-9dc8-74d47a77a10b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="15f031fe-bafa-40af-9dc8-74d47a77a10b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01358117"/> - </coding> - <text value="TD- Impfstoff"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="ISU"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="204a53b4-70cd-44b7-848a-31737717d3eb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="c89df941-d977-4de0-95ad-285529619697"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/input.xml new file mode 100644 index 00000000..03beca32 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="d390d0d3-f3ac-486b-8ecf-99d281e6682c"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.054.74"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/8485fdc9-213f-4450-9e49-d5ff7040c688"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8485fdc9-213f-4450-9e49-d5ff7040c688"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/5dfce447-d18f-4b83-8ce9-af5824327594"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/5dfce447-d18f-4b83-8ce9-af5824327594"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5dfce447-d18f-4b83-8ce9-af5824327594"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/ffb8fc02-cf91-4ee5-8e7b-52252b769f90"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/ffb8fc02-cf91-4ee5-8e7b-52252b769f90"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ffb8fc02-cf91-4ee5-8e7b-52252b769f90"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01358117"/> + </coding> + <text value="TD- Impfstoff"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="ISU"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/output.json new file mode 100644 index 00000000..5d509cc0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "9bd0df2a-f45b-47a0-84dd-6fcbde3ffe5d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5e161395-87d9-448c-ba4a-a654a6ea8b30", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5019e487-3794-4d94-9249-69af81859c75" + }, + "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": "5019e487-3794-4d94-9249-69af81859c75", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "24fd1f1d-1051-4d90-a88c-1bc2c6ccd419", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0ed816b1-a49c-4cfc-8414-744a265c0639", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_d390d0d3_d390d0d3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/output.xml new file mode 100644 index 00000000..b992a3a2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b_d390d0d3_d390d0d3/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9bd0df2a-f45b-47a0-84dd-6fcbde3ffe5d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.054.74"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5e161395-87d9-448c-ba4a-a654a6ea8b30"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5019e487-3794-4d94-9249-69af81859c75"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5019e487-3794-4d94-9249-69af81859c75"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01358117"/> + </coding> + <text value="TD- Impfstoff"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="ISU"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="24fd1f1d-1051-4d90-a88c-1bc2c6ccd419"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0ed816b1-a49c-4cfc-8414-744a265c0639"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/output.json deleted file mode 100644 index 8f1b1aa7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/output.json +++ /dev/null @@ -1,200 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "8504a76f-3dd2-4bb1-a590-360163456520", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "4d20d312-3474-4d37-af26-0700e3913251", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/de29c5c8-0b12-43b6-a008-4156cb45f8f1" - }, - "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": "de29c5c8-0b12-43b6-a008-4156cb45f8f1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fb8b83b1-4d40-4508-b48c-327178979444", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "f5a06ae7-3355-4de5-afdf-ab5a36fb8e10", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_a6949071/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/output.xml deleted file mode 100644 index fe2133bd..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="8504a76f-3dd2-4bb1-a590-360163456520"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.055.71"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4d20d312-3474-4d37-af26-0700e3913251"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/de29c5c8-0b12-43b6-a008-4156cb45f8f1"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="de29c5c8-0b12-43b6-a008-4156cb45f8f1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02223997"/> - </coding> - <text value="Ramipril 10mg TAB Ratiopharm 50ST TAB"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="fb8b83b1-4d40-4508-b48c-327178979444"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="757299999"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Krankenhaus"/> - <telecom> - <system value="phone"/> - <value value="0309876543"/> - </telecom> - <telecom> - <system value="email"/> - <value value="krankenhaus@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Wegelystraße 3"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="3"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Wegelystraße"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f5a06ae7-3355-4de5-afdf-ab5a36fb8e10"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="159753527"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Mia Meyer"/> - <family value="Meyer"/> - <given value="Mia"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071_a6949071/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071_a6949071/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071_a6949071/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071_a6949071/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071_a6949071/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071_a6949071/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071_a6949071/output.json new file mode 100644 index 00000000..7858f7ab --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071_a6949071/output.json @@ -0,0 +1,200 @@ +{ + "resourceType": "Parameters", + "id": "19df1e82-6c8e-499c-a9f8-8c4f2105e23a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "edaeb105-cf89-47c3-bec7-99374a217305", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/190d2d3d-db6a-4812-a9c9-f380e02a4b62" + }, + "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": "190d2d3d-db6a-4812-a9c9-f380e02a4b62", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "13d39532-ed47-41b7-aa26-a98de6249515", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "22dd4582-cd65-40bb-9e6e-2021313c80d4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a6949071_a6949071/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071_a6949071/output.xml new file mode 100644 index 00000000..347c9449 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96_a6949071_a6949071/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="19df1e82-6c8e-499c-a9f8-8c4f2105e23a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.055.71"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="edaeb105-cf89-47c3-bec7-99374a217305"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/190d2d3d-db6a-4812-a9c9-f380e02a4b62"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="190d2d3d-db6a-4812-a9c9-f380e02a4b62"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02223997"/> + </coding> + <text value="Ramipril 10mg TAB Ratiopharm 50ST TAB"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="13d39532-ed47-41b7-aa26-a98de6249515"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="22dd4582-cd65-40bb-9e6e-2021313c80d4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Mia Meyer"/> + <family value="Meyer"/> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.json index a77d8a71..88dcb254 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "2962cba1-80a8-4867-ad20-6869d728164a", + "id": "77ad63e2-75ae-4698-8f26-a410aa5d024b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "295c1c6f-7035-45e2-9081-b5b3f0249d44", + "id": "3332c52b-1d63-4743-b4d3-3ab2406df390", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/901ac70f-454c-4142-b1b8-0bb25d4cc6c9" + "reference": "Medication/c59177b2-4d1b-413a-8c9e-1b5d9200bbca" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "901ac70f-454c-4142-b1b8-0bb25d4cc6c9", + "id": "c59177b2-4d1b-413a-8c9e-1b5d9200bbca", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "df3e80c0-36ca-44af-8237-15883e5a1c63", + "id": "9c113a95-e320-47ba-af4d-a56a353af042", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -154,7 +154,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "aac70e18-64e9-4d9c-8722-e39df9061170", + "id": "df07d8e6-4213-450a-9e82-037c7462ec55", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.xml index faae6906..e74d6391 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="2962cba1-80a8-4867-ad20-6869d728164a"/> + <id value="77ad63e2-75ae-4698-8f26-a410aa5d024b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="295c1c6f-7035-45e2-9081-b5b3f0249d44"/> + <id value="3332c52b-1d63-4743-b4d3-3ab2406df390"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/901ac70f-454c-4142-b1b8-0bb25d4cc6c9"/> + <reference value="Medication/c59177b2-4d1b-413a-8c9e-1b5d9200bbca"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="901ac70f-454c-4142-b1b8-0bb25d4cc6c9"/> + <id value="c59177b2-4d1b-413a-8c9e-1b5d9200bbca"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="df3e80c0-36ca-44af-8237-15883e5a1c63"/> + <id value="9c113a95-e320-47ba-af4d-a56a353af042"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -158,7 +158,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="aac70e18-64e9-4d9c-8722-e39df9061170"/> + <id value="df07d8e6-4213-450a-9e82-037c7462ec55"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/input.xml new file mode 100644 index 00000000..7caf8cd2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="a6949071-45a9-436c-9370-839de9fcf84d"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.055.71"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/90e08dd9-9395-42ca-9511-55a40ce1dc9c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="90e08dd9-9395-42ca-9511-55a40ce1dc9c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/2db909dc-6f84-4bf6-a0a3-5730d89f33a1"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/2db909dc-6f84-4bf6-a0a3-5730d89f33a1"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2db909dc-6f84-4bf6-a0a3-5730d89f33a1"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a68b69ec-b11a-4777-b973-8eff372ba61e"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a68b69ec-b11a-4777-b973-8eff372ba61e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a68b69ec-b11a-4777-b973-8eff372ba61e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02223997"/> + </coding> + <text value="Ramipril 10mg TAB Ratiopharm 50ST TAB"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <name> + <use value="official"/> + <family value="Meyer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Meyer"/> + </extension> + </family> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin der Onkologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/output.json new file mode 100644 index 00000000..8cc93afc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/output.json @@ -0,0 +1,200 @@ +{ + "resourceType": "Parameters", + "id": "8a934746-80da-4d58-986a-57377daee3c3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "598c815f-a0e7-4860-b35e-b39de8b3ae30", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/25231c2f-b012-4b03-b8ba-833d01ed8119" + }, + "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": "25231c2f-b012-4b03-b8ba-833d01ed8119", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "25efdc6e-5e2f-4fe3-b4a8-182c739c7d21", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "913343e0-2718-4262-9a86-b9d812bfe202", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_a6949071_a6949071/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/output.xml new file mode 100644 index 00000000..0bd78290 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_a6949071_a6949071/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="8a934746-80da-4d58-986a-57377daee3c3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.055.71"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="598c815f-a0e7-4860-b35e-b39de8b3ae30"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/25231c2f-b012-4b03-b8ba-833d01ed8119"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="25231c2f-b012-4b03-b8ba-833d01ed8119"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02223997"/> + </coding> + <text value="Ramipril 10mg TAB Ratiopharm 50ST TAB"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="25efdc6e-5e2f-4fe3-b4a8-182c739c7d21"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="913343e0-2718-4262-9a86-b9d812bfe202"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Mia Meyer"/> + <family value="Meyer"/> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.json index 931e49e8..267f408a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "dfad7d9f-4c4b-4356-a249-4d156d7d2888", + "id": "581c23bb-b948-404d-905d-771e14b45a9f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "b08da18a-827e-435b-967d-9fb9e43dd196", + "id": "1b6284ec-c1a4-4c44-a052-fc9aba28b3a9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/b1e639d1-5098-4cfa-b535-fc9540e9c4d0" + "reference": "Medication/35297a88-459c-4f6d-90d3-4582370d62dd" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "b1e639d1-5098-4cfa-b535-fc9540e9c4d0", + "id": "35297a88-459c-4f6d-90d3-4582370d62dd", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "3b7e9a0b-c866-4906-886d-93f833abc789", + "id": "c1bb1fba-5478-4b83-b925-5dc787abc5eb", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "cc147f1e-e9bd-4b1a-bc92-7f4df3a670c7", + "id": "816bb142-5ccb-45f9-8615-49fababb45fb", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.xml index dce5f77d..d683985d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="dfad7d9f-4c4b-4356-a249-4d156d7d2888"/> + <id value="581c23bb-b948-404d-905d-771e14b45a9f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b08da18a-827e-435b-967d-9fb9e43dd196"/> + <id value="1b6284ec-c1a4-4c44-a052-fc9aba28b3a9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/b1e639d1-5098-4cfa-b535-fc9540e9c4d0"/> + <reference value="Medication/35297a88-459c-4f6d-90d3-4582370d62dd"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="b1e639d1-5098-4cfa-b535-fc9540e9c4d0"/> + <id value="35297a88-459c-4f6d-90d3-4582370d62dd"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="3b7e9a0b-c866-4906-886d-93f833abc789"/> + <id value="c1bb1fba-5478-4b83-b925-5dc787abc5eb"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="cc147f1e-e9bd-4b1a-bc92-7f4df3a670c7"/> + <id value="816bb142-5ccb-45f9-8615-49fababb45fb"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393_414ca393/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393_414ca393/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393_414ca393/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393_414ca393/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393_414ca393/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393_414ca393/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393_414ca393/output.json new file mode 100644 index 00000000..a63e19d5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393_414ca393/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "48bd2aee-3c52-480c-8189-1b2a3f69ccd4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b7baec43-712c-41b7-ace5-6bcda090660c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2b6aad16-db44-474a-941a-6f365a059a72" + }, + "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": "2b6aad16-db44-474a-941a-6f365a059a72", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f2b32660-98c8-4b07-9701-5ca79350c1ed", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "faacbea0-b9de-4635-bf0a-fe8b6de6ba8c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_414ca393_414ca393/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393_414ca393/output.xml new file mode 100644 index 00000000..08c03c5f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_414ca393_414ca393/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="48bd2aee-3c52-480c-8189-1b2a3f69ccd4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.056.68"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b7baec43-712c-41b7-ace5-6bcda090660c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2b6aad16-db44-474a-941a-6f365a059a72"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2b6aad16-db44-474a-941a-6f365a059a72"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10203603"/> + </coding> + <text value="ASPIRIN 500MG UEBERZ TABL, 20 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="UTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f2b32660-98c8-4b07-9701-5ca79350c1ed"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="faacbea0-b9de-4635-bf0a-fe8b6de6ba8c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/output.json deleted file mode 100644 index 8733490e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "64cdc139-931e-404f-999c-ef9b13af6524", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "f9a7a817-e657-46cc-96e8-d6719b9b1626", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/1a372676-e971-4d24-80e7-15fb574b035a" - }, - "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": "1a372676-e971-4d24-80e7-15fb574b035a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "df06ecbf-d5c8-46a3-8363-27fe01827292", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "72a49b19-7fb1-468f-a2c3-5ac8fb2976ac", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_414ca393/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/output.xml deleted file mode 100644 index f1f6c52a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="64cdc139-931e-404f-999c-ef9b13af6524"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.056.68"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="f9a7a817-e657-46cc-96e8-d6719b9b1626"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/1a372676-e971-4d24-80e7-15fb574b035a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="1a372676-e971-4d24-80e7-15fb574b035a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N2"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10203603"/> - </coding> - <text value="ASPIRIN 500MG UEBERZ TABL, 20 St"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="UTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="df06ecbf-d5c8-46a3-8363-27fe01827292"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="72a49b19-7fb1-468f-a2c3-5ac8fb2976ac"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/input.xml new file mode 100644 index 00000000..ea2a4293 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/input.xml @@ -0,0 +1,372 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="414ca393-dde3-4082-9a3b-3752e629e4aa"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.056.68"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/1e33b2b8-770b-4dc2-8d73-74c1989540c4"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1e33b2b8-770b-4dc2-8d73-74c1989540c4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/c40ede18-da4b-11eb-8d19-0242ac130003"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/c40ede18-da4b-11eb-8d19-0242ac130003"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c40ede18-da4b-11eb-8d19-0242ac130003"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/125115cc-da48-11eb-8d19-0242ac130003"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/125115cc-da48-11eb-8d19-0242ac130003"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="125115cc-da48-11eb-8d19-0242ac130003"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10203603"/> + </coding> + <text value="ASPIRIN 500MG UEBERZ TABL, 20 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="UTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="SEL"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württemberg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/output.json new file mode 100644 index 00000000..9eb9cea4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "2a8de2a7-9845-4e8f-860a-dc08cb34d5cf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "35b28119-3178-4029-9cb3-5e5e293558fb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/d2c229fb-012c-4399-947a-f4d7b9cbbf36" + }, + "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": "d2c229fb-012c-4399-947a-f4d7b9cbbf36", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e80b3f7c-b295-4aaf-a08c-6cb2c28ceb2e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f9ec0d1c-adfa-40d6-821d-9a754810c831", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_414ca393_414ca393/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/output.xml new file mode 100644 index 00000000..a242eb7c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c_414ca393_414ca393/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2a8de2a7-9845-4e8f-860a-dc08cb34d5cf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.056.68"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="35b28119-3178-4029-9cb3-5e5e293558fb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/d2c229fb-012c-4399-947a-f4d7b9cbbf36"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="d2c229fb-012c-4399-947a-f4d7b9cbbf36"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N2"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10203603"/> + </coding> + <text value="ASPIRIN 500MG UEBERZ TABL, 20 St"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="UTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e80b3f7c-b295-4aaf-a08c-6cb2c28ceb2e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f9ec0d1c-adfa-40d6-821d-9a754810c831"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.json index 4730c163..dcabb88c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "662ab821-ccbd-4f41-b996-ce49faa61660", + "id": "cd6f2291-79d7-4143-9535-cc43dd0dd0e0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "38bbc4c8-e7a6-4517-ad1d-86df552c3c54", + "id": "c9f85352-a931-4f2e-86d9-dde3fe9f5649", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/e525d8a2-0143-4ce8-8046-98a04e6ce96a" + "reference": "Medication/9872b38d-8d13-426a-92b7-c756f1b74332" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "e525d8a2-0143-4ce8-8046-98a04e6ce96a", + "id": "9872b38d-8d13-426a-92b7-c756f1b74332", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "dba099a9-ae83-4bff-9ae3-cf33d176ca36", + "id": "b9f62188-4798-4f72-ad99-dd62d64c4784", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "e192f595-ee28-4a73-8354-7f965d8ed779", + "id": "a886c797-0f8b-4042-ba4f-4cb0b2f044e8", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.xml index 5f764572..1a241276 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="662ab821-ccbd-4f41-b996-ce49faa61660"/> + <id value="cd6f2291-79d7-4143-9535-cc43dd0dd0e0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="38bbc4c8-e7a6-4517-ad1d-86df552c3c54"/> + <id value="c9f85352-a931-4f2e-86d9-dde3fe9f5649"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/e525d8a2-0143-4ce8-8046-98a04e6ce96a"/> + <reference value="Medication/9872b38d-8d13-426a-92b7-c756f1b74332"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="e525d8a2-0143-4ce8-8046-98a04e6ce96a"/> + <id value="9872b38d-8d13-426a-92b7-c756f1b74332"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="dba099a9-ae83-4bff-9ae3-cf33d176ca36"/> + <id value="b9f62188-4798-4f72-ad99-dd62d64c4784"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e192f595-ee28-4a73-8354-7f965d8ed779"/> + <id value="a886c797-0f8b-4042-ba4f-4cb0b2f044e8"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8_3a1c45f8/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8_3a1c45f8/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8_3a1c45f8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8_3a1c45f8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8_3a1c45f8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8_3a1c45f8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8_3a1c45f8/output.json new file mode 100644 index 00000000..2796ef05 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8_3a1c45f8/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "9c7ced61-643f-4139-8d0f-837ec2eca24b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3a8e3705-153a-471f-bf3b-a4a5a3f001dd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/cb9e55b3-c256-4a72-b835-f5bad2f2b0e9" + }, + "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": "cb9e55b3-c256-4a72-b835-f5bad2f2b0e9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5f93d9b8-f897-4a02-ab1b-b1fbc989b0f5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "920d3b08-67ef-44db-a6fd-192e76ed96c9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3a1c45f8_3a1c45f8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8_3a1c45f8/output.xml new file mode 100644 index 00000000..087ced7d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_3a1c45f8_3a1c45f8/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9c7ced61-643f-4139-8d0f-837ec2eca24b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.057.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3a8e3705-153a-471f-bf3b-a4a5a3f001dd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/cb9e55b3-c256-4a72-b835-f5bad2f2b0e9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cb9e55b3-c256-4a72-b835-f5bad2f2b0e9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="15193430"/> + </coding> + <text value="CERAZETTE 75 Mikrogramm Filmtabletten (6X28St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5f93d9b8-f897-4a02-ab1b-b1fbc989b0f5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="920d3b08-67ef-44db-a6fd-192e76ed96c9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/output.json deleted file mode 100644 index 501fb361..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "dd8e9fca-1fc6-469c-afba-2d3d2a03c636", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "60bbf726-7d65-42f2-9e3c-6b0876c56050", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/bac4b947-f01e-4618-8c1b-c44b53616f9b" - }, - "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": "bac4b947-f01e-4618-8c1b-c44b53616f9b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ef5801a8-ab3a-48ad-8449-6973e4dec395", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "0b07eeba-f6c9-410f-8d77-e4a7dd66d440", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_3a1c45f8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/output.xml deleted file mode 100644 index b05bce2c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="dd8e9fca-1fc6-469c-afba-2d3d2a03c636"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.057.65"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="60bbf726-7d65-42f2-9e3c-6b0876c56050"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/bac4b947-f01e-4618-8c1b-c44b53616f9b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bac4b947-f01e-4618-8c1b-c44b53616f9b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="15193430"/> - </coding> - <text value="CERAZETTE 75 Mikrogramm Filmtabletten (6X28St)"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ef5801a8-ab3a-48ad-8449-6973e4dec395"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="0b07eeba-f6c9-410f-8d77-e4a7dd66d440"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/input.xml new file mode 100644 index 00000000..00c76fac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/input.xml @@ -0,0 +1,377 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="3a1c45f8-d959-43f0-8ac4-9959be746188"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.057.65"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/194c4345-6737-4e47-bb26-d13263bd5506"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="194c4345-6737-4e47-bb26-d13263bd5506"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/cde53d42-da4b-11eb-8d19-0242ac130003"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/cde53d42-da4b-11eb-8d19-0242ac130003"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cde53d42-da4b-11eb-8d19-0242ac130003"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/0be1bf02-da48-11eb-8d19-0242ac130003"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/0be1bf02-da48-11eb-8d19-0242ac130003"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0be1bf02-da48-11eb-8d19-0242ac130003"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="15193430"/> + </coding> + <text value="CERAZETTE 75 Mikrogramm Filmtabletten (6X28St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="SEL"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/output.json new file mode 100644 index 00000000..a19b24bd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "83923627-6bcf-4175-bc6e-2bea663607eb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d7443a64-2593-4e58-94f8-62b4a1036126", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/85ed45ec-b184-42eb-9ec4-d036ebd0fed2" + }, + "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": "85ed45ec-b184-42eb-9ec4-d036ebd0fed2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "51af4c59-3bca-413b-b1bd-4008f5bbd125", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "bee06198-9e80-4eb6-ad76-dae141d354b3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_3a1c45f8_3a1c45f8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/output.xml new file mode 100644 index 00000000..79d958c5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1_3a1c45f8_3a1c45f8/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="83923627-6bcf-4175-bc6e-2bea663607eb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.057.65"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d7443a64-2593-4e58-94f8-62b4a1036126"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/85ed45ec-b184-42eb-9ec4-d036ebd0fed2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="85ed45ec-b184-42eb-9ec4-d036ebd0fed2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="15193430"/> + </coding> + <text value="CERAZETTE 75 Mikrogramm Filmtabletten (6X28St)"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="51af4c59-3bca-413b-b1bd-4008f5bbd125"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bee06198-9e80-4eb6-ad76-dae141d354b3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.json index 6b8c2c40..4067f83d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "444a305d-4268-4ccf-9713-ee2129a601a9", + "id": "4756b091-7f75-40b0-9540-5669db9d9788", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "a99ad8f3-4093-41f2-bba5-65ca7bdec6ab", + "id": "47b2cb7a-ba9c-461f-8b54-3ffe16648d04", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/cd061bd4-941c-48da-938f-03b89f708cf9" + "reference": "Medication/bf5471f6-7613-496b-ae9e-dca2e5a43de0" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "cd061bd4-941c-48da-938f-03b89f708cf9", + "id": "bf5471f6-7613-496b-ae9e-dca2e5a43de0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -107,7 +107,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e53f76d2-1d39-4f8c-a6fc-97049c14997b", + "id": "b62286f5-1f64-4d61-b28b-475de9b4fbda", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -172,7 +172,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "1cc3c27c-d7da-46ce-8b4c-8e745a7b3f12", + "id": "9cf10513-fea7-4f88-b24e-3b34fcfbb090", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.xml index cc8a3cb5..18ced777 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="444a305d-4268-4ccf-9713-ee2129a601a9"/> + <id value="4756b091-7f75-40b0-9540-5669db9d9788"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a99ad8f3-4093-41f2-bba5-65ca7bdec6ab"/> + <id value="47b2cb7a-ba9c-461f-8b54-3ffe16648d04"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/cd061bd4-941c-48da-938f-03b89f708cf9"/> + <reference value="Medication/bf5471f6-7613-496b-ae9e-dca2e5a43de0"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="cd061bd4-941c-48da-938f-03b89f708cf9"/> + <id value="bf5471f6-7613-496b-ae9e-dca2e5a43de0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -108,7 +108,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e53f76d2-1d39-4f8c-a6fc-97049c14997b"/> + <id value="b62286f5-1f64-4d61-b28b-475de9b4fbda"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -176,7 +176,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1cc3c27c-d7da-46ce-8b4c-8e745a7b3f12"/> + <id value="9cf10513-fea7-4f88-b24e-3b34fcfbb090"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5_2f97abb5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5_2f97abb5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5_2f97abb5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5_2f97abb5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5_2f97abb5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5_2f97abb5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5_2f97abb5/output.json new file mode 100644 index 00000000..96e6215c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5_2f97abb5/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "1518fbab-b95a-400b-b7a4-ee23f9c9f770", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b500ba9c-cd7e-4fd7-8e8a-c03de35d6760", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/222c7725-0cf0-4866-b997-ad6837004881" + }, + "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": "222c7725-0cf0-4866-b997-ad6837004881", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7de26ada-f2cd-4df9-bcb4-fbf994838d78", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f7e7a758-6a0a-4fe6-abfb-0779a10aa328", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_2f97abb5_2f97abb5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5_2f97abb5/output.xml new file mode 100644 index 00000000..41410f63 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_2f97abb5_2f97abb5/output.xml @@ -0,0 +1,222 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="1518fbab-b95a-400b-b7a4-ee23f9c9f770"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b500ba9c-cd7e-4fd7-8e8a-c03de35d6760"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/222c7725-0cf0-4866-b997-ad6837004881"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="222c7725-0cf0-4866-b997-ad6837004881"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7de26ada-f2cd-4df9-bcb4-fbf994838d78"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f7e7a758-6a0a-4fe6-abfb-0779a10aa328"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/output.json deleted file mode 100644 index 7b17d1e1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/output.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "b9d734b1-1f8f-4424-99eb-ee11031298ef", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "6bc45690-8de8-48aa-add2-86e378b91a16", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/2781cecf-3313-4e8f-86eb-eea73010845f" - }, - "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": "2781cecf-3313-4e8f-86eb-eea73010845f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c8fc2575-ddd7-481d-8b6f-5a1a5792d200", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "0dab8651-a4b7-4365-bb08-fdd5060281ad", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_2f97abb5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/output.xml deleted file mode 100644 index a99fe370..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5/output.xml +++ /dev/null @@ -1,222 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b9d734b1-1f8f-4424-99eb-ee11031298ef"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.004.30"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="6bc45690-8de8-48aa-add2-86e378b91a16"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/2781cecf-3313-4e8f-86eb-eea73010845f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <note> - <text value="Bitte auf Anwendung schulen"/> - </note> - <dispenseRequest> - <quantity> - <value value="2"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2781cecf-3313-4e8f-86eb-eea73010845f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00427833"/> - </coding> - <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="IHP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Diskus"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c8fc2575-ddd7-481d-8b6f-5a1a5792d200"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="0dab8651-a4b7-4365-bb08-fdd5060281ad"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/input.xml new file mode 100644 index 00000000..712a2c42 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/input.xml @@ -0,0 +1,475 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="2f97abb5-5b34-48c3-b380-8cb0d1b71796"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/70e4e747-a1e6-44cd-b91d-7cc2eef89c0c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="70e4e747-a1e6-44cd-b91d-7cc2eef89c0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="01"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <attester> + <mode value="legal"/> + <party> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </party> + </attester> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/877e9689-523e-46ca-aa78-8de34a023583"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="FOR_PractitionerRole"/> + </coding> + </code> + <entry> + <!-- Referenz auf ASV-Teamnummer --> + <reference value="PractitionerRole/cfa278d2-0b57-4889-a6a9-d3ff59983107"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/877e9689-523e-46ca-aa78-8de34a023583"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="877e9689-523e-46ca-aa78-8de34a023583"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/PractitionerRole/cfa278d2-0b57-4889-a6a9-d3ff59983107"/> + <resource> + <PractitionerRole xmlns="http://hl7.org/fhir"> + <id value="cfa278d2-0b57-4889-a6a9-d3ff59983107"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_PractitionerRole|1.1.0"/> + </meta> + <practitioner> + <reference value="Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + </practitioner> + <organization> + <identifier> + <system value="http://fhir.de/NamingSystem/asv/teamnummer"/> + <value value="001234567"/> + </identifier> + </organization> + </PractitionerRole> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <name> + <use value="official"/> + <family value="Fischer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Fischer"/> + </extension> + </family> + <given value="Alexander"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="04"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin"/> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Fachgruppennummer_ASV"/> + <code value="555555472"/> + </coding> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/output.json new file mode 100644 index 00000000..4117b59e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "0955865c-d1d2-4b71-ad7d-43ebee50fd16", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f706b868-6853-4ac0-8397-f15e0c72e9e3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/91101a71-5357-4501-9445-9cc02b58e9d2" + }, + "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": "91101a71-5357-4501-9445-9cc02b58e9d2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a69cbda0-4dc5-4682-b0a3-00bc1f394538", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "35f6fdf4-a19d-4a90-9b2f-992fdcda5e1f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_2f97abb5_2f97abb5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/output.xml new file mode 100644 index 00000000..d8a5afba --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419_2f97abb5_2f97abb5/output.xml @@ -0,0 +1,222 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0955865c-d1d2-4b71-ad7d-43ebee50fd16"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f706b868-6853-4ac0-8397-f15e0c72e9e3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/91101a71-5357-4501-9445-9cc02b58e9d2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="91101a71-5357-4501-9445-9cc02b58e9d2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a69cbda0-4dc5-4682-b0a3-00bc1f394538"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="35f6fdf4-a19d-4a90-9b2f-992fdcda5e1f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/output.json deleted file mode 100644 index 59c18469..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/output.json +++ /dev/null @@ -1,211 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "478d8dd7-0b8a-4395-b187-fdba1f8f95e6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "c52ee738-ae3b-4868-9f1c-9f9a20bfaf52", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/4cdfd694-4a95-464c-aa4d-c70a27324f98" - }, - "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": "4cdfd694-4a95-464c-aa4d-c70a27324f98", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8cebc251-6295-45b3-a4e9-9602f3f5eb29", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "aedb04a3-3798-4db7-9d38-0e5eab10a78c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/output.xml deleted file mode 100644 index 8d3eaff5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/output.xml +++ /dev/null @@ -1,217 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="478d8dd7-0b8a-4395-b187-fdba1f8f95e6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.004.30"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c52ee738-ae3b-4868-9f1c-9f9a20bfaf52"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/4cdfd694-4a95-464c-aa4d-c70a27324f98"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <note> - <text value="Bitte auf Anwendung schulen"/> - </note> - <dispenseRequest> - <quantity> - <value value="2"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4cdfd694-4a95-464c-aa4d-c70a27324f98"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00427833"/> - </coding> - <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="IHP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Diskus"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8cebc251-6295-45b3-a4e9-9602f3f5eb29"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="aedb04a3-3798-4db7-9d38-0e5eab10a78c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="895268385"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Alexander Fischer"/> - <family value="Fischer"/> - <given value="Alexander"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f/output.json new file mode 100644 index 00000000..65c2d6b7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "fdf1479e-1a92-4f5e-839e-48ab844ff9bf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7907f811-63dd-45eb-9d9e-cbf7c5b7db86", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ac85eab8-f0ea-4a8e-b7ea-8e4c9fd88fae" + }, + "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": "ac85eab8-f0ea-4a8e-b7ea-8e4c9fd88fae", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3fb12e4c-b7f9-40d6-abd8-c3a2d3bbe40f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "99d942f8-25e4-4924-859c-894b99dcacf8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9ad99a8f_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f/output.xml new file mode 100644 index 00000000..aeb9cc6a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed_9ad99a8f_9ad99a8f/output.xml @@ -0,0 +1,217 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fdf1479e-1a92-4f5e-839e-48ab844ff9bf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7907f811-63dd-45eb-9d9e-cbf7c5b7db86"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ac85eab8-f0ea-4a8e-b7ea-8e4c9fd88fae"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ac85eab8-f0ea-4a8e-b7ea-8e4c9fd88fae"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3fb12e4c-b7f9-40d6-abd8-c3a2d3bbe40f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="99d942f8-25e4-4924-859c-894b99dcacf8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="895268385"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Alexander Fischer"/> + <family value="Fischer"/> + <given value="Alexander"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.json index b27958b2..a909dd8f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "9e4bc9d2-e82e-4d09-afdf-aad92cd91b66", + "id": "ca530604-9800-41ff-b7dc-57dad0ba5954", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "81d7c7d6-04c2-407a-8993-b9428a249571", + "id": "a3817e8d-192d-4886-a4ba-ad82434a9700", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/5152a6bc-03c2-448e-b95a-c37bf53f948c" + "reference": "Medication/0213f735-91f4-4e0a-b014-a4ba1f1ba23b" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5152a6bc-03c2-448e-b95a-c37bf53f948c", + "id": "0213f735-91f4-4e0a-b014-a4ba1f1ba23b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -107,7 +107,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "0202335c-1b23-4ff7-8be1-b9ed914ecdfa", + "id": "3f55243b-66a2-4ef2-aa35-df92ec31b205", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -172,7 +172,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "5b0efc1f-81f6-4503-b515-2d2578497140", + "id": "18c8d786-9474-4907-bfa5-646b6737e2f9", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.xml index cd8c332b..474f4e61 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="9e4bc9d2-e82e-4d09-afdf-aad92cd91b66"/> + <id value="ca530604-9800-41ff-b7dc-57dad0ba5954"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="81d7c7d6-04c2-407a-8993-b9428a249571"/> + <id value="a3817e8d-192d-4886-a4ba-ad82434a9700"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/5152a6bc-03c2-448e-b95a-c37bf53f948c"/> + <reference value="Medication/0213f735-91f4-4e0a-b014-a4ba1f1ba23b"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5152a6bc-03c2-448e-b95a-c37bf53f948c"/> + <id value="0213f735-91f4-4e0a-b014-a4ba1f1ba23b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -108,7 +108,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="0202335c-1b23-4ff7-8be1-b9ed914ecdfa"/> + <id value="3f55243b-66a2-4ef2-aa35-df92ec31b205"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -176,7 +176,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5b0efc1f-81f6-4503-b515-2d2578497140"/> + <id value="18c8d786-9474-4907-bfa5-646b6737e2f9"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/input.xml new file mode 100644 index 00000000..319bffdb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/input.xml @@ -0,0 +1,445 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9ad99a8f-6bce-4ab8-ada1-bb3063566c25"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/70e4e747-a1e6-44cd-b91d-7cc2eef89c0c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="70e4e747-a1e6-44cd-b91d-7cc2eef89c0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <attester> + <mode value="legal"/> + <party> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </party> + </attester> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/877e9689-523e-46ca-aa78-8de34a023583"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/877e9689-523e-46ca-aa78-8de34a023583"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="877e9689-523e-46ca-aa78-8de34a023583"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="895268385"/> + </identifier> + <name> + <use value="official"/> + <family value="Fischer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Fischer"/> + </extension> + </family> + <given value="Alexander"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="03"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Weiterbildungsassistent"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/output.json new file mode 100644 index 00000000..ad94027d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "e2c1aae7-ec75-4c11-98dc-031b21cc10d0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c4a31219-8d3a-423b-93fd-8f5bc77495f2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/228d34f1-4212-43ba-a035-0cf85e15fdd7" + }, + "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": "228d34f1-4212-43ba-a035-0cf85e15fdd7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f3136ad8-03b9-41c0-8f96-515194d8353b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "13ba6abb-be45-4eee-aca2-b17de956244f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9ad99a8f_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/output.xml new file mode 100644 index 00000000..01cdf18a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_9ad99a8f_9ad99a8f/output.xml @@ -0,0 +1,217 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e2c1aae7-ec75-4c11-98dc-031b21cc10d0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c4a31219-8d3a-423b-93fd-8f5bc77495f2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/228d34f1-4212-43ba-a035-0cf85e15fdd7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="228d34f1-4212-43ba-a035-0cf85e15fdd7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f3136ad8-03b9-41c0-8f96-515194d8353b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="13ba6abb-be45-4eee-aca2-b17de956244f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="895268385"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Alexander Fischer"/> + <family value="Fischer"/> + <given value="Alexander"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.json index 00ebf6f2..63bbd2f4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "4d312f8e-0206-485a-97e3-9061757ddce4", + "id": "aa27d0a0-bda7-4ae7-b2a3-3318d51b0039", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "69a640b8-093e-4ec7-85f4-cc6e544f4a35", + "id": "6b9b90bc-140e-46b2-b269-189fe8b8f0c3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/d2f481c9-98bd-4e99-8d3b-6059b395bc38" + "reference": "Medication/315ca4d2-5971-422d-882e-78f01e8eebb6" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "d2f481c9-98bd-4e99-8d3b-6059b395bc38", + "id": "315ca4d2-5971-422d-882e-78f01e8eebb6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "b957e42e-65eb-4147-849e-95423dbf0743", + "id": "259ab3c4-edfd-4d82-ba64-121de973cfad", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -151,7 +151,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "1c034e77-5342-4992-8759-5033b4cfeacd", + "id": "ba79b676-1e0c-4288-9d25-6c549f4e47d9", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.xml index 2c5349a2..d6933e00 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="4d312f8e-0206-485a-97e3-9061757ddce4"/> + <id value="aa27d0a0-bda7-4ae7-b2a3-3318d51b0039"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="69a640b8-093e-4ec7-85f4-cc6e544f4a35"/> + <id value="6b9b90bc-140e-46b2-b269-189fe8b8f0c3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/d2f481c9-98bd-4e99-8d3b-6059b395bc38"/> + <reference value="Medication/315ca4d2-5971-422d-882e-78f01e8eebb6"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="d2f481c9-98bd-4e99-8d3b-6059b395bc38"/> + <id value="315ca4d2-5971-422d-882e-78f01e8eebb6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="b957e42e-65eb-4147-849e-95423dbf0743"/> + <id value="259ab3c4-edfd-4d82-ba64-121de973cfad"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -154,7 +154,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1c034e77-5342-4992-8759-5033b4cfeacd"/> + <id value="ba79b676-1e0c-4288-9d25-6c549f4e47d9"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5_aea2f4c5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5_aea2f4c5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5_aea2f4c5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5_aea2f4c5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5_aea2f4c5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5_aea2f4c5/output.json new file mode 100644 index 00000000..f422d7a1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5_aea2f4c5/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "78057bd2-7065-4874-992a-edf9857a6bc4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "88395d15-f231-4ab9-a381-bdc2191244b8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8fd3c53e-237f-47e5-9bd0-2eef0c5d4aef" + }, + "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": "8fd3c53e-237f-47e5-9bd0-2eef0c5d4aef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5b844a50-7718-4c7c-85dd-aea0e60d904f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "395da9b4-c1f7-42da-9551-b057d849814e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_aea2f4c5_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5_aea2f4c5/output.xml new file mode 100644 index 00000000..5860e8b3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_aea2f4c5_aea2f4c5/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="78057bd2-7065-4874-992a-edf9857a6bc4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="88395d15-f231-4ab9-a381-bdc2191244b8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8fd3c53e-237f-47e5-9bd0-2eef0c5d4aef"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8fd3c53e-237f-47e5-9bd0-2eef0c5d4aef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392039"/> + </coding> + <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5b844a50-7718-4c7c-85dd-aea0e60d904f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="395da9b4-c1f7-42da-9551-b057d849814e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/output.json deleted file mode 100644 index 0e183b6f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "1a19cbac-d399-43ff-abdb-66e4846e2fe6", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "e637a9b1-f302-4300-8a92-9aadb095266f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/b71783e0-6014-45e6-8ebd-e4f61fe28842" - }, - "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": "b71783e0-6014-45e6-8ebd-e4f61fe28842", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "06140041-8419-45b8-bdfd-f4c3c5f1ee48", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "4c7d2c27-802e-4bae-bcbe-e00d4fb9420a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/output.xml deleted file mode 100644 index 5d538817..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1a19cbac-d399-43ff-abdb-66e4846e2fe6"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.001.39"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e637a9b1-f302-4300-8a92-9aadb095266f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/b71783e0-6014-45e6-8ebd-e4f61fe28842"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b71783e0-6014-45e6-8ebd-e4f61fe28842"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="05392039"/> - </coding> - <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="06140041-8419-45b8-bdfd-f4c3c5f1ee48"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="723333300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Psychiatrie und Psychotherapie"/> - <telecom> - <system value="phone"/> - <value value="030369258147"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4c7d2c27-802e-4bae-bcbe-e00d4fb9420a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="582369858"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Emilia Becker"/> - <family value="Becker"/> - <given value="Emilia"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/input.xml new file mode 100644 index 00000000..7712cba0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/input.xml @@ -0,0 +1,368 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="aea2f4c5-675a-4d76-ab9b-7994c80b64ec"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/6aba4ca1-6bc9-47db-a58d-946b5ded26b7"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6aba4ca1-6bc9-47db-a58d-946b5ded26b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/7d871b93-e18c-4865-bad0-6b55196be46b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/7d871b93-e18c-4865-bad0-6b55196be46b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7d871b93-e18c-4865-bad0-6b55196be46b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="true"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a3ca01a4-92c1-422a-87d9-ef046e94527f"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a3ca01a4-92c1-422a-87d9-ef046e94527f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a3ca01a4-92c1-422a-87d9-ef046e94527f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392039"/> + </coding> + <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <name> + <use value="official"/> + <family value="Becker"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Becker"/> + </extension> + </family> + <given value="Emilia"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Psychiatrie und Psychotherapie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="06"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Baden-Württember/BVG"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/output.json new file mode 100644 index 00000000..61a999b4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "22c88ef7-8e8a-423b-ba10-4beae75e6274", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "8fdb6da3-9801-48a8-a60a-6e81868d269f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/2275453e-6157-4754-9ec0-525928d42c25" + }, + "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": "2275453e-6157-4754-9ec0-525928d42c25", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fe1ae026-091d-4357-a39c-7ebdaa03c670", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8e4ed129-923f-47bc-96a5-a5f99b2abc35", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_aea2f4c5_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/output.xml new file mode 100644 index 00000000..054c8de1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8_aea2f4c5_aea2f4c5/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="22c88ef7-8e8a-423b-ba10-4beae75e6274"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="8fdb6da3-9801-48a8-a60a-6e81868d269f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/2275453e-6157-4754-9ec0-525928d42c25"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="2275453e-6157-4754-9ec0-525928d42c25"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392039"/> + </coding> + <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fe1ae026-091d-4357-a39c-7ebdaa03c670"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8e4ed129-923f-47bc-96a5-a5f99b2abc35"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/output.json deleted file mode 100644 index eab9497c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/output.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "a63fbf85-3fb6-4de7-a9e0-d9323ae48342", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "8d6b9d10-8632-48d5-8a04-17fd25281b60", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/b869dba5-c9e4-4bc7-a29f-d48521ad1c20" - }, - "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": "b869dba5-c9e4-4bc7-a29f-d48521ad1c20", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "46943cfc-5fc9-4406-86be-7994e1e4ef68", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "d3ce36cd-19b4-4568-a5c7-4fd172e2d2f7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/output.xml deleted file mode 100644 index 578e4e6b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a63fbf85-3fb6-4de7-a9e0-d9323ae48342"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.002.36"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2022-05-20"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8d6b9d10-8632-48d5-8a04-17fd25281b60"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/b869dba5-c9e4-4bc7-a29f-d48521ad1c20"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2022-05-20"/> - <dosageInstruction> - <text value="2mal tägl. 5ml"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b869dba5-c9e4-4bc7-a29f-d48521ad1c20"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08585997"/> - </coding> - <text value="Prospan® Hustensaft 100ml N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FLE"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="46943cfc-5fc9-4406-86be-7994e1e4ef68"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="687777700"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Kinderarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="09411234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Yorckstraße 15"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="15"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Yorckstraße"/> - </extension> - </line> - <line value="Hinterhaus"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Hinterhaus"/> - </extension> - </line> - <city value="Regensburg"/> - <postalCode value="93049"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d3ce36cd-19b4-4568-a5c7-4fd172e2d2f7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="456456534"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Maximilian Weber"/> - <family value="Weber"/> - <given value="Maximilian"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416_0428d416/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416_0428d416/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416_0428d416/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416_0428d416/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416_0428d416/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416_0428d416/output.json new file mode 100644 index 00000000..8def0fc3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416_0428d416/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "c62ade72-dd5d-458f-8ce3-6aaae770fe96", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2d48986b-06c7-48aa-b771-85a2fe75cc35", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/dcb57d6d-2df1-4ec2-ba55-fe90ba462ff8" + }, + "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": "dcb57d6d-2df1-4ec2-ba55-fe90ba462ff8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "89a12864-4393-4737-a375-088ce6f651e0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4b308632-5361-41e0-9df7-4e1cd0c76962", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0428d416_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416_0428d416/output.xml new file mode 100644 index 00000000..86bbd15a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46_0428d416_0428d416/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c62ade72-dd5d-458f-8ce3-6aaae770fe96"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2d48986b-06c7-48aa-b771-85a2fe75cc35"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/dcb57d6d-2df1-4ec2-ba55-fe90ba462ff8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dcb57d6d-2df1-4ec2-ba55-fe90ba462ff8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="89a12864-4393-4737-a375-088ce6f651e0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4b308632-5361-41e0-9df7-4e1cd0c76962"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.json index 976032ef..285db805 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "88b352c8-2d5d-4800-ab80-95a68fec081e", + "id": "e52c09df-2bb8-4cb7-b037-ffd2ea6d07e2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "2810288a-5e22-4d98-bce9-c3e33adcdaec", + "id": "d85b68c6-1565-4709-94f1-8db458ac9824", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/6288ce98-54fd-4ce6-b11c-d778e622ad49" + "reference": "Medication/b8d3a916-7bd2-41ca-a136-3e704d2bd51f" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "6288ce98-54fd-4ce6-b11c-d778e622ad49", + "id": "b8d3a916-7bd2-41ca-a136-3e704d2bd51f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -95,7 +95,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "14f7786c-1ce7-44b5-b14f-a2ac8e09f3fe", + "id": "0f6f5d91-2884-4107-bc03-fea17cadcf77", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "f820b4c7-4a22-496f-bf28-90302ccfa27b", + "id": "148d2178-0f69-46a7-a7d6-da4e5f8195e7", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.xml index d4728ecf..5275e893 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="88b352c8-2d5d-4800-ab80-95a68fec081e"/> + <id value="e52c09df-2bb8-4cb7-b037-ffd2ea6d07e2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2810288a-5e22-4d98-bce9-c3e33adcdaec"/> + <id value="d85b68c6-1565-4709-94f1-8db458ac9824"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/6288ce98-54fd-4ce6-b11c-d778e622ad49"/> + <reference value="Medication/b8d3a916-7bd2-41ca-a136-3e704d2bd51f"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="6288ce98-54fd-4ce6-b11c-d778e622ad49"/> + <id value="b8d3a916-7bd2-41ca-a136-3e704d2bd51f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -97,7 +97,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="14f7786c-1ce7-44b5-b14f-a2ac8e09f3fe"/> + <id value="0f6f5d91-2884-4107-bc03-fea17cadcf77"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -162,7 +162,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f820b4c7-4a22-496f-bf28-90302ccfa27b"/> + <id value="148d2178-0f69-46a7-a7d6-da4e5f8195e7"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/input.xml new file mode 100644 index 00000000..8874a825 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/input.xml @@ -0,0 +1,393 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="0428d416-149e-48a4-977c-394887b3d85c"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/a054c2f3-0123-4d33-a0b3-bedec2f7d1ea"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a054c2f3-0123-4d33-a0b3-bedec2f7d1ea"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/06dc1594-509a-4f4c-ada7-dfd477a02d86"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/06dc1594-509a-4f4c-ada7-dfd477a02d86"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="06dc1594-509a-4f4c-ada7-dfd477a02d86"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/f568397d-7ba2-46ac-904b-02caec933b42"/> + </medicationReference> + <subject> + <reference value="Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + </subject> + <authoredOn value="2022-05-20"/> + <requester> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + </requester> + <insurance> + <reference value="Coverage/df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/f568397d-7ba2-46ac-904b-02caec933b42"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f568397d-7ba2-46ac-904b-02caec933b42"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119802"/> + </identifier> + <name> + <use value="official"/> + <family value="Erbprinzessin von und zu der Schimmelpfennig-Hammerschmidt Federmannssohn"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Erbprinzessin"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schimmelpfennig-Hammerschmidt Federmannssohn"/> + </extension> + </family> + <given value="Ingrid"/> + </name> + <birthDate value="2010-01-31"/> + <address> + <type value="both"/> + <line value="Anneliese- und Georg-von-Groscurth-Plaetzchen 149-C"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="149-C"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Anneliese- und Georg-von-Groscurth-Plaetzchen"/> + </extension> + </line> + <line value="5. OG - Hinterhof"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="5. OG - Hinterhof"/> + </extension> + </line> + <city value="Bad Homburg"/> + <postalCode value="60437"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <name> + <use value="official"/> + <family value="Weber"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Weber"/> + </extension> + </family> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Kinder- und Jugendmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + </beneficiary> + <period> + <end value="2040-04-01"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108416214"/> + </identifier> + <display value="AOK Bayern Die Gesundh."/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/output.json new file mode 100644 index 00000000..984e2256 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "162ee266-2c66-4487-a47b-1217d98b1c27", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b0ba76cf-ceb5-4741-b2a3-1a235e494ed7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8e9d8596-de03-457f-b791-6f4ec3521a73" + }, + "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": "8e9d8596-de03-457f-b791-6f4ec3521a73", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b264f8bb-9384-4a9f-bf7d-f8aba40cccbd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7d0865fc-87db-46b3-abef-aa8f47536385", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0428d416_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/output.xml new file mode 100644 index 00000000..2b03b63b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0428d416_0428d416/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="162ee266-2c66-4487-a47b-1217d98b1c27"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2022-05-20"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b0ba76cf-ceb5-4741-b2a3-1a235e494ed7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8e9d8596-de03-457f-b791-6f4ec3521a73"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2022-05-20"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8e9d8596-de03-457f-b791-6f4ec3521a73"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b264f8bb-9384-4a9f-bf7d-f8aba40cccbd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7d0865fc-87db-46b3-abef-aa8f47536385"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/output.json deleted file mode 100644 index 5558e01d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "aff385bd-5e6b-4461-9fd6-51b669e9300b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "a5a6c5c3-c184-4273-bb82-9b812f53a10f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/27881c04-c5db-49d1-9fb9-5335245176cf" - }, - "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": "27881c04-c5db-49d1-9fb9-5335245176cf", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.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": "e9568ce8-e3d4-4636-b9a0-3147a7bebee3", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "bfbae82f-d1d7-490b-8df0-30c11ee5949d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/output.xml deleted file mode 100644 index b14bcbe7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="aff385bd-5e6b-4461-9fd6-51b669e9300b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2021-04-03"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a5a6c5c3-c184-4273-bb82-9b812f53a10f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/27881c04-c5db-49d1-9fb9-5335245176cf"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2021-04-03"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="27881c04-c5db-49d1-9fb9-5335245176cf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10259495"/> - </coding> - <text value="FSME-IMMUN 0,5 ml Erwachsene"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e9568ce8-e3d4-4636-b9a0-3147a7bebee3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="bfbae82f-d1d7-490b-8df0-30c11ee5949d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619_914b7619/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619_914b7619/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619_914b7619/output.json new file mode 100644 index 00000000..692f1f11 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619_914b7619/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "f870ce78-7961-4a2c-baaf-4162fdaba486", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9a2290b9-33a9-4d69-ac28-ee4df9ba230d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f8cdabfa-cfd8-4b33-affe-0da0c49be8eb" + }, + "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": "f8cdabfa-cfd8-4b33-affe-0da0c49be8eb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "31424e20-9979-48be-a1b5-b33718ee5a10", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "498f54e4-d0c3-4a31-88e8-4e410eac0f9f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619_914b7619/output.xml new file mode 100644 index 00000000..8290538f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601_914b7619_914b7619/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f870ce78-7961-4a2c-baaf-4162fdaba486"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9a2290b9-33a9-4d69-ac28-ee4df9ba230d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f8cdabfa-cfd8-4b33-affe-0da0c49be8eb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f8cdabfa-cfd8-4b33-affe-0da0c49be8eb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="31424e20-9979-48be-a1b5-b33718ee5a10"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="498f54e4-d0c3-4a31-88e8-4e410eac0f9f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.json index 8207ba5f..a779cdb5 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "bbc4e00b-55f2-4c39-8dc2-ac44e054f093", + "id": "ea722f3a-2be0-48e3-b101-ca2adc7c9456", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "83ca0bd0-87e7-455a-a3cd-50669f2814f5", + "id": "5ff7e071-b579-435c-bc05-089121cb7cc4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/0404f789-6501-4ceb-8647-8c5dab18ce02" + "reference": "Medication/6fbaff80-bce1-42d8-9392-2a76e2a33f63" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "0404f789-6501-4ceb-8647-8c5dab18ce02", + "id": "6fbaff80-bce1-42d8-9392-2a76e2a33f63", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "acf2fe54-f2d9-4668-a61d-f588a070cb1e", + "id": "8e4e9d77-0df6-4b67-b0a7-2cee6079d1e9", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "6e6bb882-6f91-4279-9af0-f5d589d33acc", + "id": "3babe1c1-4878-44f4-9fd5-f97e7aac99c0", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.xml index f36345e7..59fb8ef4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="bbc4e00b-55f2-4c39-8dc2-ac44e054f093"/> + <id value="ea722f3a-2be0-48e3-b101-ca2adc7c9456"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="83ca0bd0-87e7-455a-a3cd-50669f2814f5"/> + <id value="5ff7e071-b579-435c-bc05-089121cb7cc4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/0404f789-6501-4ceb-8647-8c5dab18ce02"/> + <reference value="Medication/6fbaff80-bce1-42d8-9392-2a76e2a33f63"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="0404f789-6501-4ceb-8647-8c5dab18ce02"/> + <id value="6fbaff80-bce1-42d8-9392-2a76e2a33f63"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="acf2fe54-f2d9-4668-a61d-f588a070cb1e"/> + <id value="8e4e9d77-0df6-4b67-b0a7-2cee6079d1e9"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6e6bb882-6f91-4279-9af0-f5d589d33acc"/> + <id value="3babe1c1-4878-44f4-9fd5-f97e7aac99c0"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/input.xml new file mode 100644 index 00000000..a864bee8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/input.xml @@ -0,0 +1,382 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="914b7619-621e-4270-a2b5-1cdf95c87d14"/> + <meta> + <lastUpdated value="2022-05-20T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </identifier> + <type value="document"/> + <timestamp value="2022-05-20T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/967f5e06-30ce-4229-9eff-4ac8514a87e9"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="967f5e06-30ce-4229-9eff-4ac8514a87e9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2022-05-20T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/06080621-7d27-448f-8c83-065dd25aa098"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/06080621-7d27-448f-8c83-065dd25aa098"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="06080621-7d27-448f-8c83-065dd25aa098"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/bd9c93a5-1172-4971-87a9-351504db765e"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2021-04-03"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/bd9c93a5-1172-4971-87a9-351504db765e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bd9c93a5-1172-4971-87a9-351504db765e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/output.json new file mode 100644 index 00000000..fb8494af --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "b5df0153-a69b-458a-9550-3f87724e3e5d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "02def7cd-ad15-47b9-967e-21bab5574599", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/dd23f454-8c72-490d-884b-1a4244c8996b" + }, + "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": "dd23f454-8c72-490d-884b-1a4244c8996b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "5fa7b3d0-02cf-4c00-8ea0-00467740201d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d1106d2a-6a72-4fa8-bb20-f0b461d623eb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/output.xml new file mode 100644 index 00000000..56df1894 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_914b7619_914b7619/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b5df0153-a69b-458a-9550-3f87724e3e5d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2021-04-03"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="02def7cd-ad15-47b9-967e-21bab5574599"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/dd23f454-8c72-490d-884b-1a4244c8996b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2021-04-03"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dd23f454-8c72-490d-884b-1a4244c8996b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5fa7b3d0-02cf-4c00-8ea0-00467740201d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d1106d2a-6a72-4fa8-bb20-f0b461d623eb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.json index 639473c4..d167d640 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "763488dc-ea82-4ee1-ae84-7d02cad98c3f", + "id": "3a88738a-95f0-4cb5-9cfd-f3bfcc737567", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "4638c83c-8f66-4ca9-af2c-12e6a84b7c86", + "id": "691c2152-46a0-449b-9416-ef26dbc6fe50", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/15d378fb-06ca-405f-8244-d722ac838546" + "reference": "Medication/064f34b0-d35d-45b7-94bc-34c81a4229ad" }, "subject": { "identifier": { @@ -63,7 +63,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "15d378fb-06ca-405f-8244-d722ac838546", + "id": "064f34b0-d35d-45b7-94bc-34c81a4229ad", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -112,7 +112,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "ce6237a0-9283-4dbd-9912-2262f66776c3", + "id": "2e978396-b52c-4623-8acc-a3ff7501a589", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -179,7 +179,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "d522dfcf-e71c-449d-8d99-de971c103f56", + "id": "7d9f407e-6947-4b98-80dd-e04deb761a70", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.xml index 604f2236..e0c84d15 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="763488dc-ea82-4ee1-ae84-7d02cad98c3f"/> + <id value="3a88738a-95f0-4cb5-9cfd-f3bfcc737567"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4638c83c-8f66-4ca9-af2c-12e6a84b7c86"/> + <id value="691c2152-46a0-449b-9416-ef26dbc6fe50"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/15d378fb-06ca-405f-8244-d722ac838546"/> + <reference value="Medication/064f34b0-d35d-45b7-94bc-34c81a4229ad"/> </medicationReference> <subject> <identifier> @@ -64,7 +64,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="15d378fb-06ca-405f-8244-d722ac838546"/> + <id value="064f34b0-d35d-45b7-94bc-34c81a4229ad"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -113,7 +113,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="ce6237a0-9283-4dbd-9912-2262f66776c3"/> + <id value="2e978396-b52c-4623-8acc-a3ff7501a589"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -182,7 +182,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d522dfcf-e71c-449d-8d99-de971c103f56"/> + <id value="7d9f407e-6947-4b98-80dd-e04deb761a70"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e/output.json new file mode 100644 index 00000000..d1dff650 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "05a421f0-6b7d-4ae3-95f3-a0cebfb401ef", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b017d1cc-cbd6-4192-a111-6f7ac6e46975", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/3d8d0429-093c-4601-b4b4-bd1c98eed55e" + }, + "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": "3d8d0429-093c-4601-b4b4-bd1c98eed55e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0a464c09-38a5-4c36-9256-5bbce4250b0c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f79d0bb0-4afb-4623-b70d-74e859a8bbe4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f66314e_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e/output.xml new file mode 100644 index 00000000..b6e99142 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_5f66314e_5f66314e/output.xml @@ -0,0 +1,223 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="05a421f0-6b7d-4ae3-95f3-a0cebfb401ef"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b017d1cc-cbd6-4192-a111-6f7ac6e46975"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3d8d0429-093c-4601-b4b4-bd1c98eed55e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3d8d0429-093c-4601-b4b4-bd1c98eed55e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0a464c09-38a5-4c36-9256-5bbce4250b0c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f79d0bb0-4afb-4623-b70d-74e859a8bbe4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/output.json deleted file mode 100644 index 932b8423..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/output.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "6800abc8-ee1a-40d4-a2ee-e793350129de", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "f64c6277-88dc-4cbe-8cd6-fb391bd903d3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/bc348fd2-d2f0-497a-acfa-b1e2c2d5f43f" - }, - "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": "bc348fd2-d2f0-497a-acfa-b1e2c2d5f43f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1110d935-993e-4829-b99d-091dc442900f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "8769a0c3-a17e-4933-a3da-4dbab31eee65", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/output.xml deleted file mode 100644 index 2a969354..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e/output.xml +++ /dev/null @@ -1,223 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6800abc8-ee1a-40d4-a2ee-e793350129de"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.008.18"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="f64c6277-88dc-4cbe-8cd6-fb391bd903d3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/bc348fd2-d2f0-497a-acfa-b1e2c2d5f43f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <note> - <text value="Verwendung ohne Anlegen eines Verbandes"/> - </note> - <dosageInstruction> - <text value="3mal täglich dünn auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="bc348fd2-d2f0-497a-acfa-b1e2c2d5f43f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02090906"/> - </coding> - <text value="Fucidine® 20mg/g Creme 15g N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="CRE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="15"/> - </extension> - <unit value="g"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="1110d935-993e-4829-b99d-091dc442900f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="8769a0c3-a17e-4933-a3da-4dbab31eee65"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/input.xml new file mode 100644 index 00000000..89a6d911 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/input.xml @@ -0,0 +1,425 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5f66314e-459a-41e9-a3d7-65c935a8be2c"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/d8c9c61e-49a4-4af8-a6dc-20afbecff2ba"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d8c9c61e-49a4-4af8-a6dc-20afbecff2ba"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/a3420913-2b33-4f66-b3df-85f1b06bb226"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/a3420913-2b33-4f66-b3df-85f1b06bb226"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a3420913-2b33-4f66-b3df-85f1b06bb226"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="2"/> + </valueCoding> + </extension> + <extension url="Unfalltag"> + <valueDate value="2024-11-27"/> + </extension> + <extension url="Unfallbetrieb"> + <valueString value="Arbeitsplatz"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + </insurance> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cee366e1-2177-4aa2-bf90-b74dc3c3474f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="debfa2b7-6636-4c6b-9a31-93ca3efde01b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Payor_Type_KBV"/> + <code value="UK"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Alternative_IK"> + <valueIdentifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="120591802"/> + </valueIdentifier> + </extension> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="Unfallkasse NRW"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/output.json new file mode 100644 index 00000000..823464cc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "f90f898d-80bf-408c-8dd9-4a21d31f0c3e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "33318f72-bdd0-439c-b221-0853d798d4c8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c278dc73-0c87-4ccc-93b8-4f3c487ccfa6" + }, + "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": "c278dc73-0c87-4ccc-93b8-4f3c487ccfa6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "cc233c79-324d-4a86-97fd-bfddb13a0869", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "730d3d92-3ea1-431a-a3c2-87d42632c4c3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f66314e_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/output.xml new file mode 100644 index 00000000..b752f083 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c_5f66314e_5f66314e/output.xml @@ -0,0 +1,223 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f90f898d-80bf-408c-8dd9-4a21d31f0c3e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="33318f72-bdd0-439c-b221-0853d798d4c8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c278dc73-0c87-4ccc-93b8-4f3c487ccfa6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c278dc73-0c87-4ccc-93b8-4f3c487ccfa6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cc233c79-324d-4a86-97fd-bfddb13a0869"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="730d3d92-3ea1-431a-a3c2-87d42632c4c3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/output.json deleted file mode 100644 index d00e2c99..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/output.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "0c2916d1-d369-4a56-97f6-adbfff3860dd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "39187f45-0f02-4773-90f4-19cd449cfa22", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/13b4bbb7-d467-422b-b648-1cfd5bd96902" - }, - "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": "13b4bbb7-d467-422b-b648-1cfd5bd96902", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8564cdb1-544b-4d02-b79a-1479550ae2cc", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "3e14e2be-8698-4a16-b3b9-54f758dcaf07", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/output.xml deleted file mode 100644 index 1edf09aa..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/output.xml +++ /dev/null @@ -1,223 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="0c2916d1-d369-4a56-97f6-adbfff3860dd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.008.18"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="39187f45-0f02-4773-90f4-19cd449cfa22"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/13b4bbb7-d467-422b-b648-1cfd5bd96902"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <note> - <text value="Verwendung ohne Anlegen eines Verbandes"/> - </note> - <dosageInstruction> - <text value="3mal täglich dünn auftragen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="13b4bbb7-d467-422b-b648-1cfd5bd96902"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02090906"/> - </coding> - <text value="Fucidine® 20mg/g Creme 15g N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="CRE"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="15"/> - </extension> - <unit value="g"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8564cdb1-544b-4d02-b79a-1479550ae2cc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="3e14e2be-8698-4a16-b3b9-54f758dcaf07"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e/output.json new file mode 100644 index 00000000..7972da4a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e/output.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Parameters", + "id": "773213b1-b113-4c35-bb12-7e36c40d83c5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3acc3d8b-12cc-4810-8311-116ea43c2595", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6616d7fa-f812-42fc-a984-78c45ffe0d46" + }, + "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": "6616d7fa-f812-42fc-a984-78c45ffe0d46", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "129fcbbb-fbdd-436d-b3b4-ad0e8f920b7f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b884f3ae-f593-42e7-944a-43f48ff3195a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5f66314e_5f66314e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e/output.xml new file mode 100644 index 00000000..6d7821aa --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f_5f66314e_5f66314e/output.xml @@ -0,0 +1,223 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="773213b1-b113-4c35-bb12-7e36c40d83c5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.008.18"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3acc3d8b-12cc-4810-8311-116ea43c2595"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6616d7fa-f812-42fc-a984-78c45ffe0d46"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <note> + <text value="Verwendung ohne Anlegen eines Verbandes"/> + </note> + <dosageInstruction> + <text value="3mal täglich dünn auftragen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6616d7fa-f812-42fc-a984-78c45ffe0d46"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02090906"/> + </coding> + <text value="Fucidine® 20mg/g Creme 15g N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="CRE"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="15"/> + </extension> + <unit value="g"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="129fcbbb-fbdd-436d-b3b4-ad0e8f920b7f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b884f3ae-f593-42e7-944a-43f48ff3195a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/output.json deleted file mode 100644 index 97457690..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "626a1125-3ec5-44e7-8069-65bed5129167", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "68d799c5-4260-4a2a-bef6-b317814e8141", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/5911d87f-302b-4249-8f1c-6dac23b7e67c" - }, - "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": "5911d87f-302b-4249-8f1c-6dac23b7e67c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.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": "60dae4ba-0ae9-4338-873b-d480d21b34ce", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "21f660e7-d3ac-410e-bb94-6e31dea73422", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/output.xml deleted file mode 100644 index c5439668..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="626a1125-3ec5-44e7-8069-65bed5129167"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="68d799c5-4260-4a2a-bef6-b317814e8141"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/5911d87f-302b-4249-8f1c-6dac23b7e67c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="5911d87f-302b-4249-8f1c-6dac23b7e67c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10259495"/> - </coding> - <text value="FSME-IMMUN 0,5 ml Erwachsene"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="60dae4ba-0ae9-4338-873b-d480d21b34ce"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="21f660e7-d3ac-410e-bb94-6e31dea73422"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619/output.json new file mode 100644 index 00000000..301b44bb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "cb584d41-e20e-44eb-bd95-adbe9e54123a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f3513f38-6e6b-4c4a-82b2-b7bfbbbbb6e8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/16019115-bebb-4ef6-b4e9-1968a6efd23e" + }, + "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": "16019115-bebb-4ef6-b4e9-1968a6efd23e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "d6779e70-6cab-4fa8-9149-bf13b162e1eb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "baa72b86-4b98-4153-9024-a2db14f1ccc0", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619/output.xml new file mode 100644 index 00000000..a05630c4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af_914b7619_914b7619/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="cb584d41-e20e-44eb-bd95-adbe9e54123a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f3513f38-6e6b-4c4a-82b2-b7bfbbbbb6e8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/16019115-bebb-4ef6-b4e9-1968a6efd23e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="16019115-bebb-4ef6-b4e9-1968a6efd23e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d6779e70-6cab-4fa8-9149-bf13b162e1eb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="baa72b86-4b98-4153-9024-a2db14f1ccc0"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/output.json deleted file mode 100644 index 7d93894b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "2f1c5c69-04f1-436a-962f-baa657119c93", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "7b2953c0-9dd9-470f-bcaa-3a73b2a55aad", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/6e137084-2f2b-449e-a360-ce4c53b30b42" - }, - "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": "6e137084-2f2b-449e-a360-ce4c53b30b42", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.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": "d60fe8bf-e8a7-421c-ba84-c5fe51f83449", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "d8f0c54d-c186-48ec-b852-83421d582596", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/output.xml deleted file mode 100644 index 51cdfccc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2f1c5c69-04f1-436a-962f-baa657119c93"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7b2953c0-9dd9-470f-bcaa-3a73b2a55aad"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/6e137084-2f2b-449e-a360-ce4c53b30b42"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="6e137084-2f2b-449e-a360-ce4c53b30b42"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10259495"/> - </coding> - <text value="FSME-IMMUN 0,5 ml Erwachsene"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d60fe8bf-e8a7-421c-ba84-c5fe51f83449"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d8f0c54d-c186-48ec-b852-83421d582596"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619/output.json new file mode 100644 index 00000000..d3d31280 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "d8463ff3-66a2-4c33-ba1d-4bb014427e39", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "67885913-918c-4271-b328-ed3efed9700a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4a7258d7-f6e0-4e6c-8e04-ca489fca9d0c" + }, + "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": "4a7258d7-f6e0-4e6c-8e04-ca489fca9d0c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "066331ee-c224-4ac4-b296-f2abbf0d28a4", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "75ee7033-504b-4b99-94b7-eb114d809cb3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619/output.xml new file mode 100644 index 00000000..e3cfd197 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c_914b7619_914b7619/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="d8463ff3-66a2-4c33-ba1d-4bb014427e39"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="67885913-918c-4271-b328-ed3efed9700a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4a7258d7-f6e0-4e6c-8e04-ca489fca9d0c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4a7258d7-f6e0-4e6c-8e04-ca489fca9d0c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="066331ee-c224-4ac4-b296-f2abbf0d28a4"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="75ee7033-504b-4b99-94b7-eb114d809cb3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.json index aed271f6..59c2613b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "f2790b9a-9fd3-447c-8636-79fe7659a58b", + "id": "e5f6d1d0-1447-43f0-ad2a-b7f8b7e7320f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "d5653a4d-21c0-44ae-b914-86779b7ee9b5", + "id": "806f2558-4c58-4450-81d2-03c94ff87dc0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/f7a9e5ec-c3be-4285-b762-d1110a20c6a9" + "reference": "Medication/c7988f32-660c-40f4-82ad-a9cff060f9fe" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "f7a9e5ec-c3be-4285-b762-d1110a20c6a9", + "id": "c7988f32-660c-40f4-82ad-a9cff060f9fe", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "b29acf88-e9f6-4600-a4e0-0e9e960370ae", + "id": "b390732d-eda3-405c-b35e-6cec98b80593", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -151,7 +151,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "7d885d65-a544-4352-8e35-ba2177de9228", + "id": "8fba4ccf-eb69-4031-9437-53d868fa5fd7", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.xml index d73c4337..c4dc8f04 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="f2790b9a-9fd3-447c-8636-79fe7659a58b"/> + <id value="e5f6d1d0-1447-43f0-ad2a-b7f8b7e7320f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d5653a4d-21c0-44ae-b914-86779b7ee9b5"/> + <id value="806f2558-4c58-4450-81d2-03c94ff87dc0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/f7a9e5ec-c3be-4285-b762-d1110a20c6a9"/> + <reference value="Medication/c7988f32-660c-40f4-82ad-a9cff060f9fe"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="f7a9e5ec-c3be-4285-b762-d1110a20c6a9"/> + <id value="c7988f32-660c-40f4-82ad-a9cff060f9fe"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="b29acf88-e9f6-4600-a4e0-0e9e960370ae"/> + <id value="b390732d-eda3-405c-b35e-6cec98b80593"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -154,7 +154,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7d885d65-a544-4352-8e35-ba2177de9228"/> + <id value="8fba4ccf-eb69-4031-9437-53d868fa5fd7"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619/output.json new file mode 100644 index 00000000..47355725 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "9c90af94-c945-480e-b42d-93a7d2b82947", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1778bc81-2cc1-4ee4-98a9-811a0070485c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ae52e161-2811-4ded-b03d-a9b8354e5a73" + }, + "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": "ae52e161-2811-4ded-b03d-a9b8354e5a73", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "57227f7c-91f4-4a97-92be-040e984bb10e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "816ed318-0cc1-489e-9ef6-a7a27993e3da", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619/output.xml new file mode 100644 index 00000000..d3cb11fc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_914b7619_914b7619/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9c90af94-c945-480e-b42d-93a7d2b82947"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1778bc81-2cc1-4ee4-98a9-811a0070485c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ae52e161-2811-4ded-b03d-a9b8354e5a73"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ae52e161-2811-4ded-b03d-a9b8354e5a73"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="57227f7c-91f4-4a97-92be-040e984bb10e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="816ed318-0cc1-489e-9ef6-a7a27993e3da"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/output.json deleted file mode 100644 index 8c79a114..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "b8620955-75e0-49fd-84c4-099ff682559f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "36c3d973-6f67-4f87-9ce7-d69b710f4905", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/beb3f565-8116-4f33-bab2-1796fc548f6b" - }, - "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": "beb3f565-8116-4f33-bab2-1796fc548f6b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.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": "9e24b5f5-ec20-4dd4-bef9-649c9a6db5e0", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "b10d21a2-729a-4f8d-99f2-5763aa49881b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/output.xml deleted file mode 100644 index 7f25d028..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b8620955-75e0-49fd-84c4-099ff682559f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="36c3d973-6f67-4f87-9ce7-d69b710f4905"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/beb3f565-8116-4f33-bab2-1796fc548f6b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="beb3f565-8116-4f33-bab2-1796fc548f6b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10259495"/> - </coding> - <text value="FSME-IMMUN 0,5 ml Erwachsene"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9e24b5f5-ec20-4dd4-bef9-649c9a6db5e0"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b10d21a2-729a-4f8d-99f2-5763aa49881b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/input.xml new file mode 100644 index 00000000..3536b1ea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/input.xml @@ -0,0 +1,373 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="914b7619-621e-4270-a2b5-1cdf95c87d14"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/967f5e06-30ce-4229-9eff-4ac8514a87e9"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="967f5e06-30ce-4229-9eff-4ac8514a87e9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/06080621-7d27-448f-8c83-065dd25aa098"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/06080621-7d27-448f-8c83-065dd25aa098"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="06080621-7d27-448f-8c83-065dd25aa098"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/bd9c93a5-1172-4971-87a9-351504db765e"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/bd9c93a5-1172-4971-87a9-351504db765e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bd9c93a5-1172-4971-87a9-351504db765e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/output.json new file mode 100644 index 00000000..1e6b7e6d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "0f37f134-3270-484e-aafe-ea69d1d3edce", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "4a4db294-094d-4716-8841-342e028b9ae4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/be4bca5e-3e26-4ca1-9bd7-44cccef874c1" + }, + "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": "be4bca5e-3e26-4ca1-9bd7-44cccef874c1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "1dccb43c-801a-4bfd-a885-9dbd2dc1381c", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5ce12fa7-106c-4820-832a-ac710c3c2e1b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/output.xml new file mode 100644 index 00000000..cc6a3dd9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8_914b7619_914b7619/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0f37f134-3270-484e-aafe-ea69d1d3edce"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="4a4db294-094d-4716-8841-342e028b9ae4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/be4bca5e-3e26-4ca1-9bd7-44cccef874c1"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="be4bca5e-3e26-4ca1-9bd7-44cccef874c1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1dccb43c-801a-4bfd-a885-9dbd2dc1381c"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5ce12fa7-106c-4820-832a-ac710c3c2e1b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.json index 5de2c4ee..50566891 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "853dba2d-5e1a-4000-8813-112ec7993590", + "id": "1d232cbc-9481-45d9-b116-74c04113d4f4", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "ed71c687-9abf-4250-950c-872ae7c99dc1", + "id": "ec52776b-0fcc-4f95-a6b3-dafd7cde9ad9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/26dc2c27-36f8-4ccf-b587-323c10a355b6" + "reference": "Medication/dbccd517-17e2-4b6e-b5b6-df789ab46ab3" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "26dc2c27-36f8-4ccf-b587-323c10a355b6", + "id": "dbccd517-17e2-4b6e-b5b6-df789ab46ab3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d0d6f4a6-6669-4103-9e21-e25ee45a4e97", + "id": "093de1fd-91e0-472f-87c2-3598b2eb4c1f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -151,7 +151,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "63b57776-039b-41f1-9d35-d6d50dd4c305", + "id": "616dda0c-b1f3-4347-9966-ebe0b10da739", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.xml index 27806da4..82f3cb26 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="853dba2d-5e1a-4000-8813-112ec7993590"/> + <id value="1d232cbc-9481-45d9-b116-74c04113d4f4"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="ed71c687-9abf-4250-950c-872ae7c99dc1"/> + <id value="ec52776b-0fcc-4f95-a6b3-dafd7cde9ad9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/26dc2c27-36f8-4ccf-b587-323c10a355b6"/> + <reference value="Medication/dbccd517-17e2-4b6e-b5b6-df789ab46ab3"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="26dc2c27-36f8-4ccf-b587-323c10a355b6"/> + <id value="dbccd517-17e2-4b6e-b5b6-df789ab46ab3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d0d6f4a6-6669-4103-9e21-e25ee45a4e97"/> + <id value="093de1fd-91e0-472f-87c2-3598b2eb4c1f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -154,7 +154,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="63b57776-039b-41f1-9d35-d6d50dd4c305"/> + <id value="616dda0c-b1f3-4347-9966-ebe0b10da739"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/input.xml new file mode 100644 index 00000000..3536b1ea --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/input.xml @@ -0,0 +1,373 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="914b7619-621e-4270-a2b5-1cdf95c87d14"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/967f5e06-30ce-4229-9eff-4ac8514a87e9"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="967f5e06-30ce-4229-9eff-4ac8514a87e9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/06080621-7d27-448f-8c83-065dd25aa098"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/06080621-7d27-448f-8c83-065dd25aa098"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="06080621-7d27-448f-8c83-065dd25aa098"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/bd9c93a5-1172-4971-87a9-351504db765e"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/bd9c93a5-1172-4971-87a9-351504db765e"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bd9c93a5-1172-4971-87a9-351504db765e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/output.json new file mode 100644 index 00000000..62dd8aa9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "7156f97e-f2cc-458e-b37b-96436d744044", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5f7d4204-7bde-4572-bb04-1cfd09e2bffe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/1acb2111-7f87-4cf1-bbf0-e694136095d6" + }, + "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": "1acb2111-7f87-4cf1-bbf0-e694136095d6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "ae6f6c06-c759-4301-bdf6-04ad6fe4f923", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5e554405-6f1b-480c-89a5-c4e0307f29ea", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/output.xml new file mode 100644 index 00000000..892a14f1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_914b7619_914b7619/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7156f97e-f2cc-458e-b37b-96436d744044"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5f7d4204-7bde-4572-bb04-1cfd09e2bffe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1acb2111-7f87-4cf1-bbf0-e694136095d6"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1acb2111-7f87-4cf1-bbf0-e694136095d6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ae6f6c06-c759-4301-bdf6-04ad6fe4f923"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5e554405-6f1b-480c-89a5-c4e0307f29ea"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/output.json deleted file mode 100644 index a190771f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "f74422df-5c09-40a4-9847-385c74190fe1", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "8df55970-4071-4111-a989-c34fbb3d8162", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/0c4b8167-10af-4c8f-aa19-8536152c12b9" - }, - "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": "0c4b8167-10af-4c8f-aa19-8536152c12b9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.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": "6a206e83-dbb5-4bf5-897f-219fcc06dd7f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "36678a6d-c0b0-4175-82ba-f6526bb353e9", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/output.xml deleted file mode 100644 index 8ce92c3d..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f74422df-5c09-40a4-9847-385c74190fe1"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.009.15"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8df55970-4071-4111-a989-c34fbb3d8162"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/0c4b8167-10af-4c8f-aa19-8536152c12b9"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="0c4b8167-10af-4c8f-aa19-8536152c12b9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="true"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="10259495"/> - </coding> - <text value="FSME-IMMUN 0,5 ml Erwachsene"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FER"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6a206e83-dbb5-4bf5-897f-219fcc06dd7f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="36678a6d-c0b0-4175-82ba-f6526bb353e9"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619/output.json new file mode 100644 index 00000000..158893d4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "32d6743c-d981-41d2-bbd7-eb23f0c5333d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "1f8ee488-0420-43d4-a1bb-39a0449e0a4e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/fe486100-17ab-4bb0-8fb8-cae33a56a7b9" + }, + "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": "fe486100-17ab-4bb0-8fb8-cae33a56a7b9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.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": "dfe47149-3cf0-4562-a504-6596e92013cb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "cdda68ab-62e7-473c-a74c-684bcb05d58e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_914b7619_914b7619/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619/output.xml new file mode 100644 index 00000000..65624260 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c_914b7619_914b7619/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="32d6743c-d981-41d2-bbd7-eb23f0c5333d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.009.15"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1f8ee488-0420-43d4-a1bb-39a0449e0a4e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/fe486100-17ab-4bb0-8fb8-cae33a56a7b9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="fe486100-17ab-4bb0-8fb8-cae33a56a7b9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="true"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="10259495"/> + </coding> + <text value="FSME-IMMUN 0,5 ml Erwachsene"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FER"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dfe47149-3cf0-4562-a504-6596e92013cb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cdda68ab-62e7-473c-a74c-684bcb05d58e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/output.json deleted file mode 100644 index e99d86c7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/output.json +++ /dev/null @@ -1,211 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "85d82953-a2d7-4548-bd2a-fc4492803f30", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "abfb2319-487c-4649-b93b-9ea43b9a5143", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/19abb44e-b0d6-4b6d-a125-f962332ab7bf" - }, - "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": "19abb44e-b0d6-4b6d-a125-f962332ab7bf", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "87468d87-2933-4080-99c7-fcd58f8d4404", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "632666ae-c88c-491a-a6ac-c40115d0351a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/output.xml deleted file mode 100644 index b5cb5d67..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/output.xml +++ /dev/null @@ -1,213 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="85d82953-a2d7-4548-bd2a-fc4492803f30"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="abfb2319-487c-4649-b93b-9ea43b9a5143"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/19abb44e-b0d6-4b6d-a125-f962332ab7bf"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="19abb44e-b0d6-4b6d-a125-f962332ab7bf"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16332684"/> - </coding> - <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="87468d87-2933-4080-99c7-fcd58f8d4404"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="722222200"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> - <telecom> - <system value="phone"/> - <value value="030741852963"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="632666ae-c88c-491a-a6ac-c40115d0351a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="167761816"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Prof. Dr. med Elias Wagner"/> - <family value="Wagner"/> - <given value="Elias"/> - <prefix value="Prof. Dr. med"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b/output.json new file mode 100644 index 00000000..df7a78ff --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "763111c1-7f2b-488d-9b0f-f3b097031c12", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7b4333e0-a2bf-4001-9873-e92ff38bf2a1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b0f791fb-b33f-4762-85b0-6cffbd891f20" + }, + "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": "b0f791fb-b33f-4762-85b0-6cffbd891f20", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "14974b3e-1233-4bb7-8d15-fcd5f1c63986", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "533b3728-8bfa-460d-ac8c-d783db7b5c2e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b/output.xml new file mode 100644 index 00000000..3ccfb31b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a_753fff3b_753fff3b/output.xml @@ -0,0 +1,213 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="763111c1-7f2b-488d-9b0f-f3b097031c12"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7b4333e0-a2bf-4001-9873-e92ff38bf2a1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b0f791fb-b33f-4762-85b0-6cffbd891f20"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b0f791fb-b33f-4762-85b0-6cffbd891f20"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="14974b3e-1233-4bb7-8d15-fcd5f1c63986"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="533b3728-8bfa-460d-ac8c-d783db7b5c2e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/output.json deleted file mode 100644 index f6389a52..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/output.json +++ /dev/null @@ -1,211 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "4ad6febc-828f-4cc2-a5e1-789dc756201d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "8a7e9b82-4081-4f52-b3e9-44c197843a74", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/90571fde-c04c-4452-ae19-90a3755eaa92" - }, - "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": "90571fde-c04c-4452-ae19-90a3755eaa92", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9bd676d1-a92c-49f8-b871-59cdb2f878b2", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "d9125b66-363e-4dd2-bdf4-1a642d35f4fc", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/output.xml deleted file mode 100644 index 63e953d9..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/output.xml +++ /dev/null @@ -1,213 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="4ad6febc-828f-4cc2-a5e1-789dc756201d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8a7e9b82-4081-4f52-b3e9-44c197843a74"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/90571fde-c04c-4452-ae19-90a3755eaa92"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="90571fde-c04c-4452-ae19-90a3755eaa92"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16332684"/> - </coding> - <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9bd676d1-a92c-49f8-b871-59cdb2f878b2"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="722222200"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> - <telecom> - <system value="phone"/> - <value value="030741852963"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d9125b66-363e-4dd2-bdf4-1a642d35f4fc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="167761816"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Prof. Dr. med Elias Wagner"/> - <family value="Wagner"/> - <given value="Elias"/> - <prefix value="Prof. Dr. med"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b/output.json new file mode 100644 index 00000000..c139bdf2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "bda05850-4d58-4d1a-acdf-6f2d69495500", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "58f778fd-918b-4eea-b7ba-90d89befa517", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/863dd042-5e74-486a-a4e4-d680a872ad85" + }, + "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": "863dd042-5e74-486a-a4e4-d680a872ad85", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8bb897d7-37b7-4759-b0ce-47319410443e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6b078423-cd93-441f-a0c9-f2770dfd5c06", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b/output.xml new file mode 100644 index 00000000..bde02a85 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1_753fff3b_753fff3b/output.xml @@ -0,0 +1,213 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bda05850-4d58-4d1a-acdf-6f2d69495500"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="58f778fd-918b-4eea-b7ba-90d89befa517"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/863dd042-5e74-486a-a4e4-d680a872ad85"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="863dd042-5e74-486a-a4e4-d680a872ad85"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="8bb897d7-37b7-4759-b0ce-47319410443e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6b078423-cd93-441f-a0c9-f2770dfd5c06"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.json index cf4c2ef1..506baa0d 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "4abe5420-b735-413f-9e35-7372d17a0e47", + "id": "bbb30588-c338-4c8f-807f-e3740f3215fc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "0bb0b578-f42e-4664-af82-df461656ca52", + "id": "403b75c0-59cb-42ab-8a46-bc2c99ab6bcc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/c227eb75-5b54-4cd0-beb6-1fa8630a6174" + "reference": "Medication/a1386f4d-fdf8-49c7-a222-386e6019d5b1" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "c227eb75-5b54-4cd0-beb6-1fa8630a6174", + "id": "a1386f4d-fdf8-49c7-a222-386e6019d5b1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "1a982a04-579e-4931-802e-d9a877fdde42", + "id": "63e24435-5f41-4c2b-996c-bb3f52763c0e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -165,7 +165,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "4446f640-fc4e-46e1-a5bc-cd2e978c7bcd", + "id": "875ea575-456d-465e-95c8-06c1b7cbcca7", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.xml index fb94d6e8..a9f82446 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="4abe5420-b735-413f-9e35-7372d17a0e47"/> + <id value="bbb30588-c338-4c8f-807f-e3740f3215fc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0bb0b578-f42e-4664-af82-df461656ca52"/> + <id value="403b75c0-59cb-42ab-8a46-bc2c99ab6bcc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/c227eb75-5b54-4cd0-beb6-1fa8630a6174"/> + <reference value="Medication/a1386f4d-fdf8-49c7-a222-386e6019d5b1"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="c227eb75-5b54-4cd0-beb6-1fa8630a6174"/> + <id value="a1386f4d-fdf8-49c7-a222-386e6019d5b1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -107,7 +107,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="1a982a04-579e-4931-802e-d9a877fdde42"/> + <id value="63e24435-5f41-4c2b-996c-bb3f52763c0e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -167,7 +167,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4446f640-fc4e-46e1-a5bc-cd2e978c7bcd"/> + <id value="875ea575-456d-465e-95c8-06c1b7cbcca7"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b/output.json new file mode 100644 index 00000000..2c53ae6f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "a3a2e5ae-6076-41be-a7f8-b1813864f9ad", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "62555cc9-7356-430a-94ad-52c8abeeb2c1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/22cc1211-fbd9-4158-8051-2282d884bead" + }, + "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": "22cc1211-fbd9-4158-8051-2282d884bead", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c5963f38-c521-419d-b46c-d1afb7a8c304", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d853fc16-2386-40b2-a0d0-cd538d59d504", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b/output.xml new file mode 100644 index 00000000..1fb781e3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_753fff3b_753fff3b/output.xml @@ -0,0 +1,213 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a3a2e5ae-6076-41be-a7f8-b1813864f9ad"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="62555cc9-7356-430a-94ad-52c8abeeb2c1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/22cc1211-fbd9-4158-8051-2282d884bead"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="22cc1211-fbd9-4158-8051-2282d884bead"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c5963f38-c521-419d-b46c-d1afb7a8c304"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d853fc16-2386-40b2-a0d0-cd538d59d504"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/output.json deleted file mode 100644 index 8c570c9a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/output.json +++ /dev/null @@ -1,211 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "5e50ab28-9197-4e4f-852d-fd56c729360c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "c1650d52-6de2-43f5-a3c3-f2d73ab06e45", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/f4b159f5-3f0e-4d42-b75e-36cfe30ad76f" - }, - "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": "f4b159f5-3f0e-4d42-b75e-36cfe30ad76f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a8f4244d-0c9b-4506-8296-b0594eb369fc", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "9e9daf53-c4b6-469d-a4d8-272790f572c7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/output.xml deleted file mode 100644 index 7f6000a7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/output.xml +++ /dev/null @@ -1,213 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="5e50ab28-9197-4e4f-852d-fd56c729360c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c1650d52-6de2-43f5-a3c3-f2d73ab06e45"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/f4b159f5-3f0e-4d42-b75e-36cfe30ad76f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f4b159f5-3f0e-4d42-b75e-36cfe30ad76f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16332684"/> - </coding> - <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="a8f4244d-0c9b-4506-8296-b0594eb369fc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="722222200"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> - <telecom> - <system value="phone"/> - <value value="030741852963"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="9e9daf53-c4b6-469d-a4d8-272790f572c7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="167761816"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Prof. Dr. med Elias Wagner"/> - <family value="Wagner"/> - <given value="Elias"/> - <prefix value="Prof. Dr. med"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b/output.json new file mode 100644 index 00000000..ce7025a5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "104276e5-bcc2-4380-9ef8-0762a73f7d5b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "eea25e30-c149-4d9f-8be7-8ed6bed0f2b5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/dabb3fa7-43e6-46ad-996a-a4bb20cb906c" + }, + "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": "dabb3fa7-43e6-46ad-996a-a4bb20cb906c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "21fa2c50-ca47-4104-970c-a2942cf6e455", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ea38866f-3952-45e5-ab8a-6479553c9036", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b/output.xml new file mode 100644 index 00000000..9a445147 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d_753fff3b_753fff3b/output.xml @@ -0,0 +1,213 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="104276e5-bcc2-4380-9ef8-0762a73f7d5b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="eea25e30-c149-4d9f-8be7-8ed6bed0f2b5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/dabb3fa7-43e6-46ad-996a-a4bb20cb906c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="dabb3fa7-43e6-46ad-996a-a4bb20cb906c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="21fa2c50-ca47-4104-970c-a2942cf6e455"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ea38866f-3952-45e5-ab8a-6479553c9036"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.json index 77ed4c64..16a80e58 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "e0cffd24-e7d8-4e0d-8ed6-98fe05cab8d7", + "id": "355cee2b-6ab3-449b-9b4b-a33e49f1d49a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "eba23dee-c669-4722-9339-6d429c5867b5", + "id": "fdae4ecc-09af-4829-9f80-cfa578f3d49f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/61ecae9c-4e4f-4654-95c1-c5a7a9bb1f0b" + "reference": "Medication/602f0970-aeee-4980-b96a-3a957056519b" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "61ecae9c-4e4f-4654-95c1-c5a7a9bb1f0b", + "id": "602f0970-aeee-4980-b96a-3a957056519b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e4684609-59fb-4989-95b2-f446b295f5f5", + "id": "df27dfa4-0d2d-436b-a759-eb25e00d579e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -165,7 +165,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "5bb92c84-5f94-4700-8a19-11cf4630e3af", + "id": "ea8cc9c7-3fb4-44ef-91a5-df83ce626985", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.xml index f2846ad6..3f5c3360 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="e0cffd24-e7d8-4e0d-8ed6-98fe05cab8d7"/> + <id value="355cee2b-6ab3-449b-9b4b-a33e49f1d49a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="eba23dee-c669-4722-9339-6d429c5867b5"/> + <id value="fdae4ecc-09af-4829-9f80-cfa578f3d49f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/61ecae9c-4e4f-4654-95c1-c5a7a9bb1f0b"/> + <reference value="Medication/602f0970-aeee-4980-b96a-3a957056519b"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="61ecae9c-4e4f-4654-95c1-c5a7a9bb1f0b"/> + <id value="602f0970-aeee-4980-b96a-3a957056519b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -107,7 +107,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e4684609-59fb-4989-95b2-f446b295f5f5"/> + <id value="df27dfa4-0d2d-436b-a759-eb25e00d579e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -167,7 +167,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="5bb92c84-5f94-4700-8a19-11cf4630e3af"/> + <id value="ea8cc9c7-3fb4-44ef-91a5-df83ce626985"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/input.xml new file mode 100644 index 00000000..3a9c71be --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/input.xml @@ -0,0 +1,386 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="753fff3b-5373-4f8d-aa22-852792e799d8"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/607046ff-f07a-4093-8880-e7961c0e0ca8"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="607046ff-f07a-4093-8880-e7961c0e0ca8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/06c35aa5-d009-436f-aaba-93d835a2fe72"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/53dff04a-fa41-45cf-81bc-ce62629917ad"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/53dff04a-fa41-45cf-81bc-ce62629917ad"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53dff04a-fa41-45cf-81bc-ce62629917ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/704db507-79b4-44a1-84b8-344255ad7e36"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/704db507-79b4-44a1-84b8-344255ad7e36"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="704db507-79b4-44a1-84b8-344255ad7e36"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1984-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <name> + <use value="official"/> + <family value="Wagner"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Wagner"/> + </extension> + </family> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Gynäkologie und Geburtshilfe mit dem Schwerpunkt der gynäkologischen Endokrinologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/06c35aa5-d009-436f-aaba-93d835a2fe72"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="06c35aa5-d009-436f-aaba-93d835a2fe72"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="06"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Ludwigsburg-Bietigheim"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/output.json new file mode 100644 index 00000000..9532dd88 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "2bcb9a72-0e20-4b65-85b7-a35a3a6fa173", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5baa7aee-70ac-43b8-9f15-d99152f80341", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/9b375418-91ec-4d6a-83bb-85d387352f08" + }, + "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": "9b375418-91ec-4d6a-83bb-85d387352f08", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "019ca0b6-b98a-443d-9cd7-36f9298b5ef3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "4804b03b-8e5b-4d8f-bb73-bc6b80ea96ce", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/output.xml new file mode 100644 index 00000000..17df77ca --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_753fff3b_753fff3b/output.xml @@ -0,0 +1,213 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2bcb9a72-0e20-4b65-85b7-a35a3a6fa173"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5baa7aee-70ac-43b8-9f15-d99152f80341"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/9b375418-91ec-4d6a-83bb-85d387352f08"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="9b375418-91ec-4d6a-83bb-85d387352f08"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="019ca0b6-b98a-443d-9cd7-36f9298b5ef3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4804b03b-8e5b-4d8f-bb73-bc6b80ea96ce"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/output.json deleted file mode 100644 index bcf5ac78..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/output.json +++ /dev/null @@ -1,211 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "7a2b4f2b-1afd-4c94-aa5c-0df1c7a53a93", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "a0367794-7cbc-40df-a575-5a93fd6a0216", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/865b04d8-deff-4ede-92b8-f1ab1b815d7e" - }, - "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": "865b04d8-deff-4ede-92b8-f1ab1b815d7e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b14fc489-7d8b-49d3-a12e-a9d019ef884a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "add09c06-e2eb-47f6-9df0-2fd43028b3a4", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/output.xml deleted file mode 100644 index 12b60515..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b/output.xml +++ /dev/null @@ -1,213 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="7a2b4f2b-1afd-4c94-aa5c-0df1c7a53a93"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.013.03"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a0367794-7cbc-40df-a575-5a93fd6a0216"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/865b04d8-deff-4ede-92b8-f1ab1b815d7e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="865b04d8-deff-4ede-92b8-f1ab1b815d7e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="16332684"/> - </coding> - <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="PEN"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="St"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b14fc489-7d8b-49d3-a12e-a9d019ef884a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="722222200"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> - <telecom> - <system value="phone"/> - <value value="030741852963"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="add09c06-e2eb-47f6-9df0-2fd43028b3a4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="167761816"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Prof. Dr. med Elias Wagner"/> - <family value="Wagner"/> - <given value="Elias"/> - <prefix value="Prof. Dr. med"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/input.xml new file mode 100644 index 00000000..3a9c71be --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/input.xml @@ -0,0 +1,386 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="753fff3b-5373-4f8d-aa22-852792e799d8"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/607046ff-f07a-4093-8880-e7961c0e0ca8"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="607046ff-f07a-4093-8880-e7961c0e0ca8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/06c35aa5-d009-436f-aaba-93d835a2fe72"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/53dff04a-fa41-45cf-81bc-ce62629917ad"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/53dff04a-fa41-45cf-81bc-ce62629917ad"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="53dff04a-fa41-45cf-81bc-ce62629917ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/704db507-79b4-44a1-84b8-344255ad7e36"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/704db507-79b4-44a1-84b8-344255ad7e36"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="704db507-79b4-44a1-84b8-344255ad7e36"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1984-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d77171e1-9bf1-480d-93ee-619d26ea8557"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <name> + <use value="official"/> + <family value="Wagner"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Wagner"/> + </extension> + </family> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Gynäkologie und Geburtshilfe mit dem Schwerpunkt der gynäkologischen Endokrinologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/06c35aa5-d009-436f-aaba-93d835a2fe72"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="06c35aa5-d009-436f-aaba-93d835a2fe72"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="06"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Ludwigsburg-Bietigheim"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/output.json new file mode 100644 index 00000000..eafe5fa8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/output.json @@ -0,0 +1,211 @@ +{ + "resourceType": "Parameters", + "id": "bccce410-90f2-4b5b-9424-4213973bbdb4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "80f2a14d-2db0-44d2-bcae-e2c42ed076c3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/4314b0b5-beed-4cb9-814b-3e5e292a63de" + }, + "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": "4314b0b5-beed-4cb9-814b-3e5e292a63de", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4544f234-f6da-4f0d-bab9-0c2679c89f87", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b0ede061-ac4f-42b0-bcc3-a53663440159", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_753fff3b_753fff3b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/output.xml new file mode 100644 index 00000000..b9906db3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448_753fff3b_753fff3b/output.xml @@ -0,0 +1,213 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="bccce410-90f2-4b5b-9424-4213973bbdb4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.013.03"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="80f2a14d-2db0-44d2-bcae-e2c42ed076c3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/4314b0b5-beed-4cb9-814b-3e5e292a63de"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="4314b0b5-beed-4cb9-814b-3e5e292a63de"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="16332684"/> + </coding> + <text value="GONAL-f 150 I.E./0,25ml Injektionslösung"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="PEN"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4544f234-f6da-4f0d-bab9-0c2679c89f87"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="722222200"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Frauenheilkunde und Geburtshilfe"/> + <telecom> + <system value="phone"/> + <value value="030741852963"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b0ede061-ac4f-42b0-bcc3-a53663440159"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="167761816"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Prof. Dr. med Elias Wagner"/> + <family value="Wagner"/> + <given value="Elias"/> + <prefix value="Prof. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/output.json deleted file mode 100644 index 78837305..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "36152703-f8fb-4456-8175-bd9a0dcf9e86", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "0cb0f12c-cfa3-45f0-a1b2-74c1f4911af4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/4ed871cf-2c07-4bd9-9c72-fa2ffca1c937" - }, - "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": "4ed871cf-2c07-4bd9-9c72-fa2ffca1c937", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "256b6bd5-c44c-43e6-8a65-269c836238df", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "3c6df2a9-4344-48af-8937-da47c44881a4", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/output.xml deleted file mode 100644 index 35f25e78..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="36152703-f8fb-4456-8175-bd9a0dcf9e86"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.010.12"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0cb0f12c-cfa3-45f0-a1b2-74c1f4911af4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2023-07-27"/> - <end value="2023-08-31"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/4ed871cf-2c07-4bd9-9c72-fa2ffca1c937"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4ed871cf-2c07-4bd9-9c72-fa2ffca1c937"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="256b6bd5-c44c-43e6-8a65-269c836238df"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="3c6df2a9-4344-48af-8937-da47c44881a4"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b/output.json new file mode 100644 index 00000000..7d8e2a1b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "fff931ee-62b4-4f0e-83ea-25aa97aff971", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "bc2e95c4-4f46-44d5-8cec-ccd742353e2b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/1b35bae3-1f05-4d85-a69f-d587b43bbd28" + }, + "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": "1b35bae3-1f05-4d85-a69f-d587b43bbd28", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7c099cfe-4d45-4cf2-bc30-4e71aed755d3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e143074b-85e5-4b7c-b66a-e1ebe584d449", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c44ddc5b_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b/output.xml new file mode 100644 index 00000000..b21e901f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655_c44ddc5b_c44ddc5b/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fff931ee-62b4-4f0e-83ea-25aa97aff971"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="bc2e95c4-4f46-44d5-8cec-ccd742353e2b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2023-07-27"/> + <end value="2023-08-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/1b35bae3-1f05-4d85-a69f-d587b43bbd28"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="1b35bae3-1f05-4d85-a69f-d587b43bbd28"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7c099cfe-4d45-4cf2-bc30-4e71aed755d3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e143074b-85e5-4b7c-b66a-e1ebe584d449"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.json index 1cf284e7..c394e16b 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "fa24a5fb-313d-4326-ad3d-2bdac79d9df7", + "id": "b56360ed-aa50-4a6c-9d42-563d4459ceb8", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "4137e714-08a8-49a1-ae58-5537b79cfeb9", + "id": "6f18c4a6-31a3-4ddd-9346-b84e3866aec8", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -55,7 +55,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/57189896-4567-4bc5-a58f-f19a12fc2a92" + "reference": "Medication/2d80983b-805a-46e3-a3f7-e2b50c71f621" }, "subject": { "identifier": { @@ -79,7 +79,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "57189896-4567-4bc5-a58f-f19a12fc2a92", + "id": "2d80983b-805a-46e3-a3f7-e2b50c71f621", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -114,7 +114,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "5a7abe22-498d-4a84-948b-870287167b52", + "id": "a73f5256-de23-4e29-a772-c5c8d168d64e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -179,7 +179,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "79d3d8e7-d7a4-498f-b7f1-7e07df4576e2", + "id": "aa675735-93dd-4909-a957-bc2771b36b19", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.xml index fc0063d4..56eec777 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="fa24a5fb-313d-4326-ad3d-2bdac79d9df7"/> + <id value="b56360ed-aa50-4a6c-9d42-563d4459ceb8"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4137e714-08a8-49a1-ae58-5537b79cfeb9"/> + <id value="6f18c4a6-31a3-4ddd-9346-b84e3866aec8"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -54,7 +54,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/57189896-4567-4bc5-a58f-f19a12fc2a92"/> + <reference value="Medication/2d80983b-805a-46e3-a3f7-e2b50c71f621"/> </medicationReference> <subject> <identifier> @@ -80,7 +80,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="57189896-4567-4bc5-a58f-f19a12fc2a92"/> + <id value="2d80983b-805a-46e3-a3f7-e2b50c71f621"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -116,7 +116,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="5a7abe22-498d-4a84-948b-870287167b52"/> + <id value="a73f5256-de23-4e29-a772-c5c8d168d64e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -184,7 +184,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="79d3d8e7-d7a4-498f-b7f1-7e07df4576e2"/> + <id value="aa675735-93dd-4909-a957-bc2771b36b19"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b/output.json new file mode 100644 index 00000000..cb3d6559 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "62321445-812c-4caa-9eae-38b296d4cbfb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "aef4710b-dc06-475e-991e-de13cf06c463", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/cde64d8f-e6be-4f1e-a5ec-bc63795776d8" + }, + "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": "cde64d8f-e6be-4f1e-a5ec-bc63795776d8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "61e405f3-55a2-462f-8db4-24743d9ba280", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "8f3f04d8-358e-4165-be6a-84ed9fd11813", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c44ddc5b_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b/output.xml new file mode 100644 index 00000000..7b9952e2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_c44ddc5b_c44ddc5b/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="62321445-812c-4caa-9eae-38b296d4cbfb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="aef4710b-dc06-475e-991e-de13cf06c463"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-27"/> + <end value="2024-12-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/cde64d8f-e6be-4f1e-a5ec-bc63795776d8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cde64d8f-e6be-4f1e-a5ec-bc63795776d8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="61e405f3-55a2-462f-8db4-24743d9ba280"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="8f3f04d8-358e-4165-be6a-84ed9fd11813"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/output.json deleted file mode 100644 index 8449f4d6..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "3488bc2e-afcb-4cd8-998f-381c8868a0f7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "5d1a6346-e300-446b-ac8e-27bd57b47363", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/4299168e-427d-4ed3-acbd-c5b16cd489af" - }, - "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": "4299168e-427d-4ed3-acbd-c5b16cd489af", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ac0232fa-6126-45c1-82ce-5d2a2c81da37", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "081c5d62-90f0-4aef-b934-22054ce9caa1", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/output.xml deleted file mode 100644 index b776535e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="3488bc2e-afcb-4cd8-998f-381c8868a0f7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.010.12"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5d1a6346-e300-446b-ac8e-27bd57b47363"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="1"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2024-11-27"/> - <end value="2024-12-31"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/4299168e-427d-4ed3-acbd-c5b16cd489af"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="4299168e-427d-4ed3-acbd-c5b16cd489af"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ac0232fa-6126-45c1-82ce-5d2a2c81da37"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="081c5d62-90f0-4aef-b934-22054ce9caa1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/input.xml new file mode 100644 index 00000000..6fab64ce --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="c44ddc5b-21f5-4ce3-995d-ab5ca2633154"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/a77cc2f2-5574-4292-b1b5-2633b7989970"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a77cc2f2-5574-4292-b1b5-2633b7989970"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/00a18271-c4fd-40b6-93a2-d913e51dded6"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/00a18271-c4fd-40b6-93a2-d913e51dded6"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="00a18271-c4fd-40b6-93a2-d913e51dded6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2024-11-27"/> + <end value="2024-12-31"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/output.json new file mode 100644 index 00000000..4de38078 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "63ee14da-7b1a-436c-9680-f8b417881abe", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "44b63545-9b44-44aa-b0d9-dec5be996a45", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/b89e6e89-0fd7-4c43-8ce9-3a586e4c2869" + }, + "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": "b89e6e89-0fd7-4c43-8ce9-3a586e4c2869", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "510fcc10-2cd5-47c5-9251-644e2f0e0a43", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5a797fa6-3142-4ded-9cde-7d6c4e3d57bd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_c44ddc5b_c44ddc5b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/output.xml new file mode 100644 index 00000000..714205e3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199_c44ddc5b_c44ddc5b/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="63ee14da-7b1a-436c-9680-f8b417881abe"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.010.12"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="44b63545-9b44-44aa-b0d9-dec5be996a45"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="1"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2024-11-27"/> + <end value="2024-12-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b89e6e89-0fd7-4c43-8ce9-3a586e4c2869"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b89e6e89-0fd7-4c43-8ce9-3a586e4c2869"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="510fcc10-2cd5-47c5-9251-644e2f0e0a43"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5a797fa6-3142-4ded-9cde-7d6c4e3d57bd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/output.json deleted file mode 100644 index 7a5efc09..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "ea1d1f14-cec4-427f-86a6-cec5a2ee57d8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "a49ace7e-ff06-456c-a418-d8073945ebee", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/62c2f1a4-35bb-4a17-84f1-e1f8a407e652" - }, - "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": "62c2f1a4-35bb-4a17-84f1-e1f8a407e652", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2dec290d-01fe-446a-a62e-8c34c968734d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "4fabb5e0-2453-4af4-8c57-a4b298b67f8b", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/output.xml deleted file mode 100644 index e30af6de..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ea1d1f14-cec4-427f-86a6-cec5a2ee57d8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.015.94"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a49ace7e-ff06-456c-a418-d8073945ebee"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="2"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2025-01-15"/> - <end value="2025-02-28"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/62c2f1a4-35bb-4a17-84f1-e1f8a407e652"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="62c2f1a4-35bb-4a17-84f1-e1f8a407e652"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="2dec290d-01fe-446a-a62e-8c34c968734d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4fabb5e0-2453-4af4-8c57-a4b298b67f8b"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3/output.json new file mode 100644 index 00000000..adb4b4a2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "54c63996-1973-41cb-bcc2-452c7ee6ffa7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "01a967f9-a4aa-4fe1-8059-b90a3911180d", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/8d5ad9b0-9b16-4c92-a8b9-f6447abf0023" + }, + "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": "8d5ad9b0-9b16-4c92-a8b9-f6447abf0023", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "553205dc-ce00-4ef8-8e6d-924344aaff0e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c05e8202-43ef-4ac1-80f3-c0e54b6ee078", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7031f7f3_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3/output.xml new file mode 100644 index 00000000..32db8d58 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a_7031f7f3_7031f7f3/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="54c63996-1973-41cb-bcc2-452c7ee6ffa7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="01a967f9-a4aa-4fe1-8059-b90a3911180d"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-01-15"/> + <end value="2025-02-28"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8d5ad9b0-9b16-4c92-a8b9-f6447abf0023"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8d5ad9b0-9b16-4c92-a8b9-f6447abf0023"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="553205dc-ce00-4ef8-8e6d-924344aaff0e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c05e8202-43ef-4ac1-80f3-c0e54b6ee078"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.json index c3d87bd6..21cacb8a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "acfaf7f4-a15e-4da8-8933-514741e1ecd9", + "id": "c2435b32-623c-4bb1-b202-17c420375c6e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "59663ff8-a915-4d7e-aa3c-d3978dec0403", + "id": "1699f911-3502-4df2-ad3a-59098d1c9aba", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -55,7 +55,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/83d79b78-3c40-41e0-9797-bfb93eb32fec" + "reference": "Medication/a194db45-38ad-4ed9-b9e3-92cc3c2fde29" }, "subject": { "identifier": { @@ -79,7 +79,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "83d79b78-3c40-41e0-9797-bfb93eb32fec", + "id": "a194db45-38ad-4ed9-b9e3-92cc3c2fde29", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -114,7 +114,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "639a629e-5784-410e-af4d-242aac03b33f", + "id": "f09a0819-1ac6-4dd5-b700-f5f3e9563991", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -179,7 +179,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "a86662da-d164-4c3a-b089-6d2507b0ed4d", + "id": "78527ef4-ab2d-406b-bf20-80faab4135a3", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.xml index eaf167f2..e0adc8d4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="acfaf7f4-a15e-4da8-8933-514741e1ecd9"/> + <id value="c2435b32-623c-4bb1-b202-17c420375c6e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="59663ff8-a915-4d7e-aa3c-d3978dec0403"/> + <id value="1699f911-3502-4df2-ad3a-59098d1c9aba"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -54,7 +54,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/83d79b78-3c40-41e0-9797-bfb93eb32fec"/> + <reference value="Medication/a194db45-38ad-4ed9-b9e3-92cc3c2fde29"/> </medicationReference> <subject> <identifier> @@ -80,7 +80,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="83d79b78-3c40-41e0-9797-bfb93eb32fec"/> + <id value="a194db45-38ad-4ed9-b9e3-92cc3c2fde29"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -116,7 +116,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="639a629e-5784-410e-af4d-242aac03b33f"/> + <id value="f09a0819-1ac6-4dd5-b700-f5f3e9563991"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -184,7 +184,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a86662da-d164-4c3a-b089-6d2507b0ed4d"/> + <id value="78527ef4-ab2d-406b-bf20-80faab4135a3"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/input.xml new file mode 100644 index 00000000..d428c22c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7031f7f3-cf51-4e77-82d7-b9bdb0a5959f"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/d9e03f5a-9b53-4f21-b0d6-c7e86fdee0c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d9e03f5a-9b53-4f21-b0d6-c7e86fdee0c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/68794d6d-2b05-4d5e-aaf1-49b4b6430104"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/68794d6d-2b05-4d5e-aaf1-49b4b6430104"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="68794d6d-2b05-4d5e-aaf1-49b4b6430104"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2025-01-15"/> + <end value="2025-02-28"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/output.json new file mode 100644 index 00000000..7aa17ac9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "12f6eec0-cf80-48f8-b344-3196b66d8149", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "fd99e3e0-0694-4fbd-86a8-950b4325f25f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/3a598de1-f9eb-434e-84b8-1c98ab25dc07" + }, + "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": "3a598de1-f9eb-434e-84b8-1c98ab25dc07", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c50bd29a-cde0-4a86-af61-0fe270b7bec5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ca6eae08-dc8d-4c6f-be39-dc41bcbf9774", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7031f7f3_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/output.xml new file mode 100644 index 00000000..e6ec86fb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_7031f7f3_7031f7f3/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="12f6eec0-cf80-48f8-b344-3196b66d8149"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fd99e3e0-0694-4fbd-86a8-950b4325f25f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-01-15"/> + <end value="2025-02-28"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/3a598de1-f9eb-434e-84b8-1c98ab25dc07"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3a598de1-f9eb-434e-84b8-1c98ab25dc07"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c50bd29a-cde0-4a86-af61-0fe270b7bec5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ca6eae08-dc8d-4c6f-be39-dc41bcbf9774"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/output.json deleted file mode 100644 index bafb7d31..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "47110a69-d7ff-4034-9b61-b1a78ef0431e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "2a08c775-3ef8-4a7c-8826-e2861d29fd08", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/06e7dfb5-c2c4-4dd5-9125-57e344a803ac" - }, - "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": "06e7dfb5-c2c4-4dd5-9125-57e344a803ac", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e32915aa-ae75-4d08-971d-c7fbf6ceed86", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "26e80591-af89-4961-b83b-d98f13a95f76", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/output.xml deleted file mode 100644 index 1df6c4ef..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="47110a69-d7ff-4034-9b61-b1a78ef0431e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.015.94"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="2a08c775-3ef8-4a7c-8826-e2861d29fd08"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="2"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2023-09-15"/> - <end value="2023-10-30"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/06e7dfb5-c2c4-4dd5-9125-57e344a803ac"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="06e7dfb5-c2c4-4dd5-9125-57e344a803ac"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="e32915aa-ae75-4d08-971d-c7fbf6ceed86"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="26e80591-af89-4961-b83b-d98f13a95f76"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3/output.json new file mode 100644 index 00000000..e46fe1e9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "66471679-43da-40da-8402-396b5413fe21", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c12c3111-c5b2-443f-bd46-f134c06aedc9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/bbfd9bc1-4305-4415-8865-575f4cd76042" + }, + "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": "bbfd9bc1-4305-4415-8865-575f4cd76042", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "05fa6ba3-4b04-485e-901f-ee8b6e29b617", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "2273d237-722e-4406-95cb-dde0196b147a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_7031f7f3_7031f7f3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3/output.xml new file mode 100644 index 00000000..0934dbcb --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95_7031f7f3_7031f7f3/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="66471679-43da-40da-8402-396b5413fe21"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.015.94"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c12c3111-c5b2-443f-bd46-f134c06aedc9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="2"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2023-09-15"/> + <end value="2023-10-30"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/bbfd9bc1-4305-4415-8865-575f4cd76042"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="bbfd9bc1-4305-4415-8865-575f4cd76042"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="05fa6ba3-4b04-485e-901f-ee8b6e29b617"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="2273d237-722e-4406-95cb-dde0196b147a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/output.json deleted file mode 100644 index 09ba51dc..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "a8542cef-c7cc-42c4-a226-bc5fa422db65", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "8e746ec1-4f7f-431c-a3ad-3d36706fa9ec", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/49978a3e-14f6-499f-a840-3ed0fd31df7f" - }, - "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": "49978a3e-14f6-499f-a840-3ed0fd31df7f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ef81d4f5-1239-4109-af96-ffb9ee837b80", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "7eb2201c-07a6-4a2b-95f2-988ffb20bc11", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/output.xml deleted file mode 100644 index daf88926..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="a8542cef-c7cc-42c4-a226-bc5fa422db65"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.016.91"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8e746ec1-4f7f-431c-a3ad-3d36706fa9ec"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="3"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2025-03-15"/> - <end value="2025-04-30"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/49978a3e-14f6-499f-a840-3ed0fd31df7f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="49978a3e-14f6-499f-a840-3ed0fd31df7f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="ef81d4f5-1239-4109-af96-ffb9ee837b80"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7eb2201c-07a6-4a2b-95f2-988ffb20bc11"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0/output.json new file mode 100644 index 00000000..0d11bbdc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "64e0ea5c-8983-425d-9852-510e0c2a241c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e95c7673-194d-42c4-9511-94d3fdc10bc7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/843cb90d-db81-40f9-b145-8b5d635a7aec" + }, + "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": "843cb90d-db81-40f9-b145-8b5d635a7aec", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "09bdc915-885e-45cc-9e38-90eb33e9c2e5", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "03a7c896-eb67-4c8e-9cfe-e58022cc9a88", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f70585e0_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0/output.xml new file mode 100644 index 00000000..b9ac4870 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6_f70585e0_f70585e0/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="64e0ea5c-8983-425d-9852-510e0c2a241c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e95c7673-194d-42c4-9511-94d3fdc10bc7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-03-15"/> + <end value="2025-04-30"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/843cb90d-db81-40f9-b145-8b5d635a7aec"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="843cb90d-db81-40f9-b145-8b5d635a7aec"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="09bdc915-885e-45cc-9e38-90eb33e9c2e5"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="03a7c896-eb67-4c8e-9cfe-e58022cc9a88"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/output.json deleted file mode 100644 index 4aae9af1..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "c9901077-b0cc-44c4-9372-f134c42a19b0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "e08a1513-2e6d-4255-826c-08f3f753d489", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/c8706274-d2ae-480c-84f0-ee38c82cbb57" - }, - "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": "c8706274-d2ae-480c-84f0-ee38c82cbb57", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bd7ac526-20dc-42ae-8605-99697d722eda", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "b76ab86d-a8fc-4de1-bc93-d57047eb733a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/output.xml deleted file mode 100644 index fba615e7..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="c9901077-b0cc-44c4-9372-f134c42a19b0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.016.91"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e08a1513-2e6d-4255-826c-08f3f753d489"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="3"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2023-10-15"/> - <end value="2023-12-31"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/c8706274-d2ae-480c-84f0-ee38c82cbb57"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c8706274-d2ae-480c-84f0-ee38c82cbb57"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="bd7ac526-20dc-42ae-8605-99697d722eda"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b76ab86d-a8fc-4de1-bc93-d57047eb733a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0/output.json new file mode 100644 index 00000000..2df9add9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "f5f06dde-29a4-4e47-bd03-51c81da5c6c1", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "48a600ce-bbd5-4974-96c4-a57a997c5b99", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/c2664338-ce1a-4380-842c-e7e43a5f72b7" + }, + "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": "c2664338-ce1a-4380-842c-e7e43a5f72b7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "a6d41369-1e1e-40b7-91c1-ebd0debb9c4d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "08a963c2-ff22-40ca-9c8d-5a36867748c2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f70585e0_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0/output.xml new file mode 100644 index 00000000..70fdeb4c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756_f70585e0_f70585e0/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f5f06dde-29a4-4e47-bd03-51c81da5c6c1"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="48a600ce-bbd5-4974-96c4-a57a997c5b99"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2023-10-15"/> + <end value="2023-12-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c2664338-ce1a-4380-842c-e7e43a5f72b7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c2664338-ce1a-4380-842c-e7e43a5f72b7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="a6d41369-1e1e-40b7-91c1-ebd0debb9c4d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="08a963c2-ff22-40ca-9c8d-5a36867748c2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.json index 8c88ac1e..840c4ae4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "9d2b7f8a-6197-4295-bbb3-0fd7550da5f5", + "id": "c30f3965-3cc6-4183-b9df-c476f4b5096d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "5112d33d-c630-473c-9750-3fda54e037fd", + "id": "327aa051-ebea-4c93-a4ce-09f6acb7f0b5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -55,7 +55,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/029d86d8-aaee-4b93-acf8-9ef74c367d66" + "reference": "Medication/948fd71c-c96f-4102-968a-71743b60eee6" }, "subject": { "identifier": { @@ -79,7 +79,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "029d86d8-aaee-4b93-acf8-9ef74c367d66", + "id": "948fd71c-c96f-4102-968a-71743b60eee6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -114,7 +114,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "747a417f-0561-47d2-9276-027eeb879d91", + "id": "ace4c508-4004-4b93-b229-b476a39d2f91", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -179,7 +179,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "e7251fbc-1c31-4dd9-9e0c-1d9ae2c05e72", + "id": "08733ffb-bbd8-44c7-ad28-050e01aac065", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.xml index 322bb701..7dcee43c 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="9d2b7f8a-6197-4295-bbb3-0fd7550da5f5"/> + <id value="c30f3965-3cc6-4183-b9df-c476f4b5096d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="5112d33d-c630-473c-9750-3fda54e037fd"/> + <id value="327aa051-ebea-4c93-a4ce-09f6acb7f0b5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -54,7 +54,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/029d86d8-aaee-4b93-acf8-9ef74c367d66"/> + <reference value="Medication/948fd71c-c96f-4102-968a-71743b60eee6"/> </medicationReference> <subject> <identifier> @@ -80,7 +80,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="029d86d8-aaee-4b93-acf8-9ef74c367d66"/> + <id value="948fd71c-c96f-4102-968a-71743b60eee6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -116,7 +116,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="747a417f-0561-47d2-9276-027eeb879d91"/> + <id value="ace4c508-4004-4b93-b229-b476a39d2f91"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -184,7 +184,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e7251fbc-1c31-4dd9-9e0c-1d9ae2c05e72"/> + <id value="08733ffb-bbd8-44c7-ad28-050e01aac065"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/input.xml new file mode 100644 index 00000000..91b01984 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="f70585e0-82f9-4d3d-b248-94504ccf6a66"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/1868bb7c-c1a6-48a6-a327-05ff8d24c64a"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="1868bb7c-c1a6-48a6-a327-05ff8d24c64a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/76b5767d-55a5-4233-8f85-e15a24a5193a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/76b5767d-55a5-4233-8f85-e15a24a5193a"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="76b5767d-55a5-4233-8f85-e15a24a5193a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2025-03-15"/> + <end value="2025-04-30"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/output.json new file mode 100644 index 00000000..b0dab6f1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "19a7a7c4-c05b-456e-916b-467a7c28db8e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f104ed5a-9622-48ea-84d2-a2a89b871222", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/80d0c1be-6ab3-4d9b-b693-c08131af73df" + }, + "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": "80d0c1be-6ab3-4d9b-b693-c08131af73df", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "03dd1dc2-1b46-47d8-af64-f25a9748d74b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d64e9376-7c62-4577-8659-f9ed92e953bb", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_f70585e0_f70585e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/output.xml new file mode 100644 index 00000000..957ea141 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_f70585e0_f70585e0/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="19a7a7c4-c05b-456e-916b-467a7c28db8e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.016.91"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f104ed5a-9622-48ea-84d2-a2a89b871222"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="3"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-03-15"/> + <end value="2025-04-30"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/80d0c1be-6ab3-4d9b-b693-c08131af73df"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="80d0c1be-6ab3-4d9b-b693-c08131af73df"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="03dd1dc2-1b46-47d8-af64-f25a9748d74b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d64e9376-7c62-4577-8659-f9ed92e953bb"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.json index 4c8d5d4a..797487a4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c03bace2-348b-44ac-b27f-108f079f870b", + "id": "08f92f00-0d65-408f-96c8-dac662c5427d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "036d5f66-315f-4a9e-920b-060b15d59464", + "id": "a187f2fd-34da-40c3-a414-66645e83b9e1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -55,7 +55,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/0539471d-824b-48df-8b71-bc5a3e781676" + "reference": "Medication/4c83a20f-2211-41cc-887c-e769c05763b2" }, "subject": { "identifier": { @@ -79,7 +79,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "0539471d-824b-48df-8b71-bc5a3e781676", + "id": "4c83a20f-2211-41cc-887c-e769c05763b2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -114,7 +114,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d305714e-72f5-4094-9f37-de299aa12a14", + "id": "37d43f6e-7afe-47bf-bb2e-6b9b54374ea9", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -179,7 +179,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "da961eab-2c69-4a59-8475-b0dee5fae844", + "id": "3fd713de-bc68-4d5b-a787-f97e1ab0db70", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.xml index 87befd05..0649f686 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c03bace2-348b-44ac-b27f-108f079f870b"/> + <id value="08f92f00-0d65-408f-96c8-dac662c5427d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="036d5f66-315f-4a9e-920b-060b15d59464"/> + <id value="a187f2fd-34da-40c3-a414-66645e83b9e1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -54,7 +54,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/0539471d-824b-48df-8b71-bc5a3e781676"/> + <reference value="Medication/4c83a20f-2211-41cc-887c-e769c05763b2"/> </medicationReference> <subject> <identifier> @@ -80,7 +80,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="0539471d-824b-48df-8b71-bc5a3e781676"/> + <id value="4c83a20f-2211-41cc-887c-e769c05763b2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -116,7 +116,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d305714e-72f5-4094-9f37-de299aa12a14"/> + <id value="37d43f6e-7afe-47bf-bb2e-6b9b54374ea9"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -184,7 +184,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="da961eab-2c69-4a59-8475-b0dee5fae844"/> + <id value="3fd713de-bc68-4d5b-a787-f97e1ab0db70"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c_15da065c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c_15da065c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c_15da065c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c_15da065c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c_15da065c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c_15da065c/output.json new file mode 100644 index 00000000..78141e59 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c_15da065c/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "a3453714-2dbe-4fb2-a473-d74dab158ca2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "0be0f91b-4f92-460a-99af-45b233364ca7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/b6d118c7-7584-4987-802d-fee281505bcb" + }, + "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": "b6d118c7-7584-4987-802d-fee281505bcb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bd4fc852-0744-4853-b060-847877deb266", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "095e3f3a-68b9-4c79-b84e-33004137fc14", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_15da065c_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c_15da065c/output.xml new file mode 100644 index 00000000..0fc610e9 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_15da065c_15da065c/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a3453714-2dbe-4fb2-a473-d74dab158ca2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0be0f91b-4f92-460a-99af-45b233364ca7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-04-01"/> + <end value="2025-07-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b6d118c7-7584-4987-802d-fee281505bcb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b6d118c7-7584-4987-802d-fee281505bcb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bd4fc852-0744-4853-b060-847877deb266"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="095e3f3a-68b9-4c79-b84e-33004137fc14"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/output.json deleted file mode 100644 index 55e5b1a4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "f100cf4e-0057-48ce-aa23-1af085192710", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "67d03b09-ce08-4484-8256-f079656d30d7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/279bb040-40c0-4edb-8590-99cb3ea9106b" - }, - "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": "279bb040-40c0-4edb-8590-99cb3ea9106b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "11daa6ae-ce0b-4cc7-be6d-2f1e5165ddd1", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "3e20b314-52cd-4220-b9c3-d3892a4ab584", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/output.xml deleted file mode 100644 index acc2df8e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="f100cf4e-0057-48ce-aa23-1af085192710"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.017.88"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="67d03b09-ce08-4484-8256-f079656d30d7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2025-04-01"/> - <end value="2025-07-31"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/279bb040-40c0-4edb-8590-99cb3ea9106b"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="279bb040-40c0-4edb-8590-99cb3ea9106b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="11daa6ae-ce0b-4cc7-be6d-2f1e5165ddd1"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="3e20b314-52cd-4220-b9c3-d3892a4ab584"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/input.xml new file mode 100644 index 00000000..ba394bca --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/input.xml @@ -0,0 +1,408 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="15da065c-5b75-4acf-a2ba-1355de821d6e"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/f62c91e7-e280-4d32-961b-b07168ab47d7"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="f62c91e7-e280-4d32-961b-b07168ab47d7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/1e923204-6866-4030-a460-2ce5bd9db26b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/1e923204-6866-4030-a460-2ce5bd9db26b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="1e923204-6866-4030-a460-2ce5bd9db26b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="true"/> + </extension> + <extension url="Nummerierung"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="Zeitraum"> + <valuePeriod> + <start value="2025-04-01"/> + <end value="2025-07-31"/> + </valuePeriod> + </extension> + <extension url="ID"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + </medicationReference> + <subject> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </requester> + <insurance> + <reference value="Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="07c10a67-2ece-4d5d-9394-633e07c9656d"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K030182229"/> + </identifier> + <name> + <use value="official"/> + <family value="Kluge"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Kluge"/> + </extension> + </family> + <given value="Eva"/> + <prefix value="Prof. Dr. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1982-01-03"/> + <address> + <type value="both"/> + <line value="Pflasterhofweg 111B"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="111B"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Pflasterhofweg"/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="50999"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/da80211e-61ee-458e-a651-87370b6ec30c"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="da80211e-61ee-458e-a651-87370b6ec30c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/ce4104af-b86b-4664-afee-1b5fc3ac8acf"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109777509"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/output.json new file mode 100644 index 00000000..bc33de71 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "e196b350-9f08-4a7b-bf3d-19f03f471531", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "d9867c73-b634-499b-9dd5-91ce5baf3141", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/39f4c921-ad04-4c78-b26a-49c458a0a643" + }, + "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": "39f4c921-ad04-4c78-b26a-49c458a0a643", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f88b3cea-694b-4f34-a7a9-2a44b0e30531", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e22c7097-db6b-4871-a193-91fbcc09cf19", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_15da065c_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/output.xml new file mode 100644 index 00000000..778936cd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b_15da065c_15da065c/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e196b350-9f08-4a7b-bf3d-19f03f471531"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="d9867c73-b634-499b-9dd5-91ce5baf3141"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2025-04-01"/> + <end value="2025-07-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/39f4c921-ad04-4c78-b26a-49c458a0a643"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="39f4c921-ad04-4c78-b26a-49c458a0a643"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="f88b3cea-694b-4f34-a7a9-2a44b0e30531"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e22c7097-db6b-4871-a193-91fbcc09cf19"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/output.json deleted file mode 100644 index 0a69396e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/output.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e3bb77ce-aefc-4853-928a-ad66a0220def", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "87351807-f095-457f-bc0c-9d1c8a536720", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "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": "filler-order", - "medicationReference": { - "reference": "Medication/27a3d2ad-794c-4d80-92fc-8e5f0ba5542f" - }, - "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": "27a3d2ad-794c-4d80-92fc-8e5f0ba5542f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "53f9a097-1b5b-4697-aa07-6ceded9ddba6", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "cc7ff55e-ff6f-4220-baf3-e1e1fb41d843", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/output.xml deleted file mode 100644 index 06a6c3b5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/output.xml +++ /dev/null @@ -1,230 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e3bb77ce-aefc-4853-928a-ad66a0220def"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.017.88"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="87351807-f095-457f-bc0c-9d1c8a536720"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="true"/> - </extension> - <extension url="counter"> - <valueRatio> - <numerator> - <value value="4"/> - </numerator> - <denominator> - <value value="4"/> - </denominator> - </valueRatio> - </extension> - <extension url="period"> - <valuePeriod> - <start value="2023-12-01"/> - <end value="2024-03-31"/> - </valuePeriod> - </extension> - <extension url="id"> - <valueIdentifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> - </valueIdentifier> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/27a3d2ad-794c-4d80-92fc-8e5f0ba5542f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="27a3d2ad-794c-4d80-92fc-8e5f0ba5542f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="02532741"/> - </coding> - <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="53f9a097-1b5b-4697-aa07-6ceded9ddba6"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="cc7ff55e-ff6f-4220-baf3-e1e1fb41d843"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="987654423"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Emma Schneider"/> - <family value="Schneider"/> - <given value="Emma"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c/output.json new file mode 100644 index 00000000..1643c997 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c/output.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Parameters", + "id": "80f76fa5-92c6-4ea4-b020-64c56e19deb9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7600330a-0c17-48dc-8f35-b23d1e41d0ca", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "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": "filler-order", + "medicationReference": { + "reference": "Medication/52736928-c2dd-4863-abd8-ce10a18529c7" + }, + "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": "52736928-c2dd-4863-abd8-ce10a18529c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "61954718-eb58-4e66-97e0-49feadd3948e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f599d896-5c2d-48bc-9707-bce84fa96512", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_15da065c_15da065c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c/output.xml new file mode 100644 index 00000000..57a71d2c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee_15da065c_15da065c/output.xml @@ -0,0 +1,230 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="80f76fa5-92c6-4ea4-b020-64c56e19deb9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.017.88"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7600330a-0c17-48dc-8f35-b23d1e41d0ca"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="true"/> + </extension> + <extension url="counter"> + <valueRatio> + <numerator> + <value value="4"/> + </numerator> + <denominator> + <value value="4"/> + </denominator> + </valueRatio> + </extension> + <extension url="period"> + <valuePeriod> + <start value="2023-12-01"/> + <end value="2024-03-31"/> + </valuePeriod> + </extension> + <extension url="id"> + <valueIdentifier> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"/> + </valueIdentifier> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/52736928-c2dd-4863-abd8-ce10a18529c7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="52736928-c2dd-4863-abd8-ce10a18529c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="02532741"/> + </coding> + <text value="L-Thyroxin Henning 75 100 Tbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="61954718-eb58-4e66-97e0-49feadd3948e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f599d896-5c2d-48bc-9707-bce84fa96512"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Emma Schneider"/> + <family value="Schneider"/> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/output.json deleted file mode 100644 index 958cf99a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/output.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "90bd8e39-2f4a-48ec-b41d-febfb6aa1eb7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "16c8bc75-b07d-4966-a93a-bb5b2160410d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/a14d1e98-cf31-45fb-a7e6-d53675e08709" - }, - "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": "a14d1e98-cf31-45fb-a7e6-d53675e08709", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "01e4bc40-5521-41fa-884b-b229418422e8", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "45d62b56-197c-4a51-82f4-30df2f74ab01", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/output.xml deleted file mode 100644 index 01011f23..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="90bd8e39-2f4a-48ec-b41d-febfb6aa1eb7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.003.33"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="16c8bc75-b07d-4966-a93a-bb5b2160410d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/a14d1e98-cf31-45fb-a7e6-d53675e08709"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dosageInstruction> - <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="a14d1e98-cf31-45fb-a7e6-d53675e08709"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03386388"/> - </coding> - <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SUP"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="01e4bc40-5521-41fa-884b-b229418422e8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="687777700"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Kinderarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="09411234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Yorckstraße 15"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="15"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Yorckstraße"/> - </extension> - </line> - <line value="Hinterhaus"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Hinterhaus"/> - </extension> - </line> - <city value="Regensburg"/> - <postalCode value="93049"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="45d62b56-197c-4a51-82f4-30df2f74ab01"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="456456534"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Maximilian Weber"/> - <family value="Weber"/> - <given value="Maximilian"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01/output.json new file mode 100644 index 00000000..1c29b6c5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "15ad9a09-6da9-4c19-898a-86f660ec0ad4", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "a6c41bf9-2ea7-45ab-ab73-b51211f7d97b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/57b3243b-bbf9-43b3-ae18-656a3abe0a05" + }, + "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": "57b3243b-bbf9-43b3-ae18-656a3abe0a05", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "bde4af27-a611-45b1-82f7-c833e1acf482", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c3e9fff5-db72-44c4-a941-fbb9e2671b8a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_690a7f01_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01/output.xml new file mode 100644 index 00000000..224557ef --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e_690a7f01_690a7f01/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="15ad9a09-6da9-4c19-898a-86f660ec0ad4"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="a6c41bf9-2ea7-45ab-ab73-b51211f7d97b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/57b3243b-bbf9-43b3-ae18-656a3abe0a05"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="57b3243b-bbf9-43b3-ae18-656a3abe0a05"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUP"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="bde4af27-a611-45b1-82f7-c833e1acf482"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c3e9fff5-db72-44c4-a941-fbb9e2671b8a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/output.json deleted file mode 100644 index 729e9ebb..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/output.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "2e424265-201b-44d2-8bb4-64b07a58f64a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "99112591-8358-4502-9f21-52e2d286a74d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/b9ed7287-1a77-40a0-8537-61b61afc4c7e" - }, - "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": "b9ed7287-1a77-40a0-8537-61b61afc4c7e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b56a7b63-e7c7-4a94-b20d-a6641a23e591", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "d5f2df67-0274-46eb-a6be-20058c41b3a7", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/output.xml deleted file mode 100644 index 185e466c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="2e424265-201b-44d2-8bb4-64b07a58f64a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.003.33"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="99112591-8358-4502-9f21-52e2d286a74d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/b9ed7287-1a77-40a0-8537-61b61afc4c7e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dosageInstruction> - <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b9ed7287-1a77-40a0-8537-61b61afc4c7e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03386388"/> - </coding> - <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SUP"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b56a7b63-e7c7-4a94-b20d-a6641a23e591"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="687777700"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Kinderarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="09411234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Yorckstraße 15"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="15"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Yorckstraße"/> - </extension> - </line> - <line value="Hinterhaus"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Hinterhaus"/> - </extension> - </line> - <city value="Regensburg"/> - <postalCode value="93049"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d5f2df67-0274-46eb-a6be-20058c41b3a7"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="456456534"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Maximilian Weber"/> - <family value="Weber"/> - <given value="Maximilian"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01/output.json new file mode 100644 index 00000000..cd864325 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "a5e10fa7-eff9-4435-b063-38993b902601", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "111d8215-21aa-48f9-a552-6d4a299841c3", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/12d5d5dc-a032-4ab0-a8a8-0884f0142222" + }, + "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": "12d5d5dc-a032-4ab0-a8a8-0884f0142222", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "83a04863-1160-4667-af46-a19eace384af", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "50a84062-0ad4-4e0e-a5eb-d64e3d040d61", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_690a7f01_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01/output.xml new file mode 100644 index 00000000..7eeda079 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691_690a7f01_690a7f01/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a5e10fa7-eff9-4435-b063-38993b902601"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="111d8215-21aa-48f9-a552-6d4a299841c3"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/12d5d5dc-a032-4ab0-a8a8-0884f0142222"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="12d5d5dc-a032-4ab0-a8a8-0884f0142222"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUP"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="83a04863-1160-4667-af46-a19eace384af"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="50a84062-0ad4-4e0e-a5eb-d64e3d040d61"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.json index 5aa77adb..e1c04232 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "1df537af-6302-40a1-aae8-9e591598c5f5", + "id": "0f0fc52e-2b82-43ec-afb2-ee92b6102c5d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "66f98e44-30eb-42c2-879e-1e8707037503", + "id": "79c31c93-64b8-4522-9426-8e0589c6a344", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/ddb4c0df-c1be-4364-9190-7fb0393f8016" + "reference": "Medication/41b1ef5a-fe7c-42b8-b1b2-670f49575b64" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "ddb4c0df-c1be-4364-9190-7fb0393f8016", + "id": "41b1ef5a-fe7c-42b8-b1b2-670f49575b64", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -95,7 +95,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "2b4ac9ec-4717-4931-a117-6a0c45baa11d", + "id": "d4689889-5ccf-481f-a548-edc7a284e86d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "1d19290b-4294-4fe7-b15b-200b0ed0e6cb", + "id": "45788c3d-ec4c-44b0-b639-78ec9de0d2ef", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.xml index dcb7d1a7..309b5000 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="1df537af-6302-40a1-aae8-9e591598c5f5"/> + <id value="0f0fc52e-2b82-43ec-afb2-ee92b6102c5d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="66f98e44-30eb-42c2-879e-1e8707037503"/> + <id value="79c31c93-64b8-4522-9426-8e0589c6a344"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/ddb4c0df-c1be-4364-9190-7fb0393f8016"/> + <reference value="Medication/41b1ef5a-fe7c-42b8-b1b2-670f49575b64"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="ddb4c0df-c1be-4364-9190-7fb0393f8016"/> + <id value="41b1ef5a-fe7c-42b8-b1b2-670f49575b64"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -97,7 +97,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="2b4ac9ec-4717-4931-a117-6a0c45baa11d"/> + <id value="d4689889-5ccf-481f-a548-edc7a284e86d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -162,7 +162,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1d19290b-4294-4fe7-b15b-200b0ed0e6cb"/> + <id value="45788c3d-ec4c-44b0-b639-78ec9de0d2ef"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/input.xml new file mode 100644 index 00000000..a077c818 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/input.xml @@ -0,0 +1,379 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="690a7f01-058e-492a-b1dc-d6d8c8a30a59"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/8c5aad28-6029-452d-8f97-0bf213b1a0e3"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8c5aad28-6029-452d-8f97-0bf213b1a0e3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/e538cd5e-883e-4645-af3a-49352fece39b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/76696615-4c18-410e-bcf9-382590c6df3b"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/e538cd5e-883e-4645-af3a-49352fece39b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e538cd5e-883e-4645-af3a-49352fece39b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="true"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a0da7cea-dd87-45ab-988d-0f7c26bd3d0b"/> + </medicationReference> + <subject> + <reference value="Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + </requester> + <insurance> + <reference value="Coverage/76696615-4c18-410e-bcf9-382590c6df3b"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a0da7cea-dd87-45ab-988d-0f7c26bd3d0b"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a0da7cea-dd87-45ab-988d-0f7c26bd3d0b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUP"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119814"/> + </identifier> + <name> + <use value="official"/> + <family value="Klein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Klein"/> + </extension> + </family> + <given value="Teddy"/> + </name> + <birthDate value="2020-02-29"/> + <address> + <type value="both"/> + <line value="Roritzerstraße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Roritzerstraße"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93047"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <name> + <use value="official"/> + <family value="Weber"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Weber"/> + </extension> + </family> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Kinder- und Jugendmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/76696615-4c18-410e-bcf9-382590c6df3b"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="76696615-4c18-410e-bcf9-382590c6df3b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/42a5830f-667a-4ee9-bf08-8529f3a5044b"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108416214"/> + </identifier> + <display value="AOK Bayern"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/output.json new file mode 100644 index 00000000..5e646e55 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "846d79bc-ea91-4159-8e88-211f6b84b151", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c820108e-f5b0-4e48-a3af-bcd52c895d43", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f4db3d57-e629-4fda-a3f3-835be8fd74d0" + }, + "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": "f4db3d57-e629-4fda-a3f3-835be8fd74d0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "923d5652-0a87-4c03-a1a4-5a5d84ec375b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7ee522e8-eb5d-4830-9d70-d2ed2ebdda0b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_690a7f01_690a7f01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/output.xml new file mode 100644 index 00000000..97d0b43a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_690a7f01_690a7f01/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="846d79bc-ea91-4159-8e88-211f6b84b151"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.003.33"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c820108e-f5b0-4e48-a3af-bcd52c895d43"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f4db3d57-e629-4fda-a3f3-835be8fd74d0"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f4db3d57-e629-4fda-a3f3-835be8fd74d0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03386388"/> + </coding> + <text value="INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SUP"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="923d5652-0a87-4c03-a1a4-5a5d84ec375b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7ee522e8-eb5d-4830-9d70-d2ed2ebdda0b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/output.json deleted file mode 100644 index 50e5b47c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/output.json +++ /dev/null @@ -1,213 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "08cd5cfe-41c5-4fc9-b0bc-a1bae3084d61", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "3c374fa2-5d80-4e5d-a1e4-805d7d408a59", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/2a46225e-e859-484a-95b1-c7506984ee1f" - }, - "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": "2a46225e-e859-484a-95b1-c7506984ee1f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d309828a-d325-49a7-b589-c26697f00186", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "f92dd5b2-a3d6-4799-8fae-a50f421a0690", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_281a985c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/output.xml deleted file mode 100644 index bacc0298..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="08cd5cfe-41c5-4fc9-b0bc-a1bae3084d61"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.764.737.300.50"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-30"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3c374fa2-5d80-4e5d-a1e4-805d7d408a59"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/2a46225e-e859-484a-95b1-c7506984ee1f"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-30"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2a46225e-e859-484a-95b1-c7506984ee1f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="12"/> - </extension> - <unit value="TAB"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d309828a-d325-49a7-b589-c26697f00186"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="031234567"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis Dr. Topp-Glücklich"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Musterstr. 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Musterstr."/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f92dd5b2-a3d6-4799-8fae-a50f421a0690"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="838382202"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Hans Topp-Glücklich"/> - <family value="Topp-Glücklich"/> - <given value="Hans"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c/output.json new file mode 100644 index 00000000..3aa6c993 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c/output.json @@ -0,0 +1,213 @@ +{ + "resourceType": "Parameters", + "id": "5929cfac-7d8f-42a5-94c4-4ba5db8fed25", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "7c43c540-294f-4790-b44a-96366874134b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/732259e2-ad22-482c-99ca-34ee62f90d0b" + }, + "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": "732259e2-ad22-482c-99ca-34ee62f90d0b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e690d6c5-6a20-4a56-a39c-21ddd7b3d12e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "048f4fae-d7ad-4e34-8ecc-bf6b1dc1e27b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_281a985c_281a985c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c/output.xml new file mode 100644 index 00000000..e4f74af2 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d_281a985c_281a985c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="5929cfac-7d8f-42a5-94c4-4ba5db8fed25"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-30"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7c43c540-294f-4790-b44a-96366874134b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/732259e2-ad22-482c-99ca-34ee62f90d0b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-30"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="732259e2-ad22-482c-99ca-34ee62f90d0b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="TAB"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e690d6c5-6a20-4a56-a39c-21ddd7b3d12e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="031234567"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis Dr. Topp-Glücklich"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Musterstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr."/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="048f4fae-d7ad-4e34-8ecc-bf6b1dc1e27b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="838382202"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Hans Topp-Glücklich"/> + <family value="Topp-Glücklich"/> + <given value="Hans"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.json index c67f99b9..646dce17 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c68bd720-d130-4e15-b8c1-a0854beb55fa", + "id": "eef1c168-3f37-4f00-93d9-3419e44d6ea2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "b8b80cf2-58fc-47a6-8a5b-09e6998409a2", + "id": "b39fc7c6-094a-41da-b845-64e4af01c6ec", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/a69a97a1-be75-4924-8a9b-b7ca11bc58c0" + "reference": "Medication/34247bb6-560e-4e1f-945d-8cc6a3404df8" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a69a97a1-be75-4924-8a9b-b7ca11bc58c0", + "id": "34247bb6-560e-4e1f-945d-8cc6a3404df8", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "58b66cd5-9115-4457-8b6a-67c70dde613d", + "id": "9fb4d88b-3ef9-46f4-b90c-031cc9086d23", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -167,7 +167,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "a1d4281d-6b66-45a9-9cde-c4277db1ce6a", + "id": "88aafb56-4f82-4fb1-a28c-63b70c31b074", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.xml index bb1ab491..67ac694a 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c68bd720-d130-4e15-b8c1-a0854beb55fa"/> + <id value="eef1c168-3f37-4f00-93d9-3419e44d6ea2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b8b80cf2-58fc-47a6-8a5b-09e6998409a2"/> + <id value="b39fc7c6-094a-41da-b845-64e4af01c6ec"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/a69a97a1-be75-4924-8a9b-b7ca11bc58c0"/> + <reference value="Medication/34247bb6-560e-4e1f-945d-8cc6a3404df8"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a69a97a1-be75-4924-8a9b-b7ca11bc58c0"/> + <id value="34247bb6-560e-4e1f-945d-8cc6a3404df8"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -110,7 +110,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="58b66cd5-9115-4457-8b6a-67c70dde613d"/> + <id value="9fb4d88b-3ef9-46f4-b90c-031cc9086d23"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a1d4281d-6b66-45a9-9cde-c4277db1ce6a"/> + <id value="88aafb56-4f82-4fb1-a28c-63b70c31b074"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/input.xml new file mode 100644 index 00000000..8f4a2acf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/input.xml @@ -0,0 +1,414 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="281a985c-f25b-4aae-91a6-41ad744080b0"/> + <meta> + <lastUpdated value="2024-11-30T09:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-30T09:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Composition/ed52c1e3-b700-4497-ae19-b23744e29876"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ed52c1e3-b700-4497-ae19-b23744e29876"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811"/> + </subject> + <date value="2024-11-30T09:30:00Z"/> + <author> + <reference value="Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/400/1910/36/346"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/cf042e44-086a-4d51-9c77-172f9a972e3b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/e930cdee-9eb5-4b44-88b5-2a18b69f3b9a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/1b1ffb6e-eb05-43d7-87eb-e7818fe9661a"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="FOR_PractitionerRole"/> + </coding> + </code> + <entry> + <reference value="PractitionerRole/9a4090f8-8c5a-11ea-bc55-0242ac13000"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/MedicationRequest/e930cdee-9eb5-4b44-88b5-2a18b69f3b9a"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e930cdee-9eb5-4b44-88b5-2a18b69f3b9a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/5fe6e06c-8725-46d5-aecd-e65e041ca3de"/> + </medicationReference> + <subject> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811"/> + </subject> + <authoredOn value="2024-11-30"/> + <requester> + <reference value="Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3"/> + </requester> + <insurance> + <reference value="Coverage/1b1ffb6e-eb05-43d7-87eb-e7818fe9661a"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Medication/5fe6e06c-8725-46d5-aecd-e65e041ca3de"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5fe6e06c-8725-46d5-aecd-e65e041ca3de"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="12"/> + </extension> + <unit value="TAB"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Patient/9774f67f-a238-4daf-b4e6-679deeef3811"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="9774f67f-a238-4daf-b4e6-679deeef3811"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X234567891"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Musterstr. 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr."/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="20597e0e-cb2a-45b3-95f0-dc3dbdb617c3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="838382202"/> + </identifier> + <name> + <use value="official"/> + <family value="Topp-Glücklich"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Topp-Glücklich"/> + </extension> + </family> + <given value="Hans"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Hausarzt"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Organization/cf042e44-086a-4d51-9c77-172f9a972e3b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="cf042e44-086a-4d51-9c77-172f9a972e3b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="031234567"/> + </identifier> + <name value="Hausarztpraxis Dr. Topp-Glücklich"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Musterstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr."/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Coverage/1b1ffb6e-eb05-43d7-87eb-e7818fe9661a"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b1ffb6e-eb05-43d7-87eb-e7818fe9661a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="03"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="AOK Rheinland/Hamburg"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/PractitionerRole/9a4090f8-8c5a-11ea-bc55-0242ac13000"/> + <resource> + <PractitionerRole xmlns="http://hl7.org/fhir"> + <id value="9a4090f8-8c5a-11ea-bc55-0242ac13000"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_PractitionerRole|1.1.0"/> + </meta> + <practitioner> + <reference value="Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3"/> + </practitioner> + <organization> + <identifier> + <system value="http://fhir.de/NamingSystem/asv/teamnummer"/> + <value value="003456789"/> + </identifier> + </organization> + </PractitionerRole> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/output.json new file mode 100644 index 00000000..f6f57889 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/output.json @@ -0,0 +1,213 @@ +{ + "resourceType": "Parameters", + "id": "a1161c09-9a13-4b90-b301-bfe039028b63", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e5279700-b33e-43e9-8a2b-cc06444458d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a3f769b8-292a-46b4-bb12-a088f9fe9099" + }, + "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": "a3f769b8-292a-46b4-bb12-a088f9fe9099", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "33361142-e614-4995-85eb-7db7c68095e7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c2abb5ad-c89f-4f68-842c-6ab2061dd740", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_281a985c_281a985c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/output.xml new file mode 100644 index 00000000..065b864b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_281a985c_281a985c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="a1161c09-9a13-4b90-b301-bfe039028b63"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-30"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e5279700-b33e-43e9-8a2b-cc06444458d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a3f769b8-292a-46b4-bb12-a088f9fe9099"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-30"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a3f769b8-292a-46b4-bb12-a088f9fe9099"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="TAB"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="33361142-e614-4995-85eb-7db7c68095e7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="031234567"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis Dr. Topp-Glücklich"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Musterstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr."/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c2abb5ad-c89f-4f68-842c-6ab2061dd740"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="838382202"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Hans Topp-Glücklich"/> + <family value="Topp-Glücklich"/> + <given value="Hans"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/output.json deleted file mode 100644 index 54d9ddb3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/output.json +++ /dev/null @@ -1,213 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "1474272e-919e-417a-b39f-3fad7445654a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "d41bbd27-c539-4dd3-85bf-c1864e90b84b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/c732c7a0-fa28-4f36-a0d2-f1457d70063c" - }, - "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": "c732c7a0-fa28-4f36-a0d2-f1457d70063c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "afc890c5-a17c-44b5-a64a-4c64c4a3bfaa", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "52856f6b-908a-4202-bec7-907f1bbd6c68", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_281a985c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/output.xml deleted file mode 100644 index 2ba0b946..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1474272e-919e-417a-b39f-3fad7445654a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.764.737.300.50"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-30"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d41bbd27-c539-4dd3-85bf-c1864e90b84b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/c732c7a0-fa28-4f36-a0d2-f1457d70063c"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-30"/> - <dosageInstruction> - <text value="1-0-1-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c732c7a0-fa28-4f36-a0d2-f1457d70063c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="06313728"/> - </coding> - <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="12"/> - </extension> - <unit value="TAB"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="afc890c5-a17c-44b5-a64a-4c64c4a3bfaa"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="031234567"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis Dr. Topp-Glücklich"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Musterstr. 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Musterstr."/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="52856f6b-908a-4202-bec7-907f1bbd6c68"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="838382202"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Hans Topp-Glücklich"/> - <family value="Topp-Glücklich"/> - <given value="Hans"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c/output.json new file mode 100644 index 00000000..81ee4932 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c/output.json @@ -0,0 +1,213 @@ +{ + "resourceType": "Parameters", + "id": "4e39dfb3-07f4-4d4b-b128-3f450261e434", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "69fe91dd-ea48-4784-9585-ecd179278a82", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/439303ab-af80-4383-a273-a2db2d2220bb" + }, + "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": "439303ab-af80-4383-a273-a2db2d2220bb", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "beed492d-2173-4492-b655-8916a04e980a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b2162174-745c-4ebd-8f61-7a8672b621cc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_281a985c_281a985c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c/output.xml new file mode 100644 index 00000000..fae3c552 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b_281a985c_281a985c/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4e39dfb3-07f4-4d4b-b128-3f450261e434"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.764.737.300.50"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-30"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="69fe91dd-ea48-4784-9585-ecd179278a82"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/439303ab-af80-4383-a273-a2db2d2220bb"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-30"/> + <dosageInstruction> + <text value="1-0-1-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="439303ab-af80-4383-a273-a2db2d2220bb"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="06313728"/> + </coding> + <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="12"/> + </extension> + <unit value="TAB"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="beed492d-2173-4492-b655-8916a04e980a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="031234567"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis Dr. Topp-Glücklich"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Musterstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr."/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b2162174-745c-4ebd-8f61-7a8672b621cc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="838382202"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Hans Topp-Glücklich"/> + <family value="Topp-Glücklich"/> + <given value="Hans"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.json index 3d4dfa41..6b7f4b95 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "3ff254ba-8b34-4b08-bce9-fc5f4303449f", + "id": "a05ba5b8-0950-4eb2-a786-455e26066844", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "070deef0-ab06-4e61-aac5-17fafc3b4770", + "id": "4bb67fd7-62a0-4079-80de-6c2478665830", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/3543667d-b215-4446-9475-9b75fb621746" + "reference": "Medication/3c425499-3f78-4f23-a00d-544e8a140388" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "3543667d-b215-4446-9475-9b75fb621746", + "id": "3c425499-3f78-4f23-a00d-544e8a140388", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "f9c57655-ff14-4b8b-9002-ef57786922df", + "id": "8a84d09a-35a6-4ab3-9cb0-b49ff45b3294", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -151,7 +151,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "050aeab8-aeb8-42bc-907f-b32e5b81d5e8", + "id": "8d745346-1d52-487d-9a29-cd683a146046", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.xml index 2572b749..b9157bb0 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="3ff254ba-8b34-4b08-bce9-fc5f4303449f"/> + <id value="a05ba5b8-0950-4eb2-a786-455e26066844"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="070deef0-ab06-4e61-aac5-17fafc3b4770"/> + <id value="4bb67fd7-62a0-4079-80de-6c2478665830"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/3543667d-b215-4446-9475-9b75fb621746"/> + <reference value="Medication/3c425499-3f78-4f23-a00d-544e8a140388"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="3543667d-b215-4446-9475-9b75fb621746"/> + <id value="3c425499-3f78-4f23-a00d-544e8a140388"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="f9c57655-ff14-4b8b-9002-ef57786922df"/> + <id value="8a84d09a-35a6-4ab3-9cb0-b49ff45b3294"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -154,7 +154,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="050aeab8-aeb8-42bc-907f-b32e5b81d5e8"/> + <id value="8d745346-1d52-487d-9a29-cd683a146046"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5/output.json new file mode 100644 index 00000000..fc466678 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "16e94911-307f-40b2-91be-d2a64efc0598", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b391c91c-b091-4627-a064-960bddd80490", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b1ef6f23-505c-4aed-8cce-8e81f9b5025a" + }, + "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": "b1ef6f23-505c-4aed-8cce-8e81f9b5025a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "67a4c221-3858-4163-b130-ce6428e43d82", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "38d24402-630a-4ee9-9795-cffb7b61cc2d", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_aea2f4c5_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5/output.xml new file mode 100644 index 00000000..3fb9050f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_aea2f4c5_aea2f4c5/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="16e94911-307f-40b2-91be-d2a64efc0598"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b391c91c-b091-4627-a064-960bddd80490"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b1ef6f23-505c-4aed-8cce-8e81f9b5025a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b1ef6f23-505c-4aed-8cce-8e81f9b5025a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392039"/> + </coding> + <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="67a4c221-3858-4163-b130-ce6428e43d82"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="38d24402-630a-4ee9-9795-cffb7b61cc2d"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/output.json deleted file mode 100644 index fce17df2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "9d597a87-1a31-472e-89d8-5c7d3ac8043d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "f9ff4125-29b4-4774-8981-cd17941f8ece", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/645bfb44-30d7-4d93-bc20-f512d1417db2" - }, - "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": "645bfb44-30d7-4d93-bc20-f512d1417db2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b609e2ba-1c37-43c2-a50d-e784d7ba1afb", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "786c5013-5a8a-4424-89c4-b9084e595546", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/output.xml deleted file mode 100644 index 846e573b..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9d597a87-1a31-472e-89d8-5c7d3ac8043d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.001.39"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="f9ff4125-29b4-4774-8981-cd17941f8ece"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/645bfb44-30d7-4d93-bc20-f512d1417db2"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="645bfb44-30d7-4d93-bc20-f512d1417db2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="05392039"/> - </coding> - <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="b609e2ba-1c37-43c2-a50d-e784d7ba1afb"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="723333300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Psychiatrie und Psychotherapie"/> - <telecom> - <system value="phone"/> - <value value="030369258147"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="786c5013-5a8a-4424-89c4-b9084e595546"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="582369858"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Emilia Becker"/> - <family value="Becker"/> - <given value="Emilia"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5/output.json new file mode 100644 index 00000000..ebdfb340 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "2ce5c603-0e21-4088-a6f6-3839286af5b8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "c41b9b03-f5b1-4718-862f-efaf92ac3453", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/5e352871-7f47-40de-938f-fe678352a24b" + }, + "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": "5e352871-7f47-40de-938f-fe678352a24b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "3ed49a7c-11d2-4090-aa22-ca7d586d62de", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "9aaebab4-0a02-4a9d-8849-165815ff61c9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_aea2f4c5_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5/output.xml new file mode 100644 index 00000000..cd65743e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63_aea2f4c5_aea2f4c5/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2ce5c603-0e21-4088-a6f6-3839286af5b8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="c41b9b03-f5b1-4718-862f-efaf92ac3453"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/5e352871-7f47-40de-938f-fe678352a24b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="5e352871-7f47-40de-938f-fe678352a24b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392039"/> + </coding> + <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="3ed49a7c-11d2-4090-aa22-ca7d586d62de"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="9aaebab4-0a02-4a9d-8849-165815ff61c9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/output.json deleted file mode 100644 index c394a722..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/output.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "acaef213-5757-4873-8761-6c39cbe8c666", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "1cc8a787-27b8-484a-ad05-ef5aa57aaa87", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/2327bac9-51d0-4256-9c57-3510c61f99da" - }, - "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": "2327bac9-51d0-4256-9c57-3510c61f99da", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6b6183c4-69b2-435e-bd34-722ce62b0832", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "63cf6439-4888-40f2-9eb2-fc4f0752fd49", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/output.xml deleted file mode 100644 index 997d8141..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5/output.xml +++ /dev/null @@ -1,195 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="acaef213-5757-4873-8761-6c39cbe8c666"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.001.39"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="1cc8a787-27b8-484a-ad05-ef5aa57aaa87"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/2327bac9-51d0-4256-9c57-3510c61f99da"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2327bac9-51d0-4256-9c57-3510c61f99da"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="05392039"/> - </coding> - <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="6b6183c4-69b2-435e-bd34-722ce62b0832"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="723333300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Psychiatrie und Psychotherapie"/> - <telecom> - <system value="phone"/> - <value value="030369258147"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="63cf6439-4888-40f2-9eb2-fc4f0752fd49"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="582369858"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Emilia Becker"/> - <family value="Becker"/> - <given value="Emilia"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/input.xml new file mode 100644 index 00000000..d6e768b7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/input.xml @@ -0,0 +1,368 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="aea2f4c5-675a-4d76-ab9b-7994c80b64ec"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/6aba4ca1-6bc9-47db-a58d-946b5ded26b7"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6aba4ca1-6bc9-47db-a58d-946b5ded26b7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/7d871b93-e18c-4865-bad0-6b55196be46b"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/7d871b93-e18c-4865-bad0-6b55196be46b"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="7d871b93-e18c-4865-bad0-6b55196be46b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="true"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/a3ca01a4-92c1-422a-87d9-ef046e94527f"/> + </medicationReference> + <subject> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/a3ca01a4-92c1-422a-87d9-ef046e94527f"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a3ca01a4-92c1-422a-87d9-ef046e94527f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392039"/> + </coding> + <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="30635f5d-c233-4500-94e8-6414940236aa"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220645122"/> + </identifier> + <name> + <use value="official"/> + <family value="Schuhmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schuhmann"/> + </extension> + </family> + <given value="Sahra"/> + </name> + <birthDate value="1970-12-24"/> + <address> + <type value="both"/> + <line value="Berliner Straße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Berliner Straße"/> + </extension> + </line> + <city value="Husum"/> + <postalCode value="25813"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <name> + <use value="official"/> + <family value="Becker"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Becker"/> + </extension> + </family> + <given value="Emilia"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Psychiatrie und Psychotherapie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="06"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="01"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/30635f5d-c233-4500-94e8-6414940236aa"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108018347"/> + </identifier> + <display value="AOK Ludwigsburg-Bietigheim"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/output.json new file mode 100644 index 00000000..14f292d4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/output.json @@ -0,0 +1,190 @@ +{ + "resourceType": "Parameters", + "id": "c4ea86dc-3128-455c-8cf5-2a2a7a451995", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e4aca77f-978e-4ee8-962d-2f1d513e6978", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b6bd9560-93fe-43eb-a454-5aa9498c2fb9" + }, + "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": "b6bd9560-93fe-43eb-a454-5aa9498c2fb9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fda633e8-ae38-48e3-8c3c-e082a05451a1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c5db5c4e-78d8-4607-883d-85dceb5c79ba", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_aea2f4c5_aea2f4c5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/output.xml new file mode 100644 index 00000000..c00c14ac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c_aea2f4c5_aea2f4c5/output.xml @@ -0,0 +1,195 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c4ea86dc-3128-455c-8cf5-2a2a7a451995"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.001.39"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e4aca77f-978e-4ee8-962d-2f1d513e6978"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b6bd9560-93fe-43eb-a454-5aa9498c2fb9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b6bd9560-93fe-43eb-a454-5aa9498c2fb9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="05392039"/> + </coding> + <text value="Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fda633e8-ae38-48e3-8c3c-e082a05451a1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c5db5c4e-78d8-4607-883d-85dceb5c79ba"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.json index c2996e63..944f7a26 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "8139b304-c7aa-49d0-864c-549285dccf72", + "id": "abd2cda0-9436-4c33-9dcc-e7318e562a5d", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "7ba16616-3a78-4019-9297-f94dc0108aea", + "id": "78c14863-4858-430d-824f-67096499ffa6", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/bf850a64-1bcb-45f0-a73e-4c0763a2f35c" + "reference": "Medication/df018b3e-7264-494c-9e50-2f9ae4fc2ce5" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "bf850a64-1bcb-45f0-a73e-4c0763a2f35c", + "id": "df018b3e-7264-494c-9e50-2f9ae4fc2ce5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "32ffdfa7-7b4e-4a86-b793-f2e378da6a5a", + "id": "a9c835b4-48fd-4374-9ec9-9f56884ea7d9", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -157,7 +157,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "cc268fdc-4207-47be-8a73-39d7a1bef839", + "id": "69f796dc-ba0f-45d2-9dc8-18c683746ce5", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.xml index 9f2c5488..48ab1bdc 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="8139b304-c7aa-49d0-864c-549285dccf72"/> + <id value="abd2cda0-9436-4c33-9dcc-e7318e562a5d"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7ba16616-3a78-4019-9297-f94dc0108aea"/> + <id value="78c14863-4858-430d-824f-67096499ffa6"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/bf850a64-1bcb-45f0-a73e-4c0763a2f35c"/> + <reference value="Medication/df018b3e-7264-494c-9e50-2f9ae4fc2ce5"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="bf850a64-1bcb-45f0-a73e-4c0763a2f35c"/> + <id value="df018b3e-7264-494c-9e50-2f9ae4fc2ce5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="32ffdfa7-7b4e-4a86-b793-f2e378da6a5a"/> + <id value="a9c835b4-48fd-4374-9ec9-9f56884ea7d9"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -162,7 +162,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="cc268fdc-4207-47be-8a73-39d7a1bef839"/> + <id value="69f796dc-ba0f-45d2-9dc8-18c683746ce5"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9_44420ed9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9_44420ed9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9_44420ed9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9_44420ed9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9_44420ed9/output.json new file mode 100644 index 00000000..c9c51767 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9_44420ed9/output.json @@ -0,0 +1,203 @@ +{ + "resourceType": "Parameters", + "id": "c1b0716c-84c7-4128-a8ce-87875d7e3f28", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b1f3f2ea-dacd-4e09-8e08-b8788c5601cd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ed634834-65af-450f-ae30-09e71b9e3510" + }, + "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": "ed634834-65af-450f-ae30-09e71b9e3510", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "2039503e-4c04-4454-8877-a557185dff25", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "f108b458-35c9-499d-8075-1aee0926f3ca", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_44420ed9_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9_44420ed9/output.xml new file mode 100644 index 00000000..4399303d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_44420ed9_44420ed9/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c1b0716c-84c7-4128-a8ce-87875d7e3f28"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b1f3f2ea-dacd-4e09-8e08-b8788c5601cd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ed634834-65af-450f-ae30-09e71b9e3510"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ed634834-65af-450f-ae30-09e71b9e3510"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2039503e-4c04-4454-8877-a557185dff25"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="f108b458-35c9-499d-8075-1aee0926f3ca"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/output.json deleted file mode 100644 index 9be284e4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/output.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "aaca0880-1e21-4fdd-876f-b7cecfda5a46", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "8b7ab57e-7581-48ae-a1bb-a71d7126e178", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/9e43e6fd-870e-43ca-899d-d53169280d53" - }, - "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": "9e43e6fd-870e-43ca-899d-d53169280d53", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9a15b884-df34-4665-8e4a-f2169ee1b446", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "e88b53c7-a602-45b1-9e36-28e43186a32d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/output.xml deleted file mode 100644 index 11c96f1e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="aaca0880-1e21-4fdd-876f-b7cecfda5a46"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.006.24"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8b7ab57e-7581-48ae-a1bb-a71d7126e178"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/9e43e6fd-870e-43ca-899d-d53169280d53"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="9e43e6fd-870e-43ca-899d-d53169280d53"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00814665"/> - </coding> - <text value="Januvia® 50 mg 28 Filmtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9a15b884-df34-4665-8e4a-f2169ee1b446"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="e88b53c7-a602-45b1-9e36-28e43186a32d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/input.xml new file mode 100644 index 00000000..fad486a6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/input.xml @@ -0,0 +1,384 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="44420ed9-7388-4be5-acc5-9c124fad9f34"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="6ac6d8bc-3acd-4e31-ad9b-442fc343c6c0"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="000abe24-f690-481e-9a9f-1cd0eb434e2f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="47076fb4-dc5c-4f75-85f6-b200033b3280"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin mit dem Schwerpunkt Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost - Die Gesundheitskasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/output.json new file mode 100644 index 00000000..7630ff20 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/output.json @@ -0,0 +1,203 @@ +{ + "resourceType": "Parameters", + "id": "39109d05-c7c8-4394-bf87-dbfd222812db", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "41ce6f5d-4630-43d9-9c6c-cb0ca451fbdf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8c76d6f0-49d7-47d4-b121-449e66898f29" + }, + "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": "8c76d6f0-49d7-47d4-b121-449e66898f29", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "ceb1f60a-cd9d-4000-a0e3-6ab29d520de3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "7cd55470-002f-40a3-bcd7-2f5a3b0e7498", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_44420ed9_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/output.xml new file mode 100644 index 00000000..346407fe --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e_44420ed9_44420ed9/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="39109d05-c7c8-4394-bf87-dbfd222812db"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="41ce6f5d-4630-43d9-9c6c-cb0ca451fbdf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8c76d6f0-49d7-47d4-b121-449e66898f29"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8c76d6f0-49d7-47d4-b121-449e66898f29"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="ceb1f60a-cd9d-4000-a0e3-6ab29d520de3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="7cd55470-002f-40a3-bcd7-2f5a3b0e7498"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/output.json deleted file mode 100644 index a6afdbb5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/output.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "e4f42c2c-ca57-4ede-8a15-5a21d14d3333", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "7c2e2980-d781-41f6-a585-2f5d16ada94c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/7d5e9681-0ef7-4f20-91b4-c7a65f51782e" - }, - "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": "7d5e9681-0ef7-4f20-91b4-c7a65f51782e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "da407b26-551a-4bc5-8260-153668e134bd", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "b1114aab-1bd4-460c-803e-baa6572a5f5d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/output.xml deleted file mode 100644 index 13494f67..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="e4f42c2c-ca57-4ede-8a15-5a21d14d3333"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.006.24"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="7c2e2980-d781-41f6-a585-2f5d16ada94c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/7d5e9681-0ef7-4f20-91b4-c7a65f51782e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="7d5e9681-0ef7-4f20-91b4-c7a65f51782e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00814665"/> - </coding> - <text value="Januvia® 50 mg 28 Filmtabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="da407b26-551a-4bc5-8260-153668e134bd"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b1114aab-1bd4-460c-803e-baa6572a5f5d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9/output.json new file mode 100644 index 00000000..278ee6cd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9/output.json @@ -0,0 +1,203 @@ +{ + "resourceType": "Parameters", + "id": "84aaf836-06ef-4f08-b9f6-cabe6d8b4694", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "cf573bb6-f566-4e7b-8999-2a5b49ae1838", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/e8138b94-c783-4dbe-a412-bbf9ada2e645" + }, + "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": "e8138b94-c783-4dbe-a412-bbf9ada2e645", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "44df5e05-2edf-4e89-895e-67d0eee3d1ee", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "afed69ca-d6ce-4cdd-beab-2cd08931e827", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_44420ed9_44420ed9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9/output.xml new file mode 100644 index 00000000..8891226d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612_44420ed9_44420ed9/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="84aaf836-06ef-4f08-b9f6-cabe6d8b4694"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.006.24"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cf573bb6-f566-4e7b-8999-2a5b49ae1838"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/e8138b94-c783-4dbe-a412-bbf9ada2e645"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="e8138b94-c783-4dbe-a412-bbf9ada2e645"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00814665"/> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="44df5e05-2edf-4e89-895e-67d0eee3d1ee"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="afed69ca-d6ce-4cdd-beab-2cd08931e827"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.json index f3b483e8..f61d5fb4 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "e90d32fa-309d-4ce7-936d-59e15b29c8e0", + "id": "b966a386-8962-4112-ac2d-8ba543fcbcd7", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "c8df8499-79c2-4982-a405-baecd354832a", + "id": "bb02004f-7508-4d70-82df-beabf2be26a7", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/bc84b799-ac83-4b76-9865-04d016b1b3a1" + "reference": "Medication/29bf1b92-b080-4b31-a0d0-5e418ee4a664" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "bc84b799-ac83-4b76-9865-04d016b1b3a1", + "id": "29bf1b92-b080-4b31-a0d0-5e418ee4a664", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -95,7 +95,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "a1668200-c42b-4029-8dc5-aba01854e363", + "id": "09d62bd5-9b6d-45db-be4f-31aff16f71a6", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "f9b36528-40e2-4a9c-8e1e-c4da3043947a", + "id": "6d1d3c60-33c0-4db3-bba1-24f26b0736a1", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.xml index 28c50e35..0d488019 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="e90d32fa-309d-4ce7-936d-59e15b29c8e0"/> + <id value="b966a386-8962-4112-ac2d-8ba543fcbcd7"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="c8df8499-79c2-4982-a405-baecd354832a"/> + <id value="bb02004f-7508-4d70-82df-beabf2be26a7"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/bc84b799-ac83-4b76-9865-04d016b1b3a1"/> + <reference value="Medication/29bf1b92-b080-4b31-a0d0-5e418ee4a664"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="bc84b799-ac83-4b76-9865-04d016b1b3a1"/> + <id value="29bf1b92-b080-4b31-a0d0-5e418ee4a664"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -97,7 +97,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="a1668200-c42b-4029-8dc5-aba01854e363"/> + <id value="09d62bd5-9b6d-45db-be4f-31aff16f71a6"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -162,7 +162,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f9b36528-40e2-4a9c-8e1e-c4da3043947a"/> + <id value="6d1d3c60-33c0-4db3-bba1-24f26b0736a1"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416_0428d416/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416_0428d416/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416_0428d416/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416_0428d416/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416_0428d416/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416_0428d416/output.json new file mode 100644 index 00000000..067d09c3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416_0428d416/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "fcc250f5-df41-4673-8bab-d79e77c033e6", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "173e563c-05c5-47be-9dc8-b1e2cfcfbc38", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/79d8675f-c443-445c-a8e7-d00ed46291c2" + }, + "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": "79d8675f-c443-445c-a8e7-d00ed46291c2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4b4737b9-c44e-42b4-a6da-2590d526d74b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "47fc3cb5-7b5a-44da-a1fd-0a02827f4ea8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0428d416_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416_0428d416/output.xml new file mode 100644 index 00000000..89625f8b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_0428d416_0428d416/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="fcc250f5-df41-4673-8bab-d79e77c033e6"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="173e563c-05c5-47be-9dc8-b1e2cfcfbc38"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/79d8675f-c443-445c-a8e7-d00ed46291c2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="79d8675f-c443-445c-a8e7-d00ed46291c2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4b4737b9-c44e-42b4-a6da-2590d526d74b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="47fc3cb5-7b5a-44da-a1fd-0a02827f4ea8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/output.json deleted file mode 100644 index 1db6a6a3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/output.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "dd1eaee9-ef89-44b6-a374-b0effc334dd2", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "3c7bc97d-d15b-4038-b284-dbb161de4dc3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/2eb6fcb0-8206-496f-9069-33eb239c4d9e" - }, - "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": "2eb6fcb0-8206-496f-9069-33eb239c4d9e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "9fd2c795-de5b-4956-b0fb-397617175d6c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "7560a696-5998-4c01-8c26-bd5d27f4032e", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/output.xml deleted file mode 100644 index 7bdecdc4..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="dd1eaee9-ef89-44b6-a374-b0effc334dd2"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.002.36"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="3c7bc97d-d15b-4038-b284-dbb161de4dc3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/2eb6fcb0-8206-496f-9069-33eb239c4d9e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dosageInstruction> - <text value="2mal tägl. 5ml"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="2eb6fcb0-8206-496f-9069-33eb239c4d9e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08585997"/> - </coding> - <text value="Prospan® Hustensaft 100ml N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FLE"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="9fd2c795-de5b-4956-b0fb-397617175d6c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="687777700"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Kinderarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="09411234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Yorckstraße 15"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="15"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Yorckstraße"/> - </extension> - </line> - <line value="Hinterhaus"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Hinterhaus"/> - </extension> - </line> - <city value="Regensburg"/> - <postalCode value="93049"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7560a696-5998-4c01-8c26-bd5d27f4032e"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="456456534"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Maximilian Weber"/> - <family value="Weber"/> - <given value="Maximilian"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416/output.json new file mode 100644 index 00000000..ec66765c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "b839bd77-88e1-4bfa-884e-23ec28fefa13", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "e05fdca0-0b84-4684-853b-31919e869cf0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8f7b9d8a-e560-4729-8a12-3ca8826a1877" + }, + "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": "8f7b9d8a-e560-4729-8a12-3ca8826a1877", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "363b3770-5d2b-4eb6-b65f-974e9133d915", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "552f52b6-fe02-41f5-a775-f7f842130011", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0428d416_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416/output.xml new file mode 100644 index 00000000..409582df --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad_0428d416_0428d416/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="b839bd77-88e1-4bfa-884e-23ec28fefa13"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="e05fdca0-0b84-4684-853b-31919e869cf0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8f7b9d8a-e560-4729-8a12-3ca8826a1877"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8f7b9d8a-e560-4729-8a12-3ca8826a1877"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="363b3770-5d2b-4eb6-b65f-974e9133d915"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="552f52b6-fe02-41f5-a775-f7f842130011"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/output.json deleted file mode 100644 index d6cf3074..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/output.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "af52d7ba-2495-4c52-b54f-1bbaa905eb21", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "83c90029-327e-486b-8072-8ee9e6b13183", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/cfa8f9da-b99f-4c78-9f82-2eae327649fe" - }, - "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": "cfa8f9da-b99f-4c78-9f82-2eae327649fe", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c360f34e-1e69-4f6b-b292-39f404874ac8", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "b04b5514-dea8-4e32-8b6b-d683ab0e2ed5", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/output.xml deleted file mode 100644 index b7aec3b2..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416/output.xml +++ /dev/null @@ -1,208 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="af52d7ba-2495-4c52-b54f-1bbaa905eb21"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.002.36"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="83c90029-327e-486b-8072-8ee9e6b13183"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/cfa8f9da-b99f-4c78-9f82-2eae327649fe"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dosageInstruction> - <text value="2mal tägl. 5ml"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="cfa8f9da-b99f-4c78-9f82-2eae327649fe"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08585997"/> - </coding> - <text value="Prospan® Hustensaft 100ml N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FLE"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c360f34e-1e69-4f6b-b292-39f404874ac8"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="687777700"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Kinderarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="09411234567"/> - </telecom> - <address> - <type value="both"/> - <line value="Yorckstraße 15"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="15"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Yorckstraße"/> - </extension> - </line> - <line value="Hinterhaus"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Hinterhaus"/> - </extension> - </line> - <city value="Regensburg"/> - <postalCode value="93049"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="b04b5514-dea8-4e32-8b6b-d683ab0e2ed5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="456456534"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Maximilian Weber"/> - <family value="Weber"/> - <given value="Maximilian"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/input.xml new file mode 100644 index 00000000..71aea3cc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/input.xml @@ -0,0 +1,393 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="0428d416-149e-48a4-977c-394887b3d85c"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/a054c2f3-0123-4d33-a0b3-bedec2f7d1ea"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="a054c2f3-0123-4d33-a0b3-bedec2f7d1ea"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/06dc1594-509a-4f4c-ada7-dfd477a02d86"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/06dc1594-509a-4f4c-ada7-dfd477a02d86"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="06dc1594-509a-4f4c-ada7-dfd477a02d86"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/f568397d-7ba2-46ac-904b-02caec933b42"/> + </medicationReference> + <subject> + <reference value="Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + </requester> + <insurance> + <reference value="Coverage/df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/f568397d-7ba2-46ac-904b-02caec933b42"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f568397d-7ba2-46ac-904b-02caec933b42"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="M310119802"/> + </identifier> + <name> + <use value="official"/> + <family value="Erbprinzessin von und zu der Schimmelpfennig-Hammerschmidt Federmannssohn"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Erbprinzessin"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schimmelpfennig-Hammerschmidt Federmannssohn"/> + </extension> + </family> + <given value="Ingrid"/> + </name> + <birthDate value="2010-01-31"/> + <address> + <type value="both"/> + <line value="Anneliese- und Georg-von-Groscurth-Plaetzchen 149-C"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="149-C"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Anneliese- und Georg-von-Groscurth-Plaetzchen"/> + </extension> + </line> + <line value="5. OG - Hinterhof"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="5. OG - Hinterhof"/> + </extension> + </line> + <city value="Bad Homburg"/> + <postalCode value="60437"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e33d2afd-44c8-462b-80e5-52dbe5ebf359"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <name> + <use value="official"/> + <family value="Weber"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Weber"/> + </extension> + </family> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Kinder- und Jugendmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d2b30a70-9830-4968-ab97-688472b6f9a3"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="df0f2536-97b9-4bae-99cc-83ba2e8371e4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="3"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/512ab5bc-a7ab-4fd7-81cc-16a594f747a6"/> + </beneficiary> + <period> + <end value="2040-04-01"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108416214"/> + </identifier> + <display value="AOK Bayern"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/output.json new file mode 100644 index 00000000..a9c16742 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/output.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Parameters", + "id": "2ce5e064-70f7-45f3-a2e3-297c0f4f4820", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "cb8eb3d9-1ca6-4879-a0c7-2ee7d43428dd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/0fd623a9-0c60-4f0f-baa8-b10ef72a866e" + }, + "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": "0fd623a9-0c60-4f0f-baa8-b10ef72a866e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "b94e1b67-85be-4a3b-8653-dd1b3234a4fc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0785a812-f9d0-4df6-aa34-728fdd0df12e", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_0428d416_0428d416/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/output.xml new file mode 100644 index 00000000..b51989ed --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf_0428d416_0428d416/output.xml @@ -0,0 +1,208 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2ce5e064-70f7-45f3-a2e3-297c0f4f4820"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.002.36"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="cb8eb3d9-1ca6-4879-a0c7-2ee7d43428dd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/0fd623a9-0c60-4f0f-baa8-b10ef72a866e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="2mal tägl. 5ml"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="0fd623a9-0c60-4f0f-baa8-b10ef72a866e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08585997"/> + </coding> + <text value="Prospan® Hustensaft 100ml N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FLE"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="b94e1b67-85be-4a3b-8653-dd1b3234a4fc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="687777700"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Kinderarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="09411234567"/> + </telecom> + <address> + <type value="both"/> + <line value="Yorckstraße 15"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="15"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Yorckstraße"/> + </extension> + </line> + <line value="Hinterhaus"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Hinterhaus"/> + </extension> + </line> + <city value="Regensburg"/> + <postalCode value="93049"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0785a812-f9d0-4df6-aa34-728fdd0df12e"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="456456534"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Maximilian Weber"/> + <family value="Weber"/> + <given value="Maximilian"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/output.json deleted file mode 100644 index 538868af..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "83940573-8238-47d9-9a14-c9820046cfc9", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "711244b1-7ea4-4962-8a4b-286848ea8643", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/91b882a4-2445-4f5d-9b2f-f4cb214bf5ae" - }, - "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": "91b882a4-2445-4f5d-9b2f-f4cb214bf5ae", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0cd9a7c2-f5bb-46e5-a024-ce0d4e9e4e8c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "752aef81-c11b-4fc4-ba8e-af11e2bf117f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/output.xml deleted file mode 100644 index 4964dd9e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="83940573-8238-47d9-9a14-c9820046cfc9"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.014.97"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="711244b1-7ea4-4962-8a4b-286848ea8643"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/91b882a4-2445-4f5d-9b2f-f4cb214bf5ae"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="91b882a4-2445-4f5d-9b2f-f4cb214bf5ae"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08671219"/> - </coding> - <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0cd9a7c2-f5bb-46e5-a024-ce0d4e9e4e8c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="752aef81-c11b-4fc4-ba8e-af11e2bf117f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97/output.json new file mode 100644 index 00000000..981e844b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "f896df53-07b6-4806-b733-4ac60a0e0fa2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9b12ba1d-066e-4dff-a645-f60df7371b7b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7806ae8b-5af1-4c77-99dd-8ca87b25775b" + }, + "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": "7806ae8b-5af1-4c77-99dd-8ca87b25775b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "5099a01a-3b64-4301-8d17-b15a5b0ebb00", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "96b3fdec-dcc7-4445-a114-17c047016bac", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_34abcf97_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97/output.xml new file mode 100644 index 00000000..fbd4ddbf --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db_34abcf97_34abcf97/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f896df53-07b6-4806-b733-4ac60a0e0fa2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9b12ba1d-066e-4dff-a645-f60df7371b7b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7806ae8b-5af1-4c77-99dd-8ca87b25775b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7806ae8b-5af1-4c77-99dd-8ca87b25775b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08671219"/> + </coding> + <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5099a01a-3b64-4301-8d17-b15a5b0ebb00"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="96b3fdec-dcc7-4445-a114-17c047016bac"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.json index 0ba3e213..28824a81 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "4c753086-f390-4a9d-8d0a-0175617cd52f", + "id": "d54f6926-9ec9-4972-86a0-20e40c6c2af1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "e02c4249-216c-4713-b316-7637ed311019", + "id": "521cb92c-efeb-46aa-a31d-07778b146def", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/20c6131e-56ba-4a71-a19c-d89d9a61df94" + "reference": "Medication/4dafa391-1ec5-4ba1-a193-2f85ab22c4f9" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "20c6131e-56ba-4a71-a19c-d89d9a61df94", + "id": "4dafa391-1ec5-4ba1-a193-2f85ab22c4f9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "ce4fbfa8-ffaf-435b-a6be-7218ddf60bbc", + "id": "7158e3d6-c5d9-4bab-8089-24b247fa2436", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -159,7 +159,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "49030652-7805-41ea-bc1d-158e37044eae", + "id": "56d4610d-c674-47ba-a366-9728b750ed11", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.xml index a352037d..3fb8e7dc 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="4c753086-f390-4a9d-8d0a-0175617cd52f"/> + <id value="d54f6926-9ec9-4972-86a0-20e40c6c2af1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="e02c4249-216c-4713-b316-7637ed311019"/> + <id value="521cb92c-efeb-46aa-a31d-07778b146def"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/20c6131e-56ba-4a71-a19c-d89d9a61df94"/> + <reference value="Medication/4dafa391-1ec5-4ba1-a193-2f85ab22c4f9"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="20c6131e-56ba-4a71-a19c-d89d9a61df94"/> + <id value="4dafa391-1ec5-4ba1-a193-2f85ab22c4f9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="ce4fbfa8-ffaf-435b-a6be-7218ddf60bbc"/> + <id value="7158e3d6-c5d9-4bab-8089-24b247fa2436"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -163,7 +163,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="49030652-7805-41ea-bc1d-158e37044eae"/> + <id value="56d4610d-c674-47ba-a366-9728b750ed11"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/input.xml new file mode 100644 index 00000000..7a7c53c8 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/input.xml @@ -0,0 +1,388 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="34abcf97-6693-422e-b6f0-0ba9b232843e"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/2300d28c-c5db-45ce-bcb6-1d3bc126f846"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="2300d28c-c5db-45ce-bcb6-1d3bc126f846"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/f3de8250-06d8-492a-8f53-978d97a21836"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/f3de8250-06d8-492a-8f53-978d97a21836"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f3de8250-06d8-492a-8f53-978d97a21836"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/89d7fd61-1f81-4ee5-aab1-d6428e0c6e79"/> + </medicationReference> + <subject> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/89d7fd61-1f81-4ee5-aab1-d6428e0c6e79"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="89d7fd61-1f81-4ee5-aab1-d6428e0c6e79"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08671219"/> + </coding> + <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="H030170228"/> + </identifier> + <name> + <use value="official"/> + <family value="Grossherzog von und zu der Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Grossherzog"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von und zu der"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumbërg-von-und-zu-Schaumburg-und-Radëberg"/> + </extension> + </family> + <given value="Friëdrich-Wilhelm-Karl-Gustav-Justus-Gotfried"/> + <prefix value="Prof. habil. Dr. med"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1951-07-12"/> + <address> + <type value="postal"/> + <line value="124589"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> + <valueString value="124589"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="12489"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="e51239e1-ba74-48e0-97fb-9754d2b05c60"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="72"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/1d36152b-40c6-4aeb-a552-86a4d3277edc"/> + </beneficiary> + <period> + <end value="2034-12-31"/> + </period> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="108035612"/> + </identifier> + <display value="mhplus Betriebskrankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/output.json new file mode 100644 index 00000000..2a3b97b0 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "edd866af-73d8-4116-978e-474aabfe71d7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f76c8dbb-887f-412b-967a-406d112c4057", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c8e6cc6b-8395-4661-82fc-5b9c57ec5596" + }, + "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": "c8e6cc6b-8395-4661-82fc-5b9c57ec5596", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d97e2b00-0158-4ca8-ba89-01d85a7910fd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "0a42a3c3-8c02-451b-9160-d31397cd7ec1", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_34abcf97_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/output.xml new file mode 100644 index 00000000..3e74781b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_34abcf97_34abcf97/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="edd866af-73d8-4116-978e-474aabfe71d7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f76c8dbb-887f-412b-967a-406d112c4057"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c8e6cc6b-8395-4661-82fc-5b9c57ec5596"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c8e6cc6b-8395-4661-82fc-5b9c57ec5596"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08671219"/> + </coding> + <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d97e2b00-0158-4ca8-ba89-01d85a7910fd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0a42a3c3-8c02-451b-9160-d31397cd7ec1"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/output.json deleted file mode 100644 index a2f239d5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/output.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "1db4bbc4-09c2-4868-b5b6-beb3a2c78517", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "58384054-b1b9-4aa6-911e-b72989c80a24", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/3c544312-302c-47cf-9866-d22570e5de57" - }, - "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": "3c544312-302c-47cf-9866-d22570e5de57", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "82cff128-f32d-47b5-a04a-b42fff04fda3", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "f3e631a1-663d-418c-930b-042b669b151c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/output.xml deleted file mode 100644 index a0feca5f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/output.xml +++ /dev/null @@ -1,204 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="1db4bbc4-09c2-4868-b5b6-beb3a2c78517"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.014.97"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="58384054-b1b9-4aa6-911e-b72989c80a24"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/3c544312-302c-47cf-9866-d22570e5de57"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="3c544312-302c-47cf-9866-d22570e5de57"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08671219"/> - </coding> - <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="82cff128-f32d-47b5-a04a-b42fff04fda3"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="f3e631a1-663d-418c-930b-042b669b151c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97/output.json new file mode 100644 index 00000000..4286d05c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97/output.json @@ -0,0 +1,198 @@ +{ + "resourceType": "Parameters", + "id": "c112c756-1fba-4887-9a4e-3a975abc19ff", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "296a7a22-225f-4723-afaf-48c1d640233c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7674b0e8-33bf-44af-a77c-fe8b633d65d8" + }, + "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": "7674b0e8-33bf-44af-a77c-fe8b633d65d8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c4037254-8989-4f2c-aa0e-a7b3e40d9f47", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "a4420606-6039-49c2-8722-3aee78a3b63a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_34abcf97_34abcf97/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97/output.xml new file mode 100644 index 00000000..4d37a746 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1_34abcf97_34abcf97/output.xml @@ -0,0 +1,204 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c112c756-1fba-4887-9a4e-3a975abc19ff"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.014.97"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="296a7a22-225f-4723-afaf-48c1d640233c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7674b0e8-33bf-44af-a77c-fe8b633d65d8"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7674b0e8-33bf-44af-a77c-fe8b633d65d8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08671219"/> + </coding> + <text value="Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c4037254-8989-4f2c-aa0e-a7b3e40d9f47"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="a4420606-6039-49c2-8722-3aee78a3b63a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.json index 2bcd887c..05daca93 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "02e11d75-678c-4041-9d58-abae659f216a", + "id": "8dac0597-7c91-4967-907a-c79eb8b63eeb", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "8268f49e-1cf8-4454-9fb4-2b1ecaa68cf2", + "id": "0718fc7c-8490-418c-9ff2-5d61d056b5c0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/6f629fbb-335f-495d-9767-720bc1010722" + "reference": "Medication/8a56c005-d6db-4942-8c49-0e59b83b234b" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "6f629fbb-335f-495d-9767-720bc1010722", + "id": "8a56c005-d6db-4942-8c49-0e59b83b234b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "3f15afaa-1f1b-4740-ba45-4c259c4d68e0", + "id": "8732cb95-b198-4307-9e73-61bced36efad", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -171,7 +171,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "27e082d3-b17d-4ee5-8d5b-768530f1b780", + "id": "fb81d87d-5f37-4be1-b048-7fa420d14a9c", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.xml index b96299e0..dc5c4540 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="02e11d75-678c-4041-9d58-abae659f216a"/> + <id value="8dac0597-7c91-4967-907a-c79eb8b63eeb"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="8268f49e-1cf8-4454-9fb4-2b1ecaa68cf2"/> + <id value="0718fc7c-8490-418c-9ff2-5d61d056b5c0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/6f629fbb-335f-495d-9767-720bc1010722"/> + <reference value="Medication/8a56c005-d6db-4942-8c49-0e59b83b234b"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="6f629fbb-335f-495d-9767-720bc1010722"/> + <id value="8a56c005-d6db-4942-8c49-0e59b83b234b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -110,7 +110,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="3f15afaa-1f1b-4740-ba45-4c259c4d68e0"/> + <id value="8732cb95-b198-4307-9e73-61bced36efad"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -174,7 +174,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="27e082d3-b17d-4ee5-8d5b-768530f1b780"/> + <id value="fb81d87d-5f37-4be1-b048-7fa420d14a9c"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7/output.json new file mode 100644 index 00000000..3d96e32d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "e995ebe2-1356-4fbc-8e2c-50bf4047cd5f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "9246cf76-3863-4e51-b8ce-8ecefb20f415", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/95aeaaa5-644a-4293-9f16-0049c1d9bb6c" + }, + "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": "95aeaaa5-644a-4293-9f16-0049c1d9bb6c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "711da888-e205-44c7-9090-f783175e8361", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "ab17d51b-7d47-430d-904b-0bdfdcb39626", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_14f3cff7_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7/output.xml new file mode 100644 index 00000000..1a218c9a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_14f3cff7_14f3cff7/output.xml @@ -0,0 +1,220 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="e995ebe2-1356-4fbc-8e2c-50bf4047cd5f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9246cf76-3863-4e51-b8ce-8ecefb20f415"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/95aeaaa5-644a-4293-9f16-0049c1d9bb6c"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="95aeaaa5-644a-4293-9f16-0049c1d9bb6c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="711da888-e205-44c7-9090-f783175e8361"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="ab17d51b-7d47-430d-904b-0bdfdcb39626"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Mia Meyer"/> + <family value="Meyer"/> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/output.json deleted file mode 100644 index c62cb766..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/output.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "86dae539-6890-4402-86a1-9840abff028b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "92f1718a-f8e2-42aa-b356-bcb97473d0c0", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/b34991e2-a279-4984-a61c-c4b692210788" - }, - "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": "b34991e2-a279-4984-a61c-c4b692210788", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f5aed0a9-0a98-4c92-aeca-3884656eb853", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "17b5fd7e-5b94-4cfd-ac25-ba943464fb8a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/output.xml deleted file mode 100644 index 4b41af6f..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/output.xml +++ /dev/null @@ -1,220 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="86dae539-6890-4402-86a1-9840abff028b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.011.09"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="92f1718a-f8e2-42aa-b356-bcb97473d0c0"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/b34991e2-a279-4984-a61c-c4b692210788"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b34991e2-a279-4984-a61c-c4b692210788"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="04773414"/> - </coding> - <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f5aed0a9-0a98-4c92-aeca-3884656eb853"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="757299999"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Krankenhaus"/> - <telecom> - <system value="phone"/> - <value value="0309876543"/> - </telecom> - <telecom> - <system value="email"/> - <value value="krankenhaus@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Wegelystraße 3"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="3"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Wegelystraße"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="17b5fd7e-5b94-4cfd-ac25-ba943464fb8a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="159753527"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Mia Meyer"/> - <family value="Meyer"/> - <given value="Mia"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7/output.json new file mode 100644 index 00000000..cfadfea3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "25614b8a-df7b-4ddd-a94e-5dfaa0694e2a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "3695b47e-fb35-490a-80fa-1ab9f6e12c60", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/a97ba684-241d-4a42-8235-279e2ece7c71" + }, + "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": "a97ba684-241d-4a42-8235-279e2ece7c71", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "e0f5df29-77ed-4f9b-9917-801b3af3a291", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e71414c8-aafa-4eb6-a6e7-6e387afae439", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_14f3cff7_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7/output.xml new file mode 100644 index 00000000..bd1c3c5b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c_14f3cff7_14f3cff7/output.xml @@ -0,0 +1,220 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="25614b8a-df7b-4ddd-a94e-5dfaa0694e2a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="3695b47e-fb35-490a-80fa-1ab9f6e12c60"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/a97ba684-241d-4a42-8235-279e2ece7c71"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="a97ba684-241d-4a42-8235-279e2ece7c71"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="e0f5df29-77ed-4f9b-9917-801b3af3a291"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e71414c8-aafa-4eb6-a6e7-6e387afae439"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Mia Meyer"/> + <family value="Meyer"/> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/output.json deleted file mode 100644 index 8fa02b7c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/output.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "d69b12cb-ecf0-432d-8707-67e833483986", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "52dc1abd-b593-4143-86a2-17ce10b7f752", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/091c1d00-e2b2-4f07-90e3-a69e373e2cbd" - }, - "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": "091c1d00-e2b2-4f07-90e3-a69e373e2cbd", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "d4b4c164-f80a-4fbb-b80c-fec94d9f2074", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "52388b28-6464-4294-ae73-8e0f6a41413f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/output.xml deleted file mode 100644 index 0403854c..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7/output.xml +++ /dev/null @@ -1,220 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="d69b12cb-ecf0-432d-8707-67e833483986"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.011.09"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="52dc1abd-b593-4143-86a2-17ce10b7f752"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/091c1d00-e2b2-4f07-90e3-a69e373e2cbd"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dosageInstruction> - <text value="1-0-0-0"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="091c1d00-e2b2-4f07-90e3-a69e373e2cbd"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="04773414"/> - </coding> - <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="10"/> - </extension> - <unit value="Tabletten"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d4b4c164-f80a-4fbb-b80c-fec94d9f2074"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="757299999"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Krankenhaus"/> - <telecom> - <system value="phone"/> - <value value="0309876543"/> - </telecom> - <telecom> - <system value="email"/> - <value value="krankenhaus@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Wegelystraße 3"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="3"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Wegelystraße"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="52388b28-6464-4294-ae73-8e0f6a41413f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="159753527"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Mia Meyer"/> - <family value="Meyer"/> - <given value="Mia"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/input.xml new file mode 100644 index 00000000..1cb6adf7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="14f3cff7-f921-429e-98ca-c65dcb367ba9"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/8068fd3c-6eed-4b58-9840-c0661e48b6a9"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="8068fd3c-6eed-4b58-9840-c0661e48b6a9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="04"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/fe73acaf-c683-460d-9961-3ae6f87068f2"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/fe73acaf-c683-460d-9961-3ae6f87068f2"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="fe73acaf-c683-460d-9961-3ae6f87068f2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/c1e7027e-3c5b-4e87-a10a-572676b92e22"/> + </medicationReference> + <subject> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + </requester> + <insurance> + <reference value="Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/c1e7027e-3c5b-4e87-a10a-572676b92e22"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c1e7027e-3c5b-4e87-a10a-572676b92e22"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="c9e9eeb8-e397-4d62-a977-656a18027f90"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="P223331978"/> + </identifier> + <name> + <use value="official"/> + <family value="Pan"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Pan"/> + </extension> + </family> + <given value="Peter"/> + </name> + <birthDate value="1972"/> + <address> + <type value="both"/> + <line value="Siebengebirgsstraße 59"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="59"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siebengebirgsstraße"/> + </extension> + </line> + <line value="33. Obergeschoss - Hinterhof, halbrechts"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="33. Obergeschoss - Hinterhof, halbrechts"/> + </extension> + </line> + <city value="Königswinter"/> + <postalCode value="53639"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d8ac97db-249d-4f14-8c9b-861f8b93ca76"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <name> + <use value="official"/> + <family value="Meyer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Meyer"/> + </extension> + </family> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin der Onkologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="d55c6c01-057b-483d-a1eb-2bd1e182551f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="914e46d1-95a2-44c7-b900-5ca4ee80b8d5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/c9e9eeb8-e397-4d62-a977-656a18027f90"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="101377508"/> + </identifier> + <display value="Techniker-Krankenkasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/output.json new file mode 100644 index 00000000..8317f05c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "3b50165d-7a7a-45ca-a2fe-7f98ff012add", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "b09668cf-88a9-4206-b3b1-4a07c1eaea1b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/065655c3-32c4-434b-b79a-7cdd864d61fd" + }, + "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": "065655c3-32c4-434b-b79a-7cdd864d61fd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c2d16ada-0191-4adf-8a86-78d5566a125f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "288545df-4069-44f6-a3da-0587ad38aa30", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_14f3cff7_14f3cff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/output.xml new file mode 100644 index 00000000..ccaa3833 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1_14f3cff7_14f3cff7/output.xml @@ -0,0 +1,220 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="3b50165d-7a7a-45ca-a2fe-7f98ff012add"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.011.09"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="b09668cf-88a9-4206-b3b1-4a07c1eaea1b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/065655c3-32c4-434b-b79a-7cdd864d61fd"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="1-0-0-0"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="065655c3-32c4-434b-b79a-7cdd864d61fd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="04773414"/> + </coding> + <text value="Doxycyclin AL 200 T, 10 Tabletten N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="10"/> + </extension> + <unit value="Tabletten"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c2d16ada-0191-4adf-8a86-78d5566a125f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="757299999"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Krankenhaus"/> + <telecom> + <system value="phone"/> + <value value="0309876543"/> + </telecom> + <telecom> + <system value="email"/> + <value value="krankenhaus@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Wegelystraße 3"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="3"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Wegelystraße"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="288545df-4069-44f6-a3da-0587ad38aa30"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="159753527"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Mia Meyer"/> + <family value="Meyer"/> + <given value="Mia"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/output.json deleted file mode 100644 index 3fcfbd99..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/output.json +++ /dev/null @@ -1,213 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "9674e6df-076f-4fbb-ae1d-b7ca23a53a7c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "661b48f3-4719-4c95-8e49-60ed6c0fe91c", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/c74a17ef-268e-46b7-97a4-b0daf0f34546" - }, - "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": "c74a17ef-268e-46b7-97a4-b0daf0f34546", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "52423478-284e-4634-bef3-a40192199082", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "7ed47ae8-4e4e-4c66-96e5-16567404894a", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/output.xml deleted file mode 100644 index fa206a39..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/output.xml +++ /dev/null @@ -1,219 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9674e6df-076f-4fbb-ae1d-b7ca23a53a7c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.004.30"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="661b48f3-4719-4c95-8e49-60ed6c0fe91c"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/c74a17ef-268e-46b7-97a4-b0daf0f34546"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <note> - <text value="Bitte auf Anwendung schulen"/> - </note> - <dispenseRequest> - <quantity> - <value value="2"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c74a17ef-268e-46b7-97a4-b0daf0f34546"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00427833"/> - </coding> - <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="IHP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Diskus"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="52423478-284e-4634-bef3-a40192199082"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7ed47ae8-4e4e-4c66-96e5-16567404894a"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="895268385"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Alexander Fischer"/> - <family value="Fischer"/> - <given value="Alexander"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f/output.json new file mode 100644 index 00000000..76bf2b0a --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f/output.json @@ -0,0 +1,213 @@ +{ + "resourceType": "Parameters", + "id": "982498cd-c9a7-4d44-bfd7-a8fec95d0121", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "f1c611f8-8008-4f3c-8ebc-de0d434a77c8", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/53e9dd63-058e-4462-94a1-d74a72569ec9" + }, + "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": "53e9dd63-058e-4462-94a1-d74a72569ec9", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0424acf2-c0ff-45f4-918a-6bcfb643a36a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "cd1d4c0b-40f4-4537-9eda-41bfc17c36ec", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9ad99a8f_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f/output.xml new file mode 100644 index 00000000..231cbdec --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b_9ad99a8f_9ad99a8f/output.xml @@ -0,0 +1,219 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="982498cd-c9a7-4d44-bfd7-a8fec95d0121"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="f1c611f8-8008-4f3c-8ebc-de0d434a77c8"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/53e9dd63-058e-4462-94a1-d74a72569ec9"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="53e9dd63-058e-4462-94a1-d74a72569ec9"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="0424acf2-c0ff-45f4-918a-6bcfb643a36a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cd1d4c0b-40f4-4537-9eda-41bfc17c36ec"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="895268385"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Alexander Fischer"/> + <family value="Fischer"/> + <given value="Alexander"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.json index 6d96fb3f..546dd959 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c71089b4-13b8-47f7-8537-a96f9551e446", + "id": "599c36d1-a06a-48c5-825f-406a0a183926", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "cbf1a2d7-6890-4b24-842e-b63677e5009b", + "id": "ffc8f7e1-3508-49c2-b323-c02eaa7c8449", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/60a03f28-4e10-4a50-88a6-65082bdc53ad" + "reference": "Medication/6fc76794-2107-4527-8cec-18b7669289c1" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "60a03f28-4e10-4a50-88a6-65082bdc53ad", + "id": "6fc76794-2107-4527-8cec-18b7669289c1", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "d8c438f6-a852-4fd8-9a08-3e8a7f13193e", + "id": "902d1681-666a-4c09-9fca-45607081b566", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -174,7 +174,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "1d9ddcd0-e656-4dff-a166-91b7bbbce591", + "id": "b00f78d8-16ca-4619-8303-26b5da96b559", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.xml index 8c5c5881..7d38af76 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c71089b4-13b8-47f7-8537-a96f9551e446"/> + <id value="599c36d1-a06a-48c5-825f-406a0a183926"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="cbf1a2d7-6890-4b24-842e-b63677e5009b"/> + <id value="ffc8f7e1-3508-49c2-b323-c02eaa7c8449"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/60a03f28-4e10-4a50-88a6-65082bdc53ad"/> + <reference value="Medication/6fc76794-2107-4527-8cec-18b7669289c1"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="60a03f28-4e10-4a50-88a6-65082bdc53ad"/> + <id value="6fc76794-2107-4527-8cec-18b7669289c1"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -110,7 +110,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="d8c438f6-a852-4fd8-9a08-3e8a7f13193e"/> + <id value="902d1681-666a-4c09-9fca-45607081b566"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -178,7 +178,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1d9ddcd0-e656-4dff-a166-91b7bbbce591"/> + <id value="b00f78d8-16ca-4619-8303-26b5da96b559"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f/output.json new file mode 100644 index 00000000..7a1c4efc --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f/output.json @@ -0,0 +1,213 @@ +{ + "resourceType": "Parameters", + "id": "7c5bc31e-f233-45f2-bbed-c88284c6b592", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "336a375a-290a-426d-839b-9cad948f196f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/f0d0d134-8c1f-47a6-8138-18b6e844d8c7" + }, + "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": "f0d0d134-8c1f-47a6-8138-18b6e844d8c7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c72e9e67-b6fe-4717-a10c-4b83a4146587", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "bf7c67a9-2c86-4931-bee4-60630befdf07", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9ad99a8f_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f/output.xml new file mode 100644 index 00000000..f0b8bf91 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_9ad99a8f_9ad99a8f/output.xml @@ -0,0 +1,219 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7c5bc31e-f233-45f2-bbed-c88284c6b592"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="336a375a-290a-426d-839b-9cad948f196f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/f0d0d134-8c1f-47a6-8138-18b6e844d8c7"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="f0d0d134-8c1f-47a6-8138-18b6e844d8c7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c72e9e67-b6fe-4717-a10c-4b83a4146587"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bf7c67a9-2c86-4931-bee4-60630befdf07"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="895268385"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Alexander Fischer"/> + <family value="Fischer"/> + <given value="Alexander"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/output.json deleted file mode 100644 index 0178f0c5..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/output.json +++ /dev/null @@ -1,213 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "9d8597fe-d4a7-47c9-8c9d-d045374d31e8", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "a8d23ca2-404a-4789-b468-fc9cc45c3e85", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/29f61c2f-95c2-4b1c-aa55-0ebadf0ec856" - }, - "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": "29f61c2f-95c2-4b1c-aa55-0ebadf0ec856", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "0ca1f2e1-9143-40fd-a865-66dd66488d19", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "866c2882-1975-4305-9ec7-4bde7a97b65f", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/output.xml deleted file mode 100644 index 4f3b059a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f/output.xml +++ /dev/null @@ -1,219 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="9d8597fe-d4a7-47c9-8c9d-d045374d31e8"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.004.30"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="a8d23ca2-404a-4789-b468-fc9cc45c3e85"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/29f61c2f-95c2-4b1c-aa55-0ebadf0ec856"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <note> - <text value="Bitte auf Anwendung schulen"/> - </note> - <dispenseRequest> - <quantity> - <value value="2"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="29f61c2f-95c2-4b1c-aa55-0ebadf0ec856"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N1"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="00427833"/> - </coding> - <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="IHP"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Diskus"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="0ca1f2e1-9143-40fd-a865-66dd66488d19"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="866c2882-1975-4305-9ec7-4bde7a97b65f"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="895268385"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Alexander Fischer"/> - <family value="Fischer"/> - <given value="Alexander"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/input.xml new file mode 100644 index 00000000..98e87b22 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/input.xml @@ -0,0 +1,447 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="9ad99a8f-6bce-4ab8-ada1-bb3063566c25"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/70e4e747-a1e6-44cd-b91d-7cc2eef89c0c"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="70e4e747-a1e6-44cd-b91d-7cc2eef89c0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <attester> + <mode value="legal"/> + <party> + <reference value="Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + </party> + </attester> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/877e9689-523e-46ca-aa78-8de34a023583"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/877e9689-523e-46ca-aa78-8de34a023583"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="877e9689-523e-46ca-aa78-8de34a023583"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b7dd5ddb-b5ad-4b04-af11-6d2a354bce0c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="cb7558e2-0fdf-4107-93f6-07f13f39e067"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="895268385"/> + </identifier> + <name> + <use value="official"/> + <family value="Fischer"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Fischer"/> + </extension> + </family> + <given value="Alexander"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="03"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Weiterbildungsassistent"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="667ffd79-42a3-4002-b7ca-6b9098f20ccb"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="987654423"/> + </identifier> + <name> + <use value="official"/> + <family value="Schneider"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schneider"/> + </extension> + </family> + <given value="Emma"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Innere Medizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost - Die Gesundheitskasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/output.json new file mode 100644 index 00000000..fcbffca5 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/output.json @@ -0,0 +1,213 @@ +{ + "resourceType": "Parameters", + "id": "2704e38a-c1cb-448a-bc39-66425d9a3b69", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "60c997ab-20d5-41c1-b236-0ec17188858f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/8c299ae9-7dd1-461f-a990-5335d65333ba" + }, + "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": "8c299ae9-7dd1-461f-a990-5335d65333ba", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "4e0f1e7d-693d-49a3-9c33-9564681a2bee", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "5ff895f2-31c1-4601-8005-312b0339b432", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_9ad99a8f_9ad99a8f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/output.xml new file mode 100644 index 00000000..e83c5d72 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9_9ad99a8f_9ad99a8f/output.xml @@ -0,0 +1,219 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2704e38a-c1cb-448a-bc39-66425d9a3b69"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.004.30"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="60c997ab-20d5-41c1-b236-0ec17188858f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/8c299ae9-7dd1-461f-a990-5335d65333ba"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Bitte auf Anwendung schulen"/> + </note> + <dispenseRequest> + <quantity> + <value value="2"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="8c299ae9-7dd1-461f-a990-5335d65333ba"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N1"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="00427833"/> + </coding> + <text value="Viani 50µg/250µg 1 Diskus 60 ED N1"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="IHP"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Diskus"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4e0f1e7d-693d-49a3-9c33-9564681a2bee"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="5ff895f2-31c1-4601-8005-312b0339b432"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="895268385"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Alexander Fischer"/> + <family value="Fischer"/> + <given value="Alexander"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/output.json deleted file mode 100644 index f7a2ca81..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/output.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "b3a62e57-51be-47ae-888f-b0ad1312ea4b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "73fe4908-1506-4784-8cb9-76410790b355", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/096304e7-fb5d-4a0c-95a7-02a4d4346bb3" - }, - "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": "096304e7-fb5d-4a0c-95a7-02a4d4346bb3", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8738ab45-50c5-41ee-990a-8e6e78171afc", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "a7db0546-726c-496f-bc31-6707cdd457c2", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/output.xml deleted file mode 100644 index 0ee6ae5a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/output.xml +++ /dev/null @@ -1,221 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="b3a62e57-51be-47ae-888f-b0ad1312ea4b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.012.06"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="73fe4908-1506-4784-8cb9-76410790b355"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/096304e7-fb5d-4a0c-95a7-02a4d4346bb3"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="096304e7-fb5d-4a0c-95a7-02a4d4346bb3"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01256262"/> - </coding> - <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="98"/> - </extension> - <unit value="St"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8738ab45-50c5-41ee-990a-8e6e78171afc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a7db0546-726c-496f-bc31-6707cdd457c2"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92/output.json new file mode 100644 index 00000000..2f40996d --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "2f21f7ae-a68e-4304-9c46-4087472425a5", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "6630b05a-dfbf-453d-a414-1c2d7bcf844f", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/037081d5-7c30-449a-be1f-bd0513472b79" + }, + "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": "037081d5-7c30-449a-be1f-bd0513472b79", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "1a50df06-cbc6-4144-836a-cdb3f472abaf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "c50beb1e-c479-42e6-a562-d55c03db7fc9", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ee9d3b92_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92/output.xml new file mode 100644 index 00000000..d61789df --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99_ee9d3b92_ee9d3b92/output.xml @@ -0,0 +1,221 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="2f21f7ae-a68e-4304-9c46-4087472425a5"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="6630b05a-dfbf-453d-a414-1c2d7bcf844f"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/037081d5-7c30-449a-be1f-bd0513472b79"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="037081d5-7c30-449a-be1f-bd0513472b79"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01256262"/> + </coding> + <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="1a50df06-cbc6-4144-836a-cdb3f472abaf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="c50beb1e-c479-42e6-a562-d55c03db7fc9"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/output.json deleted file mode 100644 index 3d2a7386..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/output.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "57b22f96-e4c0-4480-92f8-0b08ef6d969e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "b7f4a24c-c6b5-4ba3-bda2-06d2bf70809f", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/b028290c-d71b-4235-9bda-8997f7da0b96" - }, - "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": "b028290c-d71b-4235-9bda-8997f7da0b96", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "8b8edfc0-98f6-482a-a526-25bb9856fc00", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "618a3366-3ecd-4c1e-a771-0d2aca9eba95", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/output.xml deleted file mode 100644 index b052a01e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/output.xml +++ /dev/null @@ -1,221 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="57b22f96-e4c0-4480-92f8-0b08ef6d969e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.012.06"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b7f4a24c-c6b5-4ba3-bda2-06d2bf70809f"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/b028290c-d71b-4235-9bda-8997f7da0b96"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="b028290c-d71b-4235-9bda-8997f7da0b96"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="01256262"/> - </coding> - <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="FTA"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="98"/> - </extension> - <unit value="St"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="8b8edfc0-98f6-482a-a526-25bb9856fc00"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="721111100"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="MVZ"/> - <telecom> - <system value="phone"/> - <value value="0301234567"/> - </telecom> - <telecom> - <system value="fax"/> - <value value="030123456789"/> - </telecom> - <telecom> - <system value="email"/> - <value value="mvz@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="618a3366-3ecd-4c1e-a771-0d2aca9eba95"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="123456628"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. med. Paul Freiherr von Müller"/> - <family value="Freiherr von Müller"/> - <given value="Paul"/> - <prefix value="Dr. med."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92/output.json new file mode 100644 index 00000000..e14b8bb3 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "9fd51025-010e-4327-9b8e-408c54f5a2de", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2bd8562e-f21d-4352-8da2-1c87c07c94bf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/057774ab-c90a-4784-801b-9b89aa3b637a" + }, + "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": "057774ab-c90a-4784-801b-9b89aa3b637a", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "7b421005-bc10-47bd-b36d-892270491388", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "e30db13b-89ed-4dc9-a576-bb9e462ee794", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ee9d3b92_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92/output.xml new file mode 100644 index 00000000..4517ebad --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e_ee9d3b92_ee9d3b92/output.xml @@ -0,0 +1,221 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="9fd51025-010e-4327-9b8e-408c54f5a2de"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2bd8562e-f21d-4352-8da2-1c87c07c94bf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/057774ab-c90a-4784-801b-9b89aa3b637a"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="057774ab-c90a-4784-801b-9b89aa3b637a"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01256262"/> + </coding> + <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7b421005-bc10-47bd-b36d-892270491388"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="e30db13b-89ed-4dc9-a576-bb9e462ee794"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.json index 9c3b64ea..d204a199 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "dba5693c-f2c6-438a-96a0-6bbdcf58171c", + "id": "ed181d6c-6789-44f1-9cf0-38692ed6153a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "03715321-93d9-43ca-b15c-a00f36cc48e6", + "id": "f9b657bc-45ef-444e-8e27-3ebcdb8bda68", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/5d338636-8369-4bd4-b10b-1908817b3b09" + "reference": "Medication/8c7a43ac-073b-40ae-a770-e3bdb827ab09" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "5d338636-8369-4bd4-b10b-1908817b3b09", + "id": "8c7a43ac-073b-40ae-a770-e3bdb827ab09", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "17f2e94d-e8c0-4b86-82ca-0bafc04d312d", + "id": "d9456ff8-8cd7-4c13-a851-76bb28dfa5bb", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -171,7 +171,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "9f349d84-7814-4990-8457-5ac77b448c1f", + "id": "d0008eeb-67c7-4b8a-9255-7fc2f10e488e", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.xml index 11bd1691..f45559f8 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="dba5693c-f2c6-438a-96a0-6bbdcf58171c"/> + <id value="ed181d6c-6789-44f1-9cf0-38692ed6153a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="03715321-93d9-43ca-b15c-a00f36cc48e6"/> + <id value="f9b657bc-45ef-444e-8e27-3ebcdb8bda68"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/5d338636-8369-4bd4-b10b-1908817b3b09"/> + <reference value="Medication/8c7a43ac-073b-40ae-a770-e3bdb827ab09"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="5d338636-8369-4bd4-b10b-1908817b3b09"/> + <id value="8c7a43ac-073b-40ae-a770-e3bdb827ab09"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -107,7 +107,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="17f2e94d-e8c0-4b86-82ca-0bafc04d312d"/> + <id value="d9456ff8-8cd7-4c13-a851-76bb28dfa5bb"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -175,7 +175,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="9f349d84-7814-4990-8457-5ac77b448c1f"/> + <id value="d0008eeb-67c7-4b8a-9255-7fc2f10e488e"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/input.xml new file mode 100644 index 00000000..ed0f8757 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/input.xml @@ -0,0 +1,397 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ee9d3b92-7667-4dfe-8331-f768b2eaca3c"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/ccb7da6a-dcd7-45d1-926f-061c25222ddd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="ccb7da6a-dcd7-45d1-926f-061c25222ddd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="10"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/07aca829-ef92-42a5-9163-778f2b06a82e"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/07aca829-ef92-42a5-9163-778f2b06a82e"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="07aca829-ef92-42a5-9163-778f2b06a82e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/cc81b7f8-c01d-446b-996b-2302abac9aa4"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="false"/> + </extension> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/cc81b7f8-c01d-446b-996b-2302abac9aa4"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="cc81b7f8-c01d-446b-996b-2302abac9aa4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01256262"/> + </coding> + <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="98"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="bc329f24-3d65-4286-bf06-b54dd6cad655"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <name> + <use value="official"/> + <family value="Freiherr von Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="Freiherr"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller"/> + </extension> + </family> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Innere Medizin mit dem Schwerpunkt Kardiologie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="5d3f4ac0-2b44-4d48-b363-e63efa72973b"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost - Die Gesundheitskasse"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/output.json new file mode 100644 index 00000000..3af4b28b --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/output.json @@ -0,0 +1,217 @@ +{ + "resourceType": "Parameters", + "id": "7ca5aa10-864a-4715-9878-75af176ff298", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "619a21f7-3049-48d0-83dd-6be36f453643", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/b21b73b3-1e6e-4698-9b9e-170c77260404" + }, + "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": "b21b73b3-1e6e-4698-9b9e-170c77260404", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "dd3dea13-2a20-4764-afba-b7aa5e99adc8", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "6b4954b6-086b-4845-b763-f1efbd1dbef7", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_ee9d3b92_ee9d3b92/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/output.xml new file mode 100644 index 00000000..82ff5245 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_ee9d3b92_ee9d3b92/output.xml @@ -0,0 +1,221 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="7ca5aa10-864a-4715-9878-75af176ff298"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.012.06"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="619a21f7-3049-48d0-83dd-6be36f453643"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/b21b73b3-1e6e-4698-9b9e-170c77260404"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="b21b73b3-1e6e-4698-9b9e-170c77260404"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="01256262"/> + </coding> + <text value="Losartan STADA® 100mg 98 Filmtbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="FTA"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="98"/> + </extension> + <unit value="St"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="dd3dea13-2a20-4764-afba-b7aa5e99adc8"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="721111100"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="MVZ"/> + <telecom> + <system value="phone"/> + <value value="0301234567"/> + </telecom> + <telecom> + <system value="fax"/> + <value value="030123456789"/> + </telecom> + <telecom> + <system value="email"/> + <value value="mvz@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="6b4954b6-086b-4845-b763-f1efbd1dbef7"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="123456628"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. med. Paul Freiherr von Müller"/> + <family value="Freiherr von Müller"/> + <given value="Paul"/> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.json index 291e554d..0d28910f 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "fca3c35e-4f6b-4d3a-9101-143623c2efc7", + "id": "94417851-1ecb-42ac-9cc8-7e6d1934f49c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "b9021987-c6ac-4ec8-82ab-8a80a20a2796", + "id": "30125e09-78dd-48ba-a0e5-14048877892e", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/fe7dcaae-ce1c-4002-bca4-49e3165bc816" + "reference": "Medication/10a1b08b-76d6-4ed8-ab45-13b6ab891c91" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "fe7dcaae-ce1c-4002-bca4-49e3165bc816", + "id": "10a1b08b-76d6-4ed8-ab45-13b6ab891c91", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -106,7 +106,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "dadbeff9-d187-4588-bb7c-3b345f6ef7bd", + "id": "6a1e2b95-f28e-4789-851c-d27440510a31", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -173,7 +173,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "1ae6ab0e-7713-4b83-86c5-e8741c6f2c74", + "id": "f13af9e0-dbeb-4fda-a5fc-1df697055e20", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.xml index c68d47c6..e0db20f2 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="fca3c35e-4f6b-4d3a-9101-143623c2efc7"/> + <id value="94417851-1ecb-42ac-9cc8-7e6d1934f49c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="b9021987-c6ac-4ec8-82ab-8a80a20a2796"/> + <id value="30125e09-78dd-48ba-a0e5-14048877892e"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/fe7dcaae-ce1c-4002-bca4-49e3165bc816"/> + <reference value="Medication/10a1b08b-76d6-4ed8-ab45-13b6ab891c91"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="fe7dcaae-ce1c-4002-bca4-49e3165bc816"/> + <id value="10a1b08b-76d6-4ed8-ab45-13b6ab891c91"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -107,7 +107,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="dadbeff9-d187-4588-bb7c-3b345f6ef7bd"/> + <id value="6a1e2b95-f28e-4789-851c-d27440510a31"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -176,7 +176,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="1ae6ab0e-7713-4b83-86c5-e8741c6f2c74"/> + <id value="f13af9e0-dbeb-4fda-a5fc-1df697055e20"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0/output.json new file mode 100644 index 00000000..d92987ac --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "0fb92dd5-40b3-4889-a795-e89e9037e501", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "2b21e131-1e33-4905-8a79-2c9e550ba233", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/30ff8f0a-985d-480b-ad1e-e8957a5b344b" + }, + "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": "30ff8f0a-985d-480b-ad1e-e8957a5b344b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "c48f8e8a-3a14-42ed-8054-5b5508324a2b", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "b38ac9c1-f41f-4750-b621-f7dfa7415bdc", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5a3458b0_5a3458b0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0/output.xml new file mode 100644 index 00000000..60a4c1bd --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_5a3458b0_5a3458b0/output.xml @@ -0,0 +1,217 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="0fb92dd5-40b3-4889-a795-e89e9037e501"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="2b21e131-1e33-4905-8a79-2c9e550ba233"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/30ff8f0a-985d-480b-ad1e-e8957a5b344b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="30ff8f0a-985d-480b-ad1e-e8957a5b344b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="c48f8e8a-3a14-42ed-8054-5b5508324a2b"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="b38ac9c1-f41f-4750-b621-f7dfa7415bdc"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/output.json deleted file mode 100644 index 74862c25..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "6cbe6ba1-47c3-4c5c-842b-e246dfa5c036", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "40442d0c-2c2c-4180-8f5c-71a6535c20f5", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/c6ad7cfb-5911-4472-b191-5571758b441a" - }, - "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": "c6ad7cfb-5911-4472-b191-5571758b441a", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "d4a7eeed-8111-4c15-bbc6-b10f4fa3bdfc", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "7faa9dd0-8af1-4891-b41c-618015fb1a67", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_5a3458b0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/output.xml deleted file mode 100644 index 06083972..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/output.xml +++ /dev/null @@ -1,217 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="6cbe6ba1-47c3-4c5c-842b-e246dfa5c036"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.005.27"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="40442d0c-2c2c-4180-8f5c-71a6535c20f5"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/c6ad7cfb-5911-4472-b191-5571758b441a"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <dosageInstruction> - <text value="bis zu 4mal täglich je 20-40 Tropfen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="c6ad7cfb-5911-4472-b191-5571758b441a"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03507952"/> - </coding> - <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TEI"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="d4a7eeed-8111-4c15-bbc6-b10f4fa3bdfc"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="7faa9dd0-8af1-4891-b41c-618015fb1a67"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0/output.json new file mode 100644 index 00000000..a965ab53 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "009c67d5-b7a1-4c7a-9e01-128074881a09", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "eedbc890-2693-4896-8ee8-039d3ef3604c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/6845d9d0-60e2-4a19-8664-0c071c4b11cf" + }, + "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": "6845d9d0-60e2-4a19-8664-0c071c4b11cf", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "56565088-f36d-40ae-8fe7-15921a0092c3", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "094b5b8b-a032-45c9-bcec-b0d2264b13bd", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5a3458b0_5a3458b0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0/output.xml new file mode 100644 index 00000000..8d748790 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3_5a3458b0_5a3458b0/output.xml @@ -0,0 +1,217 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="009c67d5-b7a1-4c7a-9e01-128074881a09"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="eedbc890-2693-4896-8ee8-039d3ef3604c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/6845d9d0-60e2-4a19-8664-0c071c4b11cf"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <dosageInstruction> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="6845d9d0-60e2-4a19-8664-0c071c4b11cf"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="56565088-f36d-40ae-8fe7-15921a0092c3"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="094b5b8b-a032-45c9-bcec-b0d2264b13bd"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/output.json deleted file mode 100644 index 16896197..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "41c7aa0c-243d-4791-9c52-618c9ee8542d", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "0491efae-146c-4bb6-ad47-6ee12861e5bb", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/48c2c9e8-58f9-405d-a35c-c9433a03ea2e" - }, - "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": "48c2c9e8-58f9-405d-a35c-c9433a03ea2e", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/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": "40a0d656-4f04-4873-9ef7-5942b788bc46", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "912b134d-c80a-486f-bca3-87f58110d93d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_5a3458b0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/output.xml deleted file mode 100644 index a1811a4e..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0/output.xml +++ /dev/null @@ -1,217 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="41c7aa0c-243d-4791-9c52-618c9ee8542d"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.005.27"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0491efae-146c-4bb6-ad47-6ee12861e5bb"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/48c2c9e8-58f9-405d-a35c-c9433a03ea2e"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <dosageInstruction> - <text value="bis zu 4mal täglich je 20-40 Tropfen"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="true"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="48c2c9e8-58f9-405d-a35c-c9433a03ea2e"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="03507952"/> - </coding> - <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TEI"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="100"/> - </extension> - <unit value="ml"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="40a0d656-4f04-4873-9ef7-5942b788bc46"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="724444400"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Hausarztpraxis"/> - <telecom> - <system value="phone"/> - <value value="030321654987"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hausarztpraxis@e-mail.de"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <line value="Erdgeschoss"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> - <valueString value="Erdgeschoss"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="912b134d-c80a-486f-bca3-87f58110d93d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="754236701"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Ben Schulz"/> - <family value="Schulz"/> - <given value="Ben"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/input.xml new file mode 100644 index 00000000..ad94fe2c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/input.xml @@ -0,0 +1,428 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="5a3458b0-8364-4682-96e2-b262b2ab16eb"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/72893c05-dd21-4dac-b6aa-025ccff54345"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="72893c05-dd21-4dac-b6aa-025ccff54345"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/9519cacf-7fe2-4193-8c2e-0c2c615436af"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="FOR_PractitionerRole"/> + </coding> + </code> + <entry> + <!-- Referenz auf ASV-Kennzeichen(PractitionerRole) --> + <reference value="PractitionerRole/34329d70-ccb5-43ae-b551-e5368022b226"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/9519cacf-7fe2-4193-8c2e-0c2c615436af"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="9519cacf-7fe2-4193-8c2e-0c2c615436af"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident"> + <extension url="Unfallkennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type"/> + <code value="1"/> + </valueCoding> + </extension> + <extension url="Unfalltag"> + <valueDate value="2024-11-27"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/af2c41be-8e6b-439d-ae65-2851b520a6f5"/> + </medicationReference> + <subject> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </requester> + <insurance> + <reference value="Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + </insurance> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/af2c41be-8e6b-439d-ae65-2851b520a6f5"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="af2c41be-8e6b-439d-ae65-2851b520a6f5"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="93866fdc-3e50-4902-a7e9-891b54737b5e"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + <name> + <use value="official"/> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein"/> + </extension> + </family> + <given value="Ludger"/> + </name> + <birthDate value="1935-06-22"/> + <address> + <type value="both"/> + <line value="Blumenweg"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Blumenweg"/> + </extension> + </line> + <city value="Esens"/> + <postalCode value="26427"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d6f3b55d-3095-4655-96dc-da3bec21271c"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <name> + <use value="official"/> + <family value="Schulz"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schulz"/> + </extension> + </family> + <given value="Ben"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Facharzt für Allgemeinmedizin"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="2a555cd3-0543-483c-88b3-f68647620962"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="1b89236c-ab14-4e92-937e-5af0b59d0cd4"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="05"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="17"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="5"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/93866fdc-3e50-4902-a7e9-891b54737b5e"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="109719018"/> + </identifier> + <display value="AOK Nordost - Die Gesundheitskasse"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/PractitionerRole/34329d70-ccb5-43ae-b551-e5368022b226"/> + <resource> + <PractitionerRole xmlns="http://hl7.org/fhir"> + <id value="34329d70-ccb5-43ae-b551-e5368022b226"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_PractitionerRole|1.1.0"/> + </meta> + <practitioner> + <reference value="Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c"/> + </practitioner> + <organization> + <identifier> + <system value="http://fhir.de/NamingSystem/asv/teamnummer"/> + <value value="003456788"/> + </identifier> + </organization> + </PractitionerRole> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/output.json new file mode 100644 index 00000000..e7e0d9c4 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "ab1c231c-65fc-4211-aa31-6a4b10d71669", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "861fc10c-56c2-4566-b14c-5bebd9a871fd", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/7d9269d8-f9eb-4fee-881a-afb4dab75a8b" + }, + "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": "7d9269d8-f9eb-4fee-881a-afb4dab75a8b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/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": "7cc58303-fab2-4afa-8145-bf546452f2fe", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "929901b8-2e58-495a-98f5-f2235e596c91", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_5a3458b0_5a3458b0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/output.xml new file mode 100644 index 00000000..f5f99c81 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef_5a3458b0_5a3458b0/output.xml @@ -0,0 +1,217 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="ab1c231c-65fc-4211-aa31-6a4b10d71669"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.005.27"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="861fc10c-56c2-4566-b14c-5bebd9a871fd"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/7d9269d8-f9eb-4fee-881a-afb4dab75a8b"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <dosageInstruction> + <text value="bis zu 4mal täglich je 20-40 Tropfen"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="true"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="7d9269d8-f9eb-4fee-881a-afb4dab75a8b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="03507952"/> + </coding> + <text value="Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TEI"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="100"/> + </extension> + <unit value="ml"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="7cc58303-fab2-4afa-8145-bf546452f2fe"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="724444400"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Hausarztpraxis"/> + <telecom> + <system value="phone"/> + <value value="030321654987"/> + </telecom> + <telecom> + <system value="email"/> + <value value="hausarztpraxis@e-mail.de"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <line value="Erdgeschoss"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> + <valueString value="Erdgeschoss"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="929901b8-2e58-495a-98f5-f2235e596c91"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="754236701"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Ben Schulz"/> + <family value="Schulz"/> + <given value="Ben"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/output.json deleted file mode 100644 index 12c566db..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/output.json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "21e6e309-5640-435a-a8c9-fd73ac3bf3fe", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "d53081fb-dfbe-4abb-a34c-cd8845f12293", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/96447ed9-6277-43fb-958b-9e1ea51459b4" - }, - "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": "96447ed9-6277-43fb-958b-9e1ea51459b4", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "f2e6552a-9db8-4808-ba9a-737e23e6823c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "4853ffe6-8884-4689-aaf4-f6596342745c", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/output.xml deleted file mode 100644 index 8261faa3..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/output.xml +++ /dev/null @@ -1,214 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="21e6e309-5640-435a-a8c9-fd73ac3bf3fe"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.21"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2023-07-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="d53081fb-dfbe-4abb-a34c-cd8845f12293"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/96447ed9-6277-43fb-958b-9e1ea51459b4"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2023-07-27"/> - <note> - <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> - </note> - <dosageInstruction> - <text value="1x täglich"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="96447ed9-6277-43fb-958b-9e1ea51459b4"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08850519"/> - </coding> - <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SMT"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="70"/> - </extension> - <unit value="Stück"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="f2e6552a-9db8-4808-ba9a-737e23e6823c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="723333300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Psychiatrie und Psychotherapie"/> - <telecom> - <system value="phone"/> - <value value="030369258147"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4853ffe6-8884-4689-aaf4-f6596342745c"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="582369858"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Emilia Becker"/> - <family value="Becker"/> - <given value="Emilia"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2/output.json new file mode 100644 index 00000000..10e2ae28 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2/output.json @@ -0,0 +1,210 @@ +{ + "resourceType": "Parameters", + "id": "c4c67743-28da-4cc4-a68d-b31060d354f7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5777cd10-5e04-4cec-8be5-44ccea3bbf04", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/954d62b2-e66b-44fd-9bbc-e52b0a6a7c3e" + }, + "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": "954d62b2-e66b-44fd-9bbc-e52b0a6a7c3e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "82e54c69-43b8-4449-81e2-440443d98581", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "86f0c829-1322-46c0-a4e9-049a7de1fea2", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6d5162b2_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2/output.xml new file mode 100644 index 00000000..80e956d1 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed_6d5162b2_6d5162b2/output.xml @@ -0,0 +1,214 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="c4c67743-28da-4cc4-a68d-b31060d354f7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2023-07-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5777cd10-5e04-4cec-8be5-44ccea3bbf04"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/954d62b2-e66b-44fd-9bbc-e52b0a6a7c3e"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2023-07-27"/> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="954d62b2-e66b-44fd-9bbc-e52b0a6a7c3e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="82e54c69-43b8-4449-81e2-440443d98581"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="86f0c829-1322-46c0-a4e9-049a7de1fea2"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.json index 70b0aec5..c066df16 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.json +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "d4432fc7-9dda-4004-ac72-98cdc2a99ff6", + "id": "ff5562f1-8a61-423b-b5a8-1a3e7eaa6587", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "fc133113-61ae-4392-b82a-269e9071181a", + "id": "86920dbe-cde3-4359-99be-ba3880b6dee2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/20c0cf81-21af-458f-8be9-5dffd05d3f43" + "reference": "Medication/4e7f46f4-d804-45a2-a0db-54e4ad203d6f" }, "subject": { "identifier": { @@ -63,7 +63,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "20c0cf81-21af-458f-8be9-5dffd05d3f43", + "id": "4e7f46f4-d804-45a2-a0db-54e4ad203d6f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -112,7 +112,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e32940c7-c9d2-4b6d-82b2-8417af22bfd4", + "id": "5849f39e-ed6f-42e7-aeb0-68fb1dee7ea0", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -171,7 +171,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "d853bb6b-62b6-47fa-b97e-274b06d4f83a", + "id": "20c2d94e-7511-48b2-ae4e-7f5ab605e673", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.xml index 3b249fea..eb8096b2 100644 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.xml +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="d4432fc7-9dda-4004-ac72-98cdc2a99ff6"/> + <id value="ff5562f1-8a61-423b-b5a8-1a3e7eaa6587"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="fc133113-61ae-4392-b82a-269e9071181a"/> + <id value="86920dbe-cde3-4359-99be-ba3880b6dee2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/20c0cf81-21af-458f-8be9-5dffd05d3f43"/> + <reference value="Medication/4e7f46f4-d804-45a2-a0db-54e4ad203d6f"/> </medicationReference> <subject> <identifier> @@ -64,7 +64,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="20c0cf81-21af-458f-8be9-5dffd05d3f43"/> + <id value="4e7f46f4-d804-45a2-a0db-54e4ad203d6f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -113,7 +113,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e32940c7-c9d2-4b6d-82b2-8417af22bfd4"/> + <id value="5849f39e-ed6f-42e7-aeb0-68fb1dee7ea0"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -173,7 +173,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="d853bb6b-62b6-47fa-b97e-274b06d4f83a"/> + <id value="20c2d94e-7511-48b2-ae4e-7f5ab605e673"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2/input.xml similarity index 100% rename from ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/input.xml rename to ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2/input.xml diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2/output.json new file mode 100644 index 00000000..f7d53bd7 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2/output.json @@ -0,0 +1,210 @@ +{ + "resourceType": "Parameters", + "id": "4d0f2773-f1a3-46d6-a7bd-cf444907d72c", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "43a50820-2cef-4e4c-87f7-c732377923e0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/c79a9561-0e84-44d1-a147-4376c6e628ce" + }, + "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": "c79a9561-0e84-44d1-a147-4376c6e628ce", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "6aaf1d84-46c7-4665-8fe5-b3d399db2801", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "d63534b3-1ccb-4e8b-b065-547586ff3adf", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6d5162b2_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2/output.xml new file mode 100644 index 00000000..17df3644 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6d5162b2_6d5162b2/output.xml @@ -0,0 +1,214 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="4d0f2773-f1a3-46d6-a7bd-cf444907d72c"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="43a50820-2cef-4e4c-87f7-c732377923e0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/c79a9561-0e84-44d1-a147-4376c6e628ce"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="c79a9561-0e84-44d1-a147-4376c6e628ce"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="6aaf1d84-46c7-4665-8fe5-b3d399db2801"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="d63534b3-1ccb-4e8b-b065-547586ff3adf"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/output.json deleted file mode 100644 index 49a6d656..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/output.json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "abae0b98-9dd3-4a20-a13c-3e89bdb7993b", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "20f96ddf-f84e-4e25-a732-b9547dde6717", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/f9c5055f-132a-4be1-b049-49493fc599b7" - }, - "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": "f9c5055f-132a-4be1-b049-49493fc599b7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "c64fd2b9-8ca1-4338-ab95-e4656634494d", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "cef71b77-74e1-4a9f-b78d-534aca1a22e5", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/output.xml deleted file mode 100644 index 95df8453..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2/output.xml +++ /dev/null @@ -1,214 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="abae0b98-9dd3-4a20-a13c-3e89bdb7993b"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.100.000.000.007.21"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-11-27"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="20f96ddf-f84e-4e25-a732-b9547dde6717"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/f9c5055f-132a-4be1-b049-49493fc599b7"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-11-27"/> - <note> - <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> - </note> - <dosageInstruction> - <text value="1x täglich"/> - </dosageInstruction> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="f9c5055f-132a-4be1-b049-49493fc599b7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="N3"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="08850519"/> - </coding> - <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="SMT"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="70"/> - </extension> - <unit value="Stück"/> - <system value="http://unitsofmeasure.org"/> - <code value="{tbl}"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="c64fd2b9-8ca1-4338-ab95-e4656634494d"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="723333300"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Praxis für Psychiatrie und Psychotherapie"/> - <telecom> - <system value="phone"/> - <value value="030369258147"/> - </telecom> - <address> - <type value="both"/> - <line value="Herbert-Lewin-Platz 2"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="2"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Herbert-Lewin-Platz"/> - </extension> - </line> - <city value="Berlin"/> - <postalCode value="10623"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="cef71b77-74e1-4a9f-b78d-534aca1a22e5"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="582369858"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Emilia Becker"/> - <family value="Becker"/> - <given value="Emilia"/> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/input.xml new file mode 100644 index 00000000..cac9c04e --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/input.xml @@ -0,0 +1,396 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="6d5162b2-abc9-4c0c-9c46-4deb3b64edd7"/> + <meta> + <lastUpdated value="2024-11-27T08:30:00Z"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </identifier> + <type value="document"/> + <timestamp value="2024-11-27T08:30:00Z"/> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Composition/2edc3279-e54d-43b9-8590-4007f1b20fbd"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="2edc3279-e54d-43b9-8590-4007f1b20fbd"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <date value="2024-11-27T08:00:00Z"/> + <author> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="Y/410/2107/36/999"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <!-- Referenz auf Verordnung (MedicationRequest) --> + <reference value="MedicationRequest/0587787f-3f1b-4578-a412-ce5bae8215b9"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <!-- Referenz auf Krankenkasse/Kostenträger --> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/MedicationRequest/0587787f-3f1b-4578-a412-ce5bae8215b9"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="0587787f-3f1b-4578-a412-ce5bae8215b9"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="0"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/03758a20-5f15-4d10-a0ea-c8a594cea651"/> + </medicationReference> + <subject> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </subject> + <authoredOn value="2024-11-27"/> + <requester> + <reference value="Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + </requester> + <insurance> + <reference value="Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + </insurance> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"> + <valueBoolean value="true"/> + </extension> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Medication/03758a20-5f15-4d10-a0ea-c8a594cea651"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="03758a20-5f15-4d10-a0ea-c8a594cea651"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="S040464113"/> + </identifier> + <name> + <use value="official"/> + <family value="Graf Freiherr von Schaumberg"> + <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> + <valueString value="Graf Freiherr"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> + <valueString value="von"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Schaumberg"/> + </extension> + </family> + <given value="Karl-Friederich"/> + <prefix value="Prof. Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <birthDate value="1964-04-04"/> + <address> + <type value="both"/> + <line value="Siegburger Str. 155"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="155"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Siegburger Str."/> + </extension> + </line> + <city value="Köln"/> + <postalCode value="51105"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Practitioner/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="0c4e1a54-8a42-4d3d-a12c-0bbf2db48570"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <name> + <use value="official"/> + <family value="Becker"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Becker"/> + </extension> + </family> + <given value="Emilia"/> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Fachärztin für Psychiatrie und Psychotherapie"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Organization/4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="4ad4ae52-bd62-4cbd-bae9-7f7d6ece3fd2"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis.local/fhir/Coverage/69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="69b3bbb6-2d37-4676-baf1-af97ba2ba4ad"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/fc0d145b-09b4-4af6-b477-935c1862ac7f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104212059"/> + </identifier> + <display value="AOK Rheinland/Hamburg"/> + </payor> + </Coverage> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/output.json new file mode 100644 index 00000000..6352fa77 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/output.json @@ -0,0 +1,210 @@ +{ + "resourceType": "Parameters", + "id": "138cb6c9-edfb-4762-b616-4e4c02a609e7", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "485337d7-0835-43dd-8ceb-84a910d5dc2b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/52133e37-7377-4f8a-afe5-5a65e4df6b17" + }, + "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": "52133e37-7377-4f8a-afe5-5a65e4df6b17", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "82379fdc-1a31-466e-ad89-28aca6c8d552", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "38fd463a-e2b3-4211-b277-67d37199001f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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_6d5162b2_6d5162b2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/output.xml new file mode 100644 index 00000000..bbb37796 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe_6d5162b2_6d5162b2/output.xml @@ -0,0 +1,214 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="138cb6c9-edfb-4762-b616-4e4c02a609e7"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.100.000.000.007.21"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-11-27"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="485337d7-0835-43dd-8ceb-84a910d5dc2b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/52133e37-7377-4f8a-afe5-5a65e4df6b17"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-11-27"/> + <note> + <text value="Patient erneut auf Anwendung der Schmelztabletten hinweisen"/> + </note> + <dosageInstruction> + <text value="1x täglich"/> + </dosageInstruction> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="52133e37-7377-4f8a-afe5-5a65e4df6b17"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="N3"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="08850519"/> + </coding> + <text value="Olanzapin Heumann 20mg 70 Schmelztbl. N3"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="SMT"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="70"/> + </extension> + <unit value="Stück"/> + <system value="http://unitsofmeasure.org"/> + <code value="{tbl}"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="82379fdc-1a31-466e-ad89-28aca6c8d552"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="723333300"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Praxis für Psychiatrie und Psychotherapie"/> + <telecom> + <system value="phone"/> + <value value="030369258147"/> + </telecom> + <address> + <type value="both"/> + <line value="Herbert-Lewin-Platz 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Herbert-Lewin-Platz"/> + </extension> + </line> + <city value="Berlin"/> + <postalCode value="10623"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="38fd463a-e2b3-4211-b277-67d37199001f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="582369858"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Emilia Becker"/> + <family value="Becker"/> + <given value="Emilia"/> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.json deleted file mode 100644 index 8b71ab7a..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "resourceType": "Parameters", - "id": "ab88ab06-2477-4ef5-bf16-c71bd65f45c7", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] - }, - "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": "4e7b650d-0e9b-4495-9d42-464dfd5cc9ea", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", - "extension": [ { - "url": "indicator", - "valueBoolean": false - } ] - } ], - "status": "active", - "intent": "filler-order", - "medicationReference": { - "reference": "Medication/115fe1fa-aede-47c8-90a1-dc1ca6d165dc" - }, - "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": "115fe1fa-aede-47c8-90a1-dc1ca6d165dc", - "meta": { - "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] - }, - "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "66add755-532e-46b7-924e-fd61db759472", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], - "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": "51fa2f29-497a-4fde-930c-9d4e9c9ba222", - "meta": { - "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], - "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/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.xml deleted file mode 100644 index 18492978..00000000 --- a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e/output.xml +++ /dev/null @@ -1,215 +0,0 @@ -<Parameters xmlns="http://hl7.org/fhir"> - <id value="ab88ab06-2477-4ef5-bf16-c71bd65f45c7"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> - </meta> - <parameter> - <name value="rxPrescription"/> - <part> - <name value="prescriptionId"/> - <valueIdentifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> - <value value="160.000.226.119.770.62"/> - </valueIdentifier> - </part> - <part> - <name value="authoredOn"/> - <valueDate value="2024-02-08"/> - </part> - <part> - <name value="medicationRequest"/> - <resource> - <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="4e7b650d-0e9b-4495-9d42-464dfd5cc9ea"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> - <extension url="indicator"> - <valueBoolean value="false"/> - </extension> - </extension> - <status value="active"/> - <intent value="filler-order"/> - <medicationReference> - <reference value="Medication/115fe1fa-aede-47c8-90a1-dc1ca6d165dc"/> - </medicationReference> - <subject> - <identifier> - <system value="http://fhir.de/sid/gkv/kvid-10"/> - <value value="K220635158"/> - </identifier> - </subject> - <authoredOn value="2024-02-08"/> - <dispenseRequest> - <quantity> - <value value="1"/> - <system value="http://unitsofmeasure.org"/> - <code value="{Package}"/> - </quantity> - </dispenseRequest> - <substitution> - <allowedBoolean value="false"/> - </substitution> - </MedicationRequest> - </resource> - </part> - <part> - <name value="medication"/> - <resource> - <Medication xmlns="http://hl7.org/fhir"> - <id value="115fe1fa-aede-47c8-90a1-dc1ca6d165dc"/> - <meta> - <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> - </meta> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> - <valueCoding> - <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> - <code value="00"/> - </valueCoding> - </extension> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> - <valueBoolean value="false"/> - </extension> - <extension url="http://fhir.de/StructureDefinition/normgroesse"> - <valueCode value="NB"/> - </extension> - <code> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn"/> - <code value="61252891"/> - </coding> - <text value="Gemvomilsäure"/> - </code> - <form> - <coding> - <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> - <code value="TAB"/> - </coding> - </form> - <amount> - <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> - <valueString value="1"/> - </extension> - <unit value="Stk"/> - </numerator> - <denominator> - <value value="1"/> - </denominator> - </amount> - </Medication> - </resource> - </part> - <part> - <name value="organization"/> - <resource> - <Organization xmlns="http://hl7.org/fhir"> - <id value="66add755-532e-46b7-924e-fd61db759472"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="BSNR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> - <value value="614137063"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <type> - <coding> - <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> - <code value="1.2.276.0.76.4.58"/> - </coding> - </type> - <name value="Arztpraxis Arzt"/> - <telecom> - <system value="phone"/> - <value value="+49-073-0437663"/> - </telecom> - <telecom> - <system value="email"/> - <value value="teresa.roggatz@evers.name"/> - </telecom> - <address> - <type value="both"/> - <line value="Burgweg 88"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="88"/> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Burgweg"/> - </extension> - </line> - <city value="Jonland"/> - <postalCode value="15501"/> - <country value="D"/> - </address> - </Organization> - </resource> - </part> - <part> - <name value="practitioner"/> - <resource> - <Practitioner xmlns="http://hl7.org/fhir"> - <id value="51fa2f29-497a-4fde-930c-9d4e9c9ba222"/> - <meta> - <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> - <tag> - <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> - <code value="ldap"/> - </tag> - </meta> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="LANR"/> - </coding> - </type> - <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> - <value value="176464353"/> - </identifier> - <identifier> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="PRN"/> - </coding> - </type> - <system value="https://gematik.de/fhir/sid/telematik-id"/> - <value value="1-031234567"/> - </identifier> - <name> - <use value="official"/> - <text value="Dr. Kein Arzt"/> - <family value="Arzt"/> - <given value="Kein"/> - <prefix value="Dr."> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> - <valueCode value="AC"/> - </extension> - </prefix> - </name> - </Practitioner> - </resource> - </part> - </parameter> -</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/input.xml new file mode 100644 index 00000000..09afca96 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="dac55c3e-43cc-4109-ac4c-d6af9f83e868"/> + <meta> + <lastUpdated value="2024-02-08T19:06:25.492+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.770.62"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:06:25.492+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/d9670396-7497-4ebd-9e0e-165d1f63c497"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d9670396-7497-4ebd-9e0e-165d1f63c497"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + </subject> + <date value="2024-02-08T19:06:25+01:00"/> + <author> + <reference value="Practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/9a1b2729-f4bf-43b2-aff7-05cb692790dc"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/620d75ec-ec4c-418a-a0d7-7cbde942be17"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/3bf80c02-5578-44dc-ad8e-c2f92cd581ba"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3bf80c02-5578-44dc-ad8e-c2f92cd581ba"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61252891"/> + </coding> + <text value="Gemvomilsäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1982-01-05"/> + <address> + <type value="both"/> + <line value="Knochenbergsweg 98c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="98c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Knochenbergsweg"/> + </extension> + </line> + <city value="Rahngrün"/> + <postalCode value="79738"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/9a1b2729-f4bf-43b2-aff7-05cb692790dc"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9a1b2729-f4bf-43b2-aff7-05cb692790dc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614137063"/> + </identifier> + <name value="Arztpraxis Arzt"/> + <telecom> + <system value="phone"/> + <value value="+49-073-0437663"/> + </telecom> + <telecom> + <system value="email"/> + <value value="teresa.roggatz@evers.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Burgweg 88"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Burgweg"/> + </extension> + </line> + <city value="Jonland"/> + <postalCode value="15501"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/c58da998-79a6-4a4b-afd3-4834bde2be4f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104424830"/> + </identifier> + <display value="BKK GRILLO‐WERKE AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="176464353"/> + </identifier> + <name> + <use value="official"/> + <family value="Arzt"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Arzt"/> + </extension> + </family> + <given value="Kein"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/620d75ec-ec4c-418a-a0d7-7cbde942be17"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="620d75ec-ec4c-418a-a0d7-7cbde942be17"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/3bf80c02-5578-44dc-ad8e-c2f92cd581ba"/> + </medicationReference> + <subject> + <reference value="Patient/cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + </requester> + <insurance> + <reference value="Coverage/c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/output.json new file mode 100644 index 00000000..0bd6f4f6 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "737881ee-392b-4ea8-92c0-ca8064fe700b", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "712be3fb-b4e2-4dd3-a6f1-f307ff78c099", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/ccdefac4-2211-4668-ba55-d83248d652e2" + }, + "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": "ccdefac4-2211-4668-ba55-d83248d652e2", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "85369a93-b37e-48d9-b57a-c7f2f71b08b6", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "dc0e166c-83b0-4648-a479-7ddbbbd4f37a", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/output.xml new file mode 100644 index 00000000..a59cb18c --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003_dac55c3e_dac55c3e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="737881ee-392b-4ea8-92c0-ca8064fe700b"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.770.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="712be3fb-b4e2-4dd3-a6f1-f307ff78c099"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/ccdefac4-2211-4668-ba55-d83248d652e2"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="ccdefac4-2211-4668-ba55-d83248d652e2"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61252891"/> + </coding> + <text value="Gemvomilsäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="85369a93-b37e-48d9-b57a-c7f2f71b08b6"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614137063"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Arzt"/> + <telecom> + <system value="phone"/> + <value value="+49-073-0437663"/> + </telecom> + <telecom> + <system value="email"/> + <value value="teresa.roggatz@evers.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Burgweg 88"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Burgweg"/> + </extension> + </line> + <city value="Jonland"/> + <postalCode value="15501"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="dc0e166c-83b0-4648-a479-7ddbbbd4f37a"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="176464353"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Kein Arzt"/> + <family value="Arzt"/> + <given value="Kein"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/input.xml new file mode 100644 index 00000000..09afca96 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/input.xml @@ -0,0 +1,381 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="dac55c3e-43cc-4109-ac4c-d6af9f83e868"/> + <meta> + <lastUpdated value="2024-02-08T19:06:25.492+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"/> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.770.62"/> + </identifier> + <type value="document"/> + <timestamp value="2024-02-08T19:06:25.492+01:00"/> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Composition/d9670396-7497-4ebd-9e0e-165d1f63c497"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="d9670396-7497-4ebd-9e0e-165d1f63c497"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN"/> + <code value="00"/> + </valueCoding> + </extension> + <status value="final"/> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART"/> + <code value="e16A"/> + </coding> + </type> + <subject> + <reference value="Patient/cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + </subject> + <date value="2024-02-08T19:06:25+01:00"/> + <author> + <reference value="Practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + <type value="Practitioner"/> + </author> + <author> + <type value="Device"/> + <identifier> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer"/> + <value value="GEMATIK/410/2109/36/123"/> + </identifier> + </author> + <title value="elektronische Arzneimittelverordnung"/> + <custodian> + <reference value="Organization/9a1b2729-f4bf-43b2-aff7-05cb692790dc"/> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Coverage"/> + </coding> + </code> + <entry> + <reference value="Coverage/c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type"/> + <code value="Prescription"/> + </coding> + </code> + <entry> + <reference value="MedicationRequest/620d75ec-ec4c-418a-a0d7-7cbde942be17"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Medication/3bf80c02-5578-44dc-ad8e-c2f92cd581ba"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="3bf80c02-5578-44dc-ad8e-c2f92cd581ba"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220331"/> + <code value="763158003"/> + <display value="Medicinal product (product)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61252891"/> + </coding> + <text value="Gemvomilsäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Patient/cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="X110498565"/> + </identifier> + <name> + <use value="official"/> + <family value="Hüllmann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Hüllmann"/> + </extension> + </family> + <given value="Sina"/> + </name> + <birthDate value="1982-01-05"/> + <address> + <type value="both"/> + <line value="Knochenbergsweg 98c"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="98c"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Knochenbergsweg"/> + </extension> + </line> + <city value="Rahngrün"/> + <postalCode value="79738"/> + <country value="D"/> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Organization/9a1b2729-f4bf-43b2-aff7-05cb692790dc"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="9a1b2729-f4bf-43b2-aff7-05cb692790dc"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614137063"/> + </identifier> + <name value="Arztpraxis Arzt"/> + <telecom> + <system value="phone"/> + <value value="+49-073-0437663"/> + </telecom> + <telecom> + <system value="email"/> + <value value="teresa.roggatz@evers.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Burgweg 88"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Burgweg"/> + </extension> + </line> + <city value="Jonland"/> + <postalCode value="15501"/> + <country value="D"/> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Coverage/c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + <resource> + <Coverage xmlns="http://hl7.org/fhir"> + <id value="c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0"/> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP"/> + <code value="38"/> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS"/> + <code value="1"/> + </valueCoding> + </extension> + <status value="active"/> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis"/> + <code value="GKV"/> + </coding> + </type> + <beneficiary> + <reference value="Patient/c58da998-79a6-4a4b-afd3-4834bde2be4f"/> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr"/> + <value value="104424830"/> + </identifier> + <display value="BKK GRILLO‐WERKE AG"/> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/Practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="176464353"/> + </identifier> + <name> + <use value="official"/> + <family value="Arzt"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Arzt"/> + </extension> + </family> + <given value="Kein"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type"/> + <code value="00"/> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung"/> + <code value="Berufsbezeichnung"/> + </coding> + <text value="Super-Facharzt für alles Mögliche"/> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="https://pvs.gematik.de/fhir/MedicationRequest/620d75ec-ec4c-418a-a0d7-7cbde942be17"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="620d75ec-ec4c-418a-a0d7-7cbde942be17"/> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"> + <valueBoolean value="false"/> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"> + <extension url="Kennzeichen"> + <valueBoolean value="false"/> + </extension> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"/> + <code value="2"/> + </valueCoding> + </extension> + <status value="active"/> + <intent value="order"/> + <medicationReference> + <reference value="Medication/3bf80c02-5578-44dc-ad8e-c2f92cd581ba"/> + </medicationReference> + <subject> + <reference value="Patient/cad719d6-c62f-4f2b-9a31-f75b4896a3d7"/> + </subject> + <authoredOn value="2024-02-08"/> + <requester> + <reference value="Practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a"/> + </requester> + <insurance> + <reference value="Coverage/c97b9bb1-b877-4835-b6b3-af3156d833a8"/> + </insurance> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/log.txt new file mode 100644 index 00000000..a7d0a24f --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/log.txt @@ -0,0 +1,2 @@ +Fhir Validation result: valid + diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/output.json new file mode 100644 index 00000000..f82a6a37 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/output.json @@ -0,0 +1,212 @@ +{ + "resourceType": "Parameters", + "id": "f0810512-2d9e-4c59-8355-d933e4433e5e", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] + }, + "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": "5fef395a-d1aa-4857-93dd-7b5fda27dec0", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension", + "extension": [ { + "url": "indicator", + "valueBoolean": false + } ] + } ], + "status": "active", + "intent": "filler-order", + "medicationReference": { + "reference": "Medication/18fecdc6-d502-4cac-ae13-9a771f1eb391" + }, + "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": "18fecdc6-d502-4cac-ae13-9a771f1eb391", + "meta": { + "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] + }, + "extension": [ { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-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": "fd071b86-63da-4c99-ba35-cf276cd7e28f", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], + "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": "601c0f30-5d61-45bb-9ccb-982e0f235851", + "meta": { + "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], + "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/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/output.xml new file mode 100644 index 00000000..fc005865 --- /dev/null +++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e_dac55c3e/output.xml @@ -0,0 +1,215 @@ +<Parameters xmlns="http://hl7.org/fhir"> + <id value="f0810512-2d9e-4c59-8355-d933e4433e5e"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> + </meta> + <parameter> + <name value="rxPrescription"/> + <part> + <name value="prescriptionId"/> + <valueIdentifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/> + <value value="160.000.226.119.770.62"/> + </valueIdentifier> + </part> + <part> + <name value="authoredOn"/> + <valueDate value="2024-02-08"/> + </part> + <part> + <name value="medicationRequest"/> + <resource> + <MedicationRequest xmlns="http://hl7.org/fhir"> + <id value="5fef395a-d1aa-4857-93dd-7b5fda27dec0"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"> + <extension url="indicator"> + <valueBoolean value="false"/> + </extension> + </extension> + <status value="active"/> + <intent value="filler-order"/> + <medicationReference> + <reference value="Medication/18fecdc6-d502-4cac-ae13-9a771f1eb391"/> + </medicationReference> + <subject> + <identifier> + <system value="http://fhir.de/sid/gkv/kvid-10"/> + <value value="K220635158"/> + </identifier> + </subject> + <authoredOn value="2024-02-08"/> + <dispenseRequest> + <quantity> + <value value="1"/> + <system value="http://unitsofmeasure.org"/> + <code value="{Package}"/> + </quantity> + </dispenseRequest> + <substitution> + <allowedBoolean value="false"/> + </substitution> + </MedicationRequest> + </resource> + </part> + <part> + <name value="medication"/> + <resource> + <Medication xmlns="http://hl7.org/fhir"> + <id value="18fecdc6-d502-4cac-ae13-9a771f1eb391"/> + <meta> + <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> + </meta> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"> + <valueCoding> + <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/> + <code value="00"/> + </valueCoding> + </extension> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"> + <valueBoolean value="false"/> + </extension> + <extension url="http://fhir.de/StructureDefinition/normgroesse"> + <valueCode value="NB"/> + </extension> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="61252891"/> + </coding> + <text value="Gemvomilsäure"/> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/> + <code value="TAB"/> + </coding> + </form> + <amount> + <numerator> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"> + <valueString value="1"/> + </extension> + <unit value="Stk"/> + </numerator> + <denominator> + <value value="1"/> + </denominator> + </amount> + </Medication> + </resource> + </part> + <part> + <name value="organization"/> + <resource> + <Organization xmlns="http://hl7.org/fhir"> + <id value="fd071b86-63da-4c99-ba35-cf276cd7e28f"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="BSNR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/> + <value value="614137063"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <type> + <coding> + <system value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/> + <code value="1.2.276.0.76.4.58"/> + </coding> + </type> + <name value="Arztpraxis Arzt"/> + <telecom> + <system value="phone"/> + <value value="+49-073-0437663"/> + </telecom> + <telecom> + <system value="email"/> + <value value="teresa.roggatz@evers.name"/> + </telecom> + <address> + <type value="both"/> + <line value="Burgweg 88"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="88"/> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Burgweg"/> + </extension> + </line> + <city value="Jonland"/> + <postalCode value="15501"/> + <country value="D"/> + </address> + </Organization> + </resource> + </part> + <part> + <name value="practitioner"/> + <resource> + <Practitioner xmlns="http://hl7.org/fhir"> + <id value="601c0f30-5d61-45bb-9ccb-982e0f235851"/> + <meta> + <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> + <tag> + <system value="https://gematik.de/fhir/directory/CodeSystem/Origin"/> + <code value="ldap"/> + </tag> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="LANR"/> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/> + <value value="176464353"/> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <code value="PRN"/> + </coding> + </type> + <system value="https://gematik.de/fhir/sid/telematik-id"/> + <value value="1-031234567"/> + </identifier> + <name> + <use value="official"/> + <text value="Dr. Kein Arzt"/> + <family value="Arzt"/> + <given value="Kein"/> + <prefix value="Dr."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC"/> + </extension> + </prefix> + </name> + </Practitioner> + </resource> + </part> + </parameter> +</Parameters> \ No newline at end of file diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/log.txt index 25e46e6a..a7d0a24f 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/log.txt +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/log.txt @@ -1,3 +1,2 @@ Fhir Validation result: valid -SingleValidationMessage[col=8,row=22,locationString=Medication.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Medication.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Medication.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.json index 92896de8..4c6b57fc 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.json @@ -1,6 +1,6 @@ { "resourceType": "Medication", - "id": "f25e03d7-84b1-4e52-838b-3ef68793eaef", + "id": "ada8e60e-c9ce-4853-819f-4f83b983470c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -20,7 +20,7 @@ "amount": { "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "100" } ], "unit": "ml" diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.xml index 577f14dc..a4f96151 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_5cd916fc/output.xml @@ -1,5 +1,5 @@ <Medication xmlns="http://hl7.org/fhir"> - <id value="f25e03d7-84b1-4e52-838b-3ef68793eaef"/> + <id value="ada8e60e-c9ce-4853-819f-4f83b983470c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -17,7 +17,7 @@ </form> <amount> <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> <valueString value="100"/> </extension> <unit value="ml"/> diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/log.txt index 25e46e6a..a7d0a24f 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/log.txt +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/log.txt @@ -1,3 +1,2 @@ Fhir Validation result: valid -SingleValidationMessage[col=8,row=22,locationString=Medication.amount.numerator.extension[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3,severity=information,sliceMessages=[Medication.amount.numerator.extension[0]: Does not match slice 'packagingSize' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension' in url)), Medication.amount.numerator.extension[0]: Does not match slice 'totalQuantity' (discriminator: ('https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension' in url))]] diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.json index 4afdf96d..35aee5c3 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.json @@ -1,6 +1,6 @@ { "resourceType": "Medication", - "id": "499fcce7-ca2c-4b60-82ff-0daeacf9a789", + "id": "acc9741a-3706-4d44-88fa-269fd7a71e5b", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -20,7 +20,7 @@ "amount": { "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "100" } ], "unit": "ml" diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.xml index 28d1f2d8..c9c88d62 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_76e83871/output.xml @@ -1,5 +1,5 @@ <Medication xmlns="http://hl7.org/fhir"> - <id value="499fcce7-ca2c-4b60-82ff-0daeacf9a789"/> + <id value="acc9741a-3706-4d44-88fa-269fd7a71e5b"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -17,7 +17,7 @@ </form> <amount> <numerator> - <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"> + <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> <valueString value="100"/> </extension> <unit value="ml"/> diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.json index b0308b76..0a61f198 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "cc959459-a571-4d9c-b432-101684f9ff40", + "id": "d9f0a356-9fe0-4bb0-9f79-b597615b3a47", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "3ca1baf9-7a22-4915-80b9-93da050105f6", + "id": "4343dcac-bfcd-4609-8e8e-c7a9c93632c2", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/70225cef-734c-4536-a01a-3e50e4f72cec" + "reference": "Medication/179c54a3-b872-4249-9f46-a1301f9596b5" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/9d616e3d-ba7e-4220-ab2e-d96826690b40" + "reference": "Organization/3d52825a-e585-43fc-8782-5bd5e6fdf942" } } ], "whenHandedOver": "2022-02-28", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "70225cef-734c-4536-a01a-3e50e4f72cec", + "id": "179c54a3-b872-4249-9f46-a1301f9596b5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "9d616e3d-ba7e-4220-ab2e-d96826690b40", + "id": "3d52825a-e585-43fc-8782-5bd5e6fdf942", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Milton Yermouth" + "name": "May Day" } } ] } ] diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.xml index 0e7caa30..b0de8a25 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_26fbffa8/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="cc959459-a571-4d9c-b432-101684f9ff40"/> + <id value="d9f0a356-9fe0-4bb0-9f79-b597615b3a47"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="3ca1baf9-7a22-4915-80b9-93da050105f6"/> + <id value="4343dcac-bfcd-4609-8e8e-c7a9c93632c2"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/70225cef-734c-4536-a01a-3e50e4f72cec"/> + <reference value="Medication/179c54a3-b872-4249-9f46-a1301f9596b5"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/9d616e3d-ba7e-4220-ab2e-d96826690b40"/> + <reference value="Organization/3d52825a-e585-43fc-8782-5bd5e6fdf942"/> </actor> </performer> <whenHandedOver value="2022-02-28"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="70225cef-734c-4536-a01a-3e50e4f72cec"/> + <id value="179c54a3-b872-4249-9f46-a1301f9596b5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -106,7 +106,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="9d616e3d-ba7e-4220-ab2e-d96826690b40"/> + <id value="3d52825a-e585-43fc-8782-5bd5e6fdf942"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -124,7 +124,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Milton Yermouth"/> + <name value="May Day"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.json index 47e407f7..5cc5c6e5 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "c1a7bd22-6156-487d-8910-2812edb26511", + "id": "39520d6e-e9a7-4c08-932b-94d0c7a612c9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "a6e1b829-982c-4d21-8621-525556203a14", + "id": "a92109c4-067a-435b-97f3-9153af9f43d9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/099fb270-efc6-49e4-8406-6855757c2f32" + "reference": "Medication/2c0c6832-9507-4878-829a-e75ce40ef872" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/7e3d40ba-495f-46fb-8349-9dd95526c2ca" + "reference": "Organization/0b213246-320a-4ffb-99af-8570d7855428" } } ], "whenHandedOver": "2022-02-28", @@ -58,7 +58,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "099fb270-efc6-49e4-8406-6855757c2f32", + "id": "2c0c6832-9507-4878-829a-e75ce40ef872", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "7e3d40ba-495f-46fb-8349-9dd95526c2ca", + "id": "0b213246-320a-4ffb-99af-8570d7855428", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Kenney C. Strait" + "name": "Harry Caray" } } ] } ] diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.xml index 98793104..e158505a 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_3465270a/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="c1a7bd22-6156-487d-8910-2812edb26511"/> + <id value="39520d6e-e9a7-4c08-932b-94d0c7a612c9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="a6e1b829-982c-4d21-8621-525556203a14"/> + <id value="a92109c4-067a-435b-97f3-9153af9f43d9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/099fb270-efc6-49e4-8406-6855757c2f32"/> + <reference value="Medication/2c0c6832-9507-4878-829a-e75ce40ef872"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/7e3d40ba-495f-46fb-8349-9dd95526c2ca"/> + <reference value="Organization/0b213246-320a-4ffb-99af-8570d7855428"/> </actor> </performer> <whenHandedOver value="2022-02-28"/> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="099fb270-efc6-49e4-8406-6855757c2f32"/> + <id value="2c0c6832-9507-4878-829a-e75ce40ef872"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -106,7 +106,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="7e3d40ba-495f-46fb-8349-9dd95526c2ca"/> + <id value="0b213246-320a-4ffb-99af-8570d7855428"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -124,7 +124,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Kenney C. Strait"/> + <name value="Harry Caray"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.json index e2b08a0d..2662b6d5 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "82a2c606-360f-44da-89a6-b27e58ad4c22", + "id": "81f32cf0-746d-464f-860e-d4e3e8113f6f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "72de6188-0910-4323-853c-279513fec829", + "id": "ecea0263-1359-444c-8eab-707ff901b2b5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3" ] }, @@ -36,7 +36,7 @@ } ] }, "medicationReference": { - "reference": "Medication/a84190b5-c7e2-4f26-bc09-f6a3a09f4dee" + "reference": "Medication/68dc4c07-0004-4322-a4ba-fe8282af547f" }, "subject": { "identifier": { @@ -46,7 +46,7 @@ }, "performer": [ { "actor": { - "reference": "Organization/45302349-82cc-4194-861d-6bc16cb19108" + "reference": "Organization/1e0ac5a6-87b3-4229-a9aa-8f74d266b6ce" } } ], "whenHandedOver": "2024-02-08" @@ -55,7 +55,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "a84190b5-c7e2-4f26-bc09-f6a3a09f4dee", + "id": "68dc4c07-0004-4322-a4ba-fe8282af547f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -102,7 +102,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "45302349-82cc-4194-861d-6bc16cb19108", + "id": "1e0ac5a6-87b3-4229-a9aa-8f74d266b6ce", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -120,7 +120,7 @@ "code": "1.2.276.0.76.4.58" } ] } ], - "name": "Danielle Soloud" + "name": "Carlotta Tendant" } } ] } ] diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.xml index 502dcf8a..046a5514 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_f64fd7b4/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="82a2c606-360f-44da-89a6-b27e58ad4c22"/> + <id value="81f32cf0-746d-464f-860e-d4e3e8113f6f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationDispense"/> <resource> <MedicationDispense xmlns="http://hl7.org/fhir"> - <id value="72de6188-0910-4323-853c-279513fec829"/> + <id value="ecea0263-1359-444c-8eab-707ff901b2b5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.0.3"/> </meta> @@ -37,7 +37,7 @@ </coding> </category> <medicationReference> - <reference value="Medication/a84190b5-c7e2-4f26-bc09-f6a3a09f4dee"/> + <reference value="Medication/68dc4c07-0004-4322-a4ba-fe8282af547f"/> </medicationReference> <subject> <identifier> @@ -47,7 +47,7 @@ </subject> <performer> <actor> - <reference value="Organization/45302349-82cc-4194-861d-6bc16cb19108"/> + <reference value="Organization/1e0ac5a6-87b3-4229-a9aa-8f74d266b6ce"/> </actor> </performer> <whenHandedOver value="2024-02-08"/> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="a84190b5-c7e2-4f26-bc09-f6a3a09f4dee"/> + <id value="68dc4c07-0004-4322-a4ba-fe8282af547f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="45302349-82cc-4194-861d-6bc16cb19108"/> + <id value="1e0ac5a6-87b3-4229-a9aa-8f74d266b6ce"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -123,7 +123,7 @@ <code value="1.2.276.0.76.4.58"/> </coding> </type> - <name value="Danielle Soloud"/> + <name value="Carlotta Tendant"/> </Organization> </resource> </part> diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.json index 0714278d..5e903e72 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.json @@ -1,6 +1,6 @@ { "resourceType": "Medication", - "id": "8cf23bc8-b875-4415-88d7-c2a7c6908a55", + "id": "b8ca5fe2-0257-422a-a997-2570ece31a5f", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.xml index 1a7d3c40..7429bf61 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_0d93504e/output.xml @@ -1,5 +1,5 @@ <Medication xmlns="http://hl7.org/fhir"> - <id value="8cf23bc8-b875-4415-88d7-c2a7c6908a55"/> + <id value="b8ca5fe2-0257-422a-a997-2570ece31a5f"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.json index e8a5a699..5c02b905 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.json @@ -1,6 +1,6 @@ { "resourceType": "Medication", - "id": "d4833fbc-40b7-411d-8abd-5df7c762fcba", + "id": "d19ce884-b12c-468c-a204-636dd1f0de45", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.xml index d7b9f117..0af7cb11 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_86fa62c7/output.xml @@ -1,5 +1,5 @@ <Medication xmlns="http://hl7.org/fhir"> - <id value="d4833fbc-40b7-411d-8abd-5df7c762fcba"/> + <id value="d19ce884-b12c-468c-a204-636dd1f0de45"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json index 424e8931..96a3cb05 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "70d771d1-f5a0-4b72-9364-fa297ad22d46", + "id": "f1c61693-a550-4c1b-8932-3518a1d399d5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "f804ac0c-1b6e-459d-9e93-0fab6ec870e5", + "id": "72ce27a3-912a-45fa-969a-e33badc0105a", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/19a59841-1d86-4f0d-944d-4349d1515d84" + "reference": "Medication/365c49b5-ca65-4a55-8233-af79aaea997c" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "19a59841-1d86-4f0d-944d-4349d1515d84", + "id": "365c49b5-ca65-4a55-8233-af79aaea997c", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -92,7 +92,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "e763e338-08f3-4d11-968c-2e36da814e5a", + "id": "962e7e5b-51c3-492b-a431-c3094dfe5100", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -157,7 +157,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "18666957-1f7b-4be4-a4d3-65148c927cca", + "id": "e71adfd7-5421-4066-b401-dc1de0b3c7ba", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.xml index 150a3445..713e0483 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_44420ed9/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="70d771d1-f5a0-4b72-9364-fa297ad22d46"/> + <id value="f1c61693-a550-4c1b-8932-3518a1d399d5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="f804ac0c-1b6e-459d-9e93-0fab6ec870e5"/> + <id value="72ce27a3-912a-45fa-969a-e33badc0105a"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/19a59841-1d86-4f0d-944d-4349d1515d84"/> + <reference value="Medication/365c49b5-ca65-4a55-8233-af79aaea997c"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="19a59841-1d86-4f0d-944d-4349d1515d84"/> + <id value="365c49b5-ca65-4a55-8233-af79aaea997c"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -94,7 +94,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="e763e338-08f3-4d11-968c-2e36da814e5a"/> + <id value="962e7e5b-51c3-492b-a431-c3094dfe5100"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -162,7 +162,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="18666957-1f7b-4be4-a4d3-65148c927cca"/> + <id value="e71adfd7-5421-4066-b401-dc1de0b3c7ba"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json index 68ca0a2d..3f493811 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "9147a685-ba33-4e13-9ef3-d08af48707f0", + "id": "ade36e59-7a27-4ee9-90b2-5a679fd5bccc", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "64b5549e-d926-4ab4-8e19-9b405985363c", + "id": "7eda7d06-6f27-4e46-93e2-86bfb6ed99b5", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/e196bf63-2927-43b1-b4d5-41243db9d504" + "reference": "Medication/c652b547-9178-4faf-a8b6-d425c2920f20" }, "subject": { "identifier": { @@ -63,7 +63,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "e196bf63-2927-43b1-b4d5-41243db9d504", + "id": "c652b547-9178-4faf-a8b6-d425c2920f20", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -112,7 +112,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "20249cf4-a8bc-45f5-aa92-7ab6c71134b7", + "id": "4a7f3476-29b6-49d6-b30c-cad3e9840668", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -171,7 +171,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "69e2988d-e7b3-4f46-8fbb-3f0ea8a8473f", + "id": "06ab5777-fa4a-4e2f-86b4-7de18cdfa552", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.xml index c5d2ff06..642dbf42 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_6d5162b2/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="9147a685-ba33-4e13-9ef3-d08af48707f0"/> + <id value="ade36e59-7a27-4ee9-90b2-5a679fd5bccc"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="64b5549e-d926-4ab4-8e19-9b405985363c"/> + <id value="7eda7d06-6f27-4e46-93e2-86bfb6ed99b5"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/e196bf63-2927-43b1-b4d5-41243db9d504"/> + <reference value="Medication/c652b547-9178-4faf-a8b6-d425c2920f20"/> </medicationReference> <subject> <identifier> @@ -64,7 +64,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="e196bf63-2927-43b1-b4d5-41243db9d504"/> + <id value="c652b547-9178-4faf-a8b6-d425c2920f20"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -113,7 +113,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="20249cf4-a8bc-45f5-aa92-7ab6c71134b7"/> + <id value="4a7f3476-29b6-49d6-b30c-cad3e9840668"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -173,7 +173,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="69e2988d-e7b3-4f46-8fbb-3f0ea8a8473f"/> + <id value="06ab5777-fa4a-4e2f-86b4-7de18cdfa552"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.json index 3fe090b6..bc487874 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "42798459-f847-4c93-8285-df820f19367b", + "id": "2dbeb858-dd21-4718-9624-86d7046c9932", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "04916cb7-92ef-4748-9daa-f82cf52b60a7", + "id": "7547a74d-117c-45c8-bc74-ee159f4bf0f3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/4fa3cb44-1d11-4dcf-b3f4-a87e0d45990a" + "reference": "Medication/523b9b1c-7c9f-46a6-9675-af50db794780" }, "subject": { "identifier": { @@ -60,7 +60,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "4fa3cb44-1d11-4dcf-b3f4-a87e0d45990a", + "id": "523b9b1c-7c9f-46a6-9675-af50db794780", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -109,7 +109,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "c719043d-8d94-4993-a7d2-07ade1c22741", + "id": "5056fddc-a7f7-40e6-b37c-83579f28ea0d", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -174,7 +174,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "6a46db18-dbf4-46d6-b0cb-e697a124ab13", + "id": "bf7835c2-7d9b-4e14-8ff5-3c3a0a523b3f", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.xml index 08444a48..ab5baf9a 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_328ad940/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="42798459-f847-4c93-8285-df820f19367b"/> + <id value="2dbeb858-dd21-4718-9624-86d7046c9932"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="04916cb7-92ef-4748-9daa-f82cf52b60a7"/> + <id value="7547a74d-117c-45c8-bc74-ee159f4bf0f3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/4fa3cb44-1d11-4dcf-b3f4-a87e0d45990a"/> + <reference value="Medication/523b9b1c-7c9f-46a6-9675-af50db794780"/> </medicationReference> <subject> <identifier> @@ -61,7 +61,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="4fa3cb44-1d11-4dcf-b3f4-a87e0d45990a"/> + <id value="523b9b1c-7c9f-46a6-9675-af50db794780"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -110,7 +110,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="c719043d-8d94-4993-a7d2-07ade1c22741"/> + <id value="5056fddc-a7f7-40e6-b37c-83579f28ea0d"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -178,7 +178,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="6a46db18-dbf4-46d6-b0cb-e697a124ab13"/> + <id value="bf7835c2-7d9b-4e14-8ff5-3c3a0a523b3f"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json index 07d71346..dabdc0d1 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "b5674478-c068-4665-8c3a-bc5313a98423", + "id": "d5701680-789a-497c-9a4a-5ba4c765a877", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "18538df9-9f64-492a-a5ac-2fca817ec963", + "id": "5083f393-10c8-4ec4-a1b1-7b3bd37cea98", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/91dd33a6-2878-46a4-a021-33c32e21eeb3" + "reference": "Medication/09ba64db-1de3-4974-bfcf-7189401f65a0" }, "subject": { "identifier": { @@ -63,7 +63,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "91dd33a6-2878-46a4-a021-33c32e21eeb3", + "id": "09ba64db-1de3-4974-bfcf-7189401f65a0", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -112,7 +112,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "21d91058-9bd2-47c7-8366-6c109e6160a4", + "id": "0eb4647a-2906-485b-908b-7d188592ba06", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -179,7 +179,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "a85087b2-fe97-4a6f-8004-541f3ccc0d6d", + "id": "f4c9e567-58a1-4869-8340-cecba6c22d67", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.xml index 37c1bf4f..11f2e99f 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_5f66314e/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="b5674478-c068-4665-8c3a-bc5313a98423"/> + <id value="d5701680-789a-497c-9a4a-5ba4c765a877"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="18538df9-9f64-492a-a5ac-2fca817ec963"/> + <id value="5083f393-10c8-4ec4-a1b1-7b3bd37cea98"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/91dd33a6-2878-46a4-a021-33c32e21eeb3"/> + <reference value="Medication/09ba64db-1de3-4974-bfcf-7189401f65a0"/> </medicationReference> <subject> <identifier> @@ -64,7 +64,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="91dd33a6-2878-46a4-a021-33c32e21eeb3"/> + <id value="09ba64db-1de3-4974-bfcf-7189401f65a0"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -113,7 +113,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="21d91058-9bd2-47c7-8366-6c109e6160a4"/> + <id value="0eb4647a-2906-485b-908b-7d188592ba06"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -182,7 +182,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="a85087b2-fe97-4a6f-8004-541f3ccc0d6d"/> + <id value="f4c9e567-58a1-4869-8340-cecba6c22d67"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.json index 892950f8..a5036456 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "b545e839-b240-4df1-9555-ce400fdf1e3a", + "id": "c9782dd9-db3c-4ca5-8aa5-0e618ac48ab9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3" ] }, @@ -19,7 +19,7 @@ "name": "medicationRequest", "resource": { "resourceType": "MedicationRequest", - "id": "0b289d96-09f4-4db4-a750-af6840bd36f1", + "id": "c3a0fd56-b7da-4ef6-be5b-dd31350e11a9", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, @@ -33,7 +33,7 @@ "status": "active", "intent": "filler-order", "medicationReference": { - "reference": "Medication/00b626a0-67c7-4793-8464-ec0b35669149" + "reference": "Medication/e7b86dbb-6f0d-4700-b196-d6c899506bd3" }, "subject": { "identifier": { @@ -57,7 +57,7 @@ "name": "medication", "resource": { "resourceType": "Medication", - "id": "00b626a0-67c7-4793-8464-ec0b35669149", + "id": "e7b86dbb-6f0d-4700-b196-d6c899506bd3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, @@ -104,7 +104,7 @@ "name": "organization", "resource": { "resourceType": "Organization", - "id": "01ebd2e0-6031-4b92-a3df-b8787c329815", + "id": "55608e06-b789-4a0f-988d-4c2cfcdf02d2", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { @@ -166,7 +166,7 @@ "name": "practitioner", "resource": { "resourceType": "Practitioner", - "id": "64c2cf73-3d46-47c9-8a6b-38dd580cc232", + "id": "41529088-1d46-49e6-b515-f0dcb14900e2", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.xml index 5e6c1d37..2bd7661d 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_dac55c3e/output.xml @@ -1,5 +1,5 @@ <Parameters xmlns="http://hl7.org/fhir"> - <id value="b545e839-b240-4df1-9555-ce400fdf1e3a"/> + <id value="c9782dd9-db3c-4ca5-8aa5-0e618ac48ab9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters|1.0.3"/> </meta> @@ -20,7 +20,7 @@ <name value="medicationRequest"/> <resource> <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="0b289d96-09f4-4db4-a750-af6840bd36f1"/> + <id value="c3a0fd56-b7da-4ef6-be5b-dd31350e11a9"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta> @@ -32,7 +32,7 @@ <status value="active"/> <intent value="filler-order"/> <medicationReference> - <reference value="Medication/00b626a0-67c7-4793-8464-ec0b35669149"/> + <reference value="Medication/e7b86dbb-6f0d-4700-b196-d6c899506bd3"/> </medicationReference> <subject> <identifier> @@ -58,7 +58,7 @@ <name value="medication"/> <resource> <Medication xmlns="http://hl7.org/fhir"> - <id value="00b626a0-67c7-4793-8464-ec0b35669149"/> + <id value="e7b86dbb-6f0d-4700-b196-d6c899506bd3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> @@ -105,7 +105,7 @@ <name value="organization"/> <resource> <Organization xmlns="http://hl7.org/fhir"> - <id value="01ebd2e0-6031-4b92-a3df-b8787c329815"/> + <id value="55608e06-b789-4a0f-988d-4c2cfcdf02d2"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> @@ -169,7 +169,7 @@ <name value="practitioner"/> <resource> <Practitioner xmlns="http://hl7.org/fhir"> - <id value="64c2cf73-3d46-47c9-8a6b-38dd580cc232"/> + <id value="41529088-1d46-49e6-b515-f0dcb14900e2"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.json index 57d96c48..4ebbaa6a 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.json @@ -1,6 +1,6 @@ { "resourceType": "Medication", - "id": "31fa83c0-a723-4e9e-a578-7e798f3f9ece", + "id": "487edb25-9db6-4c8b-9442-0d5974afc7b3", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3" ] }, diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.xml index 0a388dc7..11beaa87 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_fb0699b9/output.xml @@ -1,5 +1,5 @@ <Medication xmlns="http://hl7.org/fhir"> - <id value="31fa83c0-a723-4e9e-a578-7e798f3f9ece"/> + <id value="487edb25-9db6-4c8b-9442-0d5974afc7b3"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.0.3"/> </meta> diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/output.json b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/output.json index 5ced58b7..9287fa5d 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/output.json @@ -1,6 +1,6 @@ { "resourceType": "Organization", - "id": "4ef3101a-dff3-4d39-a89a-61df2b1079ac", + "id": "4d376ada-7c73-4925-824c-c49598b24f72", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/output.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/output.xml index 935db7e2..980148bd 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_cf042e44/output.xml @@ -1,5 +1,5 @@ <Organization xmlns="http://hl7.org/fhir"> - <id value="4ef3101a-dff3-4d39-a89a-61df2b1079ac"/> + <id value="4d376ada-7c73-4925-824c-c49598b24f72"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/output.json b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/output.json index 1765abf7..bd59f3d0 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/output.json @@ -1,6 +1,6 @@ { "resourceType": "Organization", - "id": "2c9cbf3c-83d5-48b8-b57d-ff80e1878757", + "id": "413c79ff-30a5-4709-98f8-35e8612823e6", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/output.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/output.xml index 36c250d9..6510300a 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_cf042e44/output.xml @@ -1,5 +1,5 @@ <Organization xmlns="http://hl7.org/fhir"> - <id value="2c9cbf3c-83d5-48b8-b57d-ff80e1878757"/> + <id value="413c79ff-30a5-4709-98f8-35e8612823e6"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/output.json b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/output.json index 916ccba8..6c538faa 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/output.json @@ -1,6 +1,6 @@ { "resourceType": "Organization", - "id": "e55c1ca5-512d-4830-9384-e01949c30076", + "id": "6a955908-7458-44cc-944c-6babdbf91018", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/output.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/output.xml index 98159759..88f226d4 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_cf042e44/output.xml @@ -1,5 +1,5 @@ <Organization xmlns="http://hl7.org/fhir"> - <id value="e55c1ca5-512d-4830-9384-e01949c30076"/> + <id value="6a955908-7458-44cc-944c-6babdbf91018"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/output.json b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/output.json index 85a511d2..5a11bcdd 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/output.json @@ -1,6 +1,6 @@ { "resourceType": "Organization", - "id": "0b10d297-1cc4-466d-8077-634a3fabf5e0", + "id": "a64b3f73-eba7-49bd-8040-bfc39d25f921", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/output.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/output.xml index 5ca33fec..e80ef56f 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_cf042e44/output.xml @@ -1,5 +1,5 @@ <Organization xmlns="http://hl7.org/fhir"> - <id value="0b10d297-1cc4-466d-8077-634a3fabf5e0"/> + <id value="a64b3f73-eba7-49bd-8040-bfc39d25f921"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.json b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.json index 3d8f3e4c..8f69083a 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.json @@ -1,6 +1,6 @@ { "resourceType": "Practitioner", - "id": "4660d691-30d3-4026-ac4f-8de055e56736", + "id": "c3ccce95-3f9d-4549-abe6-5a2149105824", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.xml b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.xml index 0e4c9b68..71f86529 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_4a048d7d/output.xml @@ -1,5 +1,5 @@ <Practitioner xmlns="http://hl7.org/fhir"> - <id value="4660d691-30d3-4026-ac4f-8de055e56736"/> + <id value="c3ccce95-3f9d-4549-abe6-5a2149105824"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.json b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.json index 63567e5c..2e26f114 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.json @@ -1,6 +1,6 @@ { "resourceType": "Practitioner", - "id": "40448fab-6e8c-4bfd-aac4-b98c1fc7138e", + "id": "0c719930-28c5-4a7d-abe3-bee91efff8cf", "meta": { "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12" ], "tag": [ { diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.xml b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.xml index c7ad07c2..8a86abcd 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_4a048d7d/output.xml @@ -1,5 +1,5 @@ <Practitioner xmlns="http://hl7.org/fhir"> - <id value="40448fab-6e8c-4bfd-aac4-b98c1fc7138e"/> + <id value="0c719930-28c5-4a7d-abe3-bee91efff8cf"/> <meta> <profile value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|0.11.12"/> <tag> diff --git a/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.json b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.json index efcf2a68..9eb163ec 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.json +++ b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.json @@ -1,6 +1,6 @@ { "resourceType": "MedicationRequest", - "id": "34310acb-e519-4528-93be-9440048cae80", + "id": "4bf3807b-e5bf-4ff2-be69-93c39b482b43", "meta": { "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3" ] }, diff --git a/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.xml b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.xml index 10f092da..197e7e27 100644 --- a/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.xml +++ b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_c0312f32/output.xml @@ -1,5 +1,5 @@ <MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="34310acb-e519-4528-93be-9440048cae80"/> + <id value="4bf3807b-e5bf-4ff2-be69-93c39b482b43"/> <meta> <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.0.3"/> </meta>